Bug 15968 was fixed by commit 0748546f660d27a2ad29fa6174d456e2f6490758.
[jlayton/glibc.git] / ChangeLog
1 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
2
3         [BZ #16529]
4         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5
6 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7
8         * manual/contrib.texi: Update entry for Carlos O'Donell,
9         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10
11 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
12
13         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
14
15         * sysdeps/unix/sysv/linux/kernel-features.h
16         [__LINUX_KERNEL_VERSION >= 0x020621]
17         (__ASSUME_PROC_PID_TASK_COMM): Define.
18
19 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20
21         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
22         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
23         Leonard and Allan McRae.
24
25 2014-02-04  David S. Miller  <davem@davemloft.net>
26
27         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
28         32-bit.
29
30 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31
32         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
33         file
34         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
35         New file
36         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
37         file.
38         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
39         file.
40         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
41         New file.
42         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
43         file.
44         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
45         file.
46         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
47         New file.
48         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49         New file.
50         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
51         New file.
52         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
53         New file.
54         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
55         New file.
56         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
57         New file.
58
59 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60
61         * nptl/shlib-versions: Change powerpc*le start to 2.17.
62         * shlib-versions: Likewise.
63
64 2014-02-04  Roland McGrath  <roland@hack.frob.com>
65             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66
67         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
68         (abilist-pattern): New variable, set to %-le.abilist.
69
70         * Makerules (abilist-pattern): New variable.
71         (vpath): Use $(abilist-pattern) in place of %.abilist.
72         (check-abi-% pattern rule): Likewise.
73         (check-abi, update-abi): Likewise.
74
75 2014-02-04  Eric Wong  <normalperson@yhbt.net>
76
77         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78
79 2014-02-04  Eric Wong  <normalperson@yhbt.net>
80
81         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82
83 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
84
85         * manual/startup.texi: Add next, previous, and top entries for
86         the `Program Arguments' and `Environment Variables' nodes.
87
88 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
89
90         * manual/macros.texi: Add comments before MTASC-safety macros.
91
92         * manual/users.texi: Document MTASC-safety properties.
93
94         * manual/threads.texi (pthread_key_create, pthread_key_delete,
95         pthread_getspecific, pthread_setspecific): Format with
96         @deftypefun, and add @safety note.
97         * manual/signal.texi: Move comments that analyze the above
98         functions to their home place.
99
100 2014-02-03  Allan McRae  <allan@archlinux.org>
101
102         * po/sl.po: Update Slovenian translation from translation project.
103
104 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
105
106         * manual/time.texi (timegm): Add missing blank after @c.
107         Reported by Joseph Myers <joseph@codesourcery.com>.
108
109 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
110
111         * manual/check-safety.sh: New.
112         * manual/Makefile ($(objpfx)stamp-summary): Run it.
113
114         * manual/terminal.texi: Document MTASC-safety properties.
115
116         * manual/filesys.texi: Document MTASC-safety properties.
117
118         * manual/errno.texi: Document MTASC-safety properties.
119
120         * manual/intro.texi: Document safety identifiers and
121         conditionals.
122
123         * manual/string.texi (wcstok): Fix prototype.
124         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
125
126         * manual/time.texi: Document MTASC-safety properties.
127
128         * manual/string.texi: Document MTASC-safety properties.
129
130         * manual/threads.texi: Document MTASC-safety properties.
131
132         * manual/stdio.texi: Document MTASC-safety properties.
133
134         * manual/syslog.texi: Document MTASC-safety properties.
135
136         * manual/sysinfo.texi: Document MTASC-safety properties.
137
138         * manual/startup.texi: Document MTASC-safety properties.
139
140         * manual/socket.texi: Document MTASC-safety properties.
141
142         * manual/signal.texi: Document MTASC-safety properties.
143
144 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
145
146         * manual/setjmp.texi: Document MTASC-safety properties.
147
148         * manual/search.texi: Document MTASC-safety properties.
149
150         * manual/resource.texi: Document MTASC-safety properties.
151
152         * manual/process.texi: Document MTASC-safety properties.
153
154         * manual/platform.texi: Document MTASC-safety properties.
155
156         * manual/pipe.texi: Document MTASC-safety properties.
157
158         * manual/pattern.texi: Document MTASC-safety properties.
159
160         * manual/message.texi: Document MTASC-safety properties.
161
162         [BZ #12751]
163         * manual/memory.texi: Document MTASC-safety properties.
164
165         * manual/math.texi: Document MTASC-safety properties.
166
167         * manual/locale.texi: Document MTASC-safety properties.
168
169         * manual/llio.texi: Document MTASC-safety properties.
170
171         * manual/libdl.texi: New.
172
173         * manual/lang.texi: Document MTASC-safety properties.
174
175         * manual/job.texi: Document MTASC-safety properties.
176
177         * manual/getopt.texi: Document MTASC-safety properties.
178
179         * manual/ctype.texi: Document MTASC-safety properties.
180
181 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
182
183         [BZ #16046]
184         * csu/libc-tls.c (static_map): Remove variable.
185         (__libc_setup_tls): Use main executable's link map for TLS data.
186         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
187         casing for LM_ID_BASE and GL(dl_nns).
188         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
189         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
190         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
191         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
192         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
193         member.
194         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
195         l_phnum members.
196
197 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
198
199         * manual/debug.texi: Document MTASC-safety properties.
200
201 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
202
203         [BZ #16510]
204         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
205         of __x86_64__ when disabling x87 inline functions.
206
207 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
208
209         * manual/charset.texi: Document MTASC-safety properties.
210
211         * manual/crypt.texi: Document MTASC-safety properties.
212
213         * manual/conf.texi: Document MTASC-safety properties.
214
215         * manual/arith.texi: Document MTASC-safety properties.
216
217         * manual/argp.texi: Document MTASC-safety properties.
218
219         * manual/macros.texi: Introduce macros to document multi
220         thread, asynchronous signal and asynchronous cancellation
221         safety properties.
222         * manual/intro.texi: Introduce the properties themselves.
223
224 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
225
226         * sysdeps/sh/sh4/Makefile: New file.
227
228 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
229
230         * math/gen-libm-test.pl ($srcdir): New variable.
231         ($auto_input): Use it.
232
233 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
234
235         [BZ #16506]
236         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
237         access beyond array bounds when parsing netgroups file.
238
239         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
240         the old buffer before realloc.
241
242 2014-01-27  Allan McRae  <allan@archlinux.org>
243
244         * po/fr.po: Update French translation from translation project.
245
246 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
247
248         * sysdeps/sh/libm-test-ulps: Regenerate.
249
250 2014-01-24  David S. Miller  <davem@davemloft.net>
251
252         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
253
254 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
255
256         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
257         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
258
259 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
260
261         [BZ #16474]
262         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
263         string pointers after reallocation.
264
265 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
266
267         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
268         __SH4A__ instead of __SH_FPU_ANY__.
269
270 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
271
272         * sysdeps/sh/fpu_control.h: New file.
273         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
274         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
275         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
276         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
277         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
278         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
279         * sysdeps/sh/sys/ucontext.h: Remove.
280         * sysdeps/sh/sys: Remove directory.
281
282 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
283
284         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
285         s390/sys/ucontext.h.
286         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
287         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
288
289 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
290
291         [BZ #15605]
292         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
293
294 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
295
296         [BZ#16431]
297         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
298         Adjust the vDSO correctly for internal calls.
299         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
300
301 2014-01-20  Allan McRae  <allan@archlinux.org>
302
303         * po/ca.po: Update Catalan translation from translation project.
304
305 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
306
307         * sysdeps/s390/sotruss-lib.c: New file.
308
309 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
310
311         [BZ#16430]
312         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
313         (__GI___gettimeofday): Alias for a different internal symbol to avoid
314         local calls issues by not having a PLT stub required for IFUNC calls.
315         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
316
317 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
318
319         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
320         * math/test-fpucw-static.c: Likewise.
321
322 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
323
324         [BZ #16453]
325         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
326
327 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
328
329         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
330         implementation for powerpc.
331
332 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
333
334         [BZ #14782]
335         * sysdeps/posix/system.c (__libc_system): Do not enable
336         asynchronous cancellation.
337
338 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
339
340         [BZ #16427]
341         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
342         handling only for numbers special also in the IEEE case.
343
344 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
345
346         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
347
348 2014-01-11  Allan McRae  <allan@archlinux.org>
349
350         * po/bg.po: Update Bulgarian translation from translation project.
351
352         * po/de.po: Update German translation from translation project.
353
354 2014-01-10  Roland McGrath  <roland@hack.frob.com>
355
356         * sysdeps/generic/gcc-compat.h: New file.
357
358 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
359
360         * benchtests/asin-inputs: Correct slow inputs.
361         * benchtests/acos-inputs: Likewise.
362
363 2014-01-10  Allan McRae  <allan@archlinux.org>
364
365         * po:sv.po: Update Swedish translation from translation project.
366
367         * po/vi.po: Update Vietnamese translation from translation project.
368
369         * po/eo.po: Update Esperanto translation from translation project.
370
371         * po/cs.po: Update Czech translation from translation project.
372
373         * po/nl.po: Update Dutch translation from translation project.
374
375         * po/pl.po: Update Polish translation from translation project.
376
377         * po/ru.po: Update Russian translation from translation project.
378
379         * po/uk.po: Update Ukrainian translation from translation project.
380
381 2014-01-08  Brooks Moses  <bmoses@google.com>
382
383         * elf/dl-load.c: Fix comment typo.
384
385 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
386
387         * po/header.pot: Rename to...
388         * po/pot.header: ... this.
389         * po/Makefile: Use pot.header.
390
391 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
392             Maxim Kuvyrkov  <maxim@kugelworks.com>
393
394         [BZ #16394]
395         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
396         SRC and DEST against LEN.
397
398 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
399
400         [BZ #16414]
401         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
402         implementation.
403         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
404
405 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
406
407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
408
409 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
410
411         [BZ #16408]
412         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
413         for large positive arguments.
414
415 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
416
417         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
418
419         * math/auto-libm-test-in: Mark various tests with
420         xfail-rounding:ldbl-128ibm.
421         * math/auto-libm-test-out: Regenerated.
422
423         [BZ #16407]
424         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
425         Increase overflow threshold.
426
427 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
428
429         [BZ #14286]
430         * stdio-common/vfprintf.c: Check for integer overflow.
431
432 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
433
434         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
435         the first argument and return value of __tls_get_addr_internal.
436
437 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
438
439         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
440         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
441
442 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
443
444         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
445         * sysdeps/s390/rtld-global-offsets.sym: New file.
446         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
447         GLIBC_2.19 symbol.
448         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
449         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
450         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
451         ... this.
452         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
453         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
454         ... this.
455         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
456         Regenerate.
457         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
458         Regenerate.
459         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
460         halfs of GPRs for high_gprs contexts.
461         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
462         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
463         field.
464         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
465         uc_flags field.
466         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
467         64 bit versions:
468         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
469         for high GPRs (uc_high_gprs) and for future extensions
470         (__reserved).
471         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
472         for future extensions (__reserved).
473         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
474         64 bit versions:
475         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
476         SC_HIGHGPRS offset definition.
477         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
478         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
479
480 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
481
482         * Versions.def: Add GLIBC_2.19 for libpthread.
483         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
484         siglongjmp for libpthread with GLIBC_2.19 symver.
485         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
486         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
487         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
488         * sysdeps/s390/__longjmp.c: New file.
489         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
490         * sysdeps/s390/longjmp.c: New file.
491         * sysdeps/s390/setjmp.S: New file.
492         * sysdeps/s390/sigjmp.S: New file.
493         * sysdeps/s390/v1-longjmp.c: New file.
494         * sysdeps/s390/v1-setjmp.h: New file.
495         * sysdeps/s390/v1-sigjmp.c: New file.
496         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
497         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
498         GLIBC_2.19 version.
499         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
500         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
501         versioned symbols for ____longjmp_chk.
502         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
503         Likewise.
504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
505         Regenerate.
506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
507         Regenerate.
508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
509         Regenerate.
510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
511         Regenerate.
512         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
513         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
514         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
515         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
516         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
517         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
518         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
519         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
520         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
521         * sysdeps/s390/rtld-__longjmp.c: New file.
522         * sysdeps/s390/rtld-setjmp.S: New file.
523
524 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
525
526         [BZ #16400]
527         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
528         Return -__logl (x) for small positive arguments without evaluating
529         a polynomial.
530
531 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
532
533         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
534         Rename to ...
535         (__ptrace_peeksiginfo_args): ... this.
536         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
537         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
538         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
539
540 2014-01-06  Allan McRae  <allan@archlinux.org>
541
542         * inet/netinet/in.h: Fix typo in comment.
543
544 2014-01-05  Andreas Jaeger  <aj@suse.de>
545
546         * sysdeps/i386/fpu/libm-test-ulps: Update.
547
548 2014-01-05  Allan McRae  <allan@archlinux.org>
549
550         * po/libc.pot: Regenerated.
551
552         * malloc/memusagestat.c: Fix gettext call formatting.
553
554 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
555
556         * nscd/nscd.c: Improve usage() output.
557
558 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
559
560         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
561         * sysdeps/unix/sysv/linux/configure: Regenerated.
562         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
563         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
564
565 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
566
567         [BZ #16390]
568         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
569         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
570
571 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
572
573         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
574         extra tokens at end of #undef directive.
575         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
576         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
577         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
578
579 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
580
581         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
582
583         * math/auto-libm-test-in: Mark various tests with
584         xfail-rounding:ldbl-128ibm.
585         * math/auto-libm-test-out: Regenerated.
586
587 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
588
589         [BZ #16386]
590         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
591         numbers with subnormal high part when calculating exponent.
592
593         [BZ #16385]
594         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
595         fabs.
596
597         [BZ #16384]
598         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
599         M_LN2l.
600         (__ieee754_acoshl): Use __log1pl not __log1p.
601
602 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
603
604         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
605         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
606         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
607         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
608         Convert to GNU style.
609         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
610         mem2mem_check, mem2chunk_check, top_check, realloc_check,
611         memalign_check, __malloc_set_state): Likewise.
612         * malloc/mallocbug.c (main): Likewise.
613         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
614         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
615         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
616         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
617         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
618         * malloc/malloc.h: Likewise.
619         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
620         memalignhook, reallochook, mabort): Likewise.
621         * malloc/mcheck.h: Likewise.
622         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
623         mmap64, mremap, munmap, dest): Likewise.
624         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
625         * malloc/morecore.c (__default_morecore): Likewise.
626         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
627         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
628         _obstack_allocated_p, obstack_free, _obstack_memory_used,
629         print_and_abort): Likewise.
630         * malloc/obstack.h: Likewise.
631         * malloc/set-freeres.c (__libc_freeres): Likewise.
632         * malloc/tst-mallocstate.c (main): Likewise.
633         * malloc/tst-mtrace.c (main): Likewise.
634         * malloc/tst-realloc.c (do_test): Likewise.
635
636 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
637
638         [BZ #16366]
639         * nscd/netgroupcache.c (do_notfound): New function.
640         (addgetnetgrentX): Use it.
641
642         [BZ # 16365]
643         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
644         NSS_STATUS_NOTFOUND.
645
646 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
647
648         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
650
651 2014-01-01  Allan McRae  <allan@archlinux.org>
652
653         * scripts/update-copyrights: Update configure input file suffix.
654
655         * NEWS: Update copyright year.
656         * catgets/gencat.c: Likewise.
657         * csu/version.c: Likewise.
658         * debug/catchsegv.sh: Likewise.
659         * debug/pcprofiledump.c: Likewise.
660         * debug/xtrace.sh: Likewise.
661         * elf/ldconfig.c: Likewise.
662         * elf/ldd.bash.in: Likewise.
663         * elf/pldd.c: Likewise.
664         * elf/sotruss.ksh: Likewise.
665         * elf/sprof.c: Likewise.
666         * iconv/iconv_prog.c: Likewise.
667         * iconv/iconvconfig.c: Likewise.
668         * locale/programs/locale.c: Likewise.
669         * locale/programs/localedef.c: Likewise.
670         * login/programs/pt_chown.c: Likewise.
671         * malloc/memusage.sh: Likewise.
672         * malloc/memusagestat.c: Likewise.
673         * malloc/mtrace.pl: Likewise.
674         * manual/libc.texinfo: Likewise.
675         * nscd/nscd.c: Likewise.
676         * nss/getent.c: Likewise.
677         * nss/makedb.c: Likewise.
678         * posix/getconf.c: Likewise.
679         * scripts/test-installation.pl: Likewise.
680
681         * All files with FSF copyright notices: Update copyright dates
682         using scripts/update-copyrights.
683         * intl/plural.c: Regenerated.
684         * locale/programs/charmap-kw.h: Likewise.
685         * locale/programs/locfile-kw.h: Likewise.
686
687 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
688
689         * sysdeps/unix/sysv/linux/configure: Regenerated.
690         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
691         the linux/fanotify.h header.
692         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
693         HAVE_LINUX_FANOTIFY_H is defined.
694
695 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
696
697         * benchtests/cos-inputs: New inputs.
698         * benchtests/sin-inputs: Likewise.
699
700         * benchtests/atan-inputs: New inputs. Fix name of multiple
701         precision fallback inputs.
702
703         * benchtests/atanh-inputs: New inputs.
704         * benchtests/tanh-inputs: Likewise.
705
706         * benchtests/acosh-inputs: New inputs.
707         * benchtests/asinh-inputs: Likewise.
708
709         * benchtests/cosh-inputs: New inputs.
710         * benchtests/sinh-inputs: Likewise.
711
712         * benchtests/acos-inputs: Add more inputs.
713         * benchtests/asin-inputs: Likewise.
714
715 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
716
717         [BZ #16375]
718         * manual/arith.texi: Fix spelling.
719         * manual/charset.texi: Likewise.
720         * manual/errno.texi: Likewise.
721         * manual/filesys.texi: Likewise.
722         * manual/lang.texi: Likewise.
723         * manual/llio.texi: Likewise.
724         * manual/locale.texi: Likewise.
725         * manual/message.texi: Likewise.
726         * manual/resource.texi: Likewise.
727         * manual/search.texi: Likewise.
728         * manual/setjmp.texi: Likewise.
729         * manual/stdio.texi: Likewise.
730         * manual/string.texi: Likewise.
731         * manual/sysinfo.texi: Likewise.
732         * manual/time.texi: Likewise.
733
734 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
735
736         * po/sl.po: New file.
737
738 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
739
740         * .gitignore: Add core/.gdbinit/.gdb_history.
741
742 2013-12-27  Allan McRae  <allan@archlinux.org>
743
744         [BZ #16369]
745         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
746         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
747
748 2013-12-24  Brooks Moses  <bmoses@google.com>
749
750         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
751         all compilers that claim C++98 compliance, not just GCC.
752         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
753         Likewise.
754
755 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
756
757         * NEWS: Restore accidentally deleted bug-fix entries.
758
759 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
760             Ondřej Bílka  <neleai@seznam.cz>
761
762         [BZ #15073]
763         * malloc/malloc.c (_int_free): Perform sanity check only if we
764         have_lock.
765
766 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
767
768         [BZ #12986]
769         * manual/stdio.texi (String Input Conversions): Clarify that character
770         classes are not supported.
771
772 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
773
774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
775
776 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
777
778         [BZ #16337]
779         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
780         Calculate results for small negative arguments directly rather
781         than using reflection formula with special underflow handling.
782
783         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
784         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
785         sysdeps/unix/bsd/bsd4.4/syscalls.list.
786         (fchflags): Likewise.
787         (revoke): Likewise.
788         (setlogin): Likewise.
789         (sigaltstack): Likewise.
790         (wait4): Likewise.
791         (sigblock): Remove.
792         (sigsetmask): Likewise.
793         (wait3): Likewise.
794         (waitpid): Likewise.
795         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
796         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
797         file.
798         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
799         * sysdeps/unix/bsd/Makefile: ... here.
800         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
801         * sysdeps/unix/bsd/Versions: ... here.
802         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
803         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
804         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
805         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
806         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
807         * sysdeps/unix/bsd/sigblock.c: ... here.
808         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
809         * sysdeps/unix/bsd/sigsetmask.c: ... here.
810         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
811         * sysdeps/unix/bsd/sigvec.c: ... here.
812         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
813         * sysdeps/unix/bsd/tcdrain.c: ... here.
814         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
815         * sysdeps/unix/bsd/tcgetattr.c: ... here.
816         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
817         * sysdeps/unix/bsd/tcsetattr.c: ... here.
818         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
819         * sysdeps/unix/bsd/wait.c: ... here.
820         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
821         * sysdeps/unix/bsd/wait3.c: ... here.
822         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
823         * sysdeps/unix/bsd/waitpid.c: ... here.
824
825 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
826
827         [BZ #16356]
828         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
829         round-to-nearest for [!USE_AS_EXPM1L].
830         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
831         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
832         more tests of exp and exp10.  Expect some exp10 tests to miss
833         exceptions or fail in directed rounding modes.
834         * math/auto-libm-test-out: Regenerated.
835         * math/libm-test.inc (exp10_tonearest_test_data): New array.
836         (exp10_test_tonearest): New function.
837         (exp10_towardzero_test_data): New array.
838         (exp10_test_towardzero): New function.
839         (exp10_downward_test_data): New array.
840         (exp10_test_downward): New function.
841         (exp10_upward_test_data): New array.
842         (exp10_test_upward): New function.
843         (main): Call the new functions.
844         * sysdeps/i386/fpu/libm-test-ulps: Update.
845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
846
847 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
848
849         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
850         asinh, atan, atan2, atanh, cbrt, cos and cosh.
851         * math/auto-libm-test-out: Regenerated.
852         * math/libm-test.inc (acosh_test_data): Add more tests.
853         (atanh_test_data): Likewise.
854         (ceil_test_data): Likewise.
855         (copysign_test_data): Likewise.
856         * sysdeps/i386/fpu/libm-test-ulps: Update.
857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
858
859         * timezone/checktab.awk: Update from tzcode 2013i.
860         * timezone/private.h: Likewise.
861         * timezone/scheck.c: Likewise.
862         * timezone/tzfile.h: Likewise.
863         * timezone/tzselect.ksh: Likewise.
864         * timezone/zdump.c: Likewise.
865         * timezone/zic.c: Likewise.
866
867         * math/auto-libm-test-in: Add tests of cpow.
868         * math/auto-libm-test-out: Regenerated.
869         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
870         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
871         mpc_cc_c.
872         (func_calc_desc): Add mpc_cc_c union field.
873         (test_functions): Add cpow.
874         (special_fill_2pi): New function.
875         (special_real_inputs): Add 2pi.
876         (calc_generic_results): Handle mpc_cc_c.
877         * sysdeps/i386/fpu/libm-test-ulps: Update.
878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
879
880         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
881         csqrt, ctan and ctanh.
882         * math/auto-libm-test-out: Regenerated.
883         * math/libm-test.inc (TEST_COND_x86_64): New macro.
884         (TEST_COND_x86): Likewise.
885         (ccos_test_data): Use AUTO_TESTS_c_c.
886         (ccosh_test_data): Likewise.
887         (cexp_test_data): Likewise.
888         (clog_test_data): Likewise.
889         (csqrt_test_data): Likewise.
890         (ctan_test_data): Likewise.
891         (ctan_tonearest_test_data): Likewise.
892         (ctan_towardzero_test_data): Likewise.
893         (ctan_downward_test_data): Likewise.
894         (ctan_upward_test_data): Likewise.
895         (ctanh_test_data): Likewise.
896         (ctanh_tonearest_test_data): Likewise.
897         (ctanh_towardzero_test_data): Likewise.
898         (ctanh_downward_test_data): Likewise.
899         (ctanh_upward_test_data): Likewise.
900         * math/gen-auto-libm-tests.c (func_calc_method): Add value
901         mpc_c_c.
902         (func_calc_desc): Add mpc_c_c union field.
903         (FUNC_mpc_c_c): New macro.
904         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
905         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
906         ctanh.
907         (special_fill_min_subnorm_p120): New function.
908         (special_real_inputs): Add min_subnorm_p120.
909         (calc_generic_results): Handle mpc_c_c.
910         * sysdeps/i386/fpu/libm-test-ulps: Update.
911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
912
913 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
914
915         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
916         do_sin_slow): New functions.
917         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
918         cslow2, csloww1, csloww2): Use the new functions.
919
920         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
921         Use M to change sign of result instead of X.  Assume X is
922         positive.
923         (csloww1): Likewise.
924         (__sin): Adjust.
925         (__cos): Adjust.
926
927         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
928         arguments A and DA.
929         (__sin): Adjust.
930         (__cos): Likewise.
931
932         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
933         (__cos): Likewise.
934         (sloww1): Don't adjust sign of DX.
935         (csloww1): Likewise.
936         (sloww2): Use X directly and don't adjust sign of DX.
937         (csloww2): Likewise.
938
939 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
940
941         * math/auto-libm-test-in: Add tests of cabs and carg.
942         * math/auto-libm-test-out: Regenerated.
943         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
944         (carg_test_data): Likewise.
945         * math/gen-auto-libm-tests.c (func_calc_method): Add value
946         mpc_c_f.
947         (func_calc_desc): Add mpc_c_f union field.
948         (test_functions): Add cabs and carg.
949         (calc_generic_results): Handle mpc_c_f.
950
951         * sysdeps/powerpc/powerpc32/libgcc-compat.S
952         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
953         as a macro and a compat symbol.
954         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
955         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
956         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
957         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
958         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
959         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
960         not use .hidden.
961         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
962         Likewise.
963         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
964         Likewise.
965         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
966         Likewise.
967         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
968         Likewise.
969         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
970         Likewise.
971         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
972         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
973         from GLIBC_2.3.2.
974
975 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
976
977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
978
979 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
980
981         * manual/texinfo.tex: Update to version 2013-11-26.10 with
982         trailing whitespace removed.
983         * scripts/config.guess: Update to version 2013-11-29.
984         * scripts/config.sub: Update to version 2013-10-01.
985
986         * math/auto-libm-test-in: Add tests of sincos.
987         * math/auto-libm-test-out: Regenerated.
988         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
989         * math/gen-auto-libm-tests.c (func_calc_method): Add value
990         mpfr_f_11.
991         (func_calc_desc): Add mpfr_f_11 union field.
992         (test_functions): Add sincos.
993         (calc_generic_results): Handle mpfr_f_11.
994         * sysdeps/i386/fpu/libm-test-ulps: Update.
995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
996
997 2013-12-19  Andreas Schwab  <schwab@suse.de>
998
999         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1000         CALL_MCOUNT.
1001         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1002         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1003         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1004
1005 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1006
1007         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1008         * sysdeps/i386/fpu/libm-test-ulps: Update.
1009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1010
1011         [BZ #16293]
1012         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1013         round-to-nearest mode when using frndint.
1014         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1015         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1016         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1017         Likewise.
1018         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
1019         sinh test to fail.
1020         * math/auto-libm-test-out: Regenerated.
1021         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1022         (TEST_COND_x86): Likewise.
1023         (expm1_tonearest_test_data): New array.
1024         (expm1_test_tonearest): New function.
1025         (expm1_towardzero_test_data): New array.
1026         (expm1_test_towardzero): New function.
1027         (expm1_downward_test_data): New array.
1028         (expm1_test_downward): New function.
1029         (expm1_upward_test_data): New array.
1030         (expm1_test_upward): New function.
1031         (main): Run the new test functions.
1032         * sysdeps/i386/fpu/libm-test-ulps: Update.
1033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1034
1035         * include/features.h: Update comment documenting feature test
1036         macros.  Mention _DEFAULT_SOURCE in comment.
1037         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1038         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1039         _BSD_SOURCE and _SVID_SOURCE.
1040         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1041         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1042         !_SVID_SOURCE]: Likewise.
1043         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1044         (__USE_POSIX_IMPLICITLY): Define.
1045         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1046         (_POSIX_SOURCE): Undefine and redefine.
1047         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1048         (_POSIX_C_SOURCE): Likewise.
1049         * manual/creature.texi (_DEFAULT_SOURCE): Document.
1050         (Feature Test Macros): Update documentation of default features.
1051
1052 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1053
1054         * benchtests/Makefile: Add bench-strtok.
1055         * benchtests/bench-strtok.c: New file: strtok benchtest.
1056
1057 2013-12-19  Allan McRae  <allan@archlinux.org>
1058
1059         * manual/install.texi: Suppress menu for plain text output.
1060         * INSTALL: Regenerated.
1061
1062 2013-12-18  Brooks Moses  <bmoses@google.com>
1063
1064         [BZ #15846]
1065         * misc/getauxval.c: Include errno.h.
1066         (__getauxval): Set errno to ENOENT if the requested type is not
1067         found.
1068         * misc/sys/auxv.h (getauxval): Document that it may set errno;
1069         don't declare with __attribute_const__.
1070         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1071         * manual/startup.texi: Document that getauxval sets errno.
1072
1073 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1074
1075         * math/auto-libm-test-in: Add tests of jn and yn.
1076         * math/auto-libm-test-out: Regenerated.
1077         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1078         (yn_test_data): Likewise.
1079         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1080         mpfr_if_f.
1081         (func_calc_desc): Add mpfr_if_f union field.
1082         (FUNC_mpfr_if_f): New macro.
1083         (test_functions): Add jn and yn.
1084         (calc_generic_results): Assert type of second input for
1085         mpfr_ff_f.  Handle mpfr_if_f.
1086         (output_for_one_input_case): Disable all checking for arguments
1087         fitting floating-point types in case of an integer argument.
1088         * sysdeps/i386/fpu/libm-test-ulps: Update.
1089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1090
1091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1092         Don't expect fegetround reference in libm.so.
1093
1094 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1095
1096         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1097         $(config-cflags-nofma).
1098
1099 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1100
1101         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1102         * math/auto-libm-test-out: Regenerated.
1103
1104         [BZ #16338]
1105         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1106         to determine exponent and adjust argument to have exponent of -1.
1107         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1108         log2.
1109         * math/auto-libm-test-out: Regenerated.
1110         * sysdeps/i386/fpu/libm-test-ulps: Update.
1111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1112
1113 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
1114
1115         * manual/probes.texi: Remove cases when per-thread arenas are
1116         disabled.
1117
1118 2013-12-18  Andreas Schwab  <schwab@suse.de>
1119
1120         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1121         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1122         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1123         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1124         * sysdeps/i386/i686/multiarch/Makefile: Update.
1125         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1126
1127 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1128
1129         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1130         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1131
1132 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
1133
1134         [BZ #15968]
1135         Support TZ transition times < 00:00:00.
1136         This is needed for version-3 tz-format files; it supports time
1137         stamps past 2037 for America/Godthab (the only entry in the tz
1138         database for which this change is relevant).
1139         * manual/time.texi (TZ Variable): Document transition times
1140         from -167:59:59 through -00:00:01.
1141         * time/tzset.c (tz_rule): Time of day is now signed.
1142         (__tzset_parse_tz): Parse negative time of day.
1143
1144         Document TZ transition times >= 25:00:00.
1145         * manual/time.texi (TZ Variable): Document transition times from
1146         25:00:00 through 167:59:59.  These are already supported, and this
1147         support will help with version-3 tz-format files.
1148
1149         * manual/time.texi (TZ Variable): Modernize North America example
1150         to reflect current (i.e., 2007-and-later) daylight saving rules.
1151
1152         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1153
1154 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1155
1156         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1157         * sysdeps/unix/bsd/bits/stat.h: Likewise.
1158         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1159         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1160         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1161         * sysdeps/unix/bsd/bsdstat.h: Likewise.
1162         * sysdeps/unix/bsd/clock.c: Likewise.
1163         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1164         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1165         * sysdeps/unix/bsd/init-posix.c: Likewise.
1166         * sysdeps/unix/bsd/poll.c: Likewise.
1167         * sysdeps/unix/bsd/ptsname.c: Likewise.
1168         * sysdeps/unix/bsd/seekdir.c: Likewise.
1169         * sysdeps/unix/bsd/setegid.c: Likewise.
1170         * sysdeps/unix/bsd/seteuid.c: Likewise.
1171         * sysdeps/unix/bsd/setgid.c: Likewise.
1172         * sysdeps/unix/bsd/setrgid.c: Likewise.
1173         * sysdeps/unix/bsd/setruid.c: Likewise.
1174         * sysdeps/unix/bsd/setsid.c: Likewise.
1175         * sysdeps/unix/bsd/setuid.c: Likewise.
1176         * sysdeps/unix/bsd/sigaction.c: Likewise.
1177         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1178         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1179         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1180         * sysdeps/unix/bsd/telldir.c: Likewise.
1181         * sysdeps/unix/bsd/times.c: Likewise.
1182         * sysdeps/unix/bsd/usleep.c: Likewise.
1183
1184         * misc/Makefile (install-lib): Remove libbsd-compat.a.
1185         ($(objpfx)libbsd-compat.a): Remove rule.
1186
1187         * include/features.h (__FAVOR_BSD): Do not define.
1188         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1189         features conflicting with POSIX.
1190         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1191         (_BSD_SOURCE): Remove description of not being a subset of other
1192         feature test macros.
1193         * manual/job.texi (getpgrp): Do not document BSD version.
1194         (getpgid): Do not document by reference to BSD getpgrp.
1195         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1196         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1197         * signal/signal.h [__FAVOR_BSD]: Likewise.
1198         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1199         instead of making contents conditional on [__FAVOR_BSD].
1200         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1201
1202 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1203
1204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1205
1206 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1207
1208         [BZ #16314]
1209         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1210         values below 2**-450, not 2**-500.
1211         * math/auto-libm-test-in: Don't allow spurious underflow from
1212         hypot.
1213         * math/auto-libm-test-out: Regenerated.
1214
1215         [BZ #16316]
1216         [BZ #16330]
1217         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1218         values of ha and hb and sort them after adjusting subnormal
1219         arguments.
1220         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1221         Likewise.
1222         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1223         values of ea and eb and sort them after adjusting subnormal
1224         arguments.
1225         * math/auto-libm-test-in: Do not expect some hypot tests of
1226         subnormals to fail.  Add more hypot tests.
1227         * math/auto-libm-test-out: Regenerated.
1228
1229 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1230
1231         [BZ #13304]
1232         * sysdeps/sh/s_fma.c: New file.
1233         * sysdeps/sh/s_fmaf.c: New file.
1234         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
1235         version.
1236         * sysdeps/sh/Implies: Add sh/soft-fp.
1237
1238 2013-12-16  Roland McGrath  <roland@hack.frob.com>
1239
1240         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
1241         level of indirection to members `objname', `errstring', `malloced'.
1242         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1243         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
1244         it as the __longjmp argument (just pass 1 instead).
1245         (_dl_catch_error): Initialize C with argument pointers and address of
1246         volatile local ERRCODE rather than copying values out of C at return.
1247
1248 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
1249
1250         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1251         * math/auto-libm-test-out: Regenerated.
1252         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1253         (hypot_test_data): Likewise.
1254         (pow_test_data): Likewise.
1255         (pow_tonearest_test_data): Likewise.
1256         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1257         mpfr_ff_f.
1258         (func_calc_desc): Add mpfr_ff_f union field.
1259         (FUNC_mpfr_ff_f): New macro.
1260         (test_functions): Add atan2, hypot and pow.
1261         (special_fill_min): New function.
1262         (special_fill_minus_min): Likewise.
1263         (special_fill_min_subnorm): Likewise.
1264         (special_fill_minus_min_subnorm): Likewise.
1265         (special_real_inputs): Add min, -min, min_subnorm and
1266         -min_subnorm.
1267         (calc_generic_results): Handle mpfr_ff_f.
1268         * sysdeps/i386/fpu/libm-test-ulps: Update.
1269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1270
1271 2013-12-16  Will Newton  <will.newton@linaro.org>
1272
1273         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1274         (Aligned Memory Blocks): Add documentation for aligned_alloc
1275         and suggest it as an alternative to posix_memalign.
1276         (Hooks for Malloc): Document __memalign_hook is also called
1277         for aligned_alloc.  (Summary of Malloc): Add summary for
1278         aligned alloc.  Document __memalign_hook is also called
1279         for aligned_alloc.
1280
1281 2013-12-16  Will Newton  <will.newton@linaro.org>
1282
1283         * manual/memory.texi (Malloc Examples): Clarify default
1284         alignment documentation.  Suggest posix_memalign rather
1285         than memalign or valloc.
1286         (Aligned Memory Blocks): Remove suggestion to use memalign
1287         or valloc.  Remove obsolete comment about BSD.
1288         Document memalign errno values and mark the function obsolete.
1289         Document posix_memalign returned error codes.  Mark valloc
1290         as obsolete.  (Hooks for Malloc): __memalign_hook is also
1291         called for posix_memalign and valloc.
1292         (Summary of Malloc): Add posix_memalign to function summary.
1293         __memalign_hook is also called for posix_memalign and valloc.
1294
1295 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1296
1297         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1298         TAYLOR_SIN.
1299         (__sin): Adjust.
1300         (__cos): Likewise.
1301         (sloww): Use mynumber union.  Expand ternary operator into
1302         if-else statements.
1303         (cslow): use mynumber union.
1304
1305 2013-12-16  Allan McRae  <allan@archlinux.org>
1306
1307         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1308         * configure: Regenerated.
1309
1310         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1311
1312         [BZ #14120]
1313         * configure.ac: Added --enable-maintainer-mode. Check for
1314         autoconf when enabled.
1315         * configure: Regenerated.
1316
1317         * nscd/nscd.service: New file.
1318         * nscd/nscd.tmpfiles: New file.
1319
1320 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
1321
1322         [BZ #12100]
1323         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1324         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1325         * sysdeps/x86_64/multiarch/strstr.c: ... here.
1326         (strstr): Add __strstr_sse2_unaligned ifunc.
1327         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1328         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1329         (strcasestr): Remove __strcasestr_sse42 ifunc.
1330         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1331         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1332         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1333
1334 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1335
1336         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1337         * sysdeps/sh/bits/fenv.h: ... here.
1338         * sysdeps/sh/sh4/fpu/bits: Remove directory.
1339
1340 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1341
1342         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1343
1344 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1345
1346         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1347         hypotf multiarch implementations.
1348         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1349         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1350         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1351         multiarch hypot for PPC64.
1352         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1353         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1354         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1355         multiarch hypotf for PPC64.
1356
1357 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1358
1359         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1360         modff multiarch implementations.
1361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1364         multiarch modf for PPC64.
1365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1368         multiarch modff for PPC64.
1369
1370 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1371
1372         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1373         and logl multiarch implementations.
1374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1377         multiarch logb for PPC64.
1378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1381         multiarch logb for PPC64.
1382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1385         multiarch logb for PPC64.
1386
1387 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1388
1389         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1390         isinff multiarch implementation.
1391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1392         file.
1393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1395         multiarch isinf for PPC64.
1396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1397         file.
1398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1399         multiarch isinff for PPC64.
1400
1401 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1402
1403         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1404         finitef multiarch implementation.
1405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1406         file.
1407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1409         multiarch finite for PPC64.
1410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1411         file.
1412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1413         multiarch finitef for PPC64.
1414
1415 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1416
1417         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1418         lrint multiarch implementation.
1419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1420         file.
1421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1423         multiarch llrint for PPC64.
1424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1425         multiarch lrint for PPC64.
1426
1427 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1428
1429         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1430         copysignf multiarch implementation.
1431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1432         file.
1433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1434         file.
1435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1436         multiarch copysign for PPC64.
1437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1438         multiarch copysignf for PPC64.
1439
1440 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1441
1442         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1443         multiarch implementation.
1444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1445         file.
1446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1447         file.
1448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1449         file.
1450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1451         file.
1452         multiarch llround for PPC64.
1453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1454         multiarch trunc for PPC64.
1455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1456         multiarch truncf for PPC64.
1457
1458 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1459
1460         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1461         multiarch implementation.
1462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1463         file.
1464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1465         file.
1466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1467         file.
1468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1469         file.
1470         multiarch llround for PPC64.
1471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1472         multiarch round for PPC64.
1473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1474         multiarch roundf for PPC64.
1475
1476 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1477
1478         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1479         multiarch implementation.
1480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1481         file.
1482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1483         file.
1484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1485         file.
1486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1487         file.
1488         multiarch llround for PPC64.
1489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1490         multiarch floor for PPC64.
1491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1492         multiarch floorf for PPC64.
1493
1494 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1495
1496         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1497         multiarch implementation.
1498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1499         file.
1500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1501         file.
1502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1503         file.
1504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1505         file.
1506         multiarch llround for PPC64.
1507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1508         multiarch ceil for PPC64.
1509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1510         multiarch ceilf for PPC64.
1511
1512 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1513
1514         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1515         multiarch implementation.
1516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1517         file.
1518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1519         file.
1520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1521         file.
1522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1523         multiarch llround for PPC64.
1524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1525         multiarch lround for PPC64.
1526
1527 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1528
1529         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1530         multiarch implementation.
1531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1534         file.
1535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1538         multiarch isnan for PPC64.
1539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1540         multiarch isnanf for PPC64.
1541
1542 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1543
1544         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1545         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1546         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1547         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1548         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1550
1551 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1552
1553         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1554         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1555         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1556         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1557
1558 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1559
1560         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1561         multiarch implementations.
1562         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1563         (__libc_ifunc_impl_list): Likewise.
1564         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1565         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1566         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1567         multiarch stpcpy for PPC64.
1568
1569 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1570
1571         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1572         multiarch implementations.
1573         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1574         (__libc_ifunc_impl_list): Likewise.
1575         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1576         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1577         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1578         multiarch strcpy for PPC64.
1579
1580 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1581
1582         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1583         redefine function name.
1584         (_wordcopy_fwd_dest_aligned): Likewise.
1585         (_wordcopy_bwd_aligned): Likewise.
1586         (_wordcopy_bwd_dest_aligned): Likewise.
1587         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1588         multiarch implementations.
1589         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1590         (__libc_ifunc_impl_list): Likewise.
1591         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1592         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1593         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1594         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1595         multiarch wcscpy for PPC64.
1596
1597 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1598
1599         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1600         multiarch implementations.
1601         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1602         (__libc_ifunc_impl_list): Likewise.
1603         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1604         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1605         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1606         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1607         multiarch wcscpy for PPC64.
1608
1609 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1610
1611         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1612         multiarch implementations.
1613         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1614         (__libc_ifunc_impl_list): Likewise.
1615         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1616         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1617         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1618         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1619         multiarch wcsrchr for PPC64.
1620
1621 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1622
1623         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1624         multiarch implementations.
1625         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1626         (__libc_ifunc_impl_list): Likewise.
1627         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1628         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1629         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1630         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1631         multiarch wcschr for PPC64.
1632
1633 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1634
1635         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1636         multiarch implementations.
1637         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1638         (__libc_ifunc_impl_list): Likewise.
1639         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1640         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1641         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1642         multiarch strchrnul for PPC64.
1643
1644 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1645
1646         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1647         implementations.
1648         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1649         (__libc_ifunc_impl_list): Likewise.
1650         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1651         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1652         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1653         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1654         strchr for PPC64.
1655
1656 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1657
1658         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1659         implementations.
1660         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1661         (__libc_ifunc_impl_list): Likewise.
1662         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1663         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1664         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1665         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1666         strncmp for PPC64.
1667
1668 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1669
1670         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1671         multiarch implementations.
1672         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1673         (__libc_ifunc_impl_list): Likewise.
1674         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1675         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1676         strncasecmp for PPC64.
1677         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1678         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1679         multiarch strncasecmp_l for PPC64.
1680
1681 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1682
1683         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1684         multiarch implementations.
1685         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1686         (__libc_ifunc_impl_list): Likewise.
1687         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1688         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1689         multiarch strcasecmp for PPC64.
1690         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1691         file.
1692         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1693         multiarch strcasecmp_l for PPC64.
1694
1695 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1696
1697         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1698         implementations.
1699         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1700         (__libc_ifunc_impl_list): Likewise.
1701         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1702         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1703         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1704         strnlen for PPC64.
1705
1706 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1707
1708         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1709         implementations.
1710         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1711         (__libc_ifunc_impl_list): Likewise.
1712         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1713         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1714         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1715         strlen for PPC64.
1716
1717 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1718
1719         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1720         implementations.
1721         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1722         (__libc_ifunc_impl_list): Likewise.
1723         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1724         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1725         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1726         rawmemrchr for PPC64.
1727
1728 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1729
1730         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1731         implementation.
1732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1733         (__libc_ifunc_impl_list): Likewise.
1734         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1735         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1736         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1737         memrchr for PPC64.
1738
1739 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1740
1741         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1742         implementation.
1743         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1744         (__libc_ifunc_impl_list): Likewise.
1745         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1746         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1747         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1748         memchr for PPC64.
1749
1750 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1751
1752         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1753         implementation.
1754         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1755         (__libc_ifunc_impl_list): Likewise.
1756         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1757         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1758         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1759         mempcpy for PPC64.
1760
1761 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1762
1763         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1764         avoid cretion of __bzero symbol.
1765         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1766         Likewise.
1767         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1768         Likewise.
1769         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1770         Likewise.
1771         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1772         multiarch implementations.
1773         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1774         (__libc_ifunc_impl_list): Likewise.
1775         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1776         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1777         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1778         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1779         bzero for PPC32.
1780         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1781         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1782         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1783         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1784         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1785         memset for PPC64.
1786         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1787
1788 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1789
1790         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1791         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1792         implementations.
1793         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1794         (__libc_ifunc_impl_list): Likewise.
1795         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1796         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1797         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1798         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1799         memcmp for PPC64.
1800
1801 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1802
1803         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1804         multiarch for POWER/PPC64.
1805         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1806         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1807         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1808         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1809         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1810         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1811         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1812         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1813         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1814         memcpy for PPC64.
1815
1816 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1817
1818         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1819         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1820         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1821         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1822         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1823         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1824         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1825         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1826         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1827         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1828         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1829         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1830         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1831         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1832         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1840
1841 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1842
1843         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1844
1845 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1846
1847         * benchtests/Makefile (bench): Add exp2 and log2.
1848         (LDLIBS-bench-exp2): Add -lm.
1849         (LDLIBS-bench-log2): Likewise.
1850         * benchtests/exp2-inputs: New inputs file.
1851         * benchtests/log2-inputs: New inputs file.
1852         * benchtests/log-inputs: Add new inputs.
1853         * benchtests/tan-inputs: Likewise.
1854
1855 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1856
1857         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1858         definition...
1859         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1860         csloww1, csloww2): ... from here.
1861
1862         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1863         instead of structures.
1864         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1865         (POLYNOMIAL): Likewise.
1866         (TAYLOR_SLOW): Likewise.
1867         (__sin): Likewise.
1868         (__cos): Likewise.
1869         (slow1): Likewise.
1870         (slow2): Likewise.
1871         (sloww): Likewise.
1872         (sloww1); Likewise.
1873         (sloww2): Likewise.
1874         (bsloww1): Likewise.
1875         (bsloww2): Likewise.
1876         (cslow2): Likewise.
1877         (csloww): Likewise.
1878         (csloww1): Likewise.
1879         (csloww2): Likewise.
1880
1881 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1882
1883         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1884         (__malloc_assert, __libc_realloc, __libc_calloc,
1885         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1886         memcpy and memset.
1887         * malloc/hooks.c (realloc_check): Likewise.
1888
1889 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1890
1891         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1892         * malloc/arena.c: Remove PER_THREAD conditional.
1893         [!PER_THREAD]: Remove code.
1894         (ptmalloc_unlock_all2): Likewise.
1895         (ptmalloc_init): Likewise.
1896         (_int_new_arena): Likewise.
1897         (arena_get2): Likewise.
1898         * malloc/hooks.c (__malloc_get_state): Likewise.
1899         (__malloc_set_state): Likewise.
1900         * malloc/malloc.c: Likewise.
1901         (struct malloc_state): Likewise.
1902         (struct malloc_par): Likewise.
1903         (__libc_realloc): Likewise.
1904         (__libc_mallopt): Likewise.
1905
1906 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1907
1908         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1909
1910 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1911
1912         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1913         macro to a function.  Check for zero perturb_byte.
1914         (_int_malloc, _int_free): Remove zero perturb_byte checks.
1915
1916 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1917
1918         * malloc/malloc.c: (force_reg): Remove.
1919         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1920         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1921         force_reg by atomic_forced_read.
1922         * malloc/arena.c (ptmalloc_init): Likewise.
1923         * malloc/hooks.c (top_check): Likewise.
1924
1925 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1926
1927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1928
1929 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
1930
1931         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1932
1933 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
1934
1935         * math/auto-libm-test-in: Add tests of lgamma.
1936         * math/auto-libm-test-out: Regenerated.
1937         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1938         (M_LOG_2_SQRT_PIl): Likewise.
1939         (lgamma_test_data): Use AUTO_TESTS_f_f1.
1940         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1941         mpfr_f_f1.
1942         (func_calc_desc): Add mpfr_f_f1 union field.
1943         (ARGS1): New macro.
1944         (ARGS2): Likewise.
1945         (ARGS3): Likewise.
1946         (ARGS4): Likewise.
1947         (RET1): Likewise.
1948         (RET2): Likewise.
1949         (CALC): Likewise.
1950         (FUNC): Likewise.
1951         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1952         (test_functions): Add lgamma.
1953         (calc_generic_results): Handle mpfr_f_f1.
1954         * sysdeps/i386/fpu/libm-test-ulps: Update.
1955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1956
1957 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1958
1959         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1960         __mpn_add_n for PowerPC64/POWER7.
1961         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1962         __mpn_sub_n for PowerPC64/POWER7.
1963
1964 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1965
1966         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1967         __mpn_addmul_1 for PowerPC64.
1968         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1969         __mpn_submul_1 for PowerPC64.
1970         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1971         for PowerPC64.
1972         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1973         for PowerPC64.
1974
1975 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
1976
1977         [BZ #15089]
1978         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1979
1980 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1981
1982         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1983
1984 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1985
1986         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1987         add multiarch folders.
1988         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1989         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1990         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1991         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1992         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1993         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1994         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1995         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1996         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1997         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1998         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2005
2006 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2007
2008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2009         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2011         New file.
2012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2013         New file.
2014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2015         multiarch __ieee754_hypot for PowerPC32.
2016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2017         New file.
2018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2019         New file.
2020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2021         multiarch __ieee754_hypotf for PowerPC32.
2022
2023 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2024
2025         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2026         long_double_symbol only if __logbl is defined.
2027         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2028         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2029         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2030         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2031         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2032         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2033         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2034         path for implementation.
2035         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2036         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2038         logb, and logbl multiarch implementations for PowerPC32.
2039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2040         file.
2041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2042         file.
2043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2044         multiarch logb for PowerPC32.
2045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2046         file.
2047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2048         file.
2049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2050         multiarch logbf for PowerPC32.
2051         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2053         file.
2054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2055         multiarch logbl implementation for PowerPC32.
2056
2057 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2058
2059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2060         and modff multiarch implementations.
2061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2062         New file.
2063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2064         New file.
2065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2066         multiarch modf for PowerPC32.
2067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2068         New file.
2069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2070         New file.
2071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2072         multiarch modff for PowerPC32.
2073
2074 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2075
2076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2077         and lrintf multiarch implementations.
2078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2079         New file.
2080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2081         New file.
2082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2083         multiarch lrint for PowerPC32.
2084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2085         file: multiarch lrintf for PowerPC32.
2086
2087 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2088
2089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2090         and lroundf multiarch implementations.
2091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2092         New file.
2093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2094         New file.
2095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2096         New file.
2097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2098         multiarch lround for PowerPC32.
2099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2100         file: multiarch lroundf for PowerPC32.
2101
2102 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2103
2104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2105         copysign and copysignf multiarch implementations.
2106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2107         New file.
2108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2109         New file.
2110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2111         file: multiarch copysign for PowerPC32.
2112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2113         file: multiarch copysignf for PowerPC32.
2114
2115 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2116
2117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2118         and truncf multiarch implementations.
2119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2120         New file.
2121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2122         file.
2123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2124         multiarch trunc for PowerPC32.
2125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2126         New file.
2127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2128         New file.
2129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2130         multiarch truncf for PowerPC32.
2131
2132 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2133
2134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2135         and roundf multiarch implementations.
2136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2137         New file.
2138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2139         file.
2140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2141         multiarch round for PowerPC32.
2142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2143         New file.
2144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2145         New file.
2146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2147         multiarch roundf for PowerPC32.
2148
2149 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2150
2151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2152         and floorf multiarch implementations.
2153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2154         New file.
2155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2156         file.
2157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2158         multiarch floor for PowerPC32.
2159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2160         New file.
2161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2162         New file.
2163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2164         multiarch floorf for PowerPC32.
2165
2166 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2167
2168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2169         and ceilf multiarch implementations.
2170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2171         New file.
2172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2173         file.
2174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2175         multiarch ceil for PowerPC32.
2176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2177         New file.
2178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2179         file.
2180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2181         multiarch ceilf for PowerPC32.
2182
2183 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2184
2185         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2186         is defined.
2187         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2188         FINITEF is defined.
2189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2190         and finitef multiarch implementations.
2191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2192         New file.
2193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2194         file.
2195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2196         multiarch finite for PowerPC32.
2197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2198         New file.
2199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2200         file: multiarch finitef for PowerPC32.
2201
2202 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2203
2204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2205         and isinff multiarch implementations.
2206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2207         file.
2208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2209         file.
2210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2211         multiarch isinf for PowerPC32.
2212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2213         New file.
2214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2215         multiarch isinff for PowerPC32.
2216
2217 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2218
2219         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2220         alias when __isnan is defined.
2221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2222         and isnanf multiarch implementations.
2223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2224         file.
2225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2226         file.
2227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2228         file.
2229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2230         file.
2231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2232         multiarch isnan for PowerPC32.
2233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2234         New file.
2235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2236         New file.
2237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2238         multiarch isnanf for PowerPC32.
2239
2240 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2241
2242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2243         and sqrtf multiarch implementations.
2244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2245         file.
2246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2247         file.
2248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2249         multiarch sqrt for PowerPC32.
2250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2251         file.
2252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2253         file.
2254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2255         multiarch sqrtf for PowerPC32.
2256
2257 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2258
2259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2260         and llroundf multiarch implementations.
2261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2262         New file.
2263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2264         New file.
2265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2266         New file.
2267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2268         file: multiarch llround for PowerPC32.
2269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2270         file: multiarch llroundf for PowerPC32.
2271
2272 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2273
2274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2275         multiarch PowerPC32 fpu implementations.
2276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2277         New file.
2278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2279         New file.
2280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2281         multiarch llrint for PowerPC32.
2282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2283         New file.
2284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2285         New file.
2286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2287         file.
2288
2289 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2290
2291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2292
2293 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2294
2295         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2296         file.
2297         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2298         file.
2299         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2300         file.
2301         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2302         multiarch wordcopy for PPC32.
2303         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2304         wordcopy objects.
2305         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2306         (__libc_ifunc_impl_list): Likewise.
2307         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2308         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2309         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2310         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2311         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2312         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2313
2314 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2315
2316         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2317         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2318         file.
2319         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2320         file.
2321         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2322         file.
2323         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2324         multiarch wcscpy for PPC32.
2325         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2326         multiarch objects.
2327         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2328         (__libc_ifunc_impl_list): Likewise.
2329         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2330         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2331         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2332         sysdeps/powerpc/power6/wcscpy.c.
2333
2334 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2335
2336         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2337         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2338         file.
2339         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2340         file.
2341         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2342         file.
2343         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2344         multiarch wcsrchr for PPC32.
2345         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2346         multiarch objects.
2347         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2348         (__libc_ifunc_impl_list): Likewise.
2349         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2350         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2351         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2352         sysdeps/powerpc/power6/wcsrchr.c.
2353
2354 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2355
2356         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2357         file.
2358         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2359         file.
2360         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2361         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2362         multiarch wcschr for PPc32.
2363         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2364         multiarch objects.
2365         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2366         (__libc_ifunc_impl_list): Likewise.
2367         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2368         * sysdeps/powerpc/power6/wcschr.c: ... to here.
2369         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2370         sysdeps/powerpc/power6/wcschr.c.
2371
2372 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2373
2374         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2375         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2376         file.
2377         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2378         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2379         file: multiarch strchr for PPC32.
2380         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2381         multiarch objects.
2382         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2383         (__libc_ifunc_impl_list): Likewise.
2384
2385 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2386
2387         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2388         name.
2389         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2390         file.
2391         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2392         file.
2393         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2394         multiarch strchrnul for PPC32.
2395         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2396         multiarch objects.
2397         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2398         (__libc_ifunc_impl_list): Likewise.
2399
2400 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2401
2402         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2403         file.
2404         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2405         multiarch strncasecmp for PPC32.
2406         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2407         file.
2408         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2409         multiarch strncasecmp_l for PPC32.
2410         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2411         strncasecmp multiarch objects.
2412         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2413         (__libc_ifunc_impl_list): Likewise.
2414
2415 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2416
2417         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2418         file.
2419         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2420         multiarch strncasecmp for PPC32.
2421         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2422         New file.
2423         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2424         multiarch strcasecmp_l for PPC32.
2425         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2426         multiarch objects.
2427         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2428         (__libc_ifunc_impl_list): Likewise.
2429
2430 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2431
2432         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2433         file.
2434         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2435         file.
2436         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2437         multiarch strncmp for PPC32.
2438         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2439         multiarch objects.
2440         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2441         (__libc_ifunc_impl_list): Likewise.
2442
2443 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2444
2445         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2446         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2447         file.
2448         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2449         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2450         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2451         multiarch objects.
2452         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2453         (__libc_ifunc_impl_list): Likewise.
2454
2455 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2456
2457         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2458         file.
2459         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2460         file.
2461         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2462         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2463         multiarch objects.
2464         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2465         (__libc_ifunc_impl_list): Likewise.
2466
2467 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2468
2469         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2470         file.
2471         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2472         file.
2473         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2474         multiarch rawmemchr for PPC32.
2475         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2476         multiarch objects.
2477         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2478         (__libc_ifunc_impl_list): Likewise.
2479
2480 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2481
2482         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2483         file.
2484         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2485         file.
2486         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2487         file: memrchr multiarch for PPC32.
2488         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2489         multiarch objects.
2490         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2491         (__libc_ifunc_impl_list): Likewise.
2492
2493 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2494
2495         * string/memchr.c (__memchr): Using macro to redefine symbol name.
2496         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2497         file.
2498         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2499         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2500         multiarch memchr for PPC32.
2501         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2502         multiarch objects.
2503         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2504         (__libc_ifunc_impl_list): Likewise.
2505
2506 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2507
2508         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2509         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2510         file.
2511         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2512         file.
2513         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2514         file: multiarch mempcpy for PPC32.
2515         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2516         multiarch objects.
2517         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2518         (__libc_ifunc_impl_list): Likewise.
2519
2520 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2521
2522         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2523         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2524         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2525         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2526         multiarch bzero for PPC32.
2527         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2528         file.
2529         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2530         file.
2531         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2532         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2533         file: multiarch memset for PPC32.
2534         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2535         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2536         memset multiarch objects.
2537         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2538         (__libc_ifunc_impl_list): Likewise.
2539
2540 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2541
2542         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2543         file.
2544         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2545         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2546         memcmp for PPC32.
2547         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2548         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2549         multiarch objects.
2550         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2551         (__libc_ifunc_impl_list): Likewise.
2552
2553 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2554
2555         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2556         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2557         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2558         file.
2559         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2560         file.
2561         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2562         file.
2563         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2564         multiarch memcpy for PPC32.
2565         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2566         multiarch objects.
2567         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2568         (__libc_ifunc_impl_list): Likewise.
2569
2570 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2571
2572         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2573         support multiarch for POWER/PPC32.
2574         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2575         Likewise.
2576         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2578         Implies file to make multiarch folder appers before the fpu and
2579         default folder for power4 configuration.
2580
2581 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
2582
2583         * scripts/bench.pl: Append volatile keyword to type.
2584
2585 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2586
2587         * sysdeps/sh/sotruss-lib.c: New file.
2588         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2589
2590 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2591
2592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2593
2594 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
2595
2596         [BZ #6810]
2597         * math/w_tgamma.c: Include <errno.h>.
2598         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
2599         * math/w_tgammaf.c: Include <errno.h>.
2600         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
2601         * math/w_tgammal.c: Include <errno.h>.
2602         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
2603         * math/auto-libm-test-in: Do not allow missing errno on tgamma
2604         underflow.  Add more tgamma tests.
2605         * math/auto-libm-test-out: Regenerated.
2606         * sysdeps/i386/fpu/libm-test-ulps: Update.
2607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2608
2609         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2610         sin, sinh, tan, tanh, tgamma, y0 and y1.
2611         * math/auto-libm-test-out: Regenerated.
2612         * math/libm-test.inc (TEST_COND_x86_64): New macro.
2613         (TEST_COND_x86): Likewise.
2614         (M_E2l): Remove macro.
2615         (M_E3l): Likewise.
2616         (M_2_SQRT_PIl): Likewise.
2617         (M_SQRT_PIl): Likewise.
2618         (M_1_DIV_El): Likewise.
2619         (log_test_data): Use AUTO_TESTS_f_f.
2620         (log10_test_data): Likewise.
2621         (log1p_test_data): Likewise.
2622         (log2_test_data): Likewise.
2623         (sin_test_data): Likewise.
2624         (sin_tonearest_test_data): Likewise.
2625         (sin_towardzero_test_data): Likewise.
2626         (sin_downward_test_data): Likewise.
2627         (sin_upward_test_data): Likewise.
2628         (sinh_test_data): Likewise.
2629         (sinh_tonearest_test_data): Likewise.
2630         (sinh_towardzero_test_data): Likewise.
2631         (sinh_downward_test_data): Likewise.
2632         (sinh_upward_test_data): Likewise.
2633         (tan_test_data): Likewise.
2634         (tan_tonearest_test_data): Likewise.
2635         (tan_towardzero_test_data): Likewise.
2636         (tan_downward_test_data): Likewise.
2637         (tan_upward_test_data): Likewise.
2638         (tanh_test_data): Likewise.
2639         (tgamma_test_data): Likewise.
2640         (y0_test_data): Likewise.
2641         (y1_test_data): Likewise.
2642         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2643         (special_real_inputs): Add pi/4.
2644         * sysdeps/i386/fpu/libm-test-ulps: Update.
2645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2646
2647 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2648
2649         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2650         "longjmp_target" static probes.
2651         (__longjmp): Rename to __longjmp_symbol.
2652         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2653         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2654         on which longjmp to generate.
2655         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2656         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2657         probe.
2658         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2659         (__sigjmp_save): Rename to __sigjmp_save_symbol.
2660         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2661         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2662         and __sigjmp_save_symbol based on which sigsetjmp to generated.
2663         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2665         __longjmp_symbol based on which __longjmp to generate.
2666         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2667         probe.
2668         (setjmp): Rename to setjmp_symbol.
2669         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2670         (_setjmp): Rename to _setjmp_symbol.
2671         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2672         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2673         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2674         which setjmp to generate.
2675         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2676         "longjmp_target" static probes.
2677
2678 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2679
2680         * benchtests/README: Add note about output arguments.
2681         * benchtests/bench-sincos.c: Remove file.
2682         * benchtests/sincos-inputs: New file.
2683         * scripts/bench.pl: Identify output arguments and define
2684         static variables for them.
2685
2686         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2687
2688         [BZ #15941]
2689         * Makefile (INSTALL): Add install-plain.texi as the primary
2690         dependency.
2691         * manual/install-plain.texi: New file.
2692         * manual/install.texi: Include node directive only for
2693         non-plaintext output.
2694
2695 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
2696
2697         * stdlib/longlong.h: Update from GCC.
2698
2699         [BZ #6807]
2700         [BZ #15901]
2701         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2702         * math/w_j0f.c (y0f): Likewise.
2703         * math/w_j0l.c (__y0l): Likewise.
2704         * math/w_j1.c (y1): Likewise.
2705         * math/w_j1f.c (y1f): Likewise.
2706         * math/w_j1l.c (__y1l): Likewise
2707         * math/w_jn.c (yn): Likewise.
2708         * math/w_jnf.c (ynf): Likewise.
2709         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2710         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
2711         value for Bessel function domain errors outside _SVID_ mode.
2712         Adjust sign of return value for yn (negative integer, 0).
2713         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2714         by zero in return for negative x and set sign appropriately for
2715         negative n.
2716         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2717         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2718         * math/libm-test.inc (y0_test_data): Add more tests and adjust
2719         expectations in error cases.
2720         (y1_test_data): Likewise.
2721         (yn_test_data): Likewise.
2722         * sysdeps/i386/fpu/libm-test-ulps: Update.
2723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2724
2725 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2726
2727         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2728         "64" to "64-v1".  Add "64-v2".
2729         (abi-64-options): Rename to ...
2730         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
2731         (abi-64-condition): Rename to ...
2732         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
2733         (abi-64-ld-soname): Rename to ...
2734         (abi-64-v1-ld-soname): ... this.
2735         (abi-64-v2-options): Define.
2736         (abi-64-v2-condition): Likewise.
2737         (abi-64-v2-ld-soname): Likewise.
2738         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2739         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2743
2744 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2745             Alan Modra  <amodra@gmail.com>
2746
2747         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2748         New versions for use with the ELFv2 ABI.
2749         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2750         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2751         declaration.
2752         (struct La_ppc64v2_retval): Likewise.
2753         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2754         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2755         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2756         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2757         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2758         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2759         Do not save or restore CR.
2760         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2761         (_dl_profile_resolve): Do no save or restore CR.  Support extended
2762         return values for ELFv2 ABI.  Fix location of FPR return registers.
2763         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2764         updated values for _CALL_ELF == 2.
2765         (La_regs, La_retval, int_retval): Likewise.
2766
2767 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2768
2769         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2770         (FRAME_MIN_SIZE_PARM): Likewise.
2771         (FRAME_BACKCHAIN): Likewise.
2772         (FRAME_CR_SAVE): Likewise.
2773         (FRAME_LR_SAVE): Likewise.
2774         (FRAME_TOC_SAVE): Likewise.
2775         (FRAME_PARM_SAVE): Likewise.
2776         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2777         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2778         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2779         (call_mcount_parm_offset): New macro.
2780         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2781         (PROF): Use symbolic stack frame offsets.
2782         (TAIL_CALL_SYSCALL_ERROR): Likewise.
2783         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2784         Redefine in terms of FRAME_MIN_SIZE.
2785         (_dl_runtime_resolve): Use symbolic stack frame offsets.
2786         (_dl_profile_resolve): Likewise.  Update comment.
2787         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2788         symbols stack frame offsets.
2789         (__sigsetjmp): Likewise.
2790         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2791         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2792         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2793         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2794
2795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2796         (FRAME_BACKCHAIN): Remove.
2797         (FRAME_CR_SAVE): Likewise.
2798         (FRAME_LR_SAVE): Likewise.
2799         (FRAME_COMPILER_DW): Likewise.
2800         (FRAME_LINKER_DW): Likewise.
2801         (FRAME_TOC_SAVE): Likewise.
2802         (FRAME_PARM_SAVE): Likewise.
2803         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2804         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2805         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2807         (CHECK_SP): Use symbolic stack frame offsets.
2808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2809         zone" instead of caller's parameter save area for temp storage.
2810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2811         Likewise.  Also, use symbolic stack frame offsets.
2812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2813         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2814         our own stack frame instead of the caller's.
2815         (__socket): Use symbolic stack frame offsets.
2816
2817 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2818             Alan Modra  <amodra@gmail.com>
2819
2820         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2821         Define.
2822         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2823         PPC64_LOCAL_ENTRY_OFFSET): Define.
2824         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2825         New function.
2826         (elf_machine_fixup_plt): Call it.
2827         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
2828         reloc arguments.
2829         (elf_machine_rela): Update call to elf_machine_plt_conflict.
2830         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2831         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2832         r2 before calling target.
2833
2834 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2835             Alan Modra  <amodra@gmail.com>
2836
2837         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2838         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2839         versions of macros to support ELFv2 ABI.
2840         (LOCALENTRY): New macro.
2841         (ENTRY, EALIGN): Use it.
2842         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2843         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2844         fall through into ENTRY entry point.
2845         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2846         Only define if _CALL_ELF != 2.
2847
2848         (elf_machine_matches_host): Verify ABI version matches.
2849         (RTLD_START): Use LOCALENTRY.
2850         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2851         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2852         (PLT_ENTRY_WORDS): New macro.
2853         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2854         (elf_machine_runtime_setup): Support ELFv2 ABI.
2855         (elf_machine_fixup_plt): Likewise.
2856         (elf_machine_plt_conflict): Likewise.
2857         (resolve_ifunc): Likewise.
2858         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2859         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2860         Likewise.
2861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2862         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2864         (makecontext): Support ELFv2 ABI.
2865         * elf/elf.h (EF_PPC64_ABI): Define.
2866
2867 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2868
2869         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2870         New assembler macro.
2871         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2872         [ASSEMBLER] (ENTRY): ... but instead here ...
2873         [ASSEMBLER] (EALIGN): ... and here.
2874         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2875         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2876         [!ASSEMBLER] (ENTRY_2): Use it.
2877         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2878         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
2879         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2880         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2881         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2883         Use PPC64_LOAD_FUNCPTR.
2884
2885 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2886
2887         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2888
2889 2013-12-04  Alan Modra  <amodra@gmail.com>
2890
2891         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2892         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2893         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2894         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2895
2896         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2897         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2898         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2899         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2900         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2901         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2902
2903 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2904
2905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2906         (__makecontext): Fix incorrect CFI when backtracing out of
2907         context created via makecontext.
2908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2909         (__setcontext): Fix incorrect CFI during switch to new context.
2910         (__novec_setcontext): Likewise.
2911
2912 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2913
2914         [BZ #4772]
2915         * time/strptime_l.c (__strptime_internal): Allow modifiers
2916         in strptime.
2917         * time/tst-strptime.c (day_tests): Add testcase.
2918
2919
2920 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2921
2922         * scripts/bench.pl: Skip over blank lines.
2923
2924 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2925
2926         [BZ #926]
2927         * manual/time.texi (Calendar Time): Clarify what timezone functions
2928         use.
2929
2930 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2931
2932         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2933
2934 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2935
2936         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2937         implementation.
2938         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2939         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2940         * debug/memset_chk.c (__memset_chk): Likewise.
2941         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2942         * debug/strncpy_chk.c: Likewise.
2943
2944 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2945
2946         [BZ #15268]
2947         [BZ #15425]
2948         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2949         (__ieee754_exp): For possibly underflowing results, check size of
2950         result and force underflow exception if required.
2951         * math/auto-libm-test-in: Add more tests of exp.
2952         * math/auto-libm-test-out: Regenerated.
2953         * sysdeps/i386/fpu/libm-test-ulps: Update.
2954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2955
2956         [BZ #16283]
2957         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2958         * math/w_exp2f.c (__exp2f): Likewise.
2959         * math/w_exp2l.c (__exp2l): Likewise.
2960         * math/auto-libm-test-in: Do not allow missing errno on exp2
2961         underflow.
2962         * math/auto-libm-test-out: Regenerated.
2963
2964 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
2965
2966         [BZ #16274]
2967         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2968         handle filename validation.
2969         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2970         (do_open): Delete.
2971
2972 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2973
2974         [BZ #6786]
2975         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2976         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2977         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2978         <float.h>.
2979         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2980         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2981         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2982         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2983         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2984         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2985         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2986         * math/auto-libm-test-in: Don't allow missing errno from erfc.
2987         Add more erfc tests.
2988         * math/auto-libm-test-out: Regenerated.
2989         * sysdeps/i386/fpu/libm-test-ulps: Update.
2990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2991
2992         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2993         exp2, expm1, j0 and j1.
2994         * math/auto-libm-test-out: Regenerated.
2995         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2996         (erfc_test_data): Likewise.
2997         (exp_test_data): Likewise.
2998         (exp_tonearest_test_data): Likewise.
2999         (exp_towardzero_test_data): Likewise.
3000         (exp_downward_test_data): Likewise.
3001         (exp_upward_test_data): Likewise.
3002         (exp10_test_data): Likewise.
3003         (exp2_test_data): Likewise.
3004         (expm1_test_data): Likewise.
3005         (j0_test_data): Likewise.
3006         (j1_test_data): Likewise.
3007         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3008         (input_flag_type): Add flag_xfail_rounding.
3009         (input_flags): Add xfail-rounding.
3010         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3011         (output_for_one_input_case): Handle flag_xfail_rounding.
3012         * sysdeps/i386/fpu/libm-test-ulps: Update.
3013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3014
3015 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
3016
3017         [BZ #16289]
3018         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3019         division by 0.
3020
3021 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3022
3023         [BZ #16195]
3024         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3025         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3026         (STAP_PROBE0): New macro.
3027         (STAP_PROBE1): Likewise.
3028         (STAP_PROBE2): Likewise.
3029         (STAP_PROBE3): Likewise.
3030         (STAP_PROBE4): Likewise.
3031
3032 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
3033
3034         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3035
3036 2013-12-02  Steve Ellcey  <sellcey@mips.com>
3037
3038         * benchtests/Makefile (bench): Add sqrt.
3039         (LDLIBS-bench-sqrt): New.
3040         * benchtests/sqrt-input: New.
3041
3042 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
3043
3044         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3045         (GAIH_EAI): Likewise.
3046         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3047         (gaih_inet): Likewise.
3048         (getaddrinfo): Don't use GAIH_EAI.
3049
3050         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3051         (struct gaih): Remove definition.
3052
3053 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3054
3055         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3056         Use HERRNOP directly.
3057
3058 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3059
3060         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3061
3062 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
3063
3064         * math/gen-auto-libm-tests.c (test_functions): Add more
3065         single-argument functions.
3066         (special_fill_pi_2): New function.
3067         (special_fill_minus_pi_2): Likewise.
3068         (special_fill_pi_6): Likewise.
3069         (special_fill_minus_pi_6): Likewise.
3070         (special_fill_pi_3): Likewise.
3071         (special_fill_2pi_3): Likewise.
3072         (special_fill_e): Likewise.
3073         (special_fill_1_e): Likewise.
3074         (special_fill_e_minus_1): Likewise.
3075         (special_real_inputs): Add more special inputs.
3076         (output_for_one_input_case): Do not require ERANGE on underflow to
3077         zero if round-to-nearest result does not underflow to zero, unless
3078         exact results required.
3079         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3080         atan, atanh, cbrt, cos and cosh.
3081         * math/auto-libm-test-out: Regenerated.
3082         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3083         (acos_tonearest_test_data): Likewise.
3084         (acos_towardzero_test_data): Likewise.
3085         (acos_downward_test_data): Likewise.
3086         (acos_upward_test_data): Likewise.
3087         (acosh_test_data): Likewise.
3088         (asin_test_data): Likewise.
3089         (asin_tonearest_test_data): Likewise.
3090         (asin_towardzero_test_data): Likewise.
3091         (asin_upward_test_data): Likewise.
3092         (asinh_test_data): Likewise.
3093         (atan_test_data): Likewise.
3094         (atanh_test_data): Likewise.
3095         (cbrt_test_data): Likewise.
3096         (cos_test_data): Likewise.
3097         (cos_tonearest_test_data): Likewise.
3098         (cos_towardzero_test_data): Likewise.
3099         (cos_downward_test_data): Likewise.
3100         (cos_upward_test_data): Likewise.
3101         (cosh_test_data): Likewise.
3102         (cosh_tonearest_test_data): Likewise.
3103         (cosh_towardzero_test_data): Likewise.
3104         (cosh_downward_test_data): Likewise.
3105         (cosh_upward_test_data): Likewise.
3106         * sysdeps/i386/fpu/libm-test-ulps: Update.
3107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3108
3109 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
3110
3111         [BZ #6787]
3112         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3113         * math/w_exp10f.c (__exp10f): Likewise.
3114         * math/w_exp10l.c (__exp10l): Likewise.
3115         * math/libm-test.inc (exp10_test_data): Add more tests and expect
3116         errno settings in existing tests.
3117
3118         [BZ #14032]
3119         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3120         precision control set to double precision.
3121         * sysdeps/i386/fpu/w_sqrt.c: New file.
3122         * math/auto-libm-test-in: Add more tests.
3123         * math/auto-libm-test-out: Update.
3124
3125         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3126         (sqrt_test_tonearest): New function.
3127         (sqrt_towardzero_test_data): New variable.
3128         (sqrt_test_towardzero): New function.
3129         (sqrt_downward_test_data): New variable.
3130         (sqrt_test_downward): New function.
3131         (sqrt_upward_test_data): New variable.
3132         (sqrt_test_upward): New function.
3133         (main): Call the new functions.
3134
3135         * math/gen-auto-libm-tests.c: New file.
3136         * math/auto-libm-test-in: Likewise.
3137         * math/auto-libm-test-out: New generated file.
3138         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3139         variables.
3140         (%beautify): Add generated representations of zero.
3141         (top level): Set $auto_input and call parse_auto_input.
3142         (beautify): Remove trailing "f" from hex float constants.
3143         (parse_args): Handle XFAIL_TEST.
3144         (convert_condition): New function.
3145         (or_value): Likewise.
3146         (or_cond_value): Likewise.
3147         (generate_testfile): Handle AUTO_TESTS_* lines.
3148         (parse_auto_input): New function.
3149         * math/libm-test.inc (XFAIL_TEST): New macro.
3150         (ERRNO_UNCHANGED): Update value.
3151         (ERRNO_EDOM): Likewise.
3152         (ERRNO_ERANGE): Likewise.
3153         (IGNORE_RESULT): Likewise.
3154         (TEST_COND_flt_32): New macro.
3155         (TEST_COND_dbl_64): Likewise.
3156         (TEST_COND_ldbl_96_intel): Likewise.
3157         (TEST_COND_ldbl_96_m68k): Likewise.
3158         (TEST_COND_ldbl_128): Likewise.
3159         (TEST_COND_ldbl_128ibm): Likewise.
3160         (TEST_COND_long32): Likewise.
3161         (TEST_COND_long64): Likewise.
3162         (TEST_COND_before_rounding): Likewise.
3163         (TEST_COND_after_rounding): Likewise.
3164         (enable_test): Handle XFAIL_TEST flag.
3165         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3166         with finite results.
3167         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3168         auto-libm-test-out.
3169
3170 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3171             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3172
3173         [BZ #16214]
3174         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3175         __tls_get_addr_internal instead of __tls_get_offset in order to
3176         avoid GOT pointer dependency.  Make rtld export
3177         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3178         __tls_get_addr since we are a __tls_get_offset platform.
3179         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3180         GOT pointer being set up before.
3181         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3182
3183 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
3184
3185         * manual/math.texi (Errors in Math Functions): Document accuracy
3186         goals.
3187
3188         [BZ #15004]
3189         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3190         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3191         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3192         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3193         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3194         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3195         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3196         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3197         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3198         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3199         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3200         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3201         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3202         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3203         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3204         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3205
3206         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3207         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3208         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3209         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3210         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3211         Likewise.
3212         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3213         Likewise.
3214         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3215         Likewise.
3216         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3217         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3218         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3219         atomic-feupdateenv and flt-rounds.
3220         * sysdeps/powerpc/nofpu/Versions (libc): Add
3221         __atomic_feholdexcept, __atomic_feclearexcept,
3222         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3223         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3224         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3225         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3226         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3227         here.
3228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3229         Update.
3230
3231         * manual/arith.texi (FP Exceptions): Document that exceptions may
3232         not be raised when matherr is used.
3233         (Math Error Reporting): Document overflow in directed rounding
3234         modes.  Document that errno may not be set when finite values are
3235         returned on overflow.  Document intent to set errno on underflow
3236         only for underflow to zero.
3237
3238         [BZ #16271]
3239         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3240         round-to-nearest then adjust result for other rounding modes.
3241         * include/fenv.h (fegetround): Use libm_hidden_proto.
3242         * math/fegetround.c (fegetround): Use libm_hidden_def.
3243         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3244         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3245         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3246         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3247         Likewise.
3248         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3249         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3250         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3251         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3252
3253 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3254
3255         [BZ #16077]
3256         * nss/Versions (libnss_files): Add
3257         _nss_files_gethostbyname3_r.
3258         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3259         New function.
3260         (HOST_DB_LOOKUP): Remove macro.
3261         (_nss_files_gethostbyname_r): Implement function without the
3262         HOST_DB_LOOKUP macro.
3263         (_nss_files_gethostbyname2_r): Likewise.
3264
3265 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
3266
3267         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3268
3269 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
3270
3271         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3272         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3273         warning.
3274
3275 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3276
3277         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3278         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3279         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3280         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3281         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3282         __fe_nomask_env_priv and attribute_hidden.
3283         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3284         (libc_feupdateenv_test_ppc): Likewise.
3285         (libc_feresetround_ppc): Likewise.
3286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3287         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3288         compat_symbol macro.
3289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3290         (__fe_nomask_env): Likewise.
3291         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3292
3293 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3294
3295         * string/Makefile: Remove ifunc tests.
3296         * string/test-string.h: Define TEST_IFUNC.
3297         * string/test-bcopy-ifunc.c: Remove.
3298         * string/test-bzero-ifunc.c: Likewise.
3299         * string/test-memccpy-ifunc.c: Likewise.
3300         * string/test-memchr-ifunc.c: Likewise.
3301         * string/test-memcmp-ifunc.c: Likewise.
3302         * string/test-memcpy-ifunc.c: Likewise.
3303         * string/test-memmem-ifunc.c: Likewise.
3304         * string/test-memmove-ifunc.c: Likewise.
3305         * string/test-mempcpy-ifunc.c: Likewise.
3306         * string/test-memrchr-ifunc.c: Likewise.
3307         * string/test-memset-ifunc.c: Likewise.
3308         * string/test-rawmemchr-ifunc.c: Likewise.
3309         * string/test-stpcpy-ifunc.c: Likewise.
3310         * string/test-stpncpy-ifunc.c: Likewise.
3311         * string/test-strcasecmp-ifunc.c: Likewise.
3312         * string/test-strcasestr-ifunc.c: Likewise.
3313         * string/test-strcat-ifunc.c: Likewise.
3314         * string/test-strchr-ifunc.c: Likewise.
3315         * string/test-strchrnul-ifunc.c: Likewise.
3316         * string/test-strcmp-ifunc.c: Likewise.
3317         * string/test-strcpy-ifunc.c: Likewise.
3318         * string/test-strcspn-ifunc.c: Likewise.
3319         * string/test-strlen-ifunc.c: Likewise.
3320         * string/test-strncasecmp-ifunc.c: Likewise.
3321         * string/test-strncat-ifunc.c: Likewise.
3322         * string/test-strncmp-ifunc.c: Likewise.
3323         * string/test-strncpy-ifunc.c: Likewise.
3324         * string/test-strnlen-ifunc.c: Likewise.
3325         * string/test-strpbrk-ifunc.c: Likewise.
3326         * string/test-strrchr-ifunc.c: Likewise.
3327         * string/test-strspn-ifunc.c: Likewise.
3328         * string/test-strstr-ifunc.c: Likewise.
3329
3330 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3331
3332         * benchtests/Makefile: Remove ifunc tests.
3333         * benchtests/bench-string.h: Define TEST_IFUNC.
3334         * benchtests/bench-bcopy-ifunc.c: Remove.
3335         * benchtests/bench-bzero-ifunc.c: Likewise.
3336         * benchtests/bench-memccpy-ifunc.c: Likewise.
3337         * benchtests/bench-memchr-ifunc.c: Likewise.
3338         * benchtests/bench-memcmp-ifunc.c: Likewise.
3339         * benchtests/bench-memcpy-ifunc.c: Likewise.
3340         * benchtests/bench-memmem-ifunc.c: Likewise.
3341         * benchtests/bench-memmove-ifunc.c: Likewise.
3342         * benchtests/bench-mempcpy-ifunc.c: Likewise.
3343         * benchtests/bench-memrchr-ifunc.c: Likewise.
3344         * benchtests/bench-memset-ifunc.c: Likewise.
3345         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3346         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3347         * benchtests/bench-stpcpy-ifunc.c: Likewise.
3348         * benchtests/bench-stpncpy-ifunc.c: Likewise.
3349         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3350         * benchtests/bench-strcasestr-ifunc.c: Likewise.
3351         * benchtests/bench-strcat-ifunc.c: Likewise.
3352         * benchtests/bench-strchr-ifunc.c: Likewise.
3353         * benchtests/bench-strchrnul-ifunc.c: Likewise.
3354         * benchtests/bench-strcmp-ifunc.c: Likewise.
3355         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3356         * benchtests/bench-strcpy-ifunc.c: Likewise.
3357         * benchtests/bench-strcspn-ifunc.c: Likewise.
3358         * benchtests/bench-strlen-ifunc.c: Likewise.
3359         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3360         * benchtests/bench-strncat-ifunc.c: Likewise.
3361         * benchtests/bench-strncmp-ifunc.c: Likewise.
3362         * benchtests/bench-strncpy-ifunc.c: Likewise.
3363         * benchtests/bench-strnlen-ifunc.c: Likewise.
3364         * benchtests/bench-strpbrk-ifunc.c: Likewise.
3365         * benchtests/bench-strrchr-ifunc.c: Likewise.
3366         * benchtests/bench-strsep-ifunc.c: Likewise.
3367         * benchtests/bench-strspn-ifunc.c: Likewise.
3368         * benchtests/bench-strstr-ifunc.c: Likewise.
3369
3370 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3371
3372         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3373
3374 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3375
3376         * resolv/netdb.h: Use __glibc_reserved instead __unused.
3377         * rt/aio.h: Likewise.
3378         * sysdeps/gnu/bits/utmp.h: Likewise.
3379         * sysdeps/gnu/bits/utmpx.h: Likewise.
3380         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3381         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3382         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3383         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3384         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3385         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3386         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3387         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3388         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3389         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3390         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3391         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3392         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3394         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3395         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3396         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3397         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3398         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3399         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3400         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3401         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3402         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3403         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3404         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3405         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3406         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3407         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3408         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3409         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3410         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3411         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3412         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3413         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3414         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3415         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3416         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3417         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3418         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3419         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3420         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3421         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3422
3423 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
3424
3425         [BZ #16245]
3426         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3427         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3428
3429 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
3430
3431         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3432         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3433         Likewise.
3434
3435 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3436
3437         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3438         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3439         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3440         (__fesetround): Remove define.
3441         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3442         rounding and exceptions handling.
3443         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3444         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3445         (__fe_nomask_env): Likewise.
3446         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3447         __fegetround instead of fegetround.
3448         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3449         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3450
3451 2013-11-21  Roland McGrath  <roland@hack.frob.com>
3452
3453         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3454         it's there.
3455
3456         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3457
3458 2013-11-21  Meador Inge  <meadori@codesourcery.com>
3459
3460         [BZ #11157]
3461         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3462         (encrypt_r): Likewise.
3463         * malloc/obstack.h (obstack_free): Likewise.
3464         * posix/unistd.h (encrypt): Likewise.
3465
3466 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
3467
3468         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3469         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3470         DL_CALL_DT_FINI() that call the functions directly.
3471         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3472         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3473         * elf/dl-fini.c: Likewise.
3474
3475 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
3476
3477         * malloc/hooks.c (memalign_check): Add alignment rounding.
3478         * malloc/malloc.c (_mid_memalign): New function.
3479         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3480         Implement by calling _mid_memalign.
3481         * manual/probes.texi (Memory Allocation Probes): Remove
3482         memory_valloc_retry and memory_pvalloc_retry.
3483
3484 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3485
3486         * locale/programs/locarchive.c (open_archive): Add const
3487         qualifier to ARCHIVEFNAME and copy default fname to
3488         DEFAULT_FNAME.
3489
3490         [BZ #15601]
3491         * libio/tst-widetext.input: Rename Oriya to Odia.
3492         * locale/iso-639.def: Likewise.
3493
3494         * manual/probes.texi (Mathematical Function Probes): Add
3495         documentation for sin, cos, asin and acos probes.
3496         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3497         (__sin32): Add slowasin probe.
3498         (__cos32): Add slowacos probe.
3499         (__mpsin): Add slowsin probe.
3500         (__mpcos): Add slowcos probe.
3501
3502 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
3503
3504         [BZ #15483]
3505         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3506         thread-local __sim_exceptions_thread and global
3507         __sim_exceptions_global.
3508         (__sim_disabled_exceptions): Change to thread-local
3509         __sim_disabled_exceptions_thread and global
3510         __sim_disabled_exceptions_global.
3511         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3512         and global __sim_round_mode_global.
3513         (__simulate_exceptions): Use thread-local floating-point state and
3514         set global state from it as needed.
3515         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3516         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3517         __sim_round_mode_thread.
3518         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3519         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3520         and global __sim_exceptions_global.
3521         (__sim_disabled_exceptions): Change to thread-local
3522         __sim_disabled_exceptions_thread and global
3523         __sim_disabled_exceptions_global.
3524         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3525         and global __sim_round_mode_global.
3526         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3527         (SIM_SET_GLOBAL): Likewise.
3528         * sysdeps/powerpc/soft-fp/sfp-machine.h
3529         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3530         __sim_round_mode_thread.
3531         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3532         __sim_disabled_exceptions_thread.
3533         (__sim_exceptions): Change to __sim_exceptions_thread.
3534         (__sim_disabled_exceptions): Change to
3535         __sim_disabled_exceptions_thread.
3536         (__sim_round_mode): Change to __sim_round_mode_thread.
3537         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3538         thread-local floating-point state and set global state from it as
3539         needed.
3540         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3541         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3542         (__sim_disabled_exceptions): Remove extern declaration.
3543         (feenableexcept): Use thread-local floating-point state and set
3544         global state from it as needed.
3545         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3546         extern declaration.
3547         (__sim_disabled_exceptions): Likewise.
3548         (__sim_round_mode): Likewise.
3549         (__fegetenv): Use thread-local floating-point state.
3550         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3551         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3552         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3553         floating-point state and set global state from it as needed.
3554         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3555         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3556         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3557         Likewise.
3558         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3559         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3560         Likewise.
3561         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3562         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3563         Use __sim_round_mode_thread.
3564         * math/test-fenv-tls.c: New file.
3565         * math/Makefile (tests): Add test-fenv-tls.
3566         ($(objpfx)test-fenv-tls): Depend on
3567         $(common-objpfx)nptl/libpthread.so.
3568
3569 2013-11-19  Andreas Schwab  <schwab@suse.de>
3570
3571         * locale/programs/locale.c (show_info): Decode wordarray elements.
3572         * locale/categories.def (LC_MONETARY): Add element for
3573         _NL_MONETARY_CRNCYSTR.
3574         * locale/C-monetary.c (conversion_rate): New variable.
3575         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3576         element.
3577
3578 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
3579
3580         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3581         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3582
3583 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3584
3585         * elf/Makefile (tst-auxv): New test.
3586         * elf/tst-auxv.c: New
3587         * elf/rtld.c (dl_main): Adjust AT_EXECFN
3588
3589 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
3590
3591         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3592         (hidden_proto): Caller changed.
3593         (hidden_tls_proto): New macro.
3594         (libc_hidden_tls_proto): Likewise.
3595         (rtld_hidden_tls_proto): Likewise.
3596         (libm_hidden_tls_proto): Likewise.
3597         (libresolv_hidden_tls_proto): Likewise.
3598         (librt_hidden_tls_proto): Likewise.
3599         (libdl_hidden_tls_proto): Likewise.
3600         (libnss_files_hidden_tls_proto): Likewise.
3601         (libnsl_hidden_tls_proto): Likewise.
3602         (libnss_nisplus_hidden_tls_proto): Likewise.
3603         (libutil_hidden_tls_proto): Likewise.
3604
3605 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
3606
3607         [BZ #10253]
3608         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3609         (decompose_rpath): Defer expansion to fillin_rpath.
3610         (_dl_init_paths): Pass linkmap to fillin_rpath.
3611
3612 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3613
3614         * benchtests/Makefile: Add strsep.
3615         * benchtests/bench-strsep.c: New file: strsep benchtest.
3616         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3617
3618 2013-11-18  Andreas Schwab  <schwab@suse.de>
3619
3620         * locale/programs/locale.c (show_info) [case byte]: Check for
3621         '\377' instead of '\177'.
3622         * locale/C-monetary.c (not_available): Always use "\377".
3623         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3624         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
3625         detect unavailable sign_posn locale elements.
3626         * locale/localeconv.c (__localeconv): For grouping and
3627         mon_grouping handle "\177" and "\377" like no grouping.
3628         (INT_ELEM): New macro.  Use it to set all numeric members.
3629         * locale/programs/ld-monetary.c (monetary_read)
3630         <tok_mon_grouping>: Normalize single -1 to the empty string.
3631         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3632         Likewise.
3633
3634 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3635
3636         [BZ #16055]
3637         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3638         when we match (nil).
3639         * stdio-common/tst-sscanf.c (struct test): Add testcase.
3640
3641 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
3642
3643         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3644         (NO_TEST_INLINE): Update value.
3645         (ERRNO_UNCHANGED): Likewise.
3646         (ERRNO_EDOM): Likewise.
3647         (ERRNO_ERANGE): Likewise.
3648         (IGNORE_RESULT): Likewise.
3649         (check_float_internal): Check signs of NaN results if
3650         TEST_NAN_SIGN used.
3651         (check_complex): Pass TEST_NAN_SIGN flag through to second
3652         check_float_internal call.
3653         (copysign_test_data): Add tests with quiet NaNs as second
3654         argument.  Use TEST_NAN_SIGN.
3655         (fabs_test_data): Add test of negative quiet NaN argument.  Use
3656         TEST_NAN_SIGN.
3657         (signbit_test_data): Add tests of quiet NaN argument.
3658         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3659
3660         * math/gen-libm-test.pl (show_exceptions): Take extra argument
3661         $ignore_result.
3662         (parse_args): Handle function results specified as IGNORE.
3663         * math/libm-test.inc (IGNORE_RESULT): New macro.
3664         (check_float_internal): Do not check numerical result if flag
3665         IGNORE_RESULT set.
3666         (check_complex): Pass through IGNORE_RESULT to second
3667         check_float_internal call.
3668         (check_int): Do not check numerical result if flag IGNORE_RESULT
3669         set.
3670         (check_long): Likewise.
3671         (check_bool): Likewise.
3672         (check_longlong): Likewise.
3673         (lrint_test_data): Add tests of infinite and NaN arguments.
3674         (lrint_tonearest_test_data): Likewise.
3675         (lrint_towardzero_test_data): Likewise.
3676         (lrint_downward_test_data): Likewise.
3677         (lrint_upward_test_data): Likewise.
3678         (llrint_test_data): Likewise.
3679         (llrint_tonearest_test_data): Likewise.
3680         (llrint_towardzero_test_data): Likewise.
3681         (llrint_downward_test_data): Likewise.
3682         (llrint_upward_test_data): Likewise.
3683         (lround_test_data): Likewise.
3684         (llround_test_data): Likewise.
3685
3686         * math/libm-test.inc (NO_TEST_INLINE): New macro.
3687         (ERRNO_UNCHANGED): Update value.
3688         (ERRNO_EDOM): Likewise.
3689         (ERRNO_ERANGE): Likewise.
3690         (NO_TEST_INLINE_FLOAT): New macro.
3691         (NO_TEST_INLINE_DOUBLE): Likewise.
3692         (enable_test): New function.
3693         (RUN_TEST_f_f): Check enable_test before running test.
3694         (RUN_TEST_2_f): Likewise.
3695         (RUN_TEST_fff_f): Likewise.
3696         (RUN_TEST_c_f): Likewise.
3697         (RUN_TEST_f_f1): Likewise.
3698         (RUN_TEST_fF_f1): Likewise.
3699         (RUN_TEST_fI_f1): Likewise.
3700         (RUN_TEST_ffI_f1): Likewise.
3701         (RUN_TEST_c_c): Likewise.
3702         (RUN_TEST_cc_c): Likewise.
3703         (RUN_TEST_f_i): Likewise.
3704         (RUN_TEST_f_i_tg): Likewise.
3705         (RUN_TEST_ff_i_tg): Likewise.
3706         (RUN_TEST_f_b): Likewise.
3707         (RUN_TEST_f_b_tg): Likewise.
3708         (RUN_TEST_f_l): Likewise.
3709         (RUN_TEST_f_L): Likewise.
3710         (RUN_TEST_fFF_11): Likewise.
3711         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3712         conditionals.
3713         (cosh_test_data): Likewise.
3714         (exp_test_data): Likewise.
3715         (expm1_test_data): Likewise.
3716         (hypot_test_data): Likewise.
3717         (pow_test_data): Likewise.
3718         (sinh_test_data): Likewise.
3719         (tanh_test_data): Likewise.
3720         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3721         flags argument.
3722
3723         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3724         tests with quiet NaN input and output.
3725         (acosh_test_data): Likewise.
3726         (asin_test_data): Likewise.
3727         (asinh_test_data): Likewise.
3728         (atan_test_data): Likewise.
3729         (atanh_test_data): Likewise.
3730         (atan2_test_data): Likewise.
3731         (cbrt_test_data): Likewise.
3732         (cos_test_data): Likewise.
3733         (cosh_test_data): Likewise.
3734         (erf_test_data): Likewise.
3735         (erfc_test_data): Likewise.
3736         (exp_test_data): Likewise.
3737         (exp10_test_data): Likewise.
3738         (exp2_test_data): Likewise.
3739         (expm1_test_data): Likewise.
3740         (hypot_test_data): Likewise.
3741         (j0_test_data): Likewise.
3742         (j1_test_data): Likewise.
3743         (jn_test_data): Likewise.
3744         (lgamma_test_data): Likewise.
3745         (log_test_data): Likewise.
3746         (log10_test_data): Likewise.
3747         (log1p_test_data): Likewise.
3748         (log2_test_data): Likewise.
3749         (pow_test_data): Likewise.
3750         (scalb_test_data): Likewise.
3751         (sin_test_data): Likewise.
3752         (sincos_test_data): Likewise.
3753         (sinh_test_data): Likewise.
3754         (tan_test_data): Likewise.
3755         (tanh_test_data): Likewise.
3756         (tgamma_test_data): Likewise.
3757         (y0_test_data): Likewise.
3758         (y1_test_data): Likewise.
3759         (yn_test_data): Likewise.
3760
3761         [BZ #16167]
3762         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3763         argument being NaN and avoid computations with second argument in
3764         that case.
3765         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3766         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3767         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3768
3769 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
3770
3771         * locale/iso-639.def: Add Chitwani Tharu (the).
3772
3773 2013-11-14  Andreas Schwab  <schwab@suse.de>
3774
3775         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3776         word instead of empty string.
3777
3778 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3779
3780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3781         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3783         (__fe_nomask_env): Likewise.
3784
3785 2013-11-13  Steve Ellcey  <sellcey@mips.com>
3786
3787         * benchtests/bench-timing.h: Include time.h.
3788
3789 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
3790
3791         [BZ #15997]
3792         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3793         to 3.4.0 for x32.
3794         * sysdeps/unix/sysv/linux/configure: Regenerated.
3795
3796 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
3797
3798         [BZ #16151]
3799         * stdlib/strtod_l.c (round_and_return): Do not consider
3800         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3801         exponent one less than half the least subnormal exponent.
3802         * stdlib/test-strtod-round-data: Add more tests.
3803         * stdlib/tst-strtod-round.c (tests): Regenerated.
3804
3805 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3806
3807         [BZ #14143]
3808         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3809         (__fe_mask_env): Likewise.
3810         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3811         libm_hidden_proto and add function prototype.
3812         (__fe_mask_env): Add function prototype.
3813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3814         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3816         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3818         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3819
3820 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3821
3822         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3823         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3824
3825 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3826
3827         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3828         of htab_find_slot().
3829
3830 2013-11-11  David S. Miller  <davem@davemloft.net>
3831
3832         [BZ #16150]
3833         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3834         symbol in the non-vis3 case in static builds.
3835         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3836         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3837         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3838         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3839
3840 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3841
3842         [BZ #387]
3843         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3844         it is empty.
3845
3846 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3847
3848         * benchtests/Makefile: Add bench-strtod.
3849         * benchtests/bench-strtod.c: New file: strtod benchtest
3850
3851 2013-11-11  Andreas Schwab  <schwab@suse.de>
3852
3853         [BZ #16153]
3854         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3855         terminating NUL in key length.
3856
3857 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3858
3859         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3860         Add artificial ODP entry for vDSO symbol for PPC64.
3861         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3862         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3863
3864 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3865
3866         [BZ #15374]
3867         * nss/getent.c (services_keys): Recognize services starting with digit.
3868
3869 2013-11-06  David S. Miller  <davem@davemloft.net>
3870
3871         [BZ #15985]
3872         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3873         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3874
3875 2013-11-06  Will Newton  <will.newton@linaro.org>
3876
3877         * manual/memory.texi (Malloc Examples): Remove register
3878         keyword from examples.
3879
3880 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
3881
3882         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3883
3884 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
3885
3886         [BZ #6981]
3887         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3888         depending on [__GCC_IEC_559 > 0].
3889         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3890         depending on [__GCC_IEC_559_COMPLEX > 0].
3891
3892 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
3893
3894         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3895         to iso-639.def.
3896
3897 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
3898
3899         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3900
3901 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
3902
3903         [BZ #16112]
3904         * malloc/malloc (malloc_info): Do not handle first bin as
3905         special case.
3906
3907 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
3908
3909         * locale/iso-639.def: Add Central Nahuatl (nhn).
3910
3911 2013-11-01  Bruno Haible  <bruno@clisp.org>
3912
3913         [BZ #7003]
3914         * manual/math.texi (BSD Random): Specify range upper bound as
3915         in POSIX.
3916
3917 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
3918
3919         * locale/iso-639.def: Add Meadow Mari (mhr).
3920
3921 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
3922
3923         [BZ #14752], [BZ #15763]
3924         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3925         Validate name.
3926         * rt/tst_shm.c: Add test for escaping directory.
3927
3928 2013-10-31  Andreas Schwab  <schwab@suse.de>
3929
3930         [BZ #15917]
3931         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3932         followed by 'x' as part of digit sequence.
3933         * stdio-common/tst-sscanf.c (double_tests2): New tests.
3934
3935 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3936
3937         [BZ #16037]
3938         * configure.ac: allow GNU Make 4.0 and greater.
3939         * configure: Regenerated.
3940
3941 2013-10-30  Will Newton  <will.newton@linaro.org>
3942
3943         [BZ #16038]
3944         * malloc/hooks.c (memalign_check): Limit alignment to the
3945         maximum representable power of two.
3946         * malloc/malloc.c (__libc_memalign): Likewise.
3947         * malloc/tst-memalign.c (do_test): Add test for very
3948         large alignment values.
3949         * malloc/tst-posix_memalign.c (do_test): Likewise.
3950
3951 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3952
3953         [BZ #11087]
3954         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3955         (munmap_chunk): Likewise.
3956         (mremap_chunk): Likewise.
3957
3958 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3959
3960         [BZ #15799]
3961         * stdlib/div.c (div): Remove obsolete code.
3962         * stdlib/ldiv.c (ldiv): Likewise.
3963         * stdlib/lldiv.c (lldiv): Likewise.
3964
3965 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3966
3967         [BZ #16071]
3968         * nss/nss_files/files-XXX.c (get_contents_ret): New
3969         enumerator.
3970         (get_contents): New function.
3971         (internal_getent): Use it.  Expand size of LINEBUFLEN.
3972
3973 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
3974
3975         * configure.in: Moved to ...
3976         * configure.ac: ... here. Change reference to configure.in
3977         to configure.ac.
3978         * sysdeps/arm/preconfigure.ac: ... here.
3979         configure.in to configure.ac.
3980         * sysdeps/gnu/configure.in: Moved to ...
3981         * sysdeps/gnu/configure.ac: ... here.
3982         * sysdeps/i386/configure.in: Moved to ...
3983         * sysdeps/i386/configure.ac: ... here.
3984         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3985         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3986         * sysdeps/mach/configure.in: Moved to ...
3987         * sysdeps/mach/configure.ac: ... here.
3988         * sysdeps/mach/hurd/configure.in: Moved to ...
3989         * sysdeps/mach/hurd/configure.ac: ... here.
3990         * sysdeps/powerpc/configure.in: Moved to ...
3991         * sysdeps/powerpc/configure.ac: ... here.
3992         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3993         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3994         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3995         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3996         * sysdeps/s390/s390-32/configure.in: Moved to ...
3997         * sysdeps/s390/s390-32/configure.ac: ... here.
3998         * sysdeps/s390/s390-64/configure.in: Moved to ...
3999         * sysdeps/s390/s390-64/configure.ac: ... here.
4000         * sysdeps/sh/configure.in: Moved to ...
4001         * sysdeps/sh/configure.ac: ... here.
4002         * sysdeps/sparc/configure.in: Moved to ...
4003         * sysdeps/sparc/configure.ac: ... here.
4004         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4005         * sysdeps/unix/sysv/linux/configure.ac: ... here.
4006         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4007         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4008         * sysdeps/x86_64/configure.in: Moved to ...
4009         * sysdeps/x86_64/configure.ac: ... here.
4010         * sysdeps/x86_64/preconfigure.in: Moved to ...
4011         * sysdeps/x86_64/preconfigure.ac: ... here.
4012         * aclocal.m4: Change reference to configure.in to configure.ac.
4013         * config.h.in: Likewise.
4014         * manual/install.texi: Likewise.
4015         * manual/maint.texi: Likewise.
4016         * Makefile: Likewise.
4017         * malloc/Makefile: Likewise.
4018         * nscd/Makefile: Likewise.
4019         * Makeconfig: Change reference to configure.in and
4020         preconfigure.in to configure.ac and preconfigure.ac
4021         respectively.
4022         * INSTALL: Regenerated.
4023         * configure: Likewise.
4024         * sysdeps/gnu/configure: Likewise.
4025         * sysdeps/i386/configure: Likewise.
4026         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4027         * sysdeps/mach/configure: Likewise.
4028         * sysdeps/mach/hurd/configure: Likewise.
4029         * sysdeps/powerpc/configure: Likewise.
4030         * sysdeps/powerpc/powerpc32/configure: Likewise.
4031         * sysdeps/powerpc/powerpc64/configure: Likewise.
4032         * sysdeps/s390/s390-32/configure: Likewise.
4033         * sysdeps/s390/s390-64/configure: Likewise.
4034         * sysdeps/sh/configure: Likewise.
4035         * sysdeps/sparc/configure: Likewise.
4036         * sysdeps/unix/sysv/linux/configure: Likewise.
4037         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4038         * sysdeps/x86_64/configure: Likewise.
4039         * sysdeps/x86_64/preconfigure: Likewise.
4040
4041 2013-10-29  Andreas Schwab  <schwab@suse.de>
4042
4043         * stdio-common/Makefile (tst-swscanf-ENV): Define.
4044
4045 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4046
4047         * benchtests/pow-inputs: Add new inputs.
4048
4049         * benchtests/exp-inputs: Add new inputs.
4050
4051         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4052         conditional check for return value.
4053         (__cos32): Likewise.
4054
4055 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4056
4057         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4058         to provide a boost for large inputs with word alignment.
4059         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4060         implementation based on optimized PPC64 strcpy.
4061         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4062         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4063         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4064         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4065
4066 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4067
4068         [BZ #2801]
4069         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4070
4071 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4072
4073         [BZ #14876]
4074         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4075         * time/tst-strptime.c (day_tests): Add testcase.
4076
4077 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4078
4079         [BZ #14029]
4080         * manual/pattern.texi: Acknowledge that fnmatch can fail.
4081
4082 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
4083
4084         [BZ #16074]
4085         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4086         MAP_FAILED on error.
4087
4088 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4089
4090         [BZ #16072]
4091         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4092         heap for large requests.
4093
4094 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
4095
4096         [BZ #9954]
4097         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4098         result if the result has no associated interface.
4099         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4100         interface for all 127.X.Y.Z addresses.
4101
4102 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
4103
4104         * locale/iso-639.def: Add Ligurian (lij)
4105
4106 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
4107
4108         [BZ #15825]
4109         * sunrpc/rpc_main.c: Document rpcgen -5.
4110
4111 2013-10-19  Michael Stahl  <mstahl@redhat.com>
4112
4113         * elf/rtld.c (do_preload): Print the reason why preloading failed.
4114
4115 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4116
4117         [BZ #10278]
4118         * posix/glob.c: Match only directories when trailing slash is present.
4119         * posix/tst-gnuglob.c (my_opendir): Do not open files.
4120         (main): Add testcase.
4121
4122 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4123
4124         [BZ #15670]
4125         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4126
4127 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
4128
4129         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4130         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4131         AUTH_DES and cindex for FIPS 140-2.
4132         (DES Encryption): Add cindex FIPS 46-3.
4133
4134         * locale/locarchive.h (struct locarhandle): Add fname.
4135         * locale/programs/localedef.c (main): Pass ARGV[remaining]
4136         if an optional argument was specified to --list-archive,
4137         otherwise NULL.
4138         * locale/programs/locarchive.c (show_archive_content): Take new
4139         argument fname and pass it via ah.fname to open_archive.
4140         * locale/programs/localedef.h: Update decl.
4141         (open_archive): If AH->fname is non-null, open that file
4142         rather than the default file name, and don't ignore ENOENT.
4143         (create_archive): Set AH.fname to NULL.
4144         (delete_locales_from_archive): Likewise.
4145         (add_locales_to_archive): Likewise.
4146         * locale/programs/locfile.c (write_all_categories): Likewise.
4147
4148 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
4149             Aldy Hernandez  <aldyh@redhat.com>
4150
4151         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4152         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4153         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4154         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4155         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4156         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4157         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4158         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4159         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4160         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4161         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4162         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4163         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4164         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4165         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4166         Likewise.
4167         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4168         Likewise.
4169         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4170         Likewise.
4171         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4172         Likewise.
4173         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4174         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4175         Likewise.
4176         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4177         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4178         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4179         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4180         Likewise.
4181         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4182         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4183         * sysdeps/powerpc/preconfigure: Likewise.
4184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4185         Likewise.
4186         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4187         Replace contents of file by #include of <fenv_libc.h>.
4188         * sysdeps/powerpc/soft-fp/sfp-machine.h
4189         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4190         and <sys/prctl.h>.
4191         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4192         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4193         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4194         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4195         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4196         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4197         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4198         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4199         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4200         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4201         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4202         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4204         Allow copysignl PLT reference to be missing.
4205
4206 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
4207             Joseph Myers  <joseph@codesourcery.com
4208
4209         [BZ #15948]
4210         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4211         single character.
4212         (add_to_tablewc): Assert sequence of wide characters is nonempty.
4213
4214 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4215
4216         * elf/tst-tls-dlinfo.c: Don't include tls.h.
4217         * elf/tst-tls1.c: Likewise.
4218         * elf/tst-tls10.h: Likewise.
4219         * elf/tst-tls14.c: Likewise.
4220         * elf/tst-tls2.c: Likewise.
4221         * elf/tst-tls3.c: Likewise.
4222         * elf/tst-tls4.c: Likewise.
4223         * elf/tst-tls5.c: Likewise.
4224         * elf/tst-tls6.c: Likewise.
4225         * elf/tst-tls7.c: Likewise.
4226         * elf/tst-tls8.c: Likewise.
4227         * elf/tst-tls9.c: Likewise.
4228         * elf/tst-tlsmod1.c: Likewise.
4229         * elf/tst-tlsmod13.c: Likewise.
4230         * elf/tst-tlsmod13a.c: Likewise.
4231         * elf/tst-tlsmod14a.c: Likewise.
4232         * elf/tst-tlsmod16a.c: Likewise.
4233         * elf/tst-tlsmod16b.c: Likewise.
4234         * elf/tst-tlsmod2.c: Likewise.
4235         * elf/tst-tlsmod3.c: Likewise.
4236         * elf/tst-tlsmod4.c: Likewise.
4237         * elf/tst-tlsmod5.c: Likewise.
4238         * elf/tst-tlsmod6.c: Likewise.
4239
4240 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
4241
4242         [BZ #12486]
4243         * malloc/malloc.c: remove checks for statistics.
4244
4245 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4246
4247         [BZ #15277]
4248         * inet/inet_net.c (inet_network): Detect additional invalid strings.
4249         * inet/tst-network.c: Add testcase.
4250
4251 2013-10-17  Andreas Schwab  <schwab@suse.de>
4252
4253         [BZ #15218]
4254         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4255         to determine canonical name.
4256
4257 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4258
4259         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4260         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4261         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4262         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4263         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4264         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4265         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4266         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4267         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4268         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4269         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4270         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4271         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4272         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4273         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4274         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4275         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4276         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4277         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4278         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4279         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4280         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4281         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4282         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4283         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4284         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4285         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4286         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4287         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4288         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4289         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4290         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4291         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4292         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4293         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4294         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4295         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4296         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4297         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4298         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4299         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4300         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4301         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4302         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4303         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4304         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4305         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4306         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4307         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4308         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4309         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4310         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4311         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4312         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4313         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4314         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4315         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4316         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4317
4318 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
4319
4320         [BZ #16041]
4321         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4322         make result into a quiet NaN.
4323
4324 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
4325
4326         * soft-fp/adddf3.c: Fix horizontal whitespace.
4327         * soft-fp/addsf3.c: Likewise.
4328         * soft-fp/addtf3.c: Likewise.
4329         * soft-fp/divdf3.c: Likewise.
4330         * soft-fp/divsf3.c: Likewise.
4331         * soft-fp/divtf3.c: Likewise.
4332         * soft-fp/double.h: Likewise.
4333         * soft-fp/eqdf2.c: Likewise.
4334         * soft-fp/eqsf2.c: Likewise.
4335         * soft-fp/eqtf2.c: Likewise.
4336         * soft-fp/extenddftf2.c: Likewise.
4337         * soft-fp/extended.h: Likewise.
4338         * soft-fp/extendsfdf2.c: Likewise.
4339         * soft-fp/extendsftf2.c: Likewise.
4340         * soft-fp/extendxftf2.c: Likewise.
4341         * soft-fp/fixdfdi.c: Likewise.
4342         * soft-fp/fixdfsi.c: Likewise.
4343         * soft-fp/fixdfti.c: Likewise.
4344         * soft-fp/fixsfdi.c: Likewise.
4345         * soft-fp/fixsfsi.c: Likewise.
4346         * soft-fp/fixsfti.c: Likewise.
4347         * soft-fp/fixtfdi.c: Likewise.
4348         * soft-fp/fixtfsi.c: Likewise.
4349         * soft-fp/fixtfti.c: Likewise.
4350         * soft-fp/fixunsdfdi.c: Likewise.
4351         * soft-fp/fixunsdfsi.c: Likewise.
4352         * soft-fp/fixunsdfti.c: Likewise.
4353         * soft-fp/fixunssfdi.c: Likewise.
4354         * soft-fp/fixunssfsi.c: Likewise.
4355         * soft-fp/fixunssfti.c: Likewise.
4356         * soft-fp/fixunstfdi.c: Likewise.
4357         * soft-fp/fixunstfsi.c: Likewise.
4358         * soft-fp/fixunstfti.c: Likewise.
4359         * soft-fp/floatdidf.c: Likewise.
4360         * soft-fp/floatdisf.c: Likewise.
4361         * soft-fp/floatditf.c: Likewise.
4362         * soft-fp/floatsidf.c: Likewise.
4363         * soft-fp/floatsisf.c: Likewise.
4364         * soft-fp/floatsitf.c: Likewise.
4365         * soft-fp/floattidf.c: Likewise.
4366         * soft-fp/floattisf.c: Likewise.
4367         * soft-fp/floattitf.c: Likewise.
4368         * soft-fp/floatundidf.c: Likewise.
4369         * soft-fp/floatundisf.c: Likewise.
4370         * soft-fp/floatunditf.c: Likewise.
4371         * soft-fp/floatunsidf.c: Likewise.
4372         * soft-fp/floatunsisf.c: Likewise.
4373         * soft-fp/floatunsitf.c: Likewise.
4374         * soft-fp/floatuntidf.c: Likewise.
4375         * soft-fp/floatuntisf.c: Likewise.
4376         * soft-fp/floatuntitf.c: Likewise.
4377         * soft-fp/fmadf4.c: Likewise.
4378         * soft-fp/fmasf4.c: Likewise.
4379         * soft-fp/fmatf4.c: Likewise.
4380         * soft-fp/gedf2.c: Likewise.
4381         * soft-fp/gesf2.c: Likewise.
4382         * soft-fp/getf2.c: Likewise.
4383         * soft-fp/ledf2.c: Likewise.
4384         * soft-fp/lesf2.c: Likewise.
4385         * soft-fp/letf2.c: Likewise.
4386         * soft-fp/muldf3.c: Likewise.
4387         * soft-fp/mulsf3.c: Likewise.
4388         * soft-fp/multf3.c: Likewise.
4389         * soft-fp/negdf2.c: Likewise.
4390         * soft-fp/negsf2.c: Likewise.
4391         * soft-fp/negtf2.c: Likewise.
4392         * soft-fp/op-1.h: Likewise.
4393         * soft-fp/op-2.h: Likewise.
4394         * soft-fp/op-4.h: Likewise.
4395         * soft-fp/op-8.h: Likewise.
4396         * soft-fp/op-common.h: Likewise.
4397         * soft-fp/quad.h: Likewise.
4398         * soft-fp/single.h: Likewise.
4399         * soft-fp/soft-fp.h: Likewise.
4400         * soft-fp/sqrtdf2.c: Likewise.
4401         * soft-fp/sqrtsf2.c: Likewise.
4402         * soft-fp/sqrttf2.c: Likewise.
4403         * soft-fp/subdf3.c: Likewise.
4404         * soft-fp/subsf3.c: Likewise.
4405         * soft-fp/subtf3.c: Likewise.
4406         * soft-fp/truncdfsf2.c: Likewise.
4407         * soft-fp/trunctfdf2.c: Likewise.
4408         * soft-fp/trunctfsf2.c: Likewise.
4409         * soft-fp/trunctfxf2.c: Likewise.
4410         * soft-fp/unorddf2.c: Likewise.
4411         * soft-fp/unordsf2.c: Likewise.
4412         * soft-fp/unordtf2.c: Likewise.
4413
4414 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
4415
4416         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4417         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4418
4419 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
4420
4421         * elf/dl-libc.c: Clear initfini list after freeing.
4422
4423 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
4424
4425         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4426         * soft-fp/addsf3.c: Likewise.
4427         * soft-fp/addtf3.c: Likewise.
4428         * soft-fp/divdf3.c: Likewise.
4429         * soft-fp/divsf3.c: Likewise.
4430         * soft-fp/divtf3.c: Likewise.
4431         * soft-fp/double.h: Likewise.
4432         * soft-fp/eqdf2.c: Likewise.
4433         * soft-fp/eqsf2.c: Likewise.
4434         * soft-fp/eqtf2.c: Likewise.
4435         * soft-fp/extenddftf2.c: Likewise.
4436         * soft-fp/extended.h: Likewise.
4437         * soft-fp/extendsfdf2.c: Likewise.
4438         * soft-fp/extendsftf2.c: Likewise.
4439         * soft-fp/extendxftf2.c: Likewise.
4440         * soft-fp/fixdfdi.c: Likewise.
4441         * soft-fp/fixdfsi.c: Likewise.
4442         * soft-fp/fixdfti.c: Likewise.
4443         * soft-fp/fixsfdi.c: Likewise.
4444         * soft-fp/fixsfsi.c: Likewise.
4445         * soft-fp/fixsfti.c: Likewise.
4446         * soft-fp/fixtfdi.c: Likewise.
4447         * soft-fp/fixtfsi.c: Likewise.
4448         * soft-fp/fixtfti.c: Likewise.
4449         * soft-fp/fixunsdfdi.c: Likewise.
4450         * soft-fp/fixunsdfsi.c: Likewise.
4451         * soft-fp/fixunsdfti.c: Likewise.
4452         * soft-fp/fixunssfdi.c: Likewise.
4453         * soft-fp/fixunssfsi.c: Likewise.
4454         * soft-fp/fixunssfti.c: Likewise.
4455         * soft-fp/fixunstfdi.c: Likewise.
4456         * soft-fp/fixunstfsi.c: Likewise.
4457         * soft-fp/fixunstfti.c: Likewise.
4458         * soft-fp/floatdidf.c: Likewise.
4459         * soft-fp/floatdisf.c: Likewise.
4460         * soft-fp/floatditf.c: Likewise.
4461         * soft-fp/floatsidf.c: Likewise.
4462         * soft-fp/floatsisf.c: Likewise.
4463         * soft-fp/floatsitf.c: Likewise.
4464         * soft-fp/floattidf.c: Likewise.
4465         * soft-fp/floattisf.c: Likewise.
4466         * soft-fp/floattitf.c: Likewise.
4467         * soft-fp/floatundidf.c: Likewise.
4468         * soft-fp/floatundisf.c: Likewise.
4469         * soft-fp/floatunsidf.c: Likewise.
4470         * soft-fp/floatunsisf.c: Likewise.
4471         * soft-fp/floatuntidf.c: Likewise.
4472         * soft-fp/floatuntisf.c: Likewise.
4473         * soft-fp/floatuntitf.c: Likewise.
4474         * soft-fp/fmadf4.c: Likewise.
4475         * soft-fp/fmasf4.c: Likewise.
4476         * soft-fp/fmatf4.c: Likewise.
4477         * soft-fp/gedf2.c: Likewise.
4478         * soft-fp/gesf2.c: Likewise.
4479         * soft-fp/getf2.c: Likewise.
4480         * soft-fp/ledf2.c: Likewise.
4481         * soft-fp/lesf2.c: Likewise.
4482         * soft-fp/letf2.c: Likewise.
4483         * soft-fp/muldf3.c: Likewise.
4484         * soft-fp/mulsf3.c: Likewise.
4485         * soft-fp/multf3.c: Likewise.
4486         * soft-fp/negdf2.c: Likewise.
4487         * soft-fp/negsf2.c: Likewise.
4488         * soft-fp/negtf2.c: Likewise.
4489         * soft-fp/op-1.h: Likewise.
4490         * soft-fp/op-2.h: Likewise.
4491         * soft-fp/op-4.h: Likewise.
4492         * soft-fp/op-8.h: Likewise.
4493         * soft-fp/op-common.h: Likewise.
4494         * soft-fp/quad.h: Likewise.
4495         * soft-fp/single.h: Likewise.
4496         * soft-fp/soft-fp.h: Likewise.
4497         * soft-fp/sqrtdf2.c: Likewise.
4498         * soft-fp/sqrtsf2.c: Likewise.
4499         * soft-fp/sqrttf2.c: Likewise.
4500         * soft-fp/subdf3.c: Likewise.
4501         * soft-fp/subsf3.c: Likewise.
4502         * soft-fp/subtf3.c: Likewise.
4503         * soft-fp/truncdfsf2.c: Likewise.
4504         * soft-fp/trunctfdf2.c: Likewise.
4505         * soft-fp/trunctfsf2.c: Likewise.
4506         * soft-fp/trunctfxf2.c: Likewise.
4507         * soft-fp/unorddf2.c: Likewise.
4508         * soft-fp/unordsf2.c: Likewise.
4509         * soft-fp/unordtf2.c: Likewise.
4510
4511 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
4512
4513         [BZ #15672]
4514         * misc/error.c (error_tail): Fix possible buffer overflow.
4515
4516 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
4517
4518         [BZ #13028]
4519         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4520         address.
4521
4522 2013-10-14  P. J. McDermott  <pj@pehjota.net>
4523
4524         [BZ #832]
4525         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
4526         testing pipefail option.
4527
4528 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4529
4530         * soft-fp/double.h: Indent preprocessor directives inside #if.
4531         * soft-fp/extended.h: Likewise.
4532         * soft-fp/op-2.h: Likewise.
4533         * soft-fp/op-4.h: Likewise.
4534         * soft-fp/op-common.h: Likewise.
4535         * soft-fp/quad.h: Likewise.
4536         * soft-fp/single.h: Likewise.
4537         * soft-fp/soft-fp.h: Likewise.
4538
4539 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
4540
4541         * iconv/iconv_prog.c: Fix typos.
4542         * stdio-common/psiginfo-data.h: Likewise.
4543
4544 2013-10-12   Reuben Thomas <rrt@sc3d.org>
4545
4546         [BZ #15764]
4547         * locale/setlocale.c: Fix typo.
4548
4549 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4550
4551         [BZ #16036]
4552         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4553         signaling NaN arguments.
4554         * soft-fp/unordsf2.c (__unordsf2): Likewise.
4555         * soft-fp/unordtf2.c (__unordtf2): Likewise.
4556
4557         [BZ #14910]
4558         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4559         unordered operands.
4560         * soft-fp/gesf2.c (__gesf2): Likewise.
4561         * soft-fp/getf2.c (__getf2): Likewise.
4562         * soft-fp/ledf2.c (__ledf2): Likewise.
4563         * soft-fp/lesf2.c (__lesf2): Likewise.
4564         * soft-fp/letf2.c (__letf2): Likewise.
4565
4566         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4567         * soft-fp/eqsf2.c (__eqsf2): Likewise.
4568         * soft-fp/eqtf2.c (__eqtf2): Likewise.
4569         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4570         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4571         * soft-fp/fixdfti.c (__fixdfti): Likewise.
4572         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4573         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4574         * soft-fp/fixsfti.c (__fixsfti): Likewise.
4575         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4576         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4577         * soft-fp/fixtfti.c (__fixtfti): Likewise.
4578         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4579         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4580         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4581         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4582         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4583         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4584         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4585         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4586         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4587         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4588         * soft-fp/floatdisf.c (__floatdisf): Likewise.
4589         * soft-fp/floatsisf.c (__floatsisf): Likewise.
4590         * soft-fp/floattidf.c (__floattidf): Likewise.
4591         * soft-fp/floattisf.c (__floattisf): Likewise.
4592         * soft-fp/floattitf.c (__floattitf): Likewise.
4593         * soft-fp/floatundidf.c (__floatundidf): Likewise.
4594         * soft-fp/floatundisf.c (__floatundisf): Likewise.
4595         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4596         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4597         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4598         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4599         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4600         * soft-fp/gesf2.c (__gesf2): Likewise.
4601         * soft-fp/getf2.c (__getf2): Likewise.
4602         * soft-fp/ledf2.c (__ledf2): Likewise.
4603         * soft-fp/lesf2.c (__lesf2): Likewise.
4604         * soft-fp/letf2.c (__letf2): Likewise.
4605
4606         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4607         Undefine and redefine.
4608         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4609         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4610         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4611         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4612         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4613         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4614         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4615         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4616         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4617         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4618         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4619         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4620         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4621         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4622         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4623
4624         [BZ #16032]
4625         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4626         without decrementing exponent if mantissa >= that for the
4627         denominator, not >.
4628         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4629         denominator, not >.  Decrement exponent in < case instead of
4630         incrementing in >= case.
4631         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4632         without decrementing exponent if mantissa >= that for the
4633         denominator, not >.
4634
4635         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4636         computing saturated result for unsigned overflow.
4637
4638 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4639             Jeff Law  <law@redhat.com>
4640
4641         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4642         (atan2Mp): Add systemtap probe marker.
4643         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4644         (__ieee754_log): Add systemtap probe marker.
4645         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4646         (atanMp): Add systemtap probe marker.
4647         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4648         (tanMp): Add systemtap probe marker.
4649         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4650         (__slowexp): Add systemtap probe marker.
4651         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4652         (__slowpow): Add systemtap probe marker.
4653         * manual/probes.texi: Document probes.
4654
4655 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
4656
4657         [BZ #15362]
4658         * libio/fileops.c (_IO_new_file_write): Return count of bytes
4659         written.
4660         (_IO_new_file_xsputn): Don't return EOF if nothing has been
4661         written.
4662         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4663         written to buffer but not flushed.
4664         * libio/iofwrite_u.c:  Likewise.
4665         * libio/iopadn.c:  Return bytes returned even if EOF was
4666         encountered.
4667         * libio/iowpadn.c:  Likewise.
4668         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4669         if _IO_padn does not write the whole buffer.
4670         [!COMPILE_WPRINTF] (PAD): Likewise.
4671
4672 2013-10-10  David S. Miller  <davem@davemloft.net>
4673
4674         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4675         directory block.
4676
4677 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4678
4679         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
4680         instead of FSF address.
4681         * soft-fp/fixdfti.c: Likewise.
4682         * soft-fp/fixsfti.c: Likewise.
4683         * soft-fp/fixtfti.c: Likewise.
4684         * soft-fp/fixunsdfti.c: Likewise.
4685         * soft-fp/fixunssfti.c: Likewise.
4686         * soft-fp/fixunstfti.c: Likewise.
4687         * soft-fp/floattidf.c: Likewise.
4688         * soft-fp/floattisf.c: Likewise.
4689         * soft-fp/floattitf.c: Likewise.
4690         * soft-fp/floatuntidf.c: Likewise.
4691         * soft-fp/floatuntisf.c: Likewise.
4692         * soft-fp/floatuntitf.c: Likewise.
4693         * soft-fp/trunctfxf2.c: Likewise.
4694
4695         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
4696         * soft-fp/fixdfti.c: Likewise.
4697         * soft-fp/fixsfti.c: Likewise.
4698         * soft-fp/fixtfti.c: Likewise.
4699         * soft-fp/fixunsdfti.c: Likewise.
4700         * soft-fp/fixunssfti.c: Likewise.
4701         * soft-fp/fixunstfti.c: Likewise.
4702         * soft-fp/floattidf.c: Likewise.
4703         * soft-fp/floattisf.c: Likewise.
4704         * soft-fp/floattitf.c: Likewise.
4705         * soft-fp/floatuntidf.c: Likewise.
4706         * soft-fp/floatuntisf.c: Likewise.
4707         * soft-fp/floatuntitf.c: Likewise.
4708         * soft-fp/trunctfxf2.c: Likewise.
4709
4710 2013-10-10  David S. Miller  <davem@davemloft.net>
4711
4712         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4713
4714 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
4715
4716         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4717         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4718         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4719         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4720         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4721         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4722         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4723
4724         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4725         for NaNs before doing comparisons on argument.
4726         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4727         Likewise.
4728
4729 2013-10-10  Will Newton  <will.newton@linaro.org>
4730
4731         * malloc/hooks.c (memalign_check): Ensure the value of bytes
4732         passed to _int_memalign does not overflow.
4733
4734 2013-10-10  Torvald Riegel  <triegel@redhat.com>
4735
4736         * scripts/bench.pl: Add include-sources directive.
4737         * benchtests/README: Update documentation.
4738
4739 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4740
4741         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4742         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4743         instead of FP_INIT_ROUNDMODE.
4744         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4745         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4746
4747         [BZ #16034]
4748         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
4749         copy class of input value.
4750         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
4751         not handle exceptions.
4752         * soft-fp/negsf2.c (__negsf2): Likewise.
4753         * soft-fp/negtf2.c (__negtf2): Likewise.
4754         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4755
4756 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
4757
4758         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4759         semicolon.  From Linux kernel.
4760
4761 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
4762
4763         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4764
4765 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
4766
4767         [BZ #156]
4768         * manual/socket.texi: Added statement about buffer
4769         for gethostbyname2_r.
4770
4771 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
4772
4773         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4774         Use .p2align directive instead, throughout.
4775         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4776         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4777         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4778         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4779         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4780         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4781         * sysdeps/x86_64/strchr.S: Likewise.
4782         * sysdeps/x86_64/strrchr.S: Likewise.
4783
4784 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4785
4786         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4787
4788         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4789
4790         * sysdeps/generic/math_private.h (__mpsin1): Remove
4791         declaration.
4792         (__mpcos1): Likewise.
4793         (__mpsin): New argument __range_reduce.
4794         (__mpcos): Likewise.
4795         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4796         (slow): Use __mpsin and __mpcos.
4797         (slow1): Likewise.
4798         (slow2): Likewise.
4799         (sloww): Likewise.
4800         (sloww1): Likewise.
4801         (sloww2): Likewise.
4802         (bsloww): Likewise.
4803         (bsloww1): Likewise.
4804         (bsloww2): Likewise.
4805         (cslow2): Likewise.
4806         (csloww): Likewise.
4807         (csloww1): Likewise.
4808         (csloww2): Likewise.
4809         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4810         range_reduce.  Merge in __mpsin1.
4811         (__mpcos): Likewise.
4812         (__mpsin1): Remove.
4813         (__mpcos1): Likewise.
4814
4815 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
4816
4817         * locale/loadlocale.c (_nl_intern_locale_data): Use
4818         LOCFILE_ALIGNED_P.
4819         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4820         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4821         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4822         obstack data is appropriately aligned.
4823         (obstack_int32_grow_fast): Likewise.
4824         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4825         * locale/programs/locfile.c (add_locale_uint32): Likewise.
4826         (add_locale_uint32_array): Likewise.
4827
4828 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4829
4830         * benchtests/Makefile: Remove ARGLIST and RET variables.
4831         ($(objpfx)bench-%.c): Pass only function name to the script.
4832         * benchtests/README: Update documentation.
4833         * benchtests/acos-inputs: Add new directives.
4834         * benchtests/acosh-inputs: Likewise.
4835         * benchtests/asin-inputs: Likewise.
4836         * benchtests/asinh-inputs: Likewise.
4837         * benchtests/atan-inputs: Likewise.
4838         * benchtests/atanh-inputs: Likewise.
4839         * benchtests/cos-inputs: Likewise.
4840         * benchtests/cosh-inputs: Likewise.
4841         * benchtests/exp-inputs: Likewise.
4842         * benchtests/log-inputs: Likewise.
4843         * benchtests/pow-inputs: Likewise.
4844         * benchtests/rint-inputs: Likewise.
4845         * benchtests/sin-inputs: Likewise.
4846         * benchtests/sinh-inputs: Likewise.
4847         * benchtests/tan-inputs: Likewise.
4848         * benchtests/tanh-inputs: Likewise.
4849         * scripts/bench.pl: Add support for new directives.
4850
4851 2013-10-07  Alan Modra  <amodra@gmail.com>
4852
4853         * README: Fix careless merge.
4854
4855 2013-10-05  Alan Modra  <amodra@gmail.com>
4856
4857         * NEWS: Mention powerpc64le support and bugs fixed.
4858         * README: Both big-endian and little-endian powerpc64 supported.
4859
4860 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4861
4862         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4863         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4864         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4865         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4866
4867 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
4868
4869         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4870         match prototype.
4871
4872 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
4873
4874         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4875         Move -mhard-float appending from
4876         ports/sysdeps/powerpc/powerpc32/Makefile.
4877         [$(with-fp) = yes] (ASFLAGS): Likewise.
4878         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4879         * sysdeps/powerpc/nofpu: Move directory from
4880         ports/sysdeps/powerpc/nofpu.
4881         * sysdeps/powerpc/soft-fp: Move directory from
4882         ports/sysdeps/powerpc/soft-fp.
4883         * sysdeps/powerpc/powerpc32/405: Move directory from
4884         ports/sysdeps/powerpc/powerpc32/405.
4885         * sysdeps/powerpc/powerpc32/440: Move directory from
4886         ports/sysdeps/powerpc/powerpc32/440.
4887         * sysdeps/powerpc/powerpc32/464: Move directory from
4888         ports/sysdeps/powerpc/powerpc32/464.
4889         * sysdeps/powerpc/powerpc32/476: Move directory from
4890         ports/sysdeps/powerpc/powerpc32/476.
4891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4892         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4894         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4896         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4898         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4900         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4901         * README: Update for powerpc-*-linux-gnu software floating point
4902         support in libc.
4903
4904         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4905         case to powerpc/powerpc32*.
4906         * sysdeps/unix/sysv/linux/configure: Regenerated.
4907
4908         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4909         (_FPU_MASK_OM): Define as 0x04.
4910         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4911         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4912         0x00c10080.
4913         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4914         0x0000003c.
4915         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4916
4917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4918         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4919         getcontext_e500.
4920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4921         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4922         setcontext_e500.
4923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4924         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4925         and setcontext_e500.
4926
4927 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
4928
4929         * locale/iso-3166.def: Update iso-1366.def and related occurrences
4930
4931 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4932
4933         * manual/threads.texi (Default Thread Attributes): Fix typo.
4934
4935 2013-10-04  Will Newton  <will.newton@linaro.org>
4936
4937         * malloc/Makefile: Add tst-memalign.
4938         * malloc/tst-memalign.c: New file.
4939
4940         * malloc/tst-posix_memalign.c: Add comments.
4941         (do_test): Add comments and call free on all potentially
4942         allocated pointers. Add space after cast.
4943
4944         * malloc/tst-pvalloc.c: Add comments.
4945         (do_test): Add comments and call free on all potentially
4946         allocated pointers. Remove duplicate check for NULL pointer.
4947         Add space after cast.
4948
4949         * malloc/tst-valloc.c: Add comments.
4950         (do_test): Add comments and call free on all potentially
4951         allocated pointers. Remove duplicate check for NULL pointer.
4952         Add space after cast.
4953
4954 2013-10-04  Alan Modra  <amodra@gmail.com>
4955
4956         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4957         Use stdint types in rather than __attribute__((mode())).
4958         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4959
4960 2013-10-04  Alan Modra  <amodra@gmail.com>
4961
4962         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4963         Correct handling of unaligned relocs for little-endian.
4964         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4965
4966 2013-10-04  Alan Modra  <amodra@gmail.com>
4967
4968         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4969         * configure: Regenerate.
4970         * nptl/shlib-versions: Powerpc*le starts at 2.18.
4971         * shlib-versions: Likewise.
4972
4973 2013-10-04  Alan Modra  <amodra@gmail.com>
4974
4975         * string/tester.c (test_memrchr): Increment reported test cycle.
4976
4977 2013-10-04  Alan Modra  <amodra@gmail.com>
4978
4979         * string/test-memcpy.c (do_one_test): When reporting errors, print
4980         string address and don't overrun end of string.
4981
4982 2013-10-04  Alan Modra  <amodra@gmail.com>
4983
4984         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4985         insrdi.  Make better use of reg selection to speed exit slightly.
4986         Schedule entry path a little better.  Remove useless "are we done"
4987         checks on entry to main loop.  Handle wrapping around zero address.
4988         Correct main loop count.  Handle single left-over word from main
4989         loop inline rather than by using loop_small.  Remove extra word
4990         case in loop_small caused by wrong loop count.  Add little-endian
4991         support.
4992         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4993         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
4994         cache hint.
4995         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4996         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4997         support.  Avoid rlwimi.
4998         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4999
5000 2013-10-04  Alan Modra  <amodra@gmail.com>
5001
5002         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
5003         insrdi.  Formatting.
5004         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5005         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5006         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5007         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5008         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5009         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5010
5011 2013-10-04  Alan Modra  <amodra@gmail.com>
5012
5013         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5014         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5015         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5016         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5017         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5018         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5019         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5020         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5021         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
5022         use of regs.  Use power7 mtocrf.  Tidy function tails.
5023
5024 2013-10-04  Alan Modra  <amodra@gmail.com>
5025
5026         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5027         Formatting.  Consistently use rXXX register defines or rN defines.
5028         Use early exit labels that avoid restoring unused non-volatile regs.
5029         Make cr field use more consistent with rWORDn compares.  Rename
5030         regs used as shift registers for unaligned loop, using rN defines
5031         for short lifetime/multiple use regs.
5032         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5033         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
5034         addi 1,1,64 to pop stack frame.  Simplify return value code.
5035         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5036
5037 2013-10-04  Alan Modra  <amodra@gmail.com>
5038
5039         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5040         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
5041         rather than rlwimi.
5042         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5043         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5044         little-endian support.  Correct typos.
5045         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
5046         rather than rlwimi.
5047         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
5048         in loop and entry code to keep "and." results.
5049         (strchr): Add little-endian support.  Comment.  Move cntlzd
5050         earlier in tail.
5051         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5052
5053 2013-10-04  Alan Modra  <amodra@gmail.com>
5054
5055         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5056         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5057         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5058         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5059
5060 2013-10-04  Alan Modra  <amodra@gmail.com>
5061
5062         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5063         (rTMP): Define as r11.
5064         (strcmp): Add little-endian support.  Optimise tail.
5065         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5066         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5067         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5068         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5069         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5070         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5071         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5072
5073 2013-10-04  Alan Modra  <amodra@gmail.com>
5074
5075         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5076         little-endian support.  Remove unnecessary "are we done" tests.
5077         Handle "s" wrapping around zero and extremely large "size".
5078         Correct main loop count.  Handle single left-over word from main
5079         loop inline rather than by using small_loop.  Correct comments.
5080         Delete "zero" tail, use "end_max" instead.
5081         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5082
5083 2013-10-04  Alan Modra  <amodra@gmail.com>
5084
5085         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5086         support.  Don't branch over align.
5087         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5088         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5089         support.  Rearrange tmp reg use to suit.  Comment.
5090         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5091
5092 2013-10-04  Alan Modra  <amodra@gmail.com>
5093
5094         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5095
5096 2013-10-04  Alan Modra  <amodra@gmail.com>
5097
5098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5099         conditional form of branch and link when obtaining pc.
5100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5101
5102 2013-10-04  Alan Modra  <amodra@gmail.com>
5103
5104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5105         HIWORD/LOWORD.
5106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5108
5109 2013-10-04  Alan Modra  <amodra@gmail.com>
5110
5111         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5112         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5113         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5114         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5115         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5116         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5117         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5118         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5119         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5120         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5121
5122 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5123             Alistair Popple <alistair@ozlabs.au.ibm.com>
5124             Alan Modra <amodra@gmail.com>
5125
5126         [BZ #15723]
5127         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5128         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5129         _dl_hwcap access for little-endian.
5130         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
5131         destroy vmx regs when saving unaligned.
5132         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5133         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
5134         destroy vmx regs when saving unaligned.
5135
5136 2013-10-04  Alan Modra  <amodra@gmail.com>
5137
5138         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5139         Don't use a union to pack hi/low value.
5140
5141 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5142
5143         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5144         for little-endian.
5145         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5146         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5147         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5148         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5149         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5150
5151 2013-10-04  Alan Modra  <amodra@gmail.com>
5152
5153         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5154         constants to usual value for .cst8 section, and remove redundant
5155         high address load.
5156         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5157         constant for 0x1p52.  Load little-endian words of double from
5158         correct stack offsets.
5159
5160 2013-10-04  Alan Modra  <amodra@gmail.com>
5161
5162         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5163         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5164         words of double from correct stack offsets.
5165         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5166         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5167         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5168         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5169         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5170         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5171         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5172         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5173         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5174         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5175         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5176         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5177         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5178         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5179         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5180         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5181         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5182
5183 2013-10-04  Alan Modra  <amodra@gmail.com>
5184
5185         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5186         64-bit int/double union.
5187         (_FPU_SETCW): Likewise.
5188         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5189         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5190
5191 2013-10-04  Alan Modra  <amodra@gmail.com>
5192
5193         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5194         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5195
5196 2013-10-04  Alan Modra  <amodra@gmail.com>
5197
5198         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5199         use vector int constants.
5200         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5201
5202 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5203
5204         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5205         array with long long.
5206         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5207         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5208         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5209         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5210         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5211         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5212         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5213         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5214         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5215         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5216         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5217         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5218         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5219
5220 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5221
5222         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5223         (__signbit): Likewise.  Correct for little-endian.
5224         (__signbitl): Call __signbit.
5225         (lrint): Correct for little-endian.
5226         (lrintf): Call lrint.
5227
5228 2013-10-04  Alan Modra  <amodra@gmail.com>
5229
5230         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5231         union 32-bit int array member with 64-bit int array.
5232         (t515, tm256): Double rather than long double.
5233         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5234
5235 2013-10-04  Alan Modra  <amodra@gmail.com>
5236
5237         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5238         Delete.
5239         (IEEE854_LONG_DOUBLE_BIAS): Delete.
5240         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5241         version of math_ldbl.h.
5242
5243 2013-10-04  Alan Modra  <amodra@gmail.com>
5244
5245         [BZ #15734], [BZ #15735]
5246         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5247         all uses of ieee875 long double macros and unions.  Simplify test
5248         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
5249         ldbl_extract_mantissa value for ix,iy exponents.  Properly
5250         normalize after ldbl_extract_mantissa, and don't add hidden bit
5251         already handled.  Don't treat low word of ieee854 mantissa like
5252         low word of IBM long double and mask off bit when testing for
5253         zero.
5254         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5255         all uses of ieee875 long double macros and unions.  Simplify tests
5256         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
5257         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
5258         two1022, instead use their values.  Recognise that tests for large
5259         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
5260         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5261         Rewrite all uses of ieee875 long double macros and unions.  Simplify
5262         test for 0.0L and nan.  Correct negation.
5263         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5264         ieee875 long double macros and unions.  Correct output for large
5265         magnitude x.  Correct absolute value calculation.
5266         (__erfcl): Likewise.
5267         * math/libm-test.inc: Add tests for errors discovered in IBM long
5268         double versions of fmodl, remainderl, erfl and erfcl.
5269
5270 2013-10-04  Alan Modra  <amodra@gmail.com>
5271
5272         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5273         all uses of ieee854 long double macros and unions.  Simplify tests
5274         for long doubles that are fully specified by the high double.
5275         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5276         Likewise.
5277         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5278         Remove dead code too.
5279         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5280         (__ieee754_ynl): Likewise.
5281         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5282         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5283         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5284         Remove dead code too.
5285         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5286         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5287         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5288         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5289         Simplify.
5290         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5291         Simplify.
5292         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5293         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5294         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5295         Comment on variable precision.
5296         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5297         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5298         Likewise.
5299         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5300         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5301         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5302         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5303         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5304
5305 2013-10-04  Alan Modra  <amodra@gmail.com>
5306
5307         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5308         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5309         all uses of ieee854 long double macros and unions.
5310         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5311         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5312         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5313         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5314         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5315         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5316         Likewise.
5317         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5318         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5319         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5320         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5321         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5322         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5323         Simplify sign and nan test too.
5324         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5325         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5326         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5327         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5328         Likewise.
5329         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5330         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5331         Likewise.
5332         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5333         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5334         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5335         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5336         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5337         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5338
5339 2013-10-04  Alan Modra  <amodra@gmail.com>
5340
5341         * stdio-common/printf_size.c (__printf_size): Don't use
5342         union ieee854_long_double in fpnum union.
5343         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
5344         signbit macro to retrieve sign from long double.
5345         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5346         retrieve sign from long double.
5347         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5348         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5349         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5350         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5351         * math/test-misc.c (main): Don't use union ieee854_long_double.
5352
5353 2013-10-04  Alan Modra  <amodra@gmail.com>
5354
5355         [BZ #15680]
5356         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5357         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5358         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5359         calculation.  Remove unnecessary test for denormal exponent.
5360         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5361         Correct handling of denormals.  Avoid undefined shift behaviour.
5362         Correct normalisation of low mantissa when low double is denormal.
5363         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5364         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
5365         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5366         Correct normalisation of low mantissa.  Test for overflow of high
5367         mantissa and normalise.
5368         (ldbl_nearbyint): Use more readable constant for two52.
5369         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5370         (__mpn_construct_long_double): Fix test for overflow of high
5371         mantissa and correct normalisation.  Avoid undefined shift.
5372
5373 2013-10-04  Alan Modra  <amodra@gmail.com>
5374
5375         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5376         (union ibm_extended_long_double): Define as an array of ieee754_double.
5377         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5378         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5379         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5380         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5381         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5382         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5383         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5384         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5385         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5386         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5387         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5388
5389 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
5390
5391         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5392         page size instead of calling getpagesize.
5393
5394         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5395         (LOCFILE_ALIGN_MASK): Likewise.
5396         (LOCFILE_ALIGN_UP): Likewise.
5397         (LOCFILE_ALIGNED_P): Likewise.
5398         * locale/programs/ld-collate.c (collate_output): Use the new
5399         macros instead of __alignof__ (int32_t).
5400         * locale/weight.h (findidx): Likewise.
5401
5402 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
5403
5404         [BZ #431]
5405         * manual/string.texi: Fix strncat and wcsncat.
5406
5407 2013-10-03  Brooks Moses  <bmoses@google.com>
5408
5409         [BZ #15915]
5410         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5411         * Makerules: ...here, and adjust associated comments.
5412
5413 2013-10-02  Will Newton  <will.newton@linaro.org>
5414
5415         * malloc/Makefile: Add tst-pvalloc.
5416         * malloc/tst-pvalloc.c: New file.
5417
5418 2013-10-02  Will Newton  <will.newton@linaro.org>
5419
5420         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5421         improve test coverage.
5422
5423 2013-10-02  Will Newton  <will.newton@linaro.org>
5424
5425         * malloc/Makefile: Add tst-posix_memalign.
5426         * malloc/tst-posix_memalign.c: New file.
5427
5428 2013-10-01  Eric Blake  <eblake@redhat.com>
5429
5430         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5431         Use __THROWNL rather than __THROW on static functions.
5432
5433 2013-09-30  Petr Machata  <pmachata@redhat.com>
5434
5435         * elf/elf.h (R_AARCH64_ABS16): New macro.
5436         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5437         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5438         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5439         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5440         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5441         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5442         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5443         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5444         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5445         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5446         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5447         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5448         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5449         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5450         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5451         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5452         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5453         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5454         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5455         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5456         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5457         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5458         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5459         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5460         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5461         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5462         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5463         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5464         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5465         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5466         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5467         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5468         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5469         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5470         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5471         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5472         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5473         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5474         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5475         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5476         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5477         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5478         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5479         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5480         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5481         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5482         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5483         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5484         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5485         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5486         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5487         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5488         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5489         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5490         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5491         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5492         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5493         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5494         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5495         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5496         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5497         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5498         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5499         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5500         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5501         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5502         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5503         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5504         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5505         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5506         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5507         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5508         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5509         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5510         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5511         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5512         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5513         (R_AARCH64_TLSDESC_LDR): Likewise.
5514         (R_AARCH64_TLSDESC_ADD): Likewise.
5515         (R_AARCH64_TLSDESC_CALL): Likewise.
5516
5517 2013-09-30  Andreas Schwab  <schwab@suse.de>
5518
5519         [BZ #15048]
5520         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5521         the nss database lookup.
5522         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5523         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5524
5525 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
5526
5527         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5528
5529 2013-09-28  P. J. McDermott  <pj@pehjota.net>
5530
5531         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5532         ${Bash-specific parameter/pattern/string} parameter expansion.
5533         * sysdeps/unix/make-syscalls.sh: Likewise.
5534
5535 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5536
5537         * sysdeps/sh/stackguard-macros.h: New file.
5538
5539 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
5540
5541         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5542         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5543         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5544         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5545         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5546         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5547
5548 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5549
5550         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5551         Fix thread ID register.
5552
5553 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
5554
5555         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5556         [POSIX || UNIX98]: Require rather than permitting all symbols from
5557         <time.h>.
5558         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5559         element of struct sched_param.
5560         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5561         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5562         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5563         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5564         constant.
5565
5566 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
5567
5568         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5569         argument calculation.
5570
5571 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5572
5573         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5574         Expect macro.
5575         [POSIX] (pthread_attr_t): Do not require type.
5576         [POSIX] (pthread_cond_t): Likewise.
5577         [POSIX] (pthread_condattr_t): Likewise.
5578         [POSIX] (pthread_key_t): Likewise.
5579         [POSIX] (pthread_mutex_t): Likewise.
5580         [POSIX] (pthread_mutexattr_t): Likewise.
5581         [POSIX] (pthread_once_t): Likewise.
5582         [POSIX] (pthread_t): Likewise.
5583         [POSIX-based standards] (pthread_atfork): Expect function.
5584
5585 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5586             Richard Sandiford  <richard@codesourcery.com>
5587
5588         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5589         (swap_endianness_p): New extern variable.
5590         (set_big_endian): New inline function.
5591         (maybe_swap_uint32): Likewise.
5592         (maybe_swap_uint32_array): Likewise.
5593         (maybe_swap_uint32_obstack): Likewise.
5594         * locale/programs/locfile.c: Include <stdbool.h>.
5595         (swap_endianness_p): New variable.
5596         (add_locale_uint32): Call maybe_swap_uint32.
5597         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5598         (write_locale_data): Call maybe_swap_uint32_array.
5599         * locale/programs/ld-collate.c (obstack_int32_grow): Call
5600         maybe_swap_uint32.
5601         (obstack_int32_grow_fast): Likewise.
5602         (output_weightwc): Call maybe_swap_uint32_obstack.
5603         (collate_output): Likewise.
5604         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5605         (OPT_LITTLE_ENDIAN): Likewise.
5606         (options): Add --little-endian and --big-endian options.
5607         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5608         * locale/programs/locarchive.c: Include "locfile.h".
5609         (GET): New macro.
5610         (SET): Likewise.
5611         (INC): Likewise.
5612         (create_archive): Use the new macros to access fields of
5613         structures directly mapped from or written to locale archives.
5614         (oldlocrecentcmp): Likewise.
5615         (enlarge_archive): Likewise.
5616         (insert_name): Likewise.
5617         (add_alias): Likewise.
5618         (add_locale): Likewise.
5619         (delete_locales_from_archive): Likewise.
5620         (show_archive_content): Likewise.
5621         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
5622         locale data.
5623
5624 2013-09-24  Roland McGrath  <roland@hack.frob.com>
5625
5626         * manual/freemanuals.texi: Updated from (newly) canonical copy at
5627         http://www.gnu.org/doc/freemanuals.texi.
5628         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5629
5630 2013-09-24  Will Newton  <will.newton@linaro.org>
5631
5632         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5633         macro.
5634
5635 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
5636
5637         * locale/hashval.h (compute_hashval): Interpret bytes of key as
5638         unsigned char.
5639
5640 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
5641
5642         * manual/threads.texi (POSIX Threads): Fix a typo.
5643
5644 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5645
5646         [BZ #14547]
5647         * string/tst-strcoll-overflow.c: New test case.
5648         * string/Makefile (xtests): Add tst-strcoll-overflow.
5649         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5650         cache if string sizes may cause integer overflow.
5651
5652         [BZ #14547]
5653         * string/strcoll_l.c (coll_seq): New members rule, idx,
5654         save_idx and back_us.
5655         (get_next_seq_nocache): New function.
5656         (do_compare_nocache): New function.
5657         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5658         when malloc fails.
5659
5660 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
5661
5662         [BZ #15754]
5663         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5664         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5665         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5666
5667         [BZ #15754]
5668         * elf/Makefile (tests): Add tst-ptrguard1.
5669         (tests-static): Add tst-ptrguard1-static.
5670         (tst-ptrguard1-ARGS): Define.
5671         (tst-ptrguard1-static-ARGS): Define.
5672         * elf/tst-ptrguard1.c: New file.
5673         * elf/tst-ptrguard1-static.c: New file.
5674         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5675         * sysdeps/i386/stackguard-macros.h: Likewise.
5676         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5677         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5678         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5679         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5680         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5681         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5682
5683 2013-09-23  Hector Marco  <hecmargi@upv.es>
5684             Ismael Ripoll  <iripoll@disca.upv.es>
5685             Carlos O'Donell  <carlos@redhat.com>
5686
5687         [BZ #15754]
5688         * sysdeps/generic/stackguard-macros.h: Define
5689         __pointer_chk_guard_local and POINTER_CHK_GUARD.
5690         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5691         Define __pointer_chk_guard_local.
5692         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5693         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5694
5695 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
5696
5697         [BZ #15859]
5698         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5699
5700 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
5701
5702         * include/string.h (__ffs): Declare as hidden.
5703         * string/ffs.c (__ffs): Define as hidden.
5704         * sysdeps/i386/ffs.c (__ffs): Likewise.
5705         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5706         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5707         * sysdeps/s390/ffs.c (__ffs): Likewise.
5708         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5709
5710 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
5711
5712         * NEWS: Mention malloc probes.
5713
5714         * malloc/arena.c (new_heap): New memory_heap_new probe.
5715         (grow_heap): New memory_heap_more probe.
5716         (shrink_heap): New memory_heap_less probe.
5717         (heap_trim): New memory_heap_free probe.
5718         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5719         (systrim): New memory_sbrk_less probe.
5720         * manual/probes.texi: Document them.
5721
5722         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5723         * manual/probes.texi: Document it.
5724
5725         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5726         (__libc_realloc): Add memory_realloc_retry probe.
5727         (__libc_memalign): Add memory_memalign_retry probe.
5728         (__libc_valloc): Add memory_valloc_retry probe.
5729         (__libc_pvalloc): Add memory_pvalloc_retry probe.
5730         (__libc_calloc): Add memory_calloc_retry probe.
5731         * manual/probes.texi: Document them.
5732
5733         * malloc/arena.c (get_free_list): Add probe
5734         memory_arena_reuse_free_list.
5735         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5736         and memory_arena_reuse.
5737         (arena_get2) [!PER_THREAD]: Likewise.
5738         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5739         memory_arena_reuse_realloc.
5740         * manual/probes.texi: Document them.
5741
5742         * malloc/malloc.c (__libc_free): Add
5743         memory_mallopt_free_dyn_thresholds probe.
5744         (__libc_mallopt): Add multiple memory_mallopt probes.
5745         * manual/probes.texi: Document them.
5746
5747         * malloc/malloc.c: Include stap-probe.h.
5748         (__libc_mallopt): Add memory_mallopt probe.
5749         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5750         * manual/probes.texi: New.
5751         * manual/Makefile (chapters): Add probes.
5752         * manual/threads.texi: Set next node.
5753
5754 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
5755
5756         [BZ #15963, #13985]
5757         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5758         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5759         Add `Chinese' to `nan' entry name.
5760
5761 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5762
5763         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5764         (POLYNOMIAL): Likewise.
5765         (TAYLOR_SINCOS): Likewise.
5766         (TAYLOR_SLOW): Likewise.
5767         (__sin): Use TAYLOR_SINCOS.
5768         (__cos): Likewise.
5769         (slow): Use TAYLOR_SLOW.
5770         (sloww): Likewise.
5771         (bsloww): Likewise.
5772         (csloww): Likewise.
5773
5774 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5775
5776         * stdlib/strtod_l.c: Fix buffer overrun.
5777
5778 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5779
5780         * benchtests/Makefile (bench): Add sincos.
5781         * benchtests/bench-sincos.c: New file.
5782
5783         * math/libm-test.inc (cos_test_data): New test inputs.
5784         (sin_test_data): Likewise.
5785
5786         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5787         macro.
5788         (__sin): Use it.
5789         (__cos): Likewise.
5790         (slow1): Likewise.
5791         (slow2): Likewise.
5792         (sloww1): Likewise.
5793         (sloww2): Likewise.
5794         (bsloww1): Likewise.
5795         (bsloww2): Likewise.
5796         (cslow2): Likewise.
5797         (csloww1): Likewise.
5798         (csloww2): Likewise.
5799
5800         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5801         function.
5802         (__sin): Use it.
5803         (__cos): Likewise.
5804
5805         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5806         gotos.
5807         (__cos): Likewise.
5808
5809 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
5810
5811         * config.h.in (HAVE_MIPS_NAN2008): New macro.
5812         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5813         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5814         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5815         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5816         * elf/cache.c (print_entry): Handle the new cache flags.
5817
5818 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5819             Aldy Hernandez  <aldyh@redhat.com>
5820
5821         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5822         Change condition to [_SOFT_FLOAT].
5823         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5824         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5825         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5826         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5827         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5828         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5829         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5830         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5831         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5832         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5833         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5834         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5835         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5836         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5837         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5838         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5839         declaration.
5840
5841 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5842
5843         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5844         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5845         (__longjmp): Use LOAD_GP to load saved GPRs.
5846         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5847         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5848         (__sigsetjmp): Use SAVE_GP to save GPRs.
5849
5850         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5851         Do not append -msoft-float.
5852         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5853
5854 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5855
5856         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5857
5858 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
5859
5860         [BZ #15966]
5861         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5862         (_FPU_GETCW): Use initial "__" on variable and field names but not
5863         on macro parameter name.
5864         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
5865         parentheses around reference to macro parameter.
5866
5867 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
5868
5869         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5870         prototype.
5871         (ctype_startup): Use uint32_t in cast and sizeof for
5872         ctype->charnames.
5873
5874 2013-09-11  Jia Liu  <proljc@gmail.com>
5875
5876         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5877         __daddr_t_defined.
5878         [__FreeBSD__]: Likewise.
5879
5880 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
5881
5882         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5883         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5884         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5885         (strchr): Remove __strchr_sse42 ifunc selection.
5886         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5887         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5888
5889 2013-09-11  Will Newton  <will.newton@linaro.org>
5890
5891         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5892         parameter to RES. Remove hardcoded 1000 value.
5893         * benchtests/bench-skeleton.c (main): Pass RES parameter
5894         to TIMING_INIT and multiply result by 1000.
5895
5896 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5897
5898         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5899
5900 2013-09-11  Andreas Schwab  <schwab@suse.de>
5901
5902         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5903         if not defined.
5904         (O_TMPFILE) [__USE_GNU]: Define.
5905         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5906         Define.
5907
5908 2013-09-11  Will Newton  <will.newton@linaro.org>
5909
5910         [BZ #15857]
5911         * malloc/malloc.c (__libc_memalign): Check the value of bytes
5912         does not overflow.
5913
5914 2013-09-11  Will Newton  <will.newton@linaro.org>
5915
5916         [BZ #15856]
5917         * malloc/malloc.c (__libc_valloc): Check the value of bytes
5918         does not overflow.
5919
5920 2013-09-11  Will Newton  <will.newton@linaro.org>
5921
5922         [BZ #15855]
5923         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5924         does not overflow.
5925
5926 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
5927
5928         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5929         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5930         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5931         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5932         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5933
5934 2013-09-10  Allan McRae  <allan@archlinux.org>
5935
5936         [BZ #15748]
5937         * manual/arith.texi (Parsing of Floats): Clarify
5938         cross-reference.
5939
5940         [BZ #15849]
5941         * manual/install.texi (Running make install): Mention
5942         --enable-pt-chown.
5943         * INSTALL: Regenerated.
5944
5945 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
5946
5947         * csu/init-first.c (_init): Remove the !SHARED condition around
5948         FPU control word initialization.
5949         * elf/dl-support.c (_dl_fpu_control): New variable.
5950         (_dl_aux_init) <AT_FPUCW>: Initialize it.
5951         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5952         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5953         * math/test-fpucw-static.c: New file.
5954         * math/test-fpucw-ieee.c: New file.
5955         * math/test-fpucw-ieee-static.c: New file.
5956         * math/Makefile (tests): Add `test-fpucw-ieee' and
5957         `$(tests-static)'.
5958         (tests-static): New variable.
5959         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5960         dependency to...
5961         [($(build-shared),yes)]
5962         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5963         ... this.
5964         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5965         New dependency.
5966
5967 2013-09-09  Allan McRae  <allan@archlinux.org>
5968
5969         [BZ #15939]
5970         * manual/string.texi (Collation Functions): Fix typo in
5971         strcoll example.
5972         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5973
5974         [BZ #15893]
5975         * stdlib/isomac.c (get_null_defines): Fix memory leak.
5976
5977         [BZ #15892]
5978         * libio/memstream.c (open_memstream): Fix memory leak.
5979         * libio/wmemstream.c (open_wmemstream): Likewise.
5980
5981         [BZ #15895]
5982         * nscd/netgroupcache.c: Fix nesting of ifdefs.
5983
5984 2013-09-09  Will Newton  <will.newton@linaro.org>
5985
5986         * malloc/Makefile: Add tst-realloc to tests.
5987         * malloc/tst-realloc.c: New file.
5988
5989 2013-09-09  Allan McRae  <allan@archlinux.org>
5990
5991         [BZ #15844]
5992         * COPYING: Update from GNU website to fix FSF address.
5993         * COPYING.LIB: Likewise.
5994
5995 2013-09-06  David S. Miller  <davem@davemloft.net>
5996
5997         * po/zh_TW.po: Update Chinese (traditional) translation from
5998         translation project.
5999
6000 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
6001             Joseph Myers  <joseph@codesourcery.com>
6002
6003         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6004         "localeinfo.h".
6005         (obstack_chunk_alloc): New macro.
6006         (obstack_chunk_free): Likewise.
6007         (record_offset): New function.
6008         (init_locale_data): Likewise.
6009         (align_locale_data): Likewise.
6010         (add_locale_empty): Likewise.
6011         (add_locale_raw_data): Likewise.
6012         (add_locale_raw_obstack): Likewise.
6013         (add_locale_string): Likewise.
6014         (add_locale_wstring): Likewise.
6015         (add_locale_uint32): Likewise.
6016         (add_locale_uint32_array): Likewise.
6017         (add_locale_char): Likewise.
6018         (start_locale_structure): Likewise.
6019         (end_locale_structure): Likewise.
6020         (start_locale_prelude): Likewise.
6021         (end_locale_prelude): Likewise.
6022         (write_locale_data): Take locale_file structure rather than an
6023         iovec.
6024         * locale/programs/locfile.h: Include "obstack.h".
6025         (struct locale_file): Change to store locale file contents instead
6026         of header.
6027         (init_locale_data): New prototype.
6028         (align_locale_data): Likewise.
6029         (add_locale_empty): Likewise.
6030         (add_locale_raw_data): Likewise.
6031         (add_locale_raw_obstack): Likewise.
6032         (add_locale_string): Likewise.
6033         (add_locale_wstring): Likewise.
6034         (add_locale_uint32): Likewise.
6035         (add_locale_uint32_array): Likewise.
6036         (add_locale_char): Likewise.
6037         (start_locale_structure): Likewise.
6038         (end_locale_structure): Likewise.
6039         (start_locale_prelude): Likewise.
6040         (end_locale_prelude): Likewise.
6041         (write_locale_data): Update prototype.
6042         * locale/programs/3level.h (struct TABLE): Remove result field.
6043         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6044         Use new locale_file interface.
6045         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6046         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6047         * locale/programs/ld-address.c (address_output): Use new
6048         locale_file interface.
6049         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6050         NO_ADD_LOCALE.
6051         (collate_finish): Don't call collseq_table_finalize.
6052         (collate_output): Use new locale_file interface.
6053         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6054         in file.
6055         (NO_FINALIZE): Change to NO_ADD_LOCALE.
6056         (TABLE): Move defines earlier in file.
6057         (ELEMENT): Likewise.
6058         (DEFAULT): Likewise.
6059         (wctrans_table_add): Move macro and inline function earlier in
6060         file.
6061         (struct wctype_table): Move type earlier in file.
6062         (add_locale_wctype_table): New static prototype.
6063         (struct locale_ctype_t): Use logical types instead of struct iovec
6064         pointers for members.
6065         (ctype_output): Use new locale_file interface.
6066         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
6067         new locale_file interface.
6068         (allocate_arrays): Update for use of new locale_file interface.
6069         * locale/programs/ld-identification.c (identification_output): Use
6070         new locale_file interface.
6071         * locale/programs/ld-measurement.c (measurement_output): Likewise.
6072         * locale/programs/ld-messages.c (messages_output): Likewise.
6073         * locale/programs/ld-monetary.c (monetary_output): Likewise.
6074         * locale/programs/ld-name.c (name_output): Likewise.
6075         * locale/programs/ld-numeric.c (numeric_output): Likewise.
6076         * locale/programs/ld-paper.c (paper_output): Likewise.
6077         * locale/programs/ld-telephone.c (telephone_output): Likewise.
6078         * locale/programs/ld-time.c (time_output): Likewise.
6079
6080 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6081
6082         * benchtests/Makefile: Add memrchr benchmark.
6083         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6084         benchmark as memrchr.
6085         * benchtests/bench-memrchr-ifunc.c: New file.
6086         * benchtests/bench-memrchr.c: New file.
6087
6088 2013-09-06   Will Newton  <will.newton@linaro.org>
6089
6090         * benchtests/Makefile (string-bench): Add memcpy.
6091
6092 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
6093             Cong Wang  <amwang@redhat.com>
6094
6095         [BZ #15850]
6096         * sysdeps/unix/sysv/linux/bits/in.h
6097         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6098         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6099         before __USE_KERNEL_IPV6_DEFS uses.
6100         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6101         IPPROTO_BEETPH.
6102         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6103         sockaddr_in6, or ipv6_mreq.
6104
6105 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6106
6107         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6108         memory access for final bytes in some large inputs.
6109         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6110
6111 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6112
6113         * string/test-memrchr.c: New file.
6114         * string/test-memrchr-ifunc.c: New file.
6115         * string/Makefile: Add new memrchr testcase.
6116
6117 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
6118
6119         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6120         fanotify_init returns EPERM.
6121
6122 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6123
6124         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6125         errors.
6126         (top level): Treat second token from macro or constant entries for
6127         allowed headers as allowed.
6128         * include/complex.h: Condition internal declarations on
6129         [!_ISOMAC].
6130         * include/fenv.h: Condition include of <stdbool.h> and internal
6131         declarations on [!_ISOMAC].
6132
6133 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
6134
6135         [BZ #15923]
6136         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6137
6138 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6139
6140         * configure.in (--enable-versioning): Remove configure option.
6141         (libc_cv_asm_symver_directive): Remove configure test.
6142         (libc_cv_ld_version_script_option): Likewise.
6143         (VERSIONING): Remove variable and AC_SUBST.
6144         (DO_VERSIONING): Remove AC_DEFINE.
6145         * configure: Regenerated.
6146         * config.h.in (DO_VERSIONING): Remove macro.
6147         * Makerules [$(versioning) = yes]: Change conditionals to
6148         [$(build-shared) = yes].
6149         * config.make.in (versioning): Remove variable.
6150         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6151         [$(build-shared) = yes].
6152         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6153         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6154         * elf/Makefile [$(versioning) = yes]: Change conditionals to
6155         [$(build-shared) = yes].
6156         * extra-lib.mk [$(versioning) = yes]: Likewise.
6157         * hurd/Makefile [$(versioning) = yes]: Likewise.
6158         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6159         [SHARED].
6160         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6161         [SHARED].
6162         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6163         [SHARED && !NO_HIDDEN].
6164         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6165         [SHARED].
6166         [SHARED && DO_VERSIONING]: Likewise..
6167         * libio/Makefile [$(versioning) = yes]: Change conditionals to
6168         [$(build-shared) = yes].
6169         * manual/install.texi (--disable-versioning): Remove
6170         documentation.
6171         * INSTALL: Regenerated.
6172         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6173         to [SHARED].
6174         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6175         [$(build-shared) = yes].
6176         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6177         * sysdeps/i386/i686/multiarch/strstr-c.c
6178         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6179         [SHARED && !NO_HIDDEN].
6180         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6181         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6182         * sysdeps/powerpc/powerpc32/dl-machine.c
6183         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6184         * sysdeps/powerpc/powerpc32/sysdep.h
6185         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6186         to [SHARED && PIC && !NO_HIDDEN].
6187         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6188         conditional to [SHARED].
6189
6190 2013-09-04   Will Newton  <will.newton@linaro.org>
6191
6192         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6193         * benchtests/bench-string.h: Include bench-timing.h instead
6194         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6195         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6196         call to HP_TIMING_DIFF_INIT.
6197         * benchtests/bench-memccpy.c: Use bench-timing.h macros
6198         instead of hp-timing.h macros.
6199         * benchtests/bench-memchr.c: Likewise.
6200         * benchtests/bench-memcmp.c: Likewise.
6201         * benchtests/bench-memcpy.c: Likewise.
6202         * benchtests/bench-memmem.c: Likewise.
6203         * benchtests/bench-memmove.c: Likewise.
6204         * benchtests/bench-memset.c: Likewise.
6205         * benchtests/bench-rawmemchr.c: Likewise.
6206         * benchtests/bench-strcasecmp.c: Likewise.
6207         * benchtests/bench-strcasestr.c: Likewise.
6208         * benchtests/bench-strcat.c: Likewise.
6209         * benchtests/bench-strchr.c: Likewise.
6210         * benchtests/bench-strcmp.c: Likewise.
6211         * benchtests/bench-strcpy.c: Likewise.
6212         * benchtests/bench-strcpy_chk.c: Likewise.
6213         * benchtests/bench-strlen.c: Likewise.
6214         * benchtests/bench-strncasecmp.c: Likewise.
6215         * benchtests/bench-strncat.c: Likewise.
6216         * benchtests/bench-strncmp.c: Likewise.
6217         * benchtests/bench-strncpy.c: Likewise.
6218         * benchtests/bench-strnlen.c: Likewise.
6219         * benchtests/bench-strpbrk.c: Likewise.
6220         * benchtests/bench-strrchr.c: Likewise.
6221         * benchtests/bench-strspn.c: Likewise.
6222         * benchtests/bench-strstr.c: Likewise.
6223
6224 2013-09-04  Will Newton  <will.newton@linaro.org>
6225
6226         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6227
6228 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
6229
6230         [BZ #15427]
6231         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6232         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6233         * math/libm-test.inc (lgamma_test_data): Add more tests.
6234         * sysdeps/i386/fpu/libm-test-ulps: Update.
6235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6236
6237 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
6238
6239         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6240         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6241         Add ifunc.
6242         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6243         Add strcmp-sse2-unaligned
6244         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6245
6246 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6247
6248         * Versions.def (libc): Add GLIBC_2.19.
6249
6250 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6251
6252         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6253         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6254
6255 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
6256
6257         [BZ #14155]
6258         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6259         intermediate calculations in recurrence.
6260         (__ieee754_ynf): Likewise.
6261         * math/libm-test.inc (jn_test_data): Do not allow spurious
6262         underflow exception.  Add more tests.
6263         (yn_test_data): Add more tests.
6264         * sysdeps/i386/fpu/libm-test-ulps: Update.
6265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6266
6267 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
6268
6269         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6270
6271 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6272
6273         * csu/init-first.c: Fix then/than typos.
6274         * locale/programs/ld-collate.c: Likewise.
6275         * locale/programs/linereader.h: Likewise.
6276         * manual/charset.texi: Likewise.
6277         * manual/filesys.texi: Likewise.
6278         * manual/stdio.texi: Likewise.
6279         * manual/string.texi: Likewise.
6280         * stdlib/fmtmsg.c: Likewise.
6281         * sysdeps/i386/stpncpy.S: Likewise.
6282         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6283         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6284         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6285         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6286
6287 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6288
6289         * elf/dl-open.c: Fix typos.
6290         * iconvdata/gbbig5.c: Likewise.
6291         * iconvdata/iso-2022-jp.c: Likewise.
6292         * iconv/gconv_int.h: Likewise.
6293         * iconv/loop.c: Likewise.
6294         * nis/rpcsvc/nis.h: Likewise.
6295         * resolv/ns_name.c: Likewise.
6296         * stdio-common/vfscanf.c: Likewise.
6297         * streams/stropts.h: Likewise.
6298         * sunrpc/rpc_thread.c: Likewise.
6299         * sysdeps/i386/strpbrk.S: Likewise.
6300         * sysdeps/ieee754/k_standard.c: Likewise.
6301         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6302         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6303         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6304         * sysdeps/mach/hurd/profil.c: Likewise.
6305         * sysdeps/s390/dl-procinfo.h: Likewise.
6306         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6307         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6308         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6309         * sysdeps/x86_64/dl-trampoline.S: Likewise.
6310         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6311
6312 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
6313
6314         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6315         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6316
6317 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
6318
6319         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6320         aix specific files.
6321         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6322         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6323         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6324         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6325         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6326         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6327         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6328         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6329
6330 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6331             Roland McGrath  <roland@hack.frob.com>
6332
6333         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6334         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6335
6336 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6337
6338         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6339         __executable_start symbol instead of _start.
6340
6341 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6342
6343         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6344         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6345         Move macros to...
6346         * sysdeps/gnu/ldsodefs.h: ... this new file.
6347
6348         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6349         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6350         instead of ELFOSABI_LINUX.
6351
6352         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6353         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6354         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6355         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6356         Likewise.
6357         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6358         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6359         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6360         Likewise.
6361         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6362         (ibm_extended_long_double): Add ieee_nan member.
6363         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6364         (do_test): New function.
6365
6366         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6367         TEST_TRUNC.
6368         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6369         functions, renamed from truncdfsf_test, trunctfsf_test,
6370         trunctfdf_test.
6371         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6372         functions.
6373         (do_test): Run all these.
6374
6375 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
6376
6377         * argp/argp-help.c: Fix typos.
6378         * argp/argp-parse.c: Likewise.
6379         * debug/backtracesyms.c: Likewise.
6380         * elf/elf.h: Likewise.
6381         * malloc/malloc.c: Likewise.
6382         * nis/nis_print.c: Likewise.
6383         * resolv/res_comp.c: Likewise.
6384         * stdlib/stdlib.h: Likewise.
6385         * sunrpc/clnt_tcp.c: Likewise.
6386         * sunrpc/clnt_udp.c: Likewise.
6387         * sunrpc/clnt_unix.c: Likewise.
6388         * sysdeps/unix/bsd/ptsname.c: Likewise.
6389         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6390         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6392         Likewise.
6393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6394         Likewise.
6395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6396         Likewise.
6397         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6398
6399 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6400
6401         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6402         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6403
6404 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
6405
6406         [BZ #15897]
6407         * dlfcn/Makefile (tests): Add bug-dl-leaf.
6408         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6409         ($(objpfx)bug-dl-leaf): New rule.
6410         ($(objpfx)bug-dl-leaf.so): Likewise.
6411         ($(objpfx)bug-dl-leaf.out): Likewise.
6412         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6413         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6414         * dlfcn/bug-dl-leaf.c: New test.
6415         * dlfcn/bug-dl-leaf-lib.c: Likewise.
6416         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6417         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6418         (dlclose): Likewise.
6419         (dlmopen): Likewise.
6420
6421 2013-08-27  Roland McGrath  <roland@hack.frob.com>
6422
6423         * include/netdb.h [!_ISOMAC]:
6424         Don't include <tls.h>.
6425         (h_errno, __libc_h_errno): Move declaration and macros out of
6426         [_LIBC_REENTRANT].
6427
6428         * include/resolv.h [_RESOLV_H_]:
6429         Don't include <tls.h>.
6430         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6431         * resolv/res_libc.c: Don't include <tls.h>.
6432         (_res): Use __attribute__ ((nocommon)) in place of
6433         __attribute__ ((section (".bss"))).
6434
6435         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6436         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6437
6438         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6439
6440         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6441         only under [SIOCGIFCONF && SIOCGIFNETMASK].
6442
6443         * resolv/res_mkquery.c: Include <sys/time.h>.
6444
6445         * inet/ifreq.c: Moved to ...
6446         * sysdeps/unix/ifreq.c: ... here.
6447         * inet/ifreq.c: New file, true stub version.
6448
6449         * socket/sa_len.c: New file.
6450         * socket/Makefile (aux): Add it.
6451         * sysdeps/unix/sysv/linux/Makefile
6452         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6453         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6454         and #include <socket/sa_len.c>.
6455         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6456         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6457
6458         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6459         * bits/socket.h: ... here.
6460
6461         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6462         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6463         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6464
6465 2013-08-27  Andreas Schwab  <schwab@suse.de>
6466
6467         [BZ #15736]
6468         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6469         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6470         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6471         * string/test-strcasecmp.c (test_main): Run tests in several
6472         locales.
6473         * string/test-strncasecmp.c (test_main): Likewise.
6474
6475         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6476         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6477         to __strcasecmp_nonascii and __strncasecmp_nonascii.
6478         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6479         (__strncasecmp_ssse3) [PIC]: Likewise.
6480
6481 2013-08-26  Roland McGrath  <roland@hack.frob.com>
6482
6483         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6484
6485         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6486         instead of explicitly declaring xdecrypt.
6487         * nis/nss_nis/nis-publickey.c: Likewise.
6488
6489 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6490
6491         [BZ #15890]
6492         * nscd/aicache.c: Include res_hconf.h.
6493         (addhstaiX): Initialize res_hconf.
6494
6495 2013-08-26  Andreas Schwab  <schwab@suse.de>
6496
6497         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6498         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6499
6500 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6501
6502         * nscd/aicache.c (addhstaiX): Fix indentation.
6503
6504 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
6505
6506         * configure.ac: Quote $build_pt_chown test.
6507         * configure: Regenerated.
6508
6509 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
6510
6511         [BZ #15532]
6512         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6513         * math/s_cexpf.c (__cexpf): Likewise.
6514         * math/s_cexpl.c (__cexpl): Likewise.
6515         * math/libm-test.inc (cexp_test_data): Correct expected return
6516         value for NaN + i0.  Add another test.
6517
6518 2013-08-22  David S. Miller  <davem@davemloft.net>
6519
6520         * po/ca.po: Update Catalan translation from translation project.
6521         * po/uk.po: Add Ukrainian translations from translation project.
6522
6523 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
6524
6525         [BZ #15797]
6526         * math/s_fdim.c (__fdim): Check for infinite arguments if result
6527         is infinite, not alongside NaN test.
6528         * math/s_fdimf.c (__fdimf): Likewise.
6529         * math/s_fdiml.c (__fdiml): Likewise.
6530         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
6531         errno is unchanged.
6532
6533 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
6534
6535         * argp/argp-help.c: Fix typos.
6536         * crypt/speeds.c: Likewise.
6537         * csu/check_fds.c: Likewise.
6538         * elf/dl-load.c: Likewise.
6539         * elf/dl-open.c: Likewise.
6540         * elf/reldep3.c: Likewise.
6541         * elf/reldep.c: Likewise.
6542         * elf/sprof.c: Likewise.
6543         * iconv/iconv_charmap.c: Likewise.
6544         * iconv/skeleton.c: Likewise.
6545         * iconv/strtab.c: Likewise.
6546         * io/lockf64.c: Likewise.
6547         * libio/libioP.h: Likewise.
6548         * resolv/gai_notify.c: Likewise.
6549         * resolv/ns_name.c: Likewise.
6550         * resolv/ns_samedomain.c: Likewise.
6551         * resolv/res_send.c: Likewise.
6552         * stdlib/random.c: Likewise.
6553         * sunrpc/rpc/xdr.h: Likewise.
6554         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6555         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6556         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6557         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6558         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6559         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6560         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6561         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6562         * sysdeps/mach/hurd/check_fds.c: Likewise.
6563         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6564         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6565         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6566         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6567         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6568         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6569         * sysdeps/pthread/aio_notify.c: Likewise.
6570         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6571         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6572         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6573         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6574         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6575
6576 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6577
6578         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6579         version if bit_Slow_SSE4_2 is set.
6580         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6581         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6582
6583 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6584
6585         [BZ #15867]
6586         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6587         trampoline stack frame information.
6588         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6589         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6590         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6591         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6592         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6593         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6594         (_libc_vdso_platform_setup): Initialize the signal trampolines.
6595         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6596         sa_flags value.
6597         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6598         interrupting a syscall and set with option SA_SIGINFO.
6599
6600 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6601
6602         [BZ #15531]
6603         * math/s_cproj.c (__cproj): Only return an infinity if one part of
6604         argument is infinite.
6605         * math/s_cprojf.c (__cprojf): Likewise.
6606         * math/s_cprojl.c (__cprojl): Likewise.
6607         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6608         * math/libm-test.inc (cproj_test_data): Add more tests.
6609
6610         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6611
6612         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6613         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6614         size.  Use __ffs to determine corresponding shift.
6615
6616 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6617             Roland McGrath  <roland@hack.frob.com>
6618
6619         * Makefile (INSTALL): Remove trailing blank lines from output of
6620         makeinfo.
6621
6622 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6623
6624         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6625         Align 32 bit compat elf_greg to 8 bytes.
6626
6627 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6628
6629         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6630
6631 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6632
6633         * string/strcoll_l.c (coll_seq): New structure.
6634         (get_next_seq_cached): New function.
6635         (get_next_seq): New function.
6636         (do_compare): New function.
6637         (STRCOLL): Use GNU style definition.  Simplify implementation
6638         by using get_next_seq, get_next_seq_cached and do_compare.
6639
6640 2013-08-16  Florian Weimer  <fweimer@redhat.com>
6641
6642         [BZ #14699]
6643         CVE-2013-4237
6644         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6645         member.
6646         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6647         member.
6648         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6649         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6650         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
6651         conditional.
6652         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6653         GETDENTS_64BIT_ALIGNED.
6654         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6655         * manual/filesys.texi (Reading/Closing Directory): Document
6656         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
6657         strongly.
6658         * manual/conf.texi (Limits for Files): Add portability note to
6659         NAME_MAX, PATH_MAX.
6660         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6661
6662 2013-08-13  Andreas Schwab  <schwab@suse.de>
6663
6664         [BZ #15749]
6665         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6666         of fabs.
6667         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6668         LDBL_MAX_EXP >= 16384]: Add tests for it.
6669
6670 2013-08-12  David S. Miller  <davem@davemloft.net>
6671
6672         * version.h (RELEASE): Set to "development".
6673         (VERSION): Set to "2.18.90".
6674         * NEWS: Add 2.19 section.
6675
6676 2013-08-03  David S. Miller  <davem@davemloft.net>
6677
6678         * po/ko.po: Update Korean translation from translation project.
6679
6680 2013-08-01  David S. Miller  <davem@davemloft.net>
6681
6682         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
6683         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6684         Bilka.
6685
6686 2013-07-30  David S. Miller  <davem@davemloft.net>
6687
6688         * po/fr.po: Update French translation from translation project.
6689
6690 2013-07-28  David S. Miller  <davem@davemloft.net>
6691
6692         * po/cs.po: Update Czech translation from translation project.
6693
6694         * po/sv.po: Update Swedish translation from translation project.
6695
6696 2013-07-27  David S. Miller  <davem@davemloft.net>
6697
6698         * po/eo.po: Update Esperanto translation from translation project.
6699
6700         * po/vi.po: Update Vietnamese translation from translation project.
6701
6702         * po/de.po: Update German translation from translation project.
6703
6704 2013-07-26  David S. Miller  <davem@davemloft.net>
6705
6706         * po/bg.po: Update Bulgarian translation from translation project.
6707
6708         * po/nl.po: Update Dutch translation from translation project.
6709         * po/pl.po: Update Polish translation from translation project.
6710         * po/ru.po: Update Russian translation from translation project.
6711
6712 2013-07-24  David S. Miller  <davem@davemloft.net>
6713
6714         * po/libc.pot: Update.
6715
6716 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6717
6718         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6719         variable page size.
6720         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6721         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6722         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6723
6724 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6725
6726         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6727
6728 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6729             Andreas Schwab  <schwab@suse.de>
6730             Roland McGrath  <roland@hack.frob.com>
6731             Joseph Myers  <joseph@codesourcery.com>
6732             Carlos O'Donell  <carlos@redhat.com>
6733
6734         [BZ #15755]
6735         * config.h.in: Define HAVE_PT_CHOWN.
6736         * config.make.in (build-pt-chown): New variable.
6737         * configure.in (--enable-pt_chown): New configure option.
6738         * configure: Regenerate.
6739         * login/Makefile: Include Makeconfig.  Build pt_chown only if
6740         build-pt-chown is enabled.
6741         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6742         pt_chown to fix pty ownership.
6743         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6744         CLOSE_ALL_FDS.
6745         * manual/install.texi (Configuring and compiling): Mention
6746         --enable-pt_chown. Add @findex for grantpt.
6747         * INSTALL: Regenerate.
6748
6749 2013-07-20  David S. Miller  <davem@davemloft.net>
6750
6751         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6752         difference between 32-bit and 64-bit.
6753
6754 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
6755
6756         [BZ #15711]
6757         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6758         Avoid system header dependency with -ffreestanding.
6759         ($(objpfx)bits/syscall%d): Likewise.
6760
6761 2013-07-13  David S. Miller  <davem@davemloft.net>
6762
6763         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6764         underflows from atanl/atan2l due to bug 15319.
6765         (casinh_test_data): Likewise.
6766
6767 2013-07-07  David S. Miller  <davem@davemloft.net>
6768
6769         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6770
6771 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
6772
6773         * sysdeps/i386/fpu/libm-test-ulps: Update.
6774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6775
6776 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6777
6778         * configure.in (--enable-lock-elision): Fix message text.
6779         * INSTALL: Regenerate.
6780         * configure: Regenerate.
6781
6782 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6783
6784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6785
6786 2013-07-03  Andreas Jaeger  <aj@suse.de>
6787
6788         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6789         define.
6790         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6791         (ptrace_peeksiginfo_args): Add.
6792         (__ptrace_peeksiginfo_flags): Add.
6793         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6794         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6795         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6796
6797 2013-07-03  Allan McRae  <allan@archlinux.org>
6798
6799         * sysdeps/i386/fpu/libm-test-ulps: Update.
6800
6801 2013-07-02  David S. Miller  <davem@davemloft.net>
6802
6803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6804
6805 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
6806
6807         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6808
6809 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6810
6811         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6813
6814 2013-07-02  Andi Kleen <ak@linux.intel.com>
6815
6816         * config.h.in (ENABLE_LOCK_ELISION): Add.
6817         * configure.in (--enable-lock-elision): Add option.
6818         * manual/install.texi: Document --enable lock elision.
6819         * configure: Regenerate
6820         * INSTALL: Regenerate.
6821
6822 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6823
6824         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6825         SSE4.2 strcasecmp for libc.a.
6826         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6827
6828 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6829
6830         [BZ #13304]
6831         * soft-fp/op-common.h (_FP_FMA): New macro.
6832         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6833         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
6834         (_FP_MUL_MEAT_1_imm): ... here.
6835         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
6836         (_FP_MUL_MEAT_1_wide): ... here.
6837         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
6838         (_FP_MUL_MEAT_1_hard): ... here.
6839         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6840         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
6841         (_FP_MUL_MEAT_2_wide): ... here.
6842         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
6843         (_FP_MUL_MEAT_2_wide_3mul): ... here.
6844         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
6845         (_FP_MUL_MEAT_2_gmp): ... here.
6846         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6847         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
6848         (_FP_MUL_MEAT_4_wide): ... here.
6849         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
6850         (_FP_MUL_MEAT_4_gmp): ... here.
6851         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6852         (_FP_WFRACBITS_DW_S): Likewise.
6853         (_FP_WFRACXBITS_DW_S): Likewise.
6854         (_FP_HIGHBIT_DW_S): Likewise.
6855         (FP_FMA_S): Likewise.
6856         (_FP_FRAC_HIGH_DW_S): Likewise.
6857         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6858         (_FP_WFRACBITS_DW_D): Likewise.
6859         (_FP_WFRACXBITS_DW_D): Likewise.
6860         (_FP_HIGHBIT_DW_D): Likewise.
6861         (FP_FMA_D): Likewise.
6862         (_FP_FRAC_HIGH_DW_D): Likewise.
6863         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6864         (_FP_WFRACBITS_DW_E): Likewise.
6865         (_FP_WFRACXBITS_DW_E): Likewise.
6866         (_FP_HIGHBIT_DW_E): Likewise.
6867         (FP_FMA_E): Likewise.
6868         (_FP_FRAC_HIGH_DW_E): Likewise.
6869         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6870         (_FP_WFRACBITS_DW_Q): Likewise.
6871         (_FP_WFRACXBITS_DW_Q): Likewise.
6872         (_FP_HIGHBIT_DW_Q): Likewise.
6873         (FP_FMA_Q): Likewise.
6874         (_FP_FRAC_HIGH_DW_Q): Likewise.
6875         * soft-fp/fmasf4.c: New file.
6876         * soft-fp/fmadf4.c: Likewise.
6877         * soft-fp/fmatf4.c: Likewise.
6878
6879 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6880
6881         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6882         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6883         Silvermont.
6884         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6885         macro.
6886         (index_Slow_SSE4_2): Likewise.
6887         (index_Prefer_PMINUB_for_stringop): Likewise.
6888         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6889         bit_Slow_SSE4_2 is set.
6890         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6891         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6892
6893 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6894
6895         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6896         rtld_global._dl_hwcap2.
6897         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6898         POWER8.
6899         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6900         POWER8 feature descriptions defined in _dl_hwcap2.
6901         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6902         string handling for POWER8 feature bits.
6903         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6904         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6905         _dl_powerpc_cap_flags.
6906         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6907         * sysdeps/powerpc/rtld-global-offsets.sym
6908         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6909         _dl_hwcap2 in the rtld_global_ro structure.
6910
6911 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6912
6913         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6914         hardware capabilities in support of AT_HWCAP2.
6915         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6916         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6917         GLRO(dl_hwcap2).
6918         (_dl_show_auxv): Add support for calling _dl_procinfo to display
6919         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
6920         explicitly the unknown a_type display mechanism is used.
6921         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6922         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6923         struct member.
6924         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6925         to macro prototype for AT_HWCAP2 support.
6926         * sysdeps/i386/dl-procinfo.h: Likewise.
6927         * sysdeps/s390/dl-procinfo.h: Likewise.
6928         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6929         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
6930         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
6931         return -1 for unknown a_type display fallback.
6932         * sysdeps/sparc/dl-procinfo.h: Likewise.
6933         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6934         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6935
6936 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
6937
6938         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6939         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6940
6941 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
6942
6943         [BZ #12492]
6944         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6945         mprotect making __stack_prot writable.
6946
6947 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
6948             Joseph Myers  <joseph@codesourcery.com>
6949
6950         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6951         as being properly aligned.
6952
6953 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
6954
6955         * dlfcn/modstatic5.c: New file.
6956         * dlfcn/tststatic5.c: New file.
6957         * dlfcn/Makefile (tests): Add tststatic5.
6958         (tests-static): Likewise.
6959         (modules-names): Add modstatic5.
6960         (tststatic5-ENV): New variable.
6961         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6962
6963         [BZ #15022]
6964         * elf/dl-support.c (_dl_main_map): New variable.
6965         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6966         (_dl_nns, _dl_load_adds): Set to 1.
6967         (_dl_initial_searchlist): Refer to _dl_main_map.
6968         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6969         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6970         call to _dl_get_origin.
6971         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6972         around call_map.
6973         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6974         * dlfcn/modstatic3.c: New file.
6975         * dlfcn/tststatic3.c: New file.
6976         * dlfcn/tststatic4.c: New file.
6977         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6978         (tests-static): Likewise.
6979         (modules-names): Add modstatic3.
6980         (tststatic3-ENV, tststatic4-ENV): New variables.
6981         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6982         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6983
6984 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
6985
6986         * configure.in (CC): Require GCC version 4.4 or later.
6987         * configure: Regenerated.
6988         * manual/install.texi (Tools for Compilation): Update GCC version
6989         requirement.
6990         * INSTALL: Regenerated.
6991
6992 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6993
6994         [BZ #15674]
6995         * string/test-memcmp.c (check2): New.
6996         (main): Call check2.
6997
6998         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6999
7000 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
7001
7002         [BZ #15022]
7003         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7004         over to...
7005         (dl_open_worker) [!SHARED]: ... here.
7006
7007 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7008
7009         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7010
7011 2013-06-25  Richard Henderson  <rth@redhat.com>
7012
7013         * locale/programs/locarchive.c: Include <libc-internal.h>
7014
7015 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
7016
7017         * manual/texinfo.tex: Update to version 2013-06-21.17, with
7018         trailing whitespace removed.
7019
7020 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7021
7022         [BZ #10283]
7023         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7024         * locale/programs/locarchive.c: Include libc-mmap.h.
7025         (prepare_address_space): Take two new outputs (the mmap base and len).
7026         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
7027         values.
7028         (create_archive): Declare new mmap base and len values for
7029         prepare_address_space, and store the result in ah.
7030         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7031         (enlarge_archive): If ah->mmap_base is not NULL, use that and
7032         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7033         Declare new mmap base and len values for
7034         prepare_address_space, and store the result in new_ah.
7035         (open_archive): Declare new mmap base and len values for
7036         prepare_address_space, and store the result in ah.
7037         (close_archive): If ah->mmap_base is not NULL, use that and
7038         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7039         * sysdeps/generic/libc-mmap.h: New file.
7040
7041 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7042
7043         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7044         (ALIGN_UP): Likewise.
7045         (PTR_ALIGN_DOWN): Likewise.
7046         (PTR_ALIGN_UP): Likewise.
7047
7048 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7049
7050         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7051         entry mapped to PPC_PLATFORM_POWER8.
7052         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7053         POWER8.
7054         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7055         (_dl_string_platform): Add case for exporting platform position for
7056         POWER8.
7057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7058         search path to sysdeps/powerpc/powerpc32/power8 directory.
7059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7060         search path to sysdeps/powerpc/powerpc64/power8 directory.
7061         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7062         power7 directories.
7063         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7064         power7 directories.
7065
7066 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7067
7068         * INSTALL: Regenerate.
7069
7070         * nscd/connections.c (nscd_init): Fix comment.
7071
7072 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
7073
7074         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7075
7076         [BZ #15667]
7077         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7078         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7079
7080 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7081
7082         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7083         DL_DST_REQ_STATIC.
7084         (DL_DST_REQ_STATIC): Remove macro.
7085
7086 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
7087
7088         [BZ #7006]
7089         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7090         with a shift of 0 bits.
7091
7092 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7093
7094         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7095         $(tststatic-ENV).
7096
7097 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7098
7099         [BZ #15655]
7100         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7101
7102 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7103
7104         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7105         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7106         accepts -fno-tree-loop-distribute-patterns.
7107         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7108         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7109         recursive call.
7110         * string/memset.c (memset): Likewise.
7111         * string/test-memmove.c (simple_memmove): Disable loop transformation
7112         to library calls.
7113         * string/test-memset.c (simple_memset): Likewise.
7114         * benchtests/bench-memmove.c (simple_memmove): Likewise.
7115         * benchtests/bench-memset.c (simple_memset): Likewise.
7116         * configure: Regenerated.
7117
7118 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
7119
7120         * math/test-misc.c (main): Ignore fesetround failure when failures
7121         of subsequent rounding tests would be ignored.
7122
7123         [BZ #15654]
7124         * math/fedisblxcpt.c (fedisableexcept): Return 0.
7125         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7126         * math/fegetenv.c (__fegetenv): Return 0.
7127         * math/fegetexcept.c (fegetexcept): Return 0.
7128         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7129         FE_TONEAREST.
7130         * math/feholdexcpt.c (feholdexcept): Return 0.
7131         * math/fesetenv.c (__fesetenv): Return 0.
7132         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7133         argument FE_TONEAREST.
7134         * math/feupdateenv.c (__feupdateenv): Return 0.
7135         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7136
7137 2013-06-18  Roland McGrath  <roland@hack.frob.com>
7138
7139         * elf/rtld-Rules (rtld-compile-command.S): New variable.
7140         (rtld-compile-command.s, rtld-compile-command.c): New variables.
7141         ($(objpfx)rtld-%.os rules): Use them.
7142
7143 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7144
7145         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7146         fields.
7147
7148 2013-06-17  Roland McGrath  <roland@hack.frob.com>
7149
7150         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7151         length of target pattern, then descending length of dependency pattern.
7152         * configure.in (AWK): Require gawk 3.1.2 or newer.
7153         * manual/install.texi (Tools for Compilation): Say that we do.
7154         * configure: Regenerated.
7155
7156         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7157         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7158         * scripts/sysd-rules.awk: ... this new script.
7159         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7160         than a glob-style pattern.
7161
7162 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
7163
7164         * math/test-misc.c (main): Do not treat incorrectly rounded
7165         conversions as failure unless ROUNDING_TESTS passes.
7166
7167 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
7168
7169         [BZ #15631]
7170         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7171         restore exception state around main square root computation, then
7172         check for inexactness explicitly.
7173
7174         * math/libm-test.inc (fma_test_data): Add another test.
7175
7176 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7177
7178         * manual/threads.texi (Non-POSIX Extensions): New document
7179         node.  Document pthread_getattr_default_np and
7180         pthread_setattr_default_np.
7181
7182         * Versions.def (libpthread): Add GLIBC_2.18.
7183         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7185         Likewise.
7186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7187         Likewise.
7188         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7189         Likewise.
7190         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7191         Likewise.
7192         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7193         Likewise.
7194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7195         Likewise.
7196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7197         Likewise.
7198         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7199         Likewise.
7200         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7201         Likewise.
7202
7203 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7204
7205         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7206         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7207
7208 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7209             H.J. Lu  <hjl.tools@gmail.com>
7210
7211         [BZ #15627]
7212         * sysdeps/x86_64/rtld-memset.c: Remove file.
7213         * sysdeps/x86_64/rtld-memset.S: New file.
7214
7215 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
7216
7217         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7218         (test_in_one_mode): Take arguments for whether the rounding mode
7219         is supported for each floating-point type.
7220         (do_test): Pass new arguments to test_in_one_mode using
7221         ROUNDING_TESTS.
7222
7223 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7224
7225         * posix/tst-waitid.c (do_test): Distinguish different instances of
7226         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
7227         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7228         before entering the kernel for waitpid.
7229
7230 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7231
7232         * NEWS: Fix note on clock function precision.  Text by Roland
7233         McGrath.
7234
7235 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7236
7237         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7238         it into place only when and if the sanity check passes.
7239
7240 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
7241
7242         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7243         output for whether conversion result is exact.  Take argument
7244         indicating whether type is IBM long double.
7245         (round_for_all): Change need_exact field to ibm_ld.
7246         * stdlib/tst-strtod-round.c (struct exactness): New type.
7247         (struct test): Change bool ld_ok field to struct exactness exact.
7248         (TEST): Update all definitions for change to field.
7249         (tests): Regenerate array contents.
7250         (test_in_one_mode): Take pointer to new field instead of old ld_ok
7251         field value.  Check for IBM long double here.
7252         (do_test): Update calls to test_in_one_mode.
7253
7254 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7255
7256         [BZ #12515]
7257         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7258         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7259
7260 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7261
7262         [BZ #15605]
7263         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7264         generated by the compiler on loop optimizations.
7265         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7266         general definitions.
7267
7268 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
7269
7270         * math/bug-nextafter.c: Include <math-tests.h>.
7271         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7272         the relevant type.
7273         * math/bug-nexttoward.c: Include <math-tests.h>.
7274         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7275         the relevant type.
7276         * math/test-misc.c: Include <math-tests.h>.
7277         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7278         the relevant type.
7279
7280 2013-06-12  Andreas Jaeger  <aj@suse.de>
7281
7282         * po/ia.po: Update Interlingua translation from translation
7283         project.
7284
7285 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7286
7287         * include/fenv.h: Include stdbool.h.
7288         (struct rm_ctx): New structure.
7289         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7290         Define macro.
7291         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7292         (SET_RESTORE_ROUNDF): Likewise.
7293         (SET_RESTORE_ROUNDL): Likewise.
7294         (SET_RESTORE_ROUND_NOEX): Likewise.
7295         (SET_RESTORE_ROUND_NOEXF): Likewise.
7296         (SET_RESTORE_ROUND_NOEXL): Likewise.
7297         (SET_RESTORE_ROUND_53BIT): Likewise.
7298         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7299         (libc_feresetround_noexf_ctx): Likewise.
7300         (libc_feresetround_noexl_ctx): Likewise.
7301         (libc_feholdsetround_53bit_ctx): Likewise.
7302         (libc_feresetround_53bit_ctx): Likewise.
7303         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7304         (libc_feholdexcept_setround_sse_ctx): New function.
7305         (libc_fesetenv_sse_ctx): Likewise.
7306         (libc_feupdateenv_sse_ctx): Likewise.
7307         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7308         (libc_feholdexcept_setround_387_ctx): Likewise.
7309         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7310         (libc_feholdsetround_387_prec_ctx): Likewise.
7311         (libc_feholdsetround_387_ctx): Likewise.
7312         (libc_feholdsetround_387_53bit_ctx): Likewise.
7313         (libc_feholdsetround_sse_ctx): Likewise.
7314         (libc_feresetround_sse_ctx): Likewise.
7315         (libc_feresetround_387_ctx): Likewise.
7316         (libc_feupdateenv_387_ctx): Likewise.
7317         (libc_feholdexcept_setroundf_ctx): Define macro.
7318         (libc_fesetenvf_ctx): Likewise.
7319         (libc_feupdateenvf_ctx): Likewise.
7320         (libc_feholdsetroundf_ctx): Likewise.
7321         (libc_feresetroundf_ctx): Likewise.
7322         (libc_feholdexcept_setround_ctx): Likewise.
7323         (libc_fesetenv_ctx): Likewise.
7324         (libc_feupdateenv_ctx): Likewise.
7325         (libc_feholdsetround_ctx): Likewise.
7326         (libc_feresetround_ctx): Likewise.
7327         (libc_feholdexcept_setroundl_ctx): Likewise.
7328         (libc_feupdateenvl_ctx): Likewise.
7329         (libc_feholdsetroundl_ctx): Likewise.
7330         (libc_feresetroundl_ctx): Likewise.
7331         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7332         (libc_feresetround_53bit_ctx): Likewise.
7333
7334 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7335
7336         * locale/iso-639.def: Convert to UTF-8.
7337
7338 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
7339
7340         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7341         (EXCEPTION_TESTS_double): Likewise.
7342         (EXCEPTION_TESTS_long_double): Likewise.
7343         (EXCEPTION_TESTS): Likewise.
7344         * math/libm-test.inc (test_exceptions): Only test exceptions if
7345         EXCEPTION_TESTS (FLOAT).
7346
7347 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7348
7349         * benchtests/Makefile (string-bench): Add strcpy_chk and
7350         stpcpy_chk.
7351         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7352         * benchtests/bench-stpcpy_chk.c: New file.
7353         * benchtests/bench-strcpy_chk-ifunc.c: New file.
7354         * benchtests/bench-strcpy_chk.c: New file.
7355         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7356         code.
7357         (do_test): Likewise.
7358
7359 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7360
7361         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7362         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7363         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7364         with tabs where appropriate.
7365         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7366         dl-procinfo.h.
7367         [PPC_PLATFORM_PPC440]: Likewise.
7368         [PPC_PLATFORM_PPC464]: Likewise.
7369         [PPC_PLATFORM_PPC476]: Likewise.
7370         (_dl_string_platform): Add support for detecting ppc405, ppc440,
7371         ppc464, and ppc476 platform strings merging from ports/
7372         dl-procinfo.h.
7373
7374 2013-06-11  Andreas Schwab  <schwab@suse.de>
7375
7376         [BZ #14991]
7377         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7378         (from_ucs4_idx): Regenerate.
7379         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7380         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7381         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7382         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7383         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7384         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7385         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7386         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7387         from FROM_LOOP and TO_LOOP specific macros.
7388         (BODY): Handle combining characters.
7389         * iconvdata/BIG5HKSCS.irreversible: Update.
7390         * iconvdata/BIG5HKSCS.precomposed: New file.
7391         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7392         characters.
7393         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7394
7395 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7396
7397         * include/sys/time.h: Fix indentation and add copyright header.
7398
7399         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7400         (do_test): Likewise.
7401         * string/test-memchr.c (do_one_test): Likewise.
7402         (do_test): Likewise.
7403         * string/test-memcmp.c (do_one_test): Likewise.
7404         (do_test): Likewise.
7405         * string/test-memcpy.c (do_one_test): Likewise.
7406         (do_test): Likewise.
7407         * string/test-memmem.c (do_one_test): Likewise.
7408         (do_test): Likewise.
7409         (do_random_tests): Likewise.
7410         * string/test-memmove.c (do_one_test): Likewise.
7411         (do_test): Likewise.
7412         * string/test-memset.c (do_one_test): Likewise.
7413         (do_test): Likewise.
7414         * string/test-rawmemchr.c (do_one_test): Likewise.
7415         (do_test): Likewise.
7416         * string/test-strcasecmp.c (do_one_test): Likewise.
7417         (do_test): Likewise.
7418         * string/test-strcasestr.c (do_one_test): Likewise.
7419         (do_test): Likewise.
7420         * string/test-strcat.c (do_one_test): Likewise.
7421         (do_test): Likewise.
7422         * string/test-strchr.c (do_one_test): Likewise.
7423         (do_test): Likewise.
7424         * string/test-strcmp.c (do_one_test): Likewise.
7425         (do_test): Likewise.
7426         * string/test-strcpy.c (do_one_test): Likewise.
7427         (do_test): Likewise.
7428         * string/test-string.h: Likewise.
7429         (test_init): Likewise.
7430         * string/test-strlen.c (do_one_test): Likewise.
7431         (do_test): Likewise.
7432         * string/test-strncasecmp.c (do_one_test): Likewise.
7433         (do_test): Likewise.
7434         * string/test-strncat.c (do_one_test): Likewise.
7435         (do_test): Likewise.
7436         * string/test-strncmp.c (do_one_test): Likewise.
7437         (do_test_limit): Likewise.
7438         (do_test): Likewise.
7439         * string/test-strncpy.c (do_one_test): Likewise.
7440         (do_test): Likewise.
7441         * string/test-strnlen.c (do_one_test): Likewise.
7442         (do_test): Likewise.
7443         * string/test-strpbrk.c (do_one_test): Likewise.
7444         (do_test): Likewise.
7445         * string/test-strrchr.c (do_one_test): Likewise.
7446         (do_test): Likewise.
7447         * string/test-strspn.c (do_one_test): Likewise.
7448         (do_test): Likewise.
7449         * string/test-strstr.c (do_one_test): Likewise.
7450         (do_test): Likewise.
7451
7452         * benchtests/Makefile (string-bench): Add string benchmarks.
7453         * benchtests/bench-bcopy-ifunc.c: New file.
7454         * benchtests/bench-bcopy.c: New file.
7455         * benchtests/bench-bzero-ifunc.c: New file.
7456         * benchtests/bench-bzero.c: New file.
7457         * benchtests/bench-memccpy-ifunc.c: New file.
7458         * benchtests/bench-memccpy.c: New file.
7459         * benchtests/bench-memchr-ifunc.c: New file.
7460         * benchtests/bench-memchr.c: New file.
7461         * benchtests/bench-memcmp-ifunc.c: New file.
7462         * benchtests/bench-memcmp.c: New file.
7463         * benchtests/bench-memmem-ifunc.c: New file.
7464         * benchtests/bench-memmem.c: New file.
7465         * benchtests/bench-memmove-ifunc.c: New file.
7466         * benchtests/bench-memmove.c: New file.
7467         * benchtests/bench-mempcpy-ifunc.c: New file.
7468         * benchtests/bench-mempcpy.c: New file.
7469         * benchtests/bench-memset-ifunc.c: New file.
7470         * benchtests/bench-memset.c: New file.
7471         * benchtests/bench-rawmemchr-ifunc.c: New file.
7472         * benchtests/bench-rawmemchr.c: New file.
7473         * benchtests/bench-stpcpy-ifunc.c: New file.
7474         * benchtests/bench-stpcpy.c: New file.
7475         * benchtests/bench-stpncpy-ifunc.c: New file.
7476         * benchtests/bench-stpncpy.c: New file.
7477         * benchtests/bench-strcasecmp-ifunc.c: New file.
7478         * benchtests/bench-strcasecmp.c: New file.
7479         * benchtests/bench-strcasestr-ifunc.c: New file.
7480         * benchtests/bench-strcasestr.c: New file.
7481         * benchtests/bench-strcat-ifunc.c: New file.
7482         * benchtests/bench-strcat.c: New file.
7483         * benchtests/bench-strchr-ifunc.c: New file.
7484         * benchtests/bench-strchr.c: New file.
7485         * benchtests/bench-strchrnul-ifunc.c: New file.
7486         * benchtests/bench-strchrnul.c: New file.
7487         * benchtests/bench-strcmp-ifunc.c: New file.
7488         * benchtests/bench-strcmp.c: New file.
7489         * benchtests/bench-strcpy-ifunc.c: New file.
7490         * benchtests/bench-strcpy.c: New file.
7491         * benchtests/bench-strcspn-ifunc.c: New file.
7492         * benchtests/bench-strcspn.c: New file.
7493         * benchtests/bench-strlen-ifunc.c: New file.
7494         * benchtests/bench-strlen.c: New file.
7495         * benchtests/bench-strncasecmp-ifunc.c: New file.
7496         * benchtests/bench-strncasecmp.c: New file.
7497         * benchtests/bench-strncat-ifunc.c: New file.
7498         * benchtests/bench-strncat.c: New file.
7499         * benchtests/bench-strncmp-ifunc.c: New file.
7500         * benchtests/bench-strncmp.c: New file.
7501         * benchtests/bench-strncpy-ifunc.c: New file.
7502         * benchtests/bench-strncpy.c: New file.
7503         * benchtests/bench-strnlen-ifunc.c: New file.
7504         * benchtests/bench-strnlen.c: New file.
7505         * benchtests/bench-strpbrk-ifunc.c: New file.
7506         * benchtests/bench-strpbrk.c: New file.
7507         * benchtests/bench-strrchr-ifunc.c: New file.
7508         * benchtests/bench-strrchr.c: New file.
7509         * benchtests/bench-strspn-ifunc.c: New file.
7510         * benchtests/bench-strspn.c: New file.
7511         * benchtests/bench-strstr-ifunc.c: New file.
7512         * benchtests/bench-strstr.c: New file.
7513
7514         * benchtests/Makefile: Disable parallel execution of targets.
7515         (string-bench): Add memcpy.
7516         (benchset): New variable to store a list of benchmark sets.
7517         (bench-func): Renamed from bench.
7518         (bench-set): New target.
7519         (bench): Depend on bench-func and bench-set.
7520         * benchtests/README: Add section on benchmark sets.
7521         * benchtests/bench-memcpy-ifunc.c: New file.
7522         * benchtests/bench-memcpy.c: New file.
7523         * benchtests/bench-string.h: New file.
7524
7525 2013-06-11  Andreas Schwab  <schwab@suse.de>
7526
7527         [BZ #15577]
7528         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7529         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7530         values in the triple.
7531         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7532         terminator in the group key.
7533
7534 2013-06-11  Andreas Jaeger  <aj@suse.de>
7535
7536         * po/zh_TW.po: Update Chinese (traditional) translation from
7537         translation project.
7538
7539 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7540
7541         * include/time.h (__clock_gettime): Add libc_hidden_proto.
7542         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7543         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
7544         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7545         (clock_getcpuclockid): Likewise.
7546         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7547         Add weak_alias and libc_hidden_def.
7548         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7549         * rt/clock_gettime.c (clock_gettime): Rename to
7550         __clock_gettime.  Add weak_alias and libc_hidden_def.
7551         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7552         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7553         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
7554         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7555         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7556         Likewise.
7557         * rt/clock_settime.c (clock_settime): Rename to
7558         __clock_settime.  Add weak_alias and libc_hidden_def.
7559         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7560
7561 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
7562
7563         * mach/err_boot.sub: Remove trailing whitespace.
7564         * mach/err_ipc.sub: Likewise.
7565         * mach/err_mach.sub: Likewise.
7566
7567         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7568         (ROUNDING_TESTS_double): Likewise.
7569         (ROUNDING_TESTS_long_double): Likewise.
7570         (ROUNDING_TESTS): Likewise.
7571         * math/libm-test.inc: Include <math-tests.h>.
7572         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7573         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7574         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7575         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7576
7577 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7578
7579         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7580         of assigning.
7581
7582 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
7583
7584         * sysdeps/gnu/errlist.awk: Do not generate space at end of
7585         otherwise empty TRANS lines.
7586         * sysdeps/gnu/errlist.c: Regenerated.
7587
7588         * catgets/gencat.c (error_print): Use (void) in function
7589         definition.
7590         * crypt/crypt_util.c (__init_des): Likewise.
7591         * crypt/speeds.c (Stop): Likewise.
7592         (main): Likewise.
7593         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7594         * inet/ruserpass.c (token): Likewise.
7595         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7596         * intl/localealias.c (extend_alias_table): Likewise.
7597         * intl/plural-exp.c (init_germanic_plural): Likewise.
7598         * libio/fcloseall.c (__fcloseall): Likewise.
7599         * libio/genops.c (_IO_flush_all): Likewise.
7600         (_IO_flush_all_linebuffered): Likewise.
7601         (_IO_cleanup): Likewise.
7602         (_IO_iter_begin): Likewise.
7603         (_IO_iter_end): Likewise.
7604         (_IO_list_lock): Likewise.
7605         (_IO_list_unlock): Likewise.
7606         (_IO_list_resetlock): Likewise.
7607         * libio/getchar.c (getchar): Likewise.
7608         * libio/getchar_u.c (getchar_unlocked): Likewise.
7609         * libio/getwchar.c (getwchar): Likewise.
7610         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7611         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7612         * login/getpt.c (__getpt): Likewise.
7613         * login/tst-utmp.c (main): Likewise.
7614         * malloc/hooks.c (__malloc_check_init): Likewise.
7615         * malloc/malloc.c (__malloc_stats): Likewise.
7616         * malloc/mtrace.c (tr_break): Likewise.
7617         (mtrace): Likewise.
7618         (muntrace): Likewise.
7619         * misc/fstab.c (endfsent): Likewise.
7620         * misc/getclktck.c (__getclktck): Likewise.
7621         * misc/getdtsz.c (__getdtablesize): Likewise.
7622         * misc/gethostid.c (gethostid): Likewise.
7623         * misc/getpagesize.c (__getpagesize): Likewise.
7624         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7625         (__get_nprocs): Likewise.
7626         (__get_phys_pages): Likewise.
7627         (__get_avphys_pages): Likewise.
7628         * misc/getttyent.c (getttyent): Likewise.
7629         (setttyent): Likewise.
7630         (endttyent): Likewise.
7631         * misc/getusershell.c (getusershell): Likewise.
7632         (endusershell): Likewise.
7633         (setusershell): Likewise.
7634         (initshells): Likewise.
7635         * misc/hsearch.c (__hdestroy): Likewise.
7636         * misc/sync.c (sync): Likewise.
7637         * misc/syslog.c (closelog_internal): Likewise.
7638         (closelog): Likewise.
7639         * misc/ttyslot.c (ttyslot): Likewise.
7640         * misc/vhangup.c (vhangup): Likewise.
7641         * posix/fork.c (__fork): Likewise.
7642         * posix/getegid.c (__getegid): Likewise.
7643         * posix/geteuid.c (__geteuid): Likewise.
7644         * posix/getgid.c (__getgid): Likewise.
7645         * posix/getpid.c (__getpid): Likewise.
7646         * posix/getppid.c (__getppid): Likewise.
7647         * posix/getuid.c (__getuid): Likewise.
7648         * posix/pause.c (pause): Likewise.
7649         * posix/setpgrp.c (setpgrp): Likewise.
7650         * posix/setsid.c (__setsid): Likewise.
7651         * posix/test-vfork.c (noop): Likewise.
7652         * resolv/gethnamaddr.c (_endhtent): Likewise.
7653         (_gethtent): Likewise.
7654         (ht_endhostent): Likewise.
7655         (gethostent): Likewise.
7656         (dns_service): Likewise.
7657         * stdlib/drand48.c (drand48): Likewise.
7658         * stdlib/lrand48.c (lrand48): Likewise.
7659         * stdlib/mrand48.c (mrand48): Likewise.
7660         * stdlib/rand.c (rand): Likewise.
7661         * stdlib/random.c (__random): Likewise.
7662         * stdlib/setenv.c (clearenv): Likewise.
7663         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7664         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7665         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7666         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7667         (__get_nprocs): Likewise.
7668         (__get_phys_pages): Likewise.
7669         (__get_avphys_pages): Likewise.
7670         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7671         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7672         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7673         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7674         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7675         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7676         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7677         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7678         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7679         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7680         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7681         * sysdeps/mach/hurd/sync.c (sync): Likewise.
7682         * sysdeps/posix/clock.c (clock): Likewise.
7683         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7684         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7685         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7686         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7687         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7688         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7689         (__get_nprocs_conf): Likewise.
7690         (__get_phys_pages): Likewise.
7691         (__get_avphys_pages): Likewise.
7692         * time/clock.c (clock): Likewise.
7693         * time/tzset.c (__tzname_max): Likewise.
7694
7695 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
7696
7697         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7698         (__bswap_32): Do not use "register".
7699         * crypt/crypt.c (_ufc_doit_r): Likewise.
7700         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7701         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7702         * gmon/gmon.c (__monstartup): Likewise.
7703         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7704         * hurd/hurdmalloc.c (more_memory): Likewise.
7705         (malloc): Likewise.
7706         (free): Likewise.
7707         (realloc): Likewise.
7708         (malloc_fork_prepare): Likewise.
7709         (malloc_fork_parent): Likewise.
7710         (malloc_fork_child): Likewise.
7711         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7712         (_svcauth_des): Likewise.
7713         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7714         * inet/inet_net.c (inet_network): Likewise.
7715         * inet/inet_netof.c (inet_netof): Likewise.
7716         * inet/rcmd.c (__validuser2_sa): Likewise.
7717         * io/fts.c (fts_open): Likewise.
7718         (fts_load): Likewise.
7719         (fts_close): Likewise.
7720         (fts_read): Likewise.
7721         (fts_children): Likewise.
7722         (fts_build): Likewise.
7723         (fts_stat): Likewise.
7724         (fts_sort): Likewise.
7725         (fts_alloc): Likewise.
7726         (fts_lfree): Likewise.
7727         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7728         (_IO_file_xsgetn): Likewise.
7729         (_IO_file_xsgetn_mmap): Likewise.
7730         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7731         (_IO_cookie_write): Likewise.
7732         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7733         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7734         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7735         * malloc/obstack.c (_obstack_begin): Likewise.
7736         (_obstack_begin_1): Likewise.
7737         (_obstack_newchunk): Likewise.
7738         (_obstack_allocated_p): Likewise.
7739         (obstack_free): Likewise.
7740         (_obstack_memory_used): Likewise.
7741         * misc/getttyent.c (getttynam): Likewise.
7742         (getttyent): Likewise.
7743         (skip): Likewise.
7744         (value): Likewise.
7745         * misc/getusershell.c (initshells): Likewise.
7746         * misc/syslog.c (__vsyslog_chk): Likewise.
7747         * misc/ttyslot.c (ttyslot): Likewise.
7748         * nis/nis_hash.c (__nis_hash): Likewise.
7749         * posix/fnmatch_loop.c (FCT): Likewise.
7750         * posix/getconf.c (print_all): Likewise.
7751         (main): Likewise.
7752         * posix/getopt.c (exchange): Likewise.
7753         * posix/glob.c (globfree): Likewise.
7754         (prefix_array): Likewise.
7755         (__glob_pattern_type): Likewise.
7756         * resolv/arpa/nameser.h (NS_GET16): Likewise.
7757         (NS_GET32): Likewise.
7758         (NS_PUT16): Likewise.
7759         (NS_PUT32): Likewise.
7760         * resolv/gethnamaddr.c (getanswer): Likewise.
7761         (gethostbyname2): Likewise.
7762         (gethostbyaddr): Likewise.
7763         (_gethtent): Likewise.
7764         (_gethtbyname2): Likewise.
7765         (_gethtbyaddr): Likewise.
7766         * resolv/ns_print.c (dst_s_get_int16): Likewise.
7767         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7768         * resolv/res_init.c (__res_vinit): Likewise.
7769         (net_mask): Likewise.
7770         * resolv/res_mkquery.c (outchar): Likewise.
7771         (PRINT): Likewise.
7772         * stdio-common/printf_fp.c (outchar): Likewise.
7773         (PRINT): Likewise.
7774         * stdio-common/printf_fphex.c (outchar): Likewise.
7775         (PRINT): Likewise.
7776         * stdio-common/printf_size.c (outchar): Likewise.
7777         (PRINT): Likewise.
7778         * stdio-common/test_rdwr.c (main): Likewise.
7779         * stdio-common/tfformat.c (matches): Likewise.
7780         * stdio-common/vfprintf.c (outchar): Likewise.
7781         (printf_unknown): Likewise.
7782         (buffered_vfprintf): Likewise.
7783         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7784         * stdio-common/xbug.c (AppendToBuffer): Likewise.
7785         (ReadFile): Likewise.
7786         * stdlib/qsort.c (SWAP): Likewise.
7787         (_quicksort): Likewise.
7788         * stdlib/setenv.c (__add_to_environ): Likewise.
7789         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7790         * stdlib/strtol_l.c (__strtol_l): Likewise.
7791         * stdlib/tst-strtod.c (main): Likewise.
7792         * stdlib/tst-strtol.c (main): Likewise.
7793         * stdlib/tst-strtoll.c (main): Likewise.
7794         * string/bits/string2.h (__strcmp_cc): Likewise.
7795         (__strcmp_cg): Likewise.
7796         (__strcspn_c1): Likewise.
7797         (__strcspn_c2): Likewise.
7798         (__strcspn_c3): Likewise.
7799         (__strspn_c1): Likewise.
7800         (__strspn_c2): Likewise.
7801         (__strspn_c3): Likewise.
7802         (__strsep_1c): Likewise.
7803         (__strsep_2c): Likewise.
7804         (__strsep_3c): Likewise.
7805         * string/memccpy.c (__memccpy): Likewise.
7806         * string/stpcpy.c (__stpcpy): Likewise.
7807         * string/strcmp.c (strcmp): Likewise.
7808         * string/strrchr.c (strrchr): Likewise.
7809         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7810         Likewise.
7811         * sysdeps/mach/hurd/getcwd.c
7812         (_hurd_canonicalize_directory_name_internal): Likewise.
7813         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7814         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7815         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7816         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7817         Likewise, in both definitions.
7818         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7819         definitions.
7820         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7821         64] (__bswap_64): Likewise.
7822         * time/test_time.c (main): Likewise.
7823         * time/tzfile.c (__tzfile_read): Likewise.
7824         (__tzfile_compute): Likewise.
7825         * time/tzset.c (__tzset_parse_tz): Likewise.
7826         (tzset_internal): Likewise.
7827         (compute_change): Likewise.
7828         * wcsmbs/wcscat.c (__wcscat): Likewise.
7829         * wcsmbs/wcschr.c (wcschr): Likewise.
7830         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7831         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7832         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7833         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7834         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7835         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7836         * wcsmbs/wmemchr.c (wmemchr): Likewise.
7837         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7838         * wcsmbs/wmemset.c (wmemset): Likewise.
7839
7840 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
7841
7842         * scripts/config.guess: Update to version 2013-05-16.
7843         * scripts/config.sub: Update to version 2013-04-24.
7844         * scripts/install-sh: Update to version 2011-11-20.07.
7845         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7846         * scripts/move-if-change: Update to version 2012-01-06 07:23.
7847
7848 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
7849
7850         * debug/fgetws_u_chk.c: Fix leading whitespaces.
7851         * elf/sln.c: Likewise.
7852         * hurd/hurd/ioctl.h: Likewise.
7853         * hurd/hurdmalloc.c: Likewise.
7854         * hurd/xattr.c: Likewise.
7855         * include/shlib-compat.h: Likewise.
7856         * inet/ruserpass.c: Likewise.
7857         * libio/iofgets_u.c: Likewise.
7858         * libio/iofgetws_u.c: Likewise.
7859         * locale/programs/ld-identification.c: Likewise.
7860         * locale/programs/ld-time.c: Likewise.
7861         * mach/msg-destroy.c: Likewise.
7862         * nss/nss_files/files-netgrp.c: Likewise.
7863         * resolv/res_data.c: Likewise.
7864         * soft-fp/op-1.h: Likewise.
7865         * soft-fp/op-2.h: Likewise.
7866         * soft-fp/op-4.h: Likewise.
7867         * soft-fp/op-common.h: Likewise.
7868         * stdio-common/printf_fphex.c: Likewise.
7869         * stdlib/strtod_l.c: Likewise.
7870         * sunrpc/rpc/clnt.h: Likewise.
7871         * sysdeps/generic/framestate.c: Likewise.
7872         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7873         * sysdeps/i386/bsd-setjmp.S: Likewise.
7874         * sysdeps/i386/__longjmp.S: Likewise.
7875         * sysdeps/i386/setjmp.S: Likewise.
7876         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7877         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7878         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7879         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7880         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7881         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7882         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7883         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7884         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7885         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7886         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7887         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7888         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7889         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7890         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7891         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7892         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7893         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7894         * sysdeps/ieee754/support.c: Likewise.
7895         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7896         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7897         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7898         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7899         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7900         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7901         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7902         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7903         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7904         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7905         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7906         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7907         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7908         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7909         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7910         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7911         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7913
7914 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
7915
7916         * posix/transbug.c: Remove executable mode.
7917
7918 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
7919
7920         * crypt/speeds.c: Remove trailing whitespace.
7921         * dlfcn/default.c: Likewise.
7922         * elf/ifuncdep2.c: Likewise.
7923         * elf/ifuncmain1.c: Likewise.
7924         * elf/ifuncmain1vis.c: Likewise.
7925         * elf/testobj.h: Likewise.
7926         * elf/tst-stackguard1.c: Likewise.
7927         * gmon/sys/gmon.h: Likewise.
7928         * hurd/hurdmsg.c: Likewise.
7929         * hurd/new-fd.c: Likewise.
7930         * hurd/ports-get.c: Likewise.
7931         * iconvdata/ibm1008_420.c: Likewise.
7932         * inet/tst-getni1.c: Likewise.
7933         * inet/tst-getni2.c: Likewise.
7934         * libio/ioungetc.c: Likewise.
7935         * libio/wfiledoalloc.c: Likewise.
7936         * manual/libm-err-tab.pl: Likewise.
7937         * math/w_dremf.c: Likewise.
7938         * misc/ftruncate.c: Likewise.
7939         * posix/bug-glob2.c: Likewise.
7940         * posix/tst-pcre.c: Likewise.
7941         * posix/wait4.c: Likewise.
7942         * resolv/README: Likewise.
7943         * resolv/res_debug.h: Likewise.
7944         * resolv/tst-inet_ntop.c: Likewise.
7945         * setjmp/bug269-setjmp.c: Likewise.
7946         * soft-fp/extended.h: Likewise.
7947         * soft-fp/op-1.h: Likewise.
7948         * soft-fp/op-2.h: Likewise.
7949         * soft-fp/op-4.h: Likewise.
7950         * soft-fp/op-8.h: Likewise.
7951         * soft-fp/testit.c: Likewise.
7952         * stdio-common/bug16.c: Likewise.
7953         * stdlib/random.c: Likewise.
7954         * sunrpc/rpcsvc/rquota.x: Likewise.
7955         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7956         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7957         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7958         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7959         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7960         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7961         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7962         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7963         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7964         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7965         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7966         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7967         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7968         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7969         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7970         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7971         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7972         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7973         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7974         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7975         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7976         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7977         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7978         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7979         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7980         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7981         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7982         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7983         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7984         * sysdeps/ieee754/s_lib_version.c: Likewise.
7985         * sysdeps/mach/hurd/check_fds.c: Likewise.
7986         * sysdeps/mach/hurd/getsockname.c: Likewise.
7987         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7988         * sysdeps/mach/hurd/recvfrom.c: Likewise.
7989         * sysdeps/powerpc/bits/link.h: Likewise.
7990         * sysdeps/powerpc/dl-procinfo.c: Likewise.
7991         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7992         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7993         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7994         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7995         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7996         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7997         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7998         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7999         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8000         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8001         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8002         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8003         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8004         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8005         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8006         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8007         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8008         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8009         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8010         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8011         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8012         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8013         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8014         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8015         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8016         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8017         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8018         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8019         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8020         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8021         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8022         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8023         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8024         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8025         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8026         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8027         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8028         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8029         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8030         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8031         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8032         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8033         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8034         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8035         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8036         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8037         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8038         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8039         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8040         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8041         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8042         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8043         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8044         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8045         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8046         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8047         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8048         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8049         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8050         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8051         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8052         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8053         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8054         * sysdeps/powerpc/sysdep.h: Likewise.
8055         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8056         * sysdeps/s390/s390-64/sub_n.S: Likewise.
8057         * sysdeps/sh/dl-trampoline.S: Likewise.
8058         * sysdeps/sh/memset.S: Likewise.
8059         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8060         * sysdeps/sh/strlen.S: Likewise.
8061         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8062         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8063         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8064         * sysdeps/sparc/sparc32/rem.S: Likewise.
8065         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8066         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8067         * sysdeps/sparc/sparc32/strchr.S: Likewise.
8068         * sysdeps/sparc/sparc32/udiv.S: Likewise.
8069         * sysdeps/sparc/sparc32/urem.S: Likewise.
8070         * sysdeps/sparc/sparc64/add_n.S: Likewise.
8071         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8072         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8073         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8074         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8075         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8076         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8077         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8078         * sysdeps/unix/bsd/times.c: Likewise.
8079         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8080         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8084         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8085         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8086         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8087         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8088         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8089         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8090         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8091         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8092         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8093         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8094         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8095         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8096         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8097         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8098         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8099         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8100         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8101         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8102         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8103         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8104         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8105         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8106         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8107         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8108         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8109         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8110         * sysdeps/x86_64/strcspn.S: Likewise.
8111
8112 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8113
8114         * locale/C-translit.h: Revert #include <stdint.h> because this is a
8115         generated file.  Regenerate properly from gen-translit.pl.
8116         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
8117         locale/C-translit.h.
8118
8119 2013-06-05  Andreas Schwab  <schwab@suse.de>
8120
8121         [BZ #15100]
8122         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8123         week as 6 instead of -1.
8124         * time/tst-strptime.c (day_tests): Add test case.
8125
8126 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8127
8128         * sysdeps/generic/math_private.h
8129         (libc_feholdexcept_setround_53bit): Replace with
8130         libc_feholdsetround_53bit.
8131         (libc_feupdateenv_53bit): Replace with
8132         libc_feresetround_53bit.
8133         (SET_RESTORE_ROUND_53BIT): Adjust.
8134
8135 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8136
8137         * string/test-strchrnul.c: Add copyright header.
8138
8139         * posix/tst-getaddrinfo4.c: Increase test timeout.
8140
8141 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
8142
8143         [BZ #15536]
8144         * math/libm-test.inc (MAX_EXP): Remove
8145         (MIN_EXP): Define.
8146         (ulp): Use MIN_EXP - MANT_DIG.
8147         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8148
8149 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
8150
8151         * po/be.po: Revert last change.
8152         * po/zh_CN.po: Likewise.
8153         * po/header.pot: Likewise.
8154
8155 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
8156
8157         * Makefile ($(common-objpfx)linkobj/libc.so): Define
8158         link-libc-deps to empty as target-specific variable.
8159         * Makerules (link-libc-args): New variable.
8160         (libc-for-link): Likewise.
8161         (link-libc-deps): Likewise.
8162         (lib%.so): Depend on $(link-libc-deps).  Link with
8163         $(link-libc-args).
8164         (build-module): Link with $(link-libc-args).
8165         (build-module-asneeded): Likewise.
8166         (build-module-helper-objlist): Filter out $(link-libc-deps) from
8167         list of objects.
8168         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8169         target-specific variable.
8170         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8171         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8172         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8173         libc.
8174         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8175         libc and ld.so.
8176         ($(objpfx)libpcprofile.so): Likewise.
8177         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8178         libc_nonshared.a.
8179         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8180         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8181         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8182         $(link-libc-deps).
8183         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8184         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8185         * login/Makefile ($(objpfx)libutil.so): Likewise.
8186         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8187         * math/Makefile ($(objpfx)libm.so): Likewise.
8188         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8189         $(objpfx)libnsl.so): Define libc-for-link as target-specific
8190         variable instead of depending directly on libc.
8191         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8192         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8193         $(link-libc-deps).
8194         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8195         libc.
8196         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8197         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8198         ($(objpfx)libanl.so): Likewise.
8199         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8200         ld.so.
8201         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8202         $(link-libc-deps).
8203         * sysdeps/i386/fpu/Makefile: Remove file.
8204         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8205         ($(objpfx)libm.so): Remove dependency on ld.so.
8206
8207 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
8208
8209         [BZ # 15553]
8210         * nis/yp_xdr.c (XDRMAXNAME): Define.
8211         (XDRMAXRECORD): Define.
8212         (xdr_domainname): Use XDRMAXNAME.
8213         (xdr_mapname): Likewise.
8214         (xdr_peername): Likewise.
8215         (xdr_keydat): Use XDRMAXRECORD.
8216         (xdr_valdat): Likewise.
8217
8218 2013-05-30  Jeff Law  <law@redhat.com>
8219
8220         [BZ #14256]
8221         * manual/errno.texi (ESTALE): Update to account for more than
8222         just NFS file systems.
8223         * sysdeps/gnu/errlist.c: Regenerated.
8224
8225 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8226
8227         [BZ #15465]
8228         * elf/Makefile (tests): Add tst-null-argv.
8229         (modules-names):  Add tst-null-argv-lib.
8230         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8231         (tst-null-argv-ENV): Set environment for tst-null-argv.
8232         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8233         (RTLD_PROGNAME): New macro.
8234         * elf/tst-null-argv.c: New test case.
8235         * elf/tst-null-argv-lib.c: Library for test case.
8236         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8237         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8238         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8239         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8240         * elf/dl-init.c (call_init): Likewise.
8241         (_dl_init): Likewise.
8242         * elf/dl-load.c (print_search_path): Likewise.
8243         (_dl_map_object): Likewise.
8244         * elf/dl-lookup.c (do_lookup_x): Likewise.
8245         (add_dependency): Likewise.
8246         (_dl_lookup_symbol_x): Likewise.
8247         (_dl_debug_bindings): Likewise.
8248         * elf/dl-open.c (_dl_show_scope): Likewise.
8249         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8250         * elf/dl-version.c (match_symbol): Likewise.
8251         (_dl_check_map_versions): Likewise.
8252         * elf/rtld.c (dl_main): Likewise.
8253         (print_unresolved): Use RTLD_PROGNAME.
8254         (print_missing_version): Likewise.
8255         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8256         (elf_machine_rela): Likewise.
8257         * sysdeps/powerpc/powerpc32/dl-machine.c
8258         (__process_machine_rela): Likewise.
8259         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8260         Likewise.
8261         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8262         Likewise.
8263         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8264         Likewise.
8265         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8266         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8267         Likewise.
8268         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8269         Likewise.
8270         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8271
8272 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
8273
8274         * po/be.po: Add descriptive title.
8275         * po/zh_CN.po: Likewise.
8276         * po/header.pot: Likewise.
8277
8278 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
8279
8280         * locale/programs/locarchive.c (create_archive): Inlucde fname in
8281         error message.
8282         (enlarge_archive): Likewise.
8283
8284 2013-05-28  Ben North  <ben@redfrontdoor.org>
8285
8286         * manual/arith.texi (frexp): It is the magnitude of the return
8287         value which lies in [0.5, 1), not the return value itself.
8288
8289 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8290
8291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8292
8293 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
8294
8295         * stdio-common/bug26.c (main): Correct fscanf template.
8296
8297         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8298         declare _dl_skip_args.
8299
8300         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8301         Don't declare.
8302
8303         * manual/platform.texi: Add missing @end deftypefun.
8304
8305 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8306
8307         [BZ #15529]
8308         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8309         bit of mantissa of 2^16382.
8310         * math/libm-test.inc (hypot_test_data): Add more tests.
8311
8312         * math/libm-test.inc: Add drem and pow10 to list of tested
8313         functions.
8314         (pow10_test): New function.
8315         (drem_test): Likewise.
8316         (drem_test_tonearest): Likewise.
8317         (drem_test_towardzero): Likewise.
8318         (drem_test_downward): Likewise.
8319         (drem_test_upward): Likewise.
8320         (main): Call the new functions.
8321
8322         * math/libm-test.inc (finite_test_data): Remove.
8323         (finite_test): Run tests from isfinite_test_data.
8324         (gamma_test_data): Remove.
8325         (gamma_test): Run tests from lgamma_test_data.
8326         * sysdeps/i386/fpu/libm-test-ulps: Update.
8327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8328
8329 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8330
8331         * manual/platform.texi: Add PowerPC PPR function set documentation.
8332         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8333         implementation.
8334
8335 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
8336
8337         * math/libm-test.inc (MAX_EXP): Define.
8338         (ULPDIFF): Define.
8339         (ulp): New function.
8340         (check_float_internal): Use ULPDIFF.
8341         (cpow_test): Disable failing test.
8342         (check_ulp): Test ulp() implemetnation.
8343         (main): Call check_ulp before starting tests.
8344
8345 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8346
8347         * math/gen-libm-test.pl (generate_testfile): Do not handle
8348         START_DATA and END_DATA.
8349         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8350         END_DATA.
8351         (acos_tonearest_test_data): Likewise.
8352         (acos_towardzero_test_data): Likewise.
8353         (acos_downward_test_data): Likewise.
8354         (acos_upward_test_data): Likewise.
8355         (acosh_test_data): Likewise.
8356         (asin_test_data): Likewise.
8357         (asin_tonearest_test_data): Likewise.
8358         (asin_towardzero_test_data): Likewise.
8359         (asin_downward_test_data): Likewise.
8360         (asin_upward_test_data): Likewise.
8361         (asinh_test_data): Likewise.
8362         (atan_test_data): Likewise.
8363         (atanh_test_data): Likewise.
8364         (atan2_test_data): Likewise.
8365         (cabs_test_data): Likewise.
8366         (cacos_test_data): Likewise.
8367         (cacosh_test_data): Likewise.
8368         (carg_test_data): Likewise.
8369         (casin_test_data): Likewise.
8370         (casinh_test_data): Likewise.
8371         (catan_test_data): Likewise.
8372         (catanh_test_data): Likewise.
8373         (cbrt_test_data): Likewise.
8374         (ccos_test_data): Likewise.
8375         (ccosh_test_data): Likewise.
8376         (ceil_test_data): Likewise.
8377         (cexp_test_data): Likewise.
8378         (cimag_test_data): Likewise.
8379         (clog_test_data): Likewise.
8380         (clog10_test_data): Likewise.
8381         (conj_test_data): Likewise.
8382         (copysign_test_data): Likewise.
8383         (cos_test_data): Likewise.
8384         (cos_tonearest_test_data): Likewise.
8385         (cos_towardzero_test_data): Likewise.
8386         (cos_downward_test_data): Likewise.
8387         (cos_upward_test_data): Likewise.
8388         (cosh_test_data): Likewise.
8389         (cosh_tonearest_test_data): Likewise.
8390         (cosh_towardzero_test_data): Likewise.
8391         (cosh_downward_test_data): Likewise.
8392         (cosh_upward_test_data): Likewise.
8393         (cpow_test_data): Likewise.
8394         (cproj_test_data): Likewise.
8395         (creal_test_data): Likewise.
8396         (csin_test_data): Likewise.
8397         (csinh_test_data): Likewise.
8398         (csqrt_test_data): Likewise.
8399         (ctan_test_data): Likewise.
8400         (ctan_tonearest_test_data): Likewise.
8401         (ctan_towardzero_test_data): Likewise.
8402         (ctan_downward_test_data): Likewise.
8403         (ctan_upward_test_data): Likewise.
8404         (ctanh_test_data): Likewise.
8405         (ctanh_tonearest_test_data): Likewise.
8406         (ctanh_towardzero_test_data): Likewise.
8407         (ctanh_downward_test_data): Likewise.
8408         (ctanh_upward_test_data): Likewise.
8409         (erf_test_data): Likewise.
8410         (erfc_test_data): Likewise.
8411         (exp_test_data): Likewise.
8412         (exp_tonearest_test_data): Likewise.
8413         (exp_towardzero_test_data): Likewise.
8414         (exp_downward_test_data): Likewise.
8415         (exp_upward_test_data): Likewise.
8416         (exp10_test_data): Likewise.
8417         (exp2_test_data): Likewise.
8418         (expm1_test_data): Likewise.
8419         (fabs_test_data): Likewise.
8420         (fdim_test_data): Likewise.
8421         (finite_test_data): Likewise.
8422         (floor_test_data): Likewise.
8423         (fma_test_data): Likewise.
8424         (fma_towardzero_test_data): Likewise.
8425         (fma_downward_test_data): Likewise.
8426         (fma_upward_test_data): Likewise.
8427         (fmax_test_data): Likewise.
8428         (fmin_test_data): Likewise.
8429         (fmod_test_data): Likewise.
8430         (fpclassify_test_data): Likewise.
8431         (frexp_test_data): Likewise.
8432         (gamma_test_data): Likewise.
8433         (hypot_test_data): Likewise.
8434         (ilogb_test_data): Likewise.
8435         (isfinite_test_data): Likewise.
8436         (isgreater_test_data): Likewise.
8437         (isgreaterequal_test_data): Likewise.
8438         (isinf_test_data): Likewise.
8439         (isless_test_data): Likewise.
8440         (islessequal_test_data): Likewise.
8441         (islessgreater_test_data): Likewise.
8442         (isnan_test_data): Likewise.
8443         (isnormal_test_data): Likewise.
8444         (issignaling_test_data): Likewise.
8445         (isunordered_test_data): Likewise.
8446         (j0_test_data): Likewise.
8447         (j1_test_data): Likewise.
8448         (jn_test_data): Likewise.
8449         (ldexp_test_data): Likewise.
8450         (lgamma_test_data): Likewise.
8451         (lrint_test_data): Likewise.
8452         (lrint_tonearest_test_data): Likewise.
8453         (lrint_towardzero_test_data): Likewise.
8454         (lrint_downward_test_data): Likewise.
8455         (lrint_upward_test_data): Likewise.
8456         (llrint_test_data): Likewise.
8457         (llrint_tonearest_test_data): Likewise.
8458         (llrint_towardzero_test_data): Likewise.
8459         (llrint_downward_test_data): Likewise.
8460         (llrint_upward_test_data): Likewise.
8461         (log_test_data): Likewise.
8462         (log10_test_data): Likewise.
8463         (log1p_test_data): Likewise.
8464         (log2_test_data): Likewise.
8465         (logb_test_data): Likewise.
8466         (logb_downward_test_data): Likewise.
8467         (lround_test_data): Likewise.
8468         (llround_test_data): Likewise.
8469         (modf_test_data): Likewise.
8470         (nearbyint_test_data): Likewise.
8471         (nextafter_test_data): Likewise.
8472         (nexttoward_test_data): Likewise.
8473         (pow_test_data): Likewise.
8474         (pow_tonearest_test_data): Likewise.
8475         (pow_towardzero_test_data): Likewise.
8476         (pow_downward_test_data): Likewise.
8477         (pow_upward_test_data): Likewise.
8478         (remainder_test_data): Likewise.
8479         (remainder_tonearest_test_data): Likewise.
8480         (remainder_towardzero_test_data): Likewise.
8481         (remainder_downward_test_data): Likewise.
8482         (remainder_upward_test_data): Likewise.
8483         (remquo_test_data): Likewise.
8484         (rint_test_data): Likewise.
8485         (rint_tonearest_test_data): Likewise.
8486         (rint_towardzero_test_data): Likewise.
8487         (rint_downward_test_data): Likewise.
8488         (rint_upward_test_data): Likewise.
8489         (round_test_data): Likewise.
8490         (scalb_test_data): Likewise.
8491         (scalbn_test_data): Likewise.
8492         (scalbln_test_data): Likewise.
8493         (signbit_test_data): Likewise.
8494         (sin_test_data): Likewise.
8495         (sin_tonearest_test_data): Likewise.
8496         (sin_towardzero_test_data): Likewise.
8497         (sin_downward_test_data): Likewise.
8498         (sin_upward_test_data): Likewise.
8499         (sincos_test_data): Likewise.
8500         (sinh_test_data): Likewise.
8501         (sinh_tonearest_test_data): Likewise.
8502         (sinh_towardzero_test_data): Likewise.
8503         (sinh_downward_test_data): Likewise.
8504         (sinh_upward_test_data): Likewise.
8505         (sqrt_test_data): Likewise.
8506         (tan_test_data): Likewise.
8507         (tan_tonearest_test_data): Likewise.
8508         (tan_towardzero_test_data): Likewise.
8509         (tan_downward_test_data): Likewise.
8510         (tan_upward_test_data): Likewise.
8511         (tanh_test_data): Likewise.
8512         (tgamma_test_data): Likewise.
8513         (trunc_test_data): Likewise.
8514         (y0_test_data): Likewise.
8515         (y1_test_data): Likewise.
8516         (yn_test_data): Likewise.
8517         (significand_test_data): Likewise.
8518
8519         * math/gen-libm-test.pl (@functions): Remove variable.
8520         (generate_testfile): Don't handle START and END lines.
8521         * math/libm-test.inc (START): New macro.
8522         (END): Likewise.
8523         (END_COMPLEX): Likewise.
8524         (acos_test): Use END macro without arguments.
8525         (acos_test_tonearest): Likewise.
8526         (acos_test_towardzero): Likewise.
8527         (acos_test_downward): Likewise.
8528         (acos_test_upward): Likewise.
8529         (acosh_test): Likewise.
8530         (asin_test): Likewise.
8531         (asin_test_tonearest): Likewise.
8532         (asin_test_towardzero): Likewise.
8533         (asin_test_downward): Likewise.
8534         (asin_test_upward): Likewise.
8535         (asinh_test): Likewise.
8536         (atan_test): Likewise.
8537         (atanh_test): Likewise.
8538         (atan2_test): Likewise.
8539         (cabs_test): Likewise.
8540         (cacos_test): Use END_COMPLEX macro without arguments.
8541         (cacosh_test): Likewise.
8542         (carg_test): Use END macro without arguments.
8543         (casin_test): Use END_COMPLEX macro without arguments.
8544         (casinh_test): Likewise.
8545         (catan_test): Likewise.
8546         (catanh_test): Likewise.
8547         (cbrt_test): Use END macro without arguments.
8548         (ccos_test): Use END_COMPLEX macro without arguments.
8549         (ccosh_test): Likewise.
8550         (ceil_test): Use END macro without arguments.
8551         (cexp_test): Use END_COMPLEX macro without arguments.
8552         (cimag_test): Use END macro without arguments.
8553         (clog_test): Use END_COMPLEX macro without arguments.
8554         (clog10_test): Likewise.
8555         (conj_test): Likewise.
8556         (copysign_test): Use END macro without arguments.
8557         (cos_test): Likewise.
8558         (cos_test_tonearest): Likewise.
8559         (cos_test_towardzero): Likewise.
8560         (cos_test_downward): Likewise.
8561         (cos_test_upward): Likewise.
8562         (cosh_test): Likewise.
8563         (cosh_test_tonearest): Likewise.
8564         (cosh_test_towardzero): Likewise.
8565         (cosh_test_downward): Likewise.
8566         (cosh_test_upward): Likewise.
8567         (cpow_test): Use END_COMPLEX macro without arguments.
8568         (cproj_test): Likewise.
8569         (creal_test): Use END macro without arguments.
8570         (csin_test): Use END_COMPLEX macro without arguments.
8571         (csinh_test): Likewise.
8572         (csqrt_test): Likewise.
8573         (ctan_test): Likewise.
8574         (ctan_test_tonearest): Likewise.
8575         (ctan_test_towardzero): Likewise.
8576         (ctan_test_downward): Likewise.
8577         (ctan_test_upward): Likewise.
8578         (ctanh_test): Likewise.
8579         (ctanh_test_tonearest): Likewise.
8580         (ctanh_test_towardzero): Likewise.
8581         (ctanh_test_downward): Likewise.
8582         (ctanh_test_upward): Likewise.
8583         (erf_test): Use END macro without arguments.
8584         (erfc_test): Likewise.
8585         (exp_test): Likewise.
8586         (exp_test_tonearest): Likewise.
8587         (exp_test_towardzero): Likewise.
8588         (exp_test_downward): Likewise.
8589         (exp_test_upward): Likewise.
8590         (exp10_test): Likewise.
8591         (exp2_test): Likewise.
8592         (expm1_test): Likewise.
8593         (fabs_test): Likewise.
8594         (fdim_test): Likewise.
8595         (finite_test): Likewise.
8596         (floor_test): Likewise.
8597         (fma_test): Likewise.
8598         (fma_test_towardzero): Likewise.
8599         (fma_test_downward): Likewise.
8600         (fma_test_upward): Likewise.
8601         (fmax_test): Likewise.
8602         (fmin_test): Likewise.
8603         (fmod_test): Likewise.
8604         (fpclassify_test): Likewise.
8605         (frexp_test): Likewise.
8606         (gamma_test): Likewise.
8607         (hypot_test): Likewise.
8608         (ilogb_test): Likewise.
8609         (isfinite_test): Likewise.
8610         (isgreater_test): Likewise.
8611         (isgreaterequal_test): Likewise.
8612         (isinf_test): Likewise.
8613         (isless_test): Likewise.
8614         (islessequal_test): Likewise.
8615         (islessgreater_test): Likewise.
8616         (isnan_test): Likewise.
8617         (isnormal_test): Likewise.
8618         (issignaling_test): Likewise.
8619         (isunordered_test): Likewise.
8620         (j0_test): Likewise.
8621         (j1_test): Likewise.
8622         (jn_test): Likewise.
8623         (ldexp_test): Likewise.
8624         (lgamma_test): Likewise.
8625         (lrint_test): Likewise.
8626         (lrint_test_tonearest): Likewise.
8627         (lrint_test_towardzero): Likewise.
8628         (lrint_test_downward): Likewise.
8629         (lrint_test_upward): Likewise.
8630         (llrint_test): Likewise.
8631         (llrint_test_tonearest): Likewise.
8632         (llrint_test_towardzero): Likewise.
8633         (llrint_test_downward): Likewise.
8634         (llrint_test_upward): Likewise.
8635         (log_test): Likewise.
8636         (log10_test): Likewise.
8637         (log1p_test): Likewise.
8638         (log2_test): Likewise.
8639         (logb_test): Likewise.
8640         (logb_test_downward): Likewise.
8641         (lround_test): Likewise.
8642         (llround_test): Likewise.
8643         (modf_test): Likewise.
8644         (nearbyint_test): Likewise.
8645         (nextafter_test): Likewise.
8646         (nexttoward_test): Likewise.
8647         (pow_test): Likewise.
8648         (pow_test_tonearest): Likewise.
8649         (pow_test_towardzero): Likewise.
8650         (pow_test_downward): Likewise.
8651         (pow_test_upward): Likewise.
8652         (remainder_test): Likewise.
8653         (remainder_test_tonearest): Likewise.
8654         (remainder_test_towardzero): Likewise.
8655         (remainder_test_downward): Likewise.
8656         (remainder_test_upward): Likewise.
8657         (remquo_test): Likewise.
8658         (rint_test): Likewise.
8659         (rint_test_tonearest): Likewise.
8660         (rint_test_towardzero): Likewise.
8661         (rint_test_downward): Likewise.
8662         (rint_test_upward): Likewise.
8663         (round_test): Likewise.
8664         (scalb_test): Likewise.
8665         (scalbn_test): Likewise.
8666         (scalbln_test): Likewise.
8667         (signbit_test): Likewise.
8668         (sin_test): Likewise.
8669         (sin_test_tonearest): Likewise.
8670         (sin_test_towardzero): Likewise.
8671         (sin_test_downward): Likewise.
8672         (sin_test_upward): Likewise.
8673         (sincos_test): Likewise.
8674         (sinh_test): Likewise.
8675         (sinh_test_tonearest): Likewise.
8676         (sinh_test_towardzero): Likewise.
8677         (sinh_test_downward): Likewise.
8678         (sinh_test_upward): Likewise.
8679         (sqrt_test): Likewise.
8680         (tan_test): Likewise.
8681         (tan_test_tonearest): Likewise.
8682         (tan_test_towardzero): Likewise.
8683         (tan_test_downward): Likewise.
8684         (tan_test_upward): Likewise.
8685         (tanh_test): Likewise.
8686         (tgamma_test): Likewise.
8687         (trunc_test): Likewise.
8688         (y0_test): Likewise.
8689         (y1_test): Likewise.
8690         (yn_test): Likewise.
8691         (significand_test): Likewise.
8692
8693 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
8694
8695         [BZ #15381]
8696         * libio/genops.c (_IO_no_init): Initialize wide struct info.
8697
8698 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8699
8700         [BZ #14894]
8701         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8702         __ppc_mdoio and __ppc_mdoom.
8703         * manual/platform.texi: Document new functions __ppc_yield,
8704         __ppc_mdoio and __ppc_mdoom.
8705
8706 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
8707
8708         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8709         (main): Mention "tls" pseudo-hwcap is legacy.
8710         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8711
8712 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8713
8714         * math/gen-libm-test.pl (parse_args): Output only string of
8715         arguments as text for test name, not full call or descriptions of
8716         tests for extra outputs.
8717         (generate_testfile): Do not pass function name to parse_args.
8718         Generate this_func variable from START.
8719         * math/libm-test.inc (struct test_f_f_data): Rename test_name
8720         field to arg_str.
8721         (struct test_ff_f_data): Likewise.
8722         (test_ff_f_data_nexttoward): Likewise.
8723         (struct test_fi_f_data): Likewise.
8724         (struct test_fl_f_data): Likewise.
8725         (struct test_if_f_data): Likewise.
8726         (struct test_fff_f_data): Likewise.
8727         (struct test_c_f_data): Likewise.
8728         (struct test_f_f1_data): Likewise.  Remove field extra_name.
8729         (struct test_fF_f1_data): Likewise.
8730         (struct test_ffI_f1_data): Likewise.
8731         (struct test_c_c_data): Rename test_name field to arg_str.
8732         (struct test_cc_c_data): Likewise.
8733         (struct test_f_i_data): Likewise.
8734         (struct test_ff_i_data): Likewise.
8735         (struct test_f_l_data): Likewise.
8736         (struct test_f_L_data): Likewise.
8737         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
8738         and extra2_name.
8739         (COMMON_TEST_SETUP): New macro.
8740         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8741         (COMMON_TEST_CLEANUP): Likewise.
8742         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8743         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
8744         macros.
8745         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8746         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
8747         macros.
8748         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8749         (RUN_TEST_fff_f): Take argument string.  Call new setup and
8750         cleanup macros.
8751         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8752         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
8753         macros.
8754         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8755         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
8756         macros.
8757         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8758         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
8759         cleanup macros.
8760         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8761         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
8762         cleanup macros.
8763         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8764         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
8765         cleanup macros.
8766         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8767         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
8768         macros.
8769         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8770         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
8771         macros.
8772         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8773         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
8774         macros.
8775         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8776         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
8777         cleanup macros.
8778         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8779         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
8780         cleanup macros.
8781         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8782         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
8783         macros.
8784         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8785         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
8786         cleanup macros.
8787         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8788         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
8789         macros.
8790         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8791         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
8792         macros.
8793         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8794         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
8795         cleanup macros.
8796         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8797
8798 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
8799
8800         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8801         to _sifields.sigfault.
8802         (si_addr_lsb): Define new macro.
8803         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8804         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8805         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8806
8807 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
8808
8809         [BZ #15441]
8810         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8811         returns -1.
8812         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8813         null return -1.
8814         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8815         loading the domain.
8816
8817 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8818
8819         * math/gen-libm-test.pl (parse_args): Do not include expected
8820         result in test name.
8821         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8822         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8823         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8824         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8825         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8827
8828 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8829
8830         * benchtests/Makefile: Sort function entries.
8831
8832         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8833         tanh, asinh, acosh, atanh.
8834         * benchtests/acos-inputs: New file.
8835         * benchtests/acosh-inputs: New file.
8836         * benchtests/asin-inputs: New file.
8837         * benchtests/asinh-inputs: New file.
8838         * benchtests/atanh-inputs: New file.
8839         * benchtests/cosh-inputs: New file.
8840         * benchtests/log-inputs: New file.
8841         * benchtests/sinh-inputs: New file.
8842         * benchtests/tanh-inputs: New file.
8843
8844 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
8845
8846         [BZ #15339]
8847         * posix/tst-getaddrinfo4.c: New test.
8848         * posix/Makefile (tests): Add it.
8849
8850 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8851
8852         [BZ #15339]
8853         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8854         when no services were used.
8855         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8856         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8857
8858 2013-05-21  Andreas Schwab  <schwab@suse.de>
8859
8860         [BZ #15014]
8861         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8862         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8863         successful.
8864         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8865         redundant variable declarations and reallocation of buffer when
8866         parsing as IPv6 address.  Always set NSS status when called from
8867         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
8868         buffer too small.  Correct computation of needed size.
8869         * nss/Makefile (tests): Add test-digits-dots.
8870         * nss/test-digits-dots.c: New test.
8871
8872 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8873
8874         * benchtests/Makefile: Remove instructions for adding
8875         benchmark tests.
8876         * benchtests/README: New file to explain how to execute and
8877         enhance the benchmark tests.
8878
8879 2013-05-21  Andreas Schwab  <schwab@suse.de>
8880
8881         [BZ #15493]
8882         * setjmp/Makefile (tests): Add tst-sigsetjmp.
8883         * setjmp/tst-sigsetjmp.c: New test.
8884
8885 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8886
8887         * sysdeps/x86_64/memset.S (memset): New implementation.
8888         (__bzero): Likewise.
8889         (__memset_tail): New function.
8890
8891 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8892
8893         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8894         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8895         __memcpy_sse2_unaligned ifunc selection.
8896         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8897         Add memcpy-sse2-unaligned.S.
8898         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8899         Add: __memcpy_sse2_unaligned.
8900
8901 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
8902
8903         [BZ #15490]
8904         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8905         math_force_eval before restoring floating-point envrionment.
8906         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8907         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8908         Likewise.
8909         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8910         <math_private.h>.
8911         (__nearbyintl): Use math_force_eval before restoring
8912         floating-point environment.
8913         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8914
8915         * math/gen-libm-test.pl (special_functions): Remove.
8916         (parse_args): Don't handle TEST_extra.  Handle functions with no
8917         return value.
8918         * math/libm-test.inc (struct test_sincos_data): Replace with
8919         struct test_fFF_11_data.
8920         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8921         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8922         (sincos_test_data): Change element type to struct
8923         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
8924         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8925         RUN_TEST_LOOP_sincos.
8926         * math/README.libm-test: Don't mention special handling of
8927         individual functions.
8928         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8929         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8930         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8931         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8932         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8934
8935         * math/gen-libm-test.pl (get_variable): Remove function.
8936         (parse_args): Don't show pointer parameters to call in test
8937         names.  Use "extra output N" in test names for extra outputs
8938         rather than naming variables.
8939
8940 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
8941
8942         [BZ #15488]
8943         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8944         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8945         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8946         double tests.
8947         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8948         disable.
8949         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8950         check_long_double.
8951
8952         * math/gen-libm-test.pl (@tests): Remove variable.
8953         ($count): Likewise.
8954         (new_test): Remove function.
8955         (show_exceptions): New function.
8956         (special_functions): Use show_exceptions instead of new_test.
8957         (parse_args): Likewise.
8958         (generate_testfile): Pass only function name in generated call to
8959         print_max_error or print_complex_max_error.
8960         (get_ulps): Do not handle complex tests specially.
8961         (output_test): Rename to ...
8962         (get_all_ulps_for_test): ... this.  Return a string rather than
8963         printing to a file.  Require ulps to be present.
8964         (output_ulps): Generate arrays rather than #defines.
8965         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8966         (struct ulp_data): New type.
8967         (BUILD_COMPLEX_ULP): Remove macro.
8968         (compare_ulp_data): New function.
8969         (find_ulps): Likewise.
8970         (find_test_ulps): Likewise.
8971         (find_function_ulps): Likewise.
8972         (find_complex_function_ulps): Likewise.
8973         (print_max_error): Determine allowed ulps using
8974         find_function_ulps.
8975         (print_complex_max_error): Determine allowed ulps using
8976         find_complex_function_ulps.
8977         (check_float_internal): Determine max ulps using find_test_ulps.
8978         (check_float): Do not take max_ulp parameter.  Update call to
8979         check_float_internal.
8980         (check_complex): Likewise.
8981         (check_int): Do not take max_ulp parameter.
8982         (check_long): Likewise.
8983         (check_bool): Likewise.
8984         (check_longlong): Likewise.
8985         (struct test_f_f_data): Remove max_ulp field.
8986         (struct test_ff_f_data): Likewise.
8987         (struct test_ff_f_data_nexttoward): Likewise.
8988         (struct test_fi_f_data): Likewise.
8989         (struct test_fl_f_data): Likewise.
8990         (struct test_if_f_data): Likewise.
8991         (struct test_fff_f_data): Likewise.
8992         (struct test_c_f_data): Likewise.
8993         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8994         (struct test_fF_f1_data): Likewise.
8995         (struct test_ffI_f1_data): Likewise.
8996         (struct test_c_c_data): Remove max_ulp field.
8997         (struct test_cc_c_data): Likewise.
8998         (struct test_f_i_data): Likewise.
8999         (struct test_ff_i_data): Likewise.
9000         (struct test_f_l_data): Likewise.
9001         (struct test_f_L_data): Likewise.
9002         (struct test_sincos_data): Likewise.
9003         (RUN_TEST_f_f): Do not handle ulps.
9004         (RUN_TEST_LOOP_f_f): Likewise.
9005         (RUN_TEST_2_f): Likewise.
9006         (RUN_TEST_LOOP_2_f): Likewise.
9007         (RUN_TEST_fff_f): Likewise.
9008         (RUN_TEST_LOOP_fff_f): Likewise.
9009         (RUN_TEST_c_f): Likewise.
9010         (RUN_TEST_LOOP_c_f): Likewise.
9011         (RUN_TEST_f_f1): Likewise.
9012         (RUN_TEST_LOOP_f_f1): Likewise.
9013         (RUN_TEST_fF_f1): Likewise.
9014         (RUN_TEST_LOOP_fF_f1): Likewise.
9015         (RUN_TEST_fI_f1): Likewise.
9016         (RUN_TEST_LOOP_fI_f1): Likewise.
9017         (RUN_TEST_ffI_f1): Likewise.
9018         (RUN_TEST_LOOP_ffI_f1): Likewise.
9019         (RUN_TEST_c_c): Likewise.
9020         (RUN_TEST_LOOP_c_c): Likewise.
9021         (RUN_TEST_cc_c): Likewise.
9022         (RUN_TEST_LOOP_cc_c): Likewise.
9023         (RUN_TEST_f_i): Likewise.
9024         (RUN_TEST_LOOP_f_i): Likewise.
9025         (RUN_TEST_f_i_tg): Likewise.
9026         (RUN_TEST_LOOP_f_i_tg): Likewise.
9027         (RUN_TEST_ff_i_tg): Likewise.
9028         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9029         (RUN_TEST_f_b): Likewise.
9030         (RUN_TEST_LOOP_f_b): Likewise.
9031         (RUN_TEST_f_b_tg): Likewise.
9032         (RUN_TEST_LOOP_f_b_tg): Likewise.
9033         (RUN_TEST_f_l): Likewise.
9034         (RUN_TEST_LOOP_f_l): Likewise.
9035         (RUN_TEST_f_L): Likewise.
9036         (RUN_TEST_LOOP_f_L): Likewise.
9037         (RUN_TEST_sincos): Likewise.
9038         (RUN_TEST_LOOP_sincos): Likewise.
9039
9040 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
9041
9042         [BZ #15480]
9043         [BZ #15485]
9044         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9045         main case of finite arguments, set rounding mode to FE_TONEAREST
9046         and discard exceptions.
9047         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9048         exceptions.
9049         (remainder_tonearest_test_data): New variable.
9050         (remainder_test_tonearest): New function.
9051         (remainder_towardzero_test_data): New variable.
9052         (remainder_test_towardzero): New function.
9053         (remainder_downward_test_data): New variable.
9054         (remainder_test_downward): New function.
9055         (remainder_upward_test_data): New variable.
9056         (remainder_test_upward): New function.
9057         (main): Call the new test functions.
9058
9059         * math/libm-test.inc (struct test_f_f1_data): Remove field
9060         extra_init.
9061         (struct test_fF_f1_data): Likewise.
9062         (struct test_ffI_f1_data): Likewise.
9063         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
9064         based on value of EXTRA_EXPECTED.
9065         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9066         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
9067         EXTRA_VAR based on value of EXTRA_EXPECTED.
9068         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9069         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
9070         EXTRA_VAR based on value of EXTRA_EXPECTED.
9071         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9072         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
9073         EXTRA_VAR based on value of EXTRA_EXPECTED.
9074         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9075         * math/gen-libm-test.pl (parse_args): Don't output initializers
9076         for extra output values.
9077
9078         * math/libm-test.inc (check_int): Expect result to be exactly
9079         equal to expected value and do not handle ulps.
9080         (check_long): Likewise.
9081         (check_longlong): Likewise.
9082
9083         * math/libm-test.inc (ceil_test_data): Test for "inexact"
9084         exceptions.
9085         (cimag_test_data): Likewise.
9086         (conj_test_data): Likewise.
9087         (copysign_test_data): Likewise.
9088         (cproj_test_data): Likewise.
9089         (creal_test_data): Likewise.
9090         (fabs_test_data): Likewise.
9091         (fdim_test_data): Likewise.
9092         (finite_test_data): Likewise.
9093         (floor_test_data): Likewise.
9094         (fmax_test_data): Likewise.
9095         (fmin_test_data): Likewise.
9096         (fmod_test_data): Likewise.
9097         (fpclassify_test_data): Likewise.
9098         (frexp_test_data): Likewise.
9099         (ilogb_test_data): Likewise.
9100         (isfinite_test_data): Likewise.
9101         (isgreater_test_data): Likewise.
9102         (isgreaterequal_test_data): Likewise.
9103         (isinf_test_data): Likewise.
9104         (isless_test_data): Likewise.
9105         (islessequal_test_data): Likewise.
9106         (islessgreater_test_data): Likewise.
9107         (isnan_test_data): Likewise.
9108         (isnormal_test_data): Likewise.
9109         (issignaling_test_data): Likewise.
9110         (isunordered_test_data): Likewise.
9111         (ldexp_test_data): Likewise.
9112         (lrint_test_data): Likewise.
9113         (lrint_test_data) [TEST_FLOAT]: Disable one test.
9114         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9115         (lrint_tonearest_test_data): Test for "inexact" exceptions.
9116         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9117         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9118         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9119         test input.
9120         (lrint_towardzero_test_data): Test for "inexact" exceptions.
9121         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9122         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9123         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9124         that test input.
9125         (lrint_downward_test_data): Test for "inexact" exceptions.
9126         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9127         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9128         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9129         test input.
9130         (lrint_upward_test_data): Test for "inexact" exceptions.
9131         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9132         test input.
9133         (llrint_test_data): Test for "inexact" exceptions.
9134         (llrint_test_data) [TEST_FLOAT]: Disable one test.
9135         (llrint_tonearest_test_data): Test for "inexact" exceptions.
9136         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9137         (llrint_towardzero_test_data): Test for "inexact" exceptions.
9138         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9139         (llrint_downward_test_data): Test for "inexact" exceptions.
9140         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9141         (llrint_upward_test_data): Test for "inexact" exceptions.
9142         (logb_test_data): Likewise.
9143         (logb_downward_test_data): Likewise.
9144         (nextafter_test_data): Likewise.
9145         (nexttoward_test_data): Likewise.
9146         (remainder_test_data): Likewise.
9147         (remquo_test_data): Likewise.
9148         (scalbn_test_data): Likewise.
9149         (scalbln_test_data): Likewise.
9150         (signbit_test_data): Likewise.
9151         (sqrt_test_data): Likewise.
9152         (significand_test_data): Likewise.
9153
9154 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9155
9156         [BZ #15424]
9157         * benchtests/bench-modf.c (struct args): Mark arg0 as
9158         volatile.
9159         * scripts/bench.pl: Mark members of struct args as volatile.
9160
9161 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9162
9163         [BZ # 15497]
9164         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9165         negative infinity on POWER6 or lower.
9166         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9167
9168 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
9169
9170         [BZ #15442]
9171         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9172         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9173         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9174         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9175         (_FP_SETQNAN): New macro.
9176         (_FP_SETQNAN_SEMIRAW): Likewise.
9177         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9178         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9179         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9180         (FP_EXTEND): Use _FP_FRAC_SNANP.
9181         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9182         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9183         into account.
9184         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9185         New macro.
9186         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9187         Likewise.
9188
9189 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9190
9191         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9192         with DIVIDE_BY_ZERO_EXCEPTION.
9193         (gamma_test_data): Likewise.
9194         (lgamma_test_data): Likewise.
9195         (log_test_data): Likewise.
9196         (log10_test_data): Likewise.
9197         (log2_test_data): Likewise.
9198         (tgamma_test_data): Likewise.
9199
9200         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9201         (acos_test_tonearest): Likewise.
9202         (acos_test_towardzero): Likewise.
9203         (acos_test_downward): Likewise.
9204         (acos_test_upward): Likewise.
9205         (acosh_test): Likewise.
9206         (asin_test): Likewise.
9207         (asin_test_tonearest): Likewise.
9208         (asin_test_towardzero): Likewise.
9209         (asin_test_downward): Likewise.
9210         (asin_test_upward): Likewise.
9211         (asinh_test): Likewise.
9212         (atan_test): Likewise.
9213         (atanh_test): Likewise.
9214         (atan2_test): Likewise.
9215         (cabs_test): Likewise.
9216         (cacos_test): Likewise.
9217         (cacosh_test): Likewise.
9218         (casin_test): Likewise.
9219         (casinh_test): Likewise.
9220         (catan_test): Likewise.
9221         (catanh_test): Likewise.
9222         (cbrt_test): Likewise.
9223         (ccos_test): Likewise.
9224         (ccosh_test): Likewise.
9225         (cexp_test): Likewise.
9226         (clog_test): Likewise.
9227         (clog10_test): Likewise.
9228         (cos_test): Likewise.
9229         (cos_test_tonearest): Likewise.
9230         (cos_test_towardzero): Likewise.
9231         (cos_test_downward): Likewise.
9232         (cos_test_upward): Likewise.
9233         (cosh_test): Likewise.
9234         (cosh_test_tonearest): Likewise.
9235         (cosh_test_towardzero): Likewise.
9236         (cosh_test_downward): Likewise.
9237         (cosh_test_upward): Likewise.
9238         (cpow_test): Likewise.
9239         (csin_test): Likewise.
9240         (csinh_test): Likewise.
9241         (csqrt_test): Likewise.
9242         (ctan_test): Likewise.
9243         (ctan_test_tonearest): Likewise.
9244         (ctan_test_towardzero): Likewise.
9245         (ctan_test_downward): Likewise.
9246         (ctan_test_upward): Likewise.
9247         (ctanh_test): Likewise.
9248         (ctanh_test_tonearest): Likewise.
9249         (ctanh_test_towardzero): Likewise.
9250         (ctanh_test_downward): Likewise.
9251         (ctanh_test_upward): Likewise.
9252         (erf_test): Likewise.
9253         (erfc_test): Likewise.
9254         (exp_test): Likewise.
9255         (exp_test_tonearest): Likewise.
9256         (exp_test_towardzero): Likewise.
9257         (exp_test_downward): Likewise.
9258         (exp_test_upward): Likewise.
9259         (exp10_test): Likewise.
9260         (exp2_test): Likewise.
9261         (expm1_test): Likewise.
9262         (fmod_test): Likewise.
9263         (gamma_test): Likewise.
9264         (hypot_test): Likewise.
9265         (j0_test): Likewise.
9266         (j1_test): Likewise.
9267         (jn_test): Likewise.
9268         (lgamma_test): Likewise.
9269         (log_test): Likewise.
9270         (log10_test): Likewise.
9271         (log1p_test): Likewise.
9272         (log2_test): Likewise.
9273         (logb_test_downward): Likewise.
9274         (pow_test): Likewise.
9275         (pow_test_tonearest): Likewise.
9276         (pow_test_towardzero): Likewise.
9277         (pow_test_downward): Likewise.
9278         (pow_test_upward): Likewise.
9279         (remainder_test): Likewise.
9280         (remquo_test): Likewise.
9281         (sin_test): Likewise.
9282         (sin_test_tonearest): Likewise.
9283         (sin_test_towardzero): Likewise.
9284         (sin_test_downward): Likewise.
9285         (sin_test_upward): Likewise.
9286         (sincos_test): Likewise.
9287         (sinh_test): Likewise.
9288         (sinh_test_tonearest): Likewise.
9289         (sinh_test_towardzero): Likewise.
9290         (sinh_test_downward): Likewise.
9291         (sinh_test_upward): Likewise.
9292         (sqrt_test): Likewise.
9293         (tan_test): Likewise.
9294         (tan_test_tonearest): Likewise.
9295         (tan_test_towardzero): Likewise.
9296         (tan_test_downward): Likewise.
9297         (tan_test_upward): Likewise.
9298         (tanh_test): Likewise.
9299         (tgamma_test): Likewise.
9300         (y0_test): Likewise.
9301         (y1_test): Likewise.
9302         (yn_test): Likewise.
9303
9304         * math/gen-libm-test.pl (adjust_arg): Remove function.
9305         (special_function): Remove argument $in_func.  Only handle
9306         generating output for tables of tests, not inside functions.
9307         (parse_args): Likewise.
9308         (generate_testfile): Remove variable $in_func.  Update call to
9309         parse_args.
9310         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9311         (MINUS_ZERO_INIT): Rename macro to minus_zero.
9312         (PLUS_INFTY_INIT): Rename macro to plus_infty.
9313         (MINUS_INFTY_INIT): Rename macro to minus_infty.
9314         (QNAN_VALUE_INIT): Rename macro to qnan_value.
9315         (MAX_VALUE_INIT): Rename macro to max_value.
9316         (MIN_VALUE_INIT): Rename macro to min_value.
9317         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9318         (plus_zero): Remove variable.
9319         (minus_zero): Likewise.
9320         (plus_infty): Likewise.
9321         (minus_infty): Likewise.
9322         (qnan_value): Likewise.
9323         (max_value): Likewise.
9324         (min_value): Likewise.
9325         (min_subnorm_value): Likewise.
9326
9327 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9328
9329         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9330         uint64_t or uint32_t usage.
9331         * crypt/sha256-block.c: Likewise.
9332         * crypt/sha256-crypt.c: Likewise.
9333         * crypt/sha256.c: Likewise.
9334         * crypt/sha512-block.c: Likewise.
9335         * crypt/sha512-crypt.c: Likewise.
9336         * crypt/sha512.c: Likewise.
9337         * debug/backtrace-tst.c: Likewise.
9338         * debug/pcprofiledump.c: Likewise.
9339         * elf/cache.c: Likewise.
9340         * elf/dl-cache.c: Likewise.
9341         * elf/dl-misc.c: Likewise.
9342         * elf/dl-profile.c: Likewise.
9343         * elf/dl-support.c: Likewise.
9344         * elf/ldconfig.c: Likewise.
9345         * elf/sprof.c: Likewise.
9346         * iconv/dummy-repertoire.c: Likewise.
9347         * iconv/iconv_charmap.c: Likewise.
9348         * iconv/skeleton.c: Likewise.
9349         * iconvdata/8bit-generic.c: Likewise.
9350         * iconvdata/cp737.h: Likewise.
9351         * iconvdata/cp775.h: Likewise.
9352         * iconvdata/ibm1008.h: Likewise.
9353         * iconvdata/ibm1025.h: Likewise.
9354         * iconvdata/ibm1046.h: Likewise.
9355         * iconvdata/ibm1097.h: Likewise.
9356         * iconvdata/ibm1112.h: Likewise.
9357         * iconvdata/ibm1122.h: Likewise.
9358         * iconvdata/ibm1123.h: Likewise.
9359         * iconvdata/ibm1124.h: Likewise.
9360         * iconvdata/ibm1129.h: Likewise.
9361         * iconvdata/ibm1130.h: Likewise.
9362         * iconvdata/ibm1132.h: Likewise.
9363         * iconvdata/ibm1133.h: Likewise.
9364         * iconvdata/ibm1137.h: Likewise.
9365         * iconvdata/ibm1140.h: Likewise.
9366         * iconvdata/ibm1141.h: Likewise.
9367         * iconvdata/ibm1142.h: Likewise.
9368         * iconvdata/ibm1143.h: Likewise.
9369         * iconvdata/ibm1144.h: Likewise.
9370         * iconvdata/ibm1145.h: Likewise.
9371         * iconvdata/ibm1146.h: Likewise.
9372         * iconvdata/ibm1147.h: Likewise.
9373         * iconvdata/ibm1148.h: Likewise.
9374         * iconvdata/ibm1149.h: Likewise.
9375         * iconvdata/ibm1153.h: Likewise.
9376         * iconvdata/ibm1154.h: Likewise.
9377         * iconvdata/ibm1155.h: Likewise.
9378         * iconvdata/ibm1156.h: Likewise.
9379         * iconvdata/ibm1157.h: Likewise.
9380         * iconvdata/ibm1158.h: Likewise.
9381         * iconvdata/ibm1160.h: Likewise.
9382         * iconvdata/ibm1161.h: Likewise.
9383         * iconvdata/ibm1162.h: Likewise.
9384         * iconvdata/ibm1163.h: Likewise.
9385         * iconvdata/ibm1164.h: Likewise.
9386         * iconvdata/ibm1166.h: Likewise.
9387         * iconvdata/ibm1167.h: Likewise.
9388         * iconvdata/ibm12712.h: Likewise.
9389         * iconvdata/ibm1390.h: Likewise.
9390         * iconvdata/ibm1399.h: Likewise.
9391         * iconvdata/ibm16804.h: Likewise.
9392         * iconvdata/ibm4517.h: Likewise.
9393         * iconvdata/ibm4899.h: Likewise.
9394         * iconvdata/ibm4909.h: Likewise.
9395         * iconvdata/ibm4971.h: Likewise.
9396         * iconvdata/ibm5347.h: Likewise.
9397         * iconvdata/ibm803.h: Likewise.
9398         * iconvdata/ibm856.h: Likewise.
9399         * iconvdata/ibm901.h: Likewise.
9400         * iconvdata/ibm902.h: Likewise.
9401         * iconvdata/ibm9030.h: Likewise.
9402         * iconvdata/ibm9066.h: Likewise.
9403         * iconvdata/ibm921.h: Likewise.
9404         * iconvdata/ibm922.h: Likewise.
9405         * iconvdata/ibm9448.h: Likewise.
9406         * iconvdata/isiri-3342.h: Likewise.
9407         * iconvdata/jis0201.h: Likewise.
9408         * include/link.h: Likewise.
9409         * include/netdb.h: Likewise.
9410         * inet/check_native.c: Likewise.
9411         * inet/check_pf.c: Likewise.
9412         * inet/getipv4sourcefilter.c: Likewise.
9413         * inet/getnameinfo.c: Likewise.
9414         * inet/getsourcefilter.c: Likewise.
9415         * inet/htonl.c: Likewise.
9416         * inet/setipv4sourcefilter.c: Likewise.
9417         * inet/setsourcefilter.c: Likewise.
9418         * inet/test-inet6_opt.c: Likewise.
9419         * inet/tst-network.c: Likewise.
9420         * locale/C-collate.c: Likewise.
9421         * locale/C-ctype.c: Likewise.
9422         * locale/C-time.c: Likewise.
9423         * locale/C-translit.h: Likewise.
9424         * locale/loadarchive.c: Likewise.
9425         * locale/programs/3level.h: Likewise.
9426         * locale/programs/charmap.c: Likewise.
9427         * locale/programs/charmap.h: Likewise.
9428         * locale/programs/ld-address.c: Likewise.
9429         * locale/programs/ld-collate.c: Likewise.
9430         * locale/programs/ld-ctype.c: Likewise.
9431         * locale/programs/ld-identification.c: Likewise.
9432         * locale/programs/ld-measurement.c: Likewise.
9433         * locale/programs/ld-messages.c: Likewise.
9434         * locale/programs/ld-monetary.c: Likewise.
9435         * locale/programs/ld-name.c: Likewise.
9436         * locale/programs/ld-numeric.c: Likewise.
9437         * locale/programs/ld-paper.c: Likewise.
9438         * locale/programs/ld-telephone.c: Likewise.
9439         * locale/programs/ld-time.c: Likewise.
9440         * locale/programs/linereader.c: Likewise.
9441         * locale/programs/locale.c: Likewise.
9442         * locale/programs/locarchive.c: Likewise.
9443         * locale/programs/locfile.h: Likewise.
9444         * locale/programs/repertoire.c: Likewise.
9445         * locale/programs/simple-hash.c: Likewise.
9446         * locale/programs/simple-hash.h: Likewise.
9447         * malloc/memusage.c: Likewise.
9448         * malloc/memusagestat.c: Likewise.
9449         * nis/nis_defaults.c: Likewise.
9450         * nis/nis_hash.c: Likewise.
9451         * nis/nis_print.c: Likewise.
9452         * nis/nis_xdr.c: Likewise.
9453         * nscd/connections.c: Likewise.
9454         * nscd/hstcache.c: Likewise.
9455         * nscd/nscd_gethst_r.c: Likewise.
9456         * nscd/nscd_getserv_r.c: Likewise.
9457         * nscd/nscd_helper.c: Likewise.
9458         * nscd/servicescache.c: Likewise.
9459         * nss/makedb.c: Likewise.
9460         * nss/nss_db/db-XXX.c: Likewise.
9461         * nss/nss_db/db-initgroups.c: Likewise.
9462         * nss/nss_db/db-netgrp.c: Likewise.
9463         * nss/nss_files/files-network.c: Likewise.
9464         * nss/nss_files/files-parse.c: Likewise.
9465         * posix/bug-regex5.c: Likewise.
9466         * posix/fnmatch_loop.c: Likewise.
9467         * posix/regcomp.c: Likewise.
9468         * posix/regexec.c: Likewise.
9469         * posix/tst-rfc3484-2.c: Likewise.
9470         * posix/tst-rfc3484-3.c: Likewise.
9471         * posix/tst-rfc3484.c: Likewise.
9472         * resolv/nss_dns/dns-canon.c: Likewise.
9473         * resolv/nss_dns/dns-network.c: Likewise.
9474         * resolv/res_init.c: Likewise.
9475         * resolv/res_mkquery.c: Likewise.
9476         * resolv/tst-aton.c: Likewise.
9477         * stdlib/cxa_atexit.c: Likewise.
9478         * stdlib/cxa_finalize.c: Likewise.
9479         * stdlib/gen-fpioconst.c: Likewise.
9480         * stdlib/strtol_l.c: Likewise.
9481         * string/tst-endian.c: Likewise.
9482         * sunrpc/auth_des.c: Likewise.
9483         * sunrpc/clnt_udp.c: Likewise.
9484         * sunrpc/rtime.c: Likewise.
9485         * sunrpc/svcauth_des.c: Likewise.
9486         * sunrpc/xdr.c: Likewise.
9487         * sunrpc/xdr_intXX_t.c: Likewise.
9488         * sunrpc/xdr_rec.c: Likewise.
9489         * sysdeps/generic/ldconfig.h: Likewise.
9490         * sysdeps/generic/ldsodefs.h: Likewise.
9491         * sysdeps/generic/memusage.h: Likewise.
9492         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9493         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9494         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9495         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9496         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9497         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9498         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9499         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9500         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9501         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9502         * sysdeps/posix/getaddrinfo.c: Likewise.
9503         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9504         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9505         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9506         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9507         * sysdeps/powerpc/test-gettimebase.c: Likewise.
9508         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9509         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9510         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9511         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9512         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9513         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9514         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9515         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9516         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9517         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9518         * sysdeps/x86_64/dl-tls.h: Likewise.
9519         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9520         * time/alt_digit.c: Likewise.
9521         * time/era.c: Likewise.
9522         * wcsmbs/tst-c16c32-1.c: Likewise.
9523
9524 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9525
9526         * math/libm-test.inc (struct test_sincos_data): New type.
9527         (RUN_TEST_LOOP_sincos): New macro.
9528         (sincos_test_data): New variable.
9529         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9530
9531 2013-05-16  Richard Henderson  <rth@redhat.com>
9532
9533         * math/atest-exp2.c (LIMB64): New macro.
9534         (CONSTSZ): New macro.
9535         (mp_exp1, mp_exp_m1, mp_log2): New variables.
9536         (hexdig): Move ...
9537         (print_mpn_fp): ... to function scope.
9538         (read_mpn_hex): Remove.
9539         (get_log2): Remove.
9540         (exp2_mpn): Use mp_log2.
9541         (main): Use mp_exp1.
9542
9543 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9544
9545         * math/libm-test.inc: Remove comment about not testing "inexact"
9546         exceptions.
9547         (INEXACT_EXCEPTION): New macro.
9548         (NO_INEXACT_EXCEPTION): Likewise.
9549         (INVALID_EXCEPTION_OK): Update value.
9550         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9551         (OVERFLOW_EXCEPTION_OK): Likewise.
9552         (UNDERFLOW_EXCEPTION_OK): Likewise.
9553         (IGNORE_ZERO_INF_SIGN): Likewise.
9554         (ERRNO_UNCHANGED): Likewise.
9555         (ERRNO_EDOM): Likewise.
9556         (ERRNO_ERANGE): Likewise.
9557         (test_exceptions): Handle testing "inexact" exceptions.
9558         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9559         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9560         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9561         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9562         INEXACT_EXCEPTION.
9563         (rint_towardzero_test_data): Likewise.
9564         (rint_downward_test_data): Likewise.
9565         (rint_upward_test_data): Likewise.
9566
9567         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9568         with OVERFLOW_EXCEPTION.
9569         (exp10_test_data): Likewise.
9570         (exp2_test_data): Likewise.
9571         (expm1_test_data): Likewise.
9572         (lgamma_test_data): Likewise.
9573         (pow_test_data): Likewise.
9574         (tgamma_test_data): Likewise.
9575         (yn_test_data): Remove duplicate test of overflow.
9576
9577         * math/libm-test.inc (struct test_cc_c_data): New type.
9578         (RUN_TEST_LOOP_cc_c): New macro.
9579         (cpow_test_data): New variable.
9580         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9581
9582         * math/libm-test.inc (struct test_f_L_data): New type.
9583         (RUN_TEST_LOOP_f_L): New macro.
9584         (llrint_test_data): New variable.
9585         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9586         (llrint_tonearest_test_data): New variable.
9587         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9588         (llrint_towardzero_test_data): New variable.
9589         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9590         (llrint_downward_test_data): New variable.
9591         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9592         (llrint_upward_test_data): New variable.
9593         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9594         (llround_test_data): New variable.
9595         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9596
9597 2013-05-13  Peter Collingbourne  <pcc@google.com>
9598
9599         * math/atest-exp2.c (get_log2): Remove const attribute.
9600
9601 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9602
9603         * math/libm-test.inc (struct test_f_l_data): New type.
9604         (RUN_TEST_LOOP_f_l): New macro.
9605         (lrint_test_data): New variable.
9606         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9607         (lrint_tonearest_test_data): New variable.
9608         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9609         (lrint_towardzero_test_data): New variable.
9610         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9611         (lrint_downward_test_data): New variable.
9612         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9613         (lrint_upward_test_data): New variable.
9614         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9615         (lround_test_data): New variable.
9616         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9617
9618 2013-05-15  Peter Collingbourne  <pcc@google.com>
9619
9620         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9621         (EXTRACT_WORDS64) Use where appropriate.
9622         (INSERT_WORDS64) Likewise.
9623
9624         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9625         constraints with x constraints.
9626         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9627
9628         * malloc/obstack.c (_obstack_compat): Add initializer.
9629
9630 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9631
9632         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9633         si_trapno and add si_addr_lsb to _sifields.sigfault.
9634         (si_trapno): Remove macro.
9635         (si_addr_lsb): Define new macro.
9636         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9637
9638 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9639
9640         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9641         instead of TEST_f_l.
9642         (llrint_test_tonearest): Likewise.
9643         (llrint_test_towardzero): Likewise.
9644         (llrint_test_downward): Likewise.
9645         (llrint_test_upward): Likewise.
9646         (llround_test): Likewise.
9647
9648         * math/libm-test.inc (struct test_f_i_data): Add comment.
9649         (RUN_TEST_LOOP_f_b): New macro.
9650         (RUN_TEST_LOOP_f_b_tg): Likewise.
9651         (finite_test_data): New variable.
9652         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9653         (isfinite_test_data): New variable.
9654         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9655         (isinf_test_data): New variable.
9656         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9657         (isnan_test_data): New variable.
9658         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9659         (isnormal_test_data): New variable.
9660         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9661         (issignaling_test_data): New variable.
9662         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9663         (signbit_test_data): New variable.
9664         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9665
9666         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9667         with INVALID_EXCEPTION.
9668         (acosh_test_data): Likewise.
9669         (asin_test_data): Likewise.
9670         (atanh_test_data): Likewise.
9671         (fmod_test_data): Likewise.
9672         (log_test_data): Likewise.
9673         (log10_test_data): Likewise.
9674         (log2_test_data): Likewise.
9675         (pow_test_data): Likewise.
9676         (sqrt_test_data): Likewise.
9677         (y0_test_data): Likewise.
9678         (y1_test_data): Likewise.
9679         (yn_test_data): Likewise.
9680
9681         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9682         function contents.
9683
9684         * math/libm-test.inc (struct test_ff_i_data): New type.
9685         (RUN_TEST_LOOP_ff_i_tg): New macro.
9686         (isgreater_test_data): New variable.
9687         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9688         (isgreaterequal_test_data): New variable.
9689         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9690         (isless_test_data): New variable.
9691         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9692         (islessequal_test_data): New variable.
9693         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9694         (islessgreater_test_data): New variable.
9695         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9696         (isunordered_test_data): New variable.
9697         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9698
9699 2013-05-14  David S. Miller  <davem@davemloft.net>
9700
9701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9702
9703 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
9704
9705         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9706
9707         * math/libm-test.inc (struct test_fF_f1_data): Change type of
9708         extra_test to int.
9709         (struct test_f_i_data): Change type of max_ulp to int.
9710
9711         * math/libm-test.inc (test_ffI_f1_data): New type.
9712         (RUN_TEST_LOOP_ffI_f1): New macro.
9713         (remquo_test_data): New variable.
9714         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9715
9716         * setjmp/tst-setjmp-fp.c: New file.
9717         * setjmp/Makefile (tests): Add tst-setjmp-fp.
9718         (link-libm): New variable.
9719         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9720
9721         * math/libm-test.inc (struct test_f_i_data): New type.
9722         (RUN_TEST_LOOP_f_i): New macro.
9723         (RUN_TEST_LOOP_f_i_tg): Likewise.
9724         (fpclassify_test_data): New variable.
9725         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9726         (ilogb_test_data): New variable.
9727         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9728
9729         * math/libm-test.inc (scalbln_test): Correct function name in END
9730         call.
9731
9732         * math/libm-test.inc (struct test_f_f1_data): Add comment.
9733         (RUN_TEST_LOOP_fI_f1): New macro.
9734         (frexp_test_data): New variable.
9735         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9736
9737         * math/libm-test.inc (struct test_fF_f1_data): New type.
9738         (RUN_TEST_LOOP_fF_f1): New macro.
9739         (modf_test_data): New variable.
9740         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9741
9742         * math/libm-test.inc (struct test_f_f1_data): New type.
9743         (RUN_TEST_LOOP_f_f1): New macro.
9744         (gamma_test_data): New variable.
9745         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9746         (lgamma_test_data): New variable.
9747         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9748
9749 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
9750
9751         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9752         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9753         (main): Comment "tls" pseudo-hwcap.
9754
9755 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
9756
9757         * math/libm-test.inc (struct test_fl_f_data): New type.
9758         (RUN_TEST_LOOP_fl_f): New variable.
9759         (scalbln_test_data): New variable.
9760         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9761
9762         * math/libm-test.inc (struct test_fi_f_data): New type.
9763         (RUN_TEST_LOOP_fi_f): New macro.
9764         (ldexp_test_data): New variable.
9765         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9766         (scalbn_test_data): New variable.
9767         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9768
9769         * math/libm-test.inc (struct test_c_f_data): New type.
9770         (RUN_TEST_LOOP_c_f): New macro.
9771         (cabs_test_data): New variable.
9772         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9773         (carg_test_data): New variable.
9774         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9775         (cimag_test_data): New variable.
9776         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9777         (creal_test_data): New variable.
9778         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9779
9780         * math/libm-test.inc (struct test_if_f_data): New type.
9781         (RUN_TEST_LOOP_if_f): New macro.
9782         (jn_test_data): New variable.
9783         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9784         (yn_test_data): New variable.
9785         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9786
9787         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9788
9789 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9790
9791         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9792         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9793
9794 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9795
9796         * benchtests/Makefile (CPPFLAGS-nonlib): Add
9797         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9798         (bench-deps): Add bench-timing.h.
9799         * benchtests-bench-skeleton.c: Include bench-timing.h.
9800         (main): Use TIMING_* macros instead of clock_gettime.
9801         * benchtests/bench-timing.h: New file.
9802
9803         [BZ #14582]
9804         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9805         Renamed from _LIB_VERSION.
9806         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9807
9808 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
9809
9810         * math/libm-test.inc (struct test_fff_f_data): New type.
9811         (RUN_TEST_LOOP_fff_f): New macro.
9812         (fma_test_data): New variable.
9813         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9814         (fma_towardzero_test_data): New variable.
9815         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9816         (fma_downward_test_data): New variable.
9817         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9818         (fma_upward_test_data): New variable.
9819         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9820
9821         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9822         (struct test_c_c_data): New type.
9823         (RUN_TEST_LOOP_c_c): New macro.
9824         (cacos_test_data): New variable.
9825         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9826         (cacosh_test_data): New variable.
9827         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9828         (casin_test_data): New variable.
9829         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9830         (casinh_test_data): New variable.
9831         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9832         (catan_test_data): New variable.
9833         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9834         (catanh_test_data): New variable.
9835         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9836         (ccos_test_data): New variable.
9837         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9838         (ccosh_test_data): New variable.
9839         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9840         (cexp_test_data): New variable.
9841         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9842         (clog_test_data): New variable.
9843         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9844         (clog10_test_data): New variable.
9845         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9846         (conj_test_data): New variable.
9847         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9848         (cproj_test_data): New variable.
9849         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9850         (csin_test_data): New variable.
9851         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9852         (csinh_test_data): New variable.
9853         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9854         (csqrt_test_data): New variable.
9855         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9856         (ctan_test_data): New variable.
9857         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9858         (ctan_tonearest_test_data): New variable.
9859         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9860         (ctan_towardzero_test_data): New variable.
9861         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9862         (ctan_downward_test_data): New variable.
9863         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9864         (ctan_upward_test_data): New variable.
9865         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9866         (ctanh_test_data): New variable.
9867         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9868         (ctanh_tonearest_test_data): New variable.
9869         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9870         (ctanh_towardzero_test_data): New variable.
9871         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9872         (ctanh_downward_test_data): New variable.
9873         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9874         (ctanh_upward_test_data): New variable.
9875         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9876         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9877         of BUILD_COMPLEX.
9878
9879         * math/libm-test.inc (struct test_ff_f_data): New type.
9880         (struct test_ff_f_data_nexttoward): Likewise.
9881         (RUN_TEST_LOOP_2_f): New macro.
9882         (RUN_TEST_LOOP_ff_f): Likewise.
9883         (atan2_test_data): New variable.
9884         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9885         (copysign_test_data): New variable.
9886         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9887         (fdim_test_data): New variable.
9888         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9889         (fmax_test_data): New variable.
9890         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9891         (fmin_test_data): New variable.
9892         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9893         (fmod_test_data): New variable.
9894         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9895         (hypot_test_data): New variable.
9896         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9897         (nextafter_test_data): New variable.
9898         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9899         (nexttoward_test_data): New variable.
9900         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9901         (pow_test_data): New variable.
9902         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9903         (pow_tonearest_test_data): New variable.
9904         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9905         (pow_towardzero_test_data): New variable.
9906         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9907         (pow_downward_test_data): New variable.
9908         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9909         (pow_upward_test_data): New variable.
9910         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9911         (remainder_test_data): New variable.
9912         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9913         (scalb_test_data): New variable.
9914         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9915         * sysdeps/i386/fpu/libm-test-ulps: Update.
9916
9917 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
9918
9919         * math/libm-test.inc (fma_test): Use max_value instead of local
9920         variable fltmax.
9921         (nextafter_test): Likewise.
9922
9923         * math/libm-test.inc (acos_towardzero_test_data): New variable.
9924         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9925         (acos_downward_test_data): New variable.
9926         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9927         (acos_upward_test_data): New variable.
9928         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9929         (acosh_test_data): New variable.
9930         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9931         (asin_test_data): New variable.
9932         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9933         (asin_tonearest_test_data): New variable.
9934         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9935         (asin_towardzero_test_data): New variable.
9936         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9937         (asin_downward_test_data): New variable.
9938         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9939         (asin_upward_test_data): New variable.
9940         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9941         (asinh_test_data): New variable.
9942         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9943         (atan_test_data): New variable.
9944         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9945         (atanh_test_data): New variable.
9946         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9947         (cbrt_test_data): New variable.
9948         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9949         (ceil_test_data): New variable.
9950         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9951         (cos_test_data): New variable.
9952         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9953         (cos_tonearest_test_data): New variable.
9954         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9955         (cos_towardzero_test_data): New variable.
9956         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9957         (cos_downward_test_data): New variable.
9958         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9959         (cos_upward_test_data): New variable.
9960         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9961         (cosh_test_data): New variable.
9962         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9963         (cosh_tonearest_test_data): New variable.
9964         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9965         (cosh_towardzero_test_data): New variable.
9966         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9967         (cosh_downward_test_data): New variable.
9968         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9969         (cosh_upward_test_data): New variable.
9970         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9971         (erf_test_data): New variable.
9972         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9973         (erfc_test_data): New variable.
9974         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9975         (exp_test_data): New variable.
9976         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9977         (exp_tonearest_test_data): New variable.
9978         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9979         (exp_towardzero_test_data): New variable.
9980         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9981         (exp_downward_test_data): New variable.
9982         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9983         (exp_upward_test_data): New variable.
9984         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9985         (exp10_test_data): New variable.
9986         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9987         (exp2_test_data): New variable.
9988         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9989         (expm1_test_data): New variable.
9990         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9991         (fabs_test_data): New variable.
9992         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9993         (floor_test_data): New variable.
9994         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9995         (j0_test_data): New variable.
9996         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9997         (j1_test_data): New variable.
9998         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9999         (log_test_data): New variable.
10000         (log_test): Run tests with RUN_TEST_LOOP_f_f.
10001         (log10_test_data): New variable.
10002         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10003         (log1p_test_data): New variable.
10004         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10005         (log2_test_data): New variable.
10006         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10007         (logb_test_data): New variable.
10008         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10009         (logb_downward_test_data): New variable.
10010         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10011         (nearbyint_test_data): New variable.
10012         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10013         (rint_test_data): New variable.
10014         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10015         (rint_tonearest_test_data): New variable.
10016         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10017         (rint_towardzero_test_data): New variable.
10018         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10019         (rint_downward_test_data): New variable.
10020         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10021         (rint_upward_test_data): New variable.
10022         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10023         (round_test_data): New variable.
10024         (round_test): Run tests with RUN_TEST_LOOP_f_f.
10025         (sin_test_data): New variable.
10026         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10027         (sin_tonearest_test_data): New variable.
10028         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10029         (sin_towardzero_test_data): New variable.
10030         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10031         (sin_downward_test_data): New variable.
10032         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10033         (sin_upward_test_data): New variable.
10034         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10035         (sinh_test_data): New variable.
10036         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10037         (sinh_tonearest_test_data): New variable.
10038         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10039         (sinh_towardzero_test_data): New variable.
10040         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10041         (sinh_downward_test_data): New variable.
10042         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10043         (sinh_upward_test_data): New variable.
10044         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10045         (sqrt_test_data): New variable.
10046         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10047         (tan_test_data): New variable.
10048         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10049         (tan_tonearest_test_data): New variable.
10050         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10051         (tan_towardzero_test_data): New variable.
10052         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10053         (tan_downward_test_data): New variable.
10054         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10055         (tan_upward_test_data): New variable.
10056         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10057         (tanh_test_data): New variable.
10058         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10059         (tgamma_test_data): New variable.
10060         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10061         (trunc_test_data): New variable.
10062         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10063         (y0_test_data): New variable.
10064         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10065         (y1_test_data): New variable.
10066         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10067         (significand_test_data): New variable.
10068         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10069
10070 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
10071
10072         [BZ #12387]
10073         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10074
10075 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10076
10077         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10078
10079 2013-05-10  Andreas Jaeger  <aj@suse.de>
10080
10081         [BZ #15448]
10082         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10083         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10084
10085 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10086
10087         * math/gen-libm-test.pl (adjust_arg): New function.
10088         (special_functions): Handle generating output in both functions
10089         and arrays.
10090         (parse_args): Likewise.
10091         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
10092         $in_func argument to parse_args.
10093         * math/libm-test.inc (struct test_f_f_data): New type.
10094         (IF_ROUND_INIT_): New macro.
10095         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10096         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10097         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10098         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10099         (ROUND_RESTORE_): Likewise.
10100         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10101         (ROUND_RESTORE_FE_TONEAREST): Likewise.
10102         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10103         (ROUND_RESTORE_FE_UPWARD): Likewise.
10104         (RUN_TEST_LOOP_f_f): New macro.
10105         (acos_test_data): New variable.
10106         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10107         (acos_tonearest_test_data): New variable.
10108         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10109
10110 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10111
10112         * benchtests/bench-skeleton.c (startup): Fix coding style.
10113
10114 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10115
10116         [BZ #6809]
10117         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10118         negative infinity argument.
10119         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10120         negative infinity argument.
10121         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10122         negative infinity argument.
10123         * math/libm-test.inc (tgamma_test): Expect errno to be set for
10124         domain errors.
10125
10126 2013-05-10  Florian Weimer  <fweimer@redhat.com>
10127
10128         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10129         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10130         * iconv/iconv_prog.c (main): Likewise.
10131         * locale/programs/charmap-dir.c (charmap_readdir)
10132         (fopen_uncompressed): Likewise.
10133         * locale/programs/locfile.c (siblings_uncached)
10134         (write_locale_data): Use lstat64 instead of lstat.
10135         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10136         stat.
10137
10138 2013-05-10  Andreas Jaeger  <aj@suse.de>
10139
10140         [BZ #15395]
10141         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10142         localization.
10143         Include <locale.h>.
10144
10145 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
10146
10147         * elf/dl-close.c (_dl_close_worker): Add comments.
10148
10149 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
10150
10151         [BZ #15359]
10152         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10153         high part of pi/2.
10154         (__ieee754_rem_pio2l): Update comments.
10155
10156         [BZ #15429]
10157         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10158         high part of pi/2.
10159         (__ieee754_rem_pio2l): Update comments.
10160
10161         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10162         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10163
10164         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10165         M_PI_4l.
10166
10167         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10168         (M_PI_34_LOG10El): Likewise.
10169         (M_PI2_LOG10El): Likewise.
10170         (M_PI4_LOG10El): Likewise.
10171         (M_PI_LOG10El): Likewise.
10172
10173 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10174
10175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10176
10177 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
10178
10179         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10180         (MINUS_ZERO_INIT): Likewise.
10181         (PLUS_INFTY_INIT): Likewise.
10182         (MINUS_INFTY_INIT): Likewise.
10183         (QNAN_VALUE_INIT): Likewise.
10184         (MAX_VALUE_INIT): Likewise.
10185         (MIN_VALUE_INIT): Likewise.
10186         (MIN_SUBNORM_VALUE_INIT): Likewise.
10187         (plus_zero): Initialize with PLUS_ZERO_INIT.
10188         (minus_zero): Initialize with MINUS_ZERO_INIT.
10189         (plus_infty): Initialize with PLUS_INFTY_INIT.
10190         (minus_infty): Initialize with MINUS_INFTY_INIT.
10191         (qnan_value): Initialize with QNAN_VALUE_INIT.
10192         (max_value): Initialize with MAX_VALUE_INIT.
10193         (min_value): Initialize with MIN_VALUE_INIT.
10194         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10195
10196         * math/libm-test.inc (RUN_TEST_if_f): New macro.
10197         (jn_test): Use TEST_if_f instead of TEST_ff_f.
10198         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10199         (yn_test): Use TEST_if_f instead of TEST_ff_f.
10200
10201         * math/libm-test.inc (RUN_TEST_f_f): New macro.
10202         (RUN_TEST_2_f): Likewise.
10203         (RUN_TEST_ff_f): Likewise.
10204         (RUN_TEST_fi_f): Likewise.
10205         (RUN_TEST_fl_f): Likewise.
10206         (RUN_TEST_fff_f): Likewise.
10207         (RUN_TEST_c_f): Likewise.
10208         (RUN_TEST_f_f1): Likewise.
10209         (RUN_TEST_fF_f1): Likewise.
10210         (RUN_TEST_fI_f1): Likewise.
10211         (RUN_TEST_ffI_f1): Likewise.
10212         (RUN_TEST_c_c): Likewise.
10213         (RUN_TEST_cc_c): Likewise.
10214         (RUN_TEST_f_i): Likewise.
10215         (RUN_TEST_f_i_tg): Likewise.
10216         (RUN_TEST_ff_i_tg): Likewise.
10217         (RUN_TEST_f_b): Likewise.
10218         (RUN_TEST_f_b_tg): Likewise.
10219         (RUN_TEST_f_l): Likewise.
10220         (RUN_TEST_f_L): Likewise.
10221         (RUN_TEST_sincos): Likewise.
10222         * math/gen-libm-test.pl (new_test): Take new argument to indicate
10223         whether to show exceptions.  Do not include ");\n" in return
10224         value.
10225         (special_functions): Output call to RUN_TEST_sincos instead of
10226         check_float calls.  Update calls to new_test.
10227         (parse_args): Output call to single RUN_TEST_* macro instead of
10228         check_* calls and other assignments.  Update calls to new_test.
10229
10230         [BZ #2546]
10231         [BZ #2560]
10232         [BZ #5159]
10233         [BZ #15426]
10234         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10235         input to result for tgamma overflow.
10236         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10237         (gamma_coeff): New variable.
10238         (NCOEFF): New macro.
10239         (gamma_positive): New function.
10240         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10241         underflow here.  Use gamma_positive instead of exp (lgamma) for
10242         other arguments.
10243         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10244         (gamma_coeff): New variable.
10245         (NCOEFF): New macro.
10246         (gammaf_positive): New function.
10247         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10248         underflow here.  Use gamma_positive instead of exp (lgamma) for
10249         other arguments.
10250         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10251         (gamma_coeff): New variable.
10252         (NCOEFF): New macro.
10253         (gammal_positive): New function.
10254         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10255         underflow here.  Use gamma_positive instead of exp (lgamma) for
10256         other arguments.
10257         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10258         (gamma_coeff): New variable.
10259         (NCOEFF): New macro.
10260         (gammal_positive): New function.
10261         (__ieee754_gammal_r): Handle positive infinity, overflow and
10262         underflow here.  Handle NaN the same as positive infinity.  Remove
10263         check x < 0xffffffff for negative integers.  Use gamma_positive
10264         instead of exp (lgamma) for other arguments.
10265         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10266         (gamma_coeff): New variable.
10267         (NCOEFF): New macro.
10268         (gammal_positive): New function.
10269         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10270         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10271         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10272         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10273         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10274         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10275         * sysdeps/generic/math_private.h (__gamma_productf): New
10276         prototype.
10277         (__gamma_product): Likewise.
10278         (__gamma_productl): Likewise.
10279         * math/Makefile (libm-calls): Add gamma_product.
10280         * math/libm-test.inc (tgamma_test): Add more tests.
10281         * sysdeps/i386/fpu/libm-test-ulps: Update.
10282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10283
10284 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
10285
10286         * benchtests/bench-skeleton.c (main): Preheat CPU.
10287
10288 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
10289
10290         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10291
10292 2013-05-07  Roland McGrath  <roland@hack.frob.com>
10293
10294         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10295         and _dl_skip_args_internal.
10296
10297 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
10298
10299         * manual/message.texi (Message Translation): Talk about users.
10300         Message to key mapping impacts design.
10301
10302 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10303
10304         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10305
10306         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10307
10308         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10309         * sysdeps/wordsize-64/glob64.c: ... here.
10310
10311         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10312         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10313         New macros.
10314
10315         * debug/getlogin_r_chk.c: Moved to ...
10316         * login/getlogin_r_chk.c: ... here.
10317         * debug/Makefile (routines): Move getlogin_r_chk to ...
10318         * login/Makefile (routines): ... here.
10319         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10320         * login/Versions (libc: GLIBC_2.4): ... here.
10321
10322         * io/poll.c (__poll): Renamed from poll.
10323         Add libc_hidden_def.
10324         (poll): Define as weak alias.
10325
10326         * debug/ptsname_r_chk.c: Moved to ...
10327         * login/ptsname_r_chk.c: ... here.
10328         * debug/Makefile (routines): Move ptsname_r_chk to ...
10329         * login/Makefile (routines): ... here.
10330         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10331         * login/Versions (libc: GLIBC_2.4): ... here.
10332
10333         * posix/getlogin.c: Moved to ...
10334         * login/getlogin.c: ... here.
10335         * posix/getlogin_r.c: Moved to ...
10336         * login/getlogin_r.c: ... here.
10337         * posix/getlogin_r.c: Moved to ...
10338         * login/getlogin_r.c: ... here.
10339         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10340         * login/Makefile (routines): ... here.
10341         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10342         * login/Versions (libc: GLIBC_2.0): ... here.
10343
10344         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10345         (setrlimit): Define as weak alias.
10346
10347         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10348         Call __ names for open, ftruncate, and close.
10349         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10350         (truncate): Define as weak alias.
10351
10352 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
10353
10354         * math/gen-libm-test.pl (parse_args): Initialize x before each
10355         test of frexp, modf and remquo.
10356
10357         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10358         test signgam value.
10359
10360 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10361
10362         [BZ #15418]
10363         [BZ #15419]
10364         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10365         internal tests.
10366         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10367
10368 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10369
10370         * elf/dl-writev.h: New file.
10371         * elf/dl-misc.c: Include it.
10372         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10373         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10374
10375 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
10376
10377         * math/libm-test.inc (noXFails): Remove variable.
10378         (noXPasses): Likewise.
10379         (BUILD_COMPLEX_INT): Remove macro.
10380         (print_screen): Remove xfail argument.
10381         (print_screen_max_error): Likewise.
10382         (update_stats): Likewise.
10383         (print_max_error): Likewise.  Update calls to other affected
10384         functions.
10385         (print_complex_max_error): Likewise.
10386         (test_single_exception): Update calls to print_screen.
10387         (test_single_errno): Likewise.
10388         (check_float_internal): Remove xfail argument.  Update calls to
10389         other affected functions.
10390         (check_float): Likewise.
10391         (check_complex): Likewise.
10392         (check_int): Likewise.
10393         (check_long): Likewise.
10394         (check_bool): Likewise.
10395         (check_longlong): Likewise.
10396         (main): Don't print noXFails and noXPasses.
10397         * math/gen-libm-test.pl (top level): Don't mention expected
10398         failure handling in comment.
10399         (new_test): Don't handle expected failures.
10400         (parse_args): Don't mention expected failure handling in comment.
10401         (generate_testfile): Don't handle expected failures.
10402         (parse_ulps): Likewise.
10403         (print_ulps_file): Likewise.
10404         (get_failure): Remove function.
10405         (output_test): Don't handle expected failures.
10406         * make/README.libm-test: Don't mention expected failure handling.
10407
10408         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
10409         (minus_zero): Likewise.
10410         (plus_infty): Likewise.
10411         (minus_infty): Likewise.
10412         (qnan_value): Likewise.
10413         (max_value): Likewise.
10414         (min_value): Likewise.
10415         (min_subnorm_value): Likewise.
10416         (initialize): Do not initialize those variables dynamically.
10417
10418 2013-05-03  Roland McGrath  <roland@hack.frob.com>
10419
10420         * io/open.c (__open_2): Moved to ...
10421         * io/open_2.c: ... this new file.
10422         * io/open64.c (__open64_2): Moved to ...
10423         * io/open64_2.c: ... this new file.
10424         * io/openat.c (__openat_2): Moved to ...
10425         * io/openat_2.c: ... this new file.
10426         * io/openat64.c (__openat64_2): Moved to ...
10427         * io/openat64_2.c: ... this new file.
10428         * io/Makefile (routines): Add them.
10429         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10430         * sysdeps/unix/sysv/linux/open_2.c: File removed.
10431         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10432         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10433         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10434         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10435         (__openat64): Add hidden_ver.
10436         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10437         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10438
10439         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10440         Separately conditionalize setting of GLRO(dl_sysinfo) so
10441         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10442         as well, but the actual setting is only under [NEED_DL_SYSINFO].
10443
10444 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10445
10446         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10447         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10448         definition.
10449         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10450         * sysdeps/unix/sysv/linux/powerpc/init-first.c
10451         (_libc_vdso_platform_setup): Add __vdso_time initialization.
10452         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10453         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10454
10455 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
10456
10457         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10458         test signgam value.
10459
10460         * math/libm-test.inc (hypot_test): Do not use
10461         IGNORE_ZERO_INF_SIGN.
10462
10463 2013-05-03  Andreas Jaeger  <aj@suse.de>
10464
10465         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10466         Linux 3.9.
10467         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10468         (PF_MAX): Adjust for VSOCK change.
10469
10470 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10471
10472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10473
10474 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
10475
10476         [BZ #15264]
10477         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10478         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10479         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10480
10481 2013-05-02  David S. Miller  <davem@davemloft.net>
10482
10483         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10484
10485 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
10486
10487         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10488
10489 2013-05-01  Roland McGrath  <roland@hack.frob.com>
10490
10491         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10492
10493 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
10494
10495         [BZ #14952]
10496         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10497         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10498         Use __attribute__ ((__gnu_inline__)).
10499         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10500         Don't use __attribute__ ((__gnu_inline__)).
10501
10502 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
10503
10504         [BZ #15423]
10505         * math/s_catan.c (__catan): Handle small real or imaginary part of
10506         input specially to avoid spurious underflow.
10507         * math/s_catanf.c (__catanf): Likewise.
10508         * math/s_catanh.c (__catanh): Likewise.
10509         * math/s_catanhf.c (__catanhf): Likewise.
10510         * math/s_catanhl.c (__catanhl): Likewise.
10511         * math/s_catanl.c (__catanl): Likewise.
10512         * math/libm-test.inc (catan_test): Add more tests.
10513         (catanh_test): Likewise.
10514         * sysdeps/i386/fpu/libm-test-ulps: Update.
10515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10516
10517 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10518
10519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10520
10521 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
10522
10523         [BZ #15416]
10524         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10525         accurately for denominator in atan2.
10526         * math/s_catanf.c (__catanf): Likewise.
10527         * math/s_catanh.c (__catanh): Likewise.
10528         * math/s_catanhf.c (__catanhf): Likewise.
10529         * math/s_catanhl.c (__catanhl): Likewise.
10530         * math/s_catanl.c (__catanl): Likewise.
10531         * math/libm-test.inc (catan_test): Add more tests.
10532         (catanh_test): Likewise.
10533         * sysdeps/i386/fpu/libm-test-ulps: Update.
10534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10535
10536 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10537
10538         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10539
10540         * benchtests/Makefile (bench): Remove slow benchmarks.
10541         * benchtests/atan-inputs: Add slow benchmark inputs.
10542         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10543         (BENCH_FUNC): Accept variant offset.
10544         (VARIANT): Define.
10545         * benchtests/bench-skeleton.c (main): Run benchmark for each
10546         variant.
10547         * benchtests/cos-inputs: Add slow benchmark inputs.
10548         * benchtests/exp-inputs: Likewise.
10549         * benchtests/pow-inputs: Likewise.
10550         * benchtests/sin-inputs: Likewise.
10551         * benchtests/slowatan-inputs: Remove.
10552         * benchtests/slowatan.c: Remove.
10553         * benchtests/slowcos-inputs: Remove.
10554         * benchtests/slowcos.c: Remove.
10555         * benchtests/slowexp-inputs: Remove.
10556         * benchtests/slowexp.c: Remove.
10557         * benchtests/slowpow-inputs: Remove.
10558         * benchtests/slowpow.c: Remove.
10559         * benchtests/slowsin-inputs: Remove.
10560         * benchtests/slowsin.c: Remove.
10561         * benchtests/slowtan-inputs: Remove.
10562         * benchtests/slowtan.c: Remove.
10563         * benchtests/tan-inputs: Add slow benchmark inputs.
10564         * scripts/bench.pl: Parse comments and directives.
10565
10566         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
10567         in CPPFLAGS.
10568         ($(objpfx)bench-%.c): Remove *-ITER.
10569         * benchtests/bench-modf.c: Remove definition of ITER.
10570         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10571         (main): Loop for DURATION seconds instead of fixed number of
10572         iterations.
10573         * scripts/bench.pl: Don't expect iterations in parameters.
10574
10575 2013-04-29  Roland McGrath  <roland@hack.frob.com>
10576
10577         * io/fchdir.c (__fchdir): Renamed from fchdir.
10578         (fchdir): Define as weak alias.
10579
10580 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10581
10582         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10583         (ERRNO_EDOM): Likewise.
10584         (ERRNO_ERANGE): Likewise.
10585         (noErrnoTests): New variable.
10586         (init_max_error): Set errno to 0.
10587         (test_single_errno): New function.
10588         (test_errno): Likewise.
10589         (check_float_internal): Call test_errno.  Set errno to 0.
10590         (check_complex): Refer to errno tests in comment.
10591         (check_int): Call test_errno.  Set errno to 0.
10592         (check_long): Likewise.
10593         (check_bool): Likewise.
10594         (check_longlong): Likewise.
10595         (cos_test): Use ERRNO_* flags for errno tests instead of
10596         check_int.
10597         (expm1_test): Likewise.
10598         (fmod_test): Likewise.
10599         (ilogb_test): Likewise.
10600         (lgamma_test): Likewise.
10601         (pow_test): Likewise.
10602         (remainder_test): Likewise.
10603         (sin_test): Likewise.
10604         (tan_test): Likewise.
10605         (yn_test): Likewise.
10606         (initialize): Set errno to 0.
10607         (main): Print number of errno tests.
10608         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10609
10610 2013-04-29  Andreas Jaeger  <aj@suse.de>
10611
10612         [BZ #15084]
10613         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10614         and RES_USEVC.
10615
10616         [BZ #15085]
10617         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10618         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10619         unimplemented.
10620
10621         [BZ #15380]
10622         * stdlib/random.c (__initstate): Return NULL if
10623         __initstate fails.
10624
10625         [BZ #15086]
10626         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10627         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10628         RES_SNGLKUPREOP.
10629
10630 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10631
10632         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10633
10634 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10635
10636         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10637         of individual tests.
10638         (casin_test): Likewise.
10639         (casinh_test): Likewise.
10640
10641 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
10642
10643         [BZ #15409]
10644         * math/s_catan.c (__catan): Handle arguments with large real or
10645         imaginary part separately without squaring.
10646         * math/s_catanf.c (__catanf): Likewise.
10647         * math/s_catanh.c (__catanh): Likewise.
10648         * math/s_catanhf.c (__catanhf): Likewise.
10649         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10650         and redefine.
10651         (__catanhl): Handle arguments with large real or imaginary part
10652         separately without squaring.
10653         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10654         and redefine.
10655         (__catanl): Handle arguments with large real or imaginary part
10656         separately without squaring.
10657         * math/libm-test.inc (catan_test): Add more tests.
10658         (catanh_test): Likewise.
10659         * sysdeps/i386/fpu/libm-test-ulps: Update.
10660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10661
10662 2013-04-27  Andreas Jaeger  <aj@suse.de>
10663
10664         [BZ #15007]
10665         * stdlib/stdlib.h: Update guards for qecvt.
10666         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10667         <stdlib.h>.
10668
10669 2013-04-27  Allan McRae  <allan@archlinux.org>
10670
10671         * sysdeps/i386/fpu/libm-test-ulps: Update.
10672
10673 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
10674
10675         [BZ #15406]
10676         * math/s_catan.c: Include <float.h>.
10677         (__catan): Ensure underflow exception occurs for underflowed
10678         result.
10679         * math/s_catanf.c: Include <float.h>.
10680         (__catanf): Ensure underflow exception occurs for underflowed
10681         result.
10682         * math/s_catanh.c: Include <float.h>.
10683         (__catanh): Ensure underflow exception occurs for underflowed
10684         result.
10685         * math/s_catanhf.c: Include <float.h>.
10686         (__catanhf): Ensure underflow exception occurs for underflowed
10687         result.
10688         * math/s_catanhl.c: Include <float.h>.
10689         (__catanhl): Ensure underflow exception occurs for underflowed
10690         result.
10691         * math/s_catanl.c: Include <float.h>.
10692         (__catanl): Ensure underflow exception occurs for underflowed
10693         result.
10694         * math/libm-test.inc (catan_test): Add more tests.
10695         (catanh_test): Likewise.
10696
10697         [BZ #15405]
10698         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10699         underflowed result.
10700         * math/s_ccoshf.c (__ccoshf): Likewise.
10701         * math/s_ccoshl.c (__ccoshl): Likewise.
10702         * math/s_csin.c (__csin): Likewise.
10703         * math/s_csinf.c (__csinf): Likewise.
10704         * math/s_csinh.c (__csinh): Likewise.
10705         * math/s_csinhf.c (__csinhf): Likewise.
10706         * math/s_csinhl.c (__csinhl): Likewise.
10707         * math/s_csinl.c (__csinl): Likewise.
10708         * math/libm-test.inc (ccos_test): Add more tests.
10709         (ccosh_test): Likewise.
10710         (csin_test): Likewise.
10711         (csinh_test): Likewise.
10712
10713 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10714
10715         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10716         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10717         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10718         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10719         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10720         powerpc/power5+/fpu folders.
10721         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10722
10723
10724 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
10725
10726         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10727
10728 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
10729
10730         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10731         additions to variable.
10732         [$(config-machine) = x86_64] (modules-names): Likewise.
10733         ($(objpfx)tst-audit3): Remove dependency.
10734         ($(objpfx)tst-audit3.out): Likewise.
10735         ($(objpfx)tst-audit4): Likewise.
10736         ($(objpfx)tst-audit4.out): Likewise.
10737         ($(objpfx)tst-audit5): Likewise.
10738         ($(objpfx)tst-audit5.out): Likewise.
10739         ($(objpfx)tst-audit6): Likewise.
10740         ($(objpfx)tst-audit6.out): Likewise.
10741         ($(objpfx)tst-audit7): Likewise.
10742         ($(objpfx)tst-audit7.out): Likewise.
10743         (tst-audit3-ENV): Remove variable.
10744         (tst-audit4-ENV): Likewise.
10745         (tst-audit5-ENV): Likewise.
10746         (tst-audit6-ENV): Likewise.
10747         (tst-audit7-ENV): Likewise.
10748         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10749         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10750         addition to variable.
10751         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10752         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10753         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10754         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10755         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10756         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10757         tst-audit3, tst-audit4 and tst-audit5.
10758         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10759         tst-audit6 and tst-audit7.
10760         [$(subdir) = elf] (modules-names): Add audit modules for those
10761         tests.
10762         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10763         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10764         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10765         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10766         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10767         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10768         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10769         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10770         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10771         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10772         [$(subdir) = elf] (tst-audit3-ENV): New variable.
10773         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10774         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10775         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10776         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10777         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10778         Likewise.
10779         [$(subdir) = elf && $(config-cflags-avx) = yes]
10780         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10781         [$(subdir) = elf && $(config-cflags-avx) = yes]
10782         (CFLAGS-tst-auditmod4a.c): Likewise.
10783         [$(subdir) = elf && $(config-cflags-avx) = yes]
10784         (CFLAGS-tst-auditmod4b.c): Likewise.
10785         [$(subdir) = elf && $(config-cflags-avx) = yes]
10786         (CFLAGS-tst-auditmod6b.c): Likewise.
10787         [$(subdir) = elf && $(config-cflags-avx) = yes]
10788         (CFLAGS-tst-auditmod6c.c): Likewise.
10789         [$(subdir) = elf && $(config-cflags-avx) = yes]
10790         (CFLAGS-tst-auditmod7b.c): Likewise.
10791         * elf/tst-audit3.c: Move to ...
10792         * sysdeps/x86_64/tst-audit3.c: ... here.
10793         * elf/tst-audit4.c: Move to ...
10794         * sysdeps/x86_64/tst-audit4.c: ... here.
10795         * elf/tst-audit5.c: Move to ...
10796         * sysdeps/x86_64/tst-audit5.c: ... here.
10797         * elf/tst-audit6.c: Move to ...
10798         * sysdeps/x86_64/tst-audit6.c: ... here.
10799         * elf/tst-audit7.c: Move to ...
10800         * sysdeps/x86_64/tst-audit7.c: ... here.
10801         * elf/tst-auditmod3a.c: Move to ...
10802         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10803         * elf/tst-auditmod3b.c: Move to ...
10804         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10805         * elf/tst-auditmod4a.c: Move to ...
10806         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10807         * elf/tst-auditmod4b.c: Move to ...
10808         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10809         * elf/tst-auditmod5a.c: Move to ...
10810         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10811         * elf/tst-auditmod5b.c: Move to ...
10812         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10813         * elf/tst-auditmod6a.c: Move to ...
10814         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10815         * elf/tst-auditmod6b.c: Move to ...
10816         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10817         * elf/tst-auditmod6c.c: Move to ...
10818         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10819         * elf/tst-auditmod7a.c: Move to ...
10820         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10821         * elf/tst-auditmod7b.c: Move to ...
10822         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10823
10824 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
10825
10826         [BZ #15366]
10827         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10828         define unconditionally.
10829         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10830         define unconditionally.
10831         (INT8_C, INT16_C, etc.): Likewise.
10832
10833 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
10834
10835         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10836         __ehdr_start with hidden visibility.
10837
10838         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10839
10840 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
10841
10842         * math/libm-test.inc (cos_test): Use accurate hex constants.
10843         (sincost_test): Likewise.
10844
10845 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
10846
10847         * math/libm-test.inc (catan_test): Add more tests.
10848         (catanh_test): Likewise.
10849
10850         * math/s_catanf.c (__catanf): Use suffixed floating-point
10851         constants.
10852         * math/s_catanhf.c (__catanhf): Likewise.
10853         * math/s_catanhl.c (__catanhl): Likewise.
10854         * math/s_catanl.c (__catanl): Likewise.
10855
10856         [BZ #15394]
10857         * math/s_catan.c (__catan): Calculate imaginary part of result
10858         with log1p not log unless computing log of number close to 0.
10859         * math/s_catanf.c (__catanf): Likewise.
10860         * math/s_catanl.c (__catanl): Likewise.
10861         * math/s_catanh.c (__catanh): Calculate real part of result with
10862         log1p not log unless computing log of number close to 0.
10863         * math/s_catanhf.c (__catanhf): Likewise.
10864         * math/s_catanhl.c (__catanhl): Likewise.
10865         * math/libm-test.inc (catan_test): Add more tests.
10866         (catanh_test): Likewise.
10867         * sysdeps/i386/fpu/libm-test-ulps: Update.
10868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10869
10870 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10871
10872         * benchtests/Makefile: Mention files in which fast and slow
10873         paths of math functions are implemented.
10874
10875 2013-04-23  Roland McGrath  <roland@hack.frob.com>
10876
10877         * sysdeps/posix/timespec_get.c: New file.
10878
10879 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10880
10881         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10882         POWER.
10883         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10884         for POWER.
10885         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10886         powerpc/power5/fpu folders.
10887         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10888         * benchtests/Makefile: Add modf testcase.
10889         * benchtests/bench-modf.c: New file: Benchmark test for mo
10890
10891 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10892
10893         [BZ #14888]
10894         * time/Makefile (tests): Add tst-strptime-whitespace.
10895         * time/strptime_l.c (get_number): Use ISSPACE.
10896         (__strptime_internal): Likewise.
10897         * time/tst-strptime-whitespace.c: New test case.
10898
10899 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
10900
10901         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10902         member.
10903         (_nss_files_init): Set it here.
10904
10905 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
10906
10907         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10908         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10909         unsigned.
10910
10911 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
10912
10913         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10914
10915 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10916
10917         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10918         size just once.
10919
10920 2013-04-21  David S. Miller  <davem@davemloft.net>
10921
10922         * po/ru.po: Update Russion translation from translation project.
10923
10924 2013-04-17  Adam Conrad  <adconrad@0c3.net>
10925
10926         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10927         and setfsgid.
10928
10929 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
10930
10931         * configure.in: Remove i386 configure warning. Remove i386 case.
10932         * configure: Regenerate.
10933         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10934         Add example to error message.
10935         * sysdeps/i386/configure: Regenerate.
10936
10937 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10938
10939         * benchtests/Makefile (bench): Add cos, tan, slowcos and
10940         slowtan.
10941         * benchtests/cos-inputs: New file.
10942         * benchtests/slowcos-inputs: New file.
10943         * benchtests/slowcos.c: New file.
10944         * benchtests/slowtan-inputs: New file.
10945         * benchtests/slowtan.c: New file.
10946         * benchtests/tan-inputs: New file.
10947
10948 2013-04-16  Roland McGrath  <roland@hack.frob.com>
10949
10950         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10951         considered kosher.
10952
10953 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10954
10955         * benchtests/Makefile: Include cppflags-iterator.mk to add
10956         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10957
10958         * Makefile.in (bench-clean): New target.
10959         * benchtests/Makefile (bench-clean): Likewise.
10960
10961 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
10962
10963         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10964
10965 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
10966
10967         * stdio-common/tstdiomisc.c: Fix coding-style violation.
10968
10969 2013-04-15  Andreas Schwab  <schwab@suse.de>
10970
10971         * nscd/grpcache.c (cache_addgr): Properly check for short write.
10972         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10973         * nscd/pwdcache.c (cache_addpw): Likewise.
10974         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
10975         more than recsize.
10976
10977 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10978
10979         * benchtests/Makefile (bench): Write all output to
10980         bench-out.tmp together.
10981
10982 2013-04-15  Andreas Schwab  <schwab@suse.de>
10983
10984         * nscd/nscd.c (main): Don't fork again after closing files.
10985
10986 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10987
10988         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10989
10990         * benchtests/Rules (bench-deps): Collect dependencies into a
10991         single variable.  Add Makefile to dependencies.
10992         ($(objpfx)bench-%.c): Depend on bench-deps.
10993
10994 2013-04-12  Roland McGrath  <roland@hack.frob.com>
10995             Xavier Roche  <roche+kml2@exalead.com>
10996
10997         [BZ #15361]
10998         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10999         just that it's a file descriptor.
11000         * manual/llio.texi (Synchronizing AIO Operations): Update description
11001         for EBADF error from aio_fsync.
11002
11003 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11004
11005         * Rules (bench): Move target definition...
11006         * benchtests/Makefile: ... here.
11007
11008 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
11009
11010         * math/libm-test.inc (cos_test): Fix PI/2 test.
11011         (sincos_test): Likewise.
11012         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11013         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11014
11015 2013-04-11  Andreas Schwab  <schwab@suse.de>
11016
11017         [BZ #13988]
11018         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11019         accept exponent character only when digits were seen.
11020         * stdio-common/Makefile (tests): Add bug26.
11021         * stdio-common/bug26.c: New file.
11022
11023         [BZ #14293]
11024         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11025         non-freeable.
11026
11027 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11028
11029         * Makeconfig (rtld-prefix): Define built linker prefix.
11030         * Rules (run-bench): Use it.
11031         * math/Makefile (run-regen-ulps): Likewise.
11032
11033         * Rules (bench): Remove eval.
11034
11035 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11036             Roland McGrath  <roland@hack.frob.com>
11037             Ondrej Bilka  <neleai@seznam.cz>
11038
11039         [BZ #15346]
11040         * time/getdate.c: Include ctype.h and alloca.h.
11041         (__getdate_r): Trim leading and trailing spaces of input.
11042         * time/tst-getdate.c (tests): Add tests with leading and
11043         trailing spaces.
11044
11045 2013-04-08  Roland McGrath  <roland@hack.frob.com>
11046
11047         [BZ #14280]
11048         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11049         when computing value.
11050
11051 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11052
11053         * math/README.libm-test (How can I generate "libm-test-ulps"?):
11054         Use testrun.sh to run libm tests.
11055
11056         [BZ #15309]
11057         * elf/dl-open.c (dl_open_worker): memset all of seen array.
11058
11059 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
11060
11061         [BZ #15264]
11062         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11063
11064 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11065
11066         * Makefile.in (regen-ulps): New target.
11067         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11068         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11069         [ifneq (no,$(PERL)] (regen-ulps): New target.
11070         [ifeq (no,$(PERL)] (regen-ulps): New target.
11071         * math/libm-test.inc (ulps_file_name): Define.
11072         (output_dir): New variable.
11073         (options): Add "output-dir" option.
11074         (parse_opt): Handle 'o' case.
11075         (main): If output_dir is non-NULL use it as a prefix
11076         otherwise use "".
11077         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11078
11079 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11080
11081         [BZ #10060, #10062]
11082         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11083         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11084         fail configure if __sync_val_compare_and_swap is not inlined.
11085         * sysdeps/i386/configure: Regenerate.
11086         * configure.in: Build for i686 when configured for i386.
11087         * configure: Regenerate.
11088         * README: Remove i386 reference.
11089
11090 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11091
11092         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11093         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11094
11095 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
11096
11097         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11098         (lmsnanval): New variables.
11099         (F): Add conversion tests.
11100         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11101         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11102
11103         * stdio-common/tstdiomisc.c (F): Properly collect individual
11104         tests' results.
11105
11106         [BZ #14686, #15336]
11107         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11108         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11109         Instead, use input NaN values or generate a qNaN by arithmetic
11110         operation.  Also fix bugs to comply with the standard.
11111         * math/libm-test.inc (remainder_test): Add more tests.
11112
11113         [BZ #15335, #15342]
11114         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11115         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11116         input NaN values or generate a qNaN by arithmetic operation.
11117
11118         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11119         unreachable code.
11120
11121         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11122         definitions.
11123
11124 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
11125
11126         [BZ #14478]
11127         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11128         underflowed result.
11129         * math/s_cexpf.c (__cexpf): Likewise.
11130         * math/s_cexpl.c (__cexpl): Likewise.
11131         * math/libm-test.inc (cexp_test): Add more tests.
11132
11133 2013-04-03  Andreas Schwab  <schwab@suse.de>
11134
11135         [BZ #15330]
11136         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11137         order arrays from heap if bigger than alloca cutoff.
11138
11139 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
11140
11141         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11142         (SNAN_TESTS_double): Refer to GCC PR56831.
11143         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11144         GCC PR56828.
11145
11146 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11147
11148         * Rules (bench): Move bench.out after the run is complete.
11149
11150         * Rules (bench): Echo currently running benchmark.
11151
11152         * benchtests/Makefile (bench): Add atan and slowatan.
11153         * benchtests/atan-inputs: New file.
11154         * benchtests/slowatan-inputs: New file.
11155         * benchtests/slowatan.c: New file.
11156
11157         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11158         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11159         its value.
11160
11161         [BZ #15305]
11162         * sysdeps/unix/sysv/linux/kernel-features.h
11163         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11164         __ASSUME_XFS_RESTRICTED_CHOWN.
11165         * sysdeps/unix/sysv/linux/pathconf.c
11166         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11167         Save and restore errno.
11168
11169 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
11170
11171         [BZ #15327]
11172         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11173         arguments using __kernel_casinh.
11174         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11175         arguments using __kernel_casinhf.
11176         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11177         arguments using __kernel_casinhl.
11178         * math/libm-test.inc (cacosh_test): Add more tests.
11179         * sysdeps/i386/fpu/libm-test-ulps: Update.
11180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11181
11182 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11183
11184         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11185         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11186
11187         * bench/Makefile (bench): Add sin and slowsin.
11188         * benchtests/sin-inputs: New file.
11189         * benchtests/slowsin-inputs: New file.
11190         * benchtests/slowsin.c: New file.
11191
11192         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11193         (bench): Add slowexp and slowpow.
11194         (exp-ITER): Increase iterations.
11195         (pow-ITER): Likewise.
11196         * benchtests/exp-inputs: Change input.
11197         * benchtests/pow-inputs: Likewise.
11198         * benchtests/slowexp-inputs: New file.
11199         * benchtests/slowexp.c: New file.
11200         * benchtests/slowpow-inputs: New file.
11201         * benchtests/slowpow.c: New file.
11202
11203 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11204
11205         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11206         instructions.
11207         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11208         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11209         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11210         * benchtests/Makefile: Add rint benchtest.
11211         * benchtests/rint-inputs: Input for rint benchtest.
11212
11213 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
11214
11215         * Versions.def (libm): Add GLIBC_2.18.
11216         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11217         hidden libm prototypes.
11218         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11219         * math/Makefile (libm-calls): Add s_issignaling.
11220         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11221         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
11222         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11223         declaration.
11224         * math/math.h [__USE_GNU] (issignaling): New macro.
11225         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11226         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11227         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11228         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11229         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11230         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11231         * manual/arith.texi (issignaling): New section.
11232         * manual/libm-err-tab.pl (@all_functions): Update comment.
11233         * math/gen-libm-test.pl (parse_args): Apply special handling for
11234         issignaling.
11235         * math/libm-test.inc (print_float, issignaling_test): New
11236         functions.
11237         (check_float_internal): Add issignaling checks.
11238         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11239         default definition.
11240         * sysdeps/powerpc/math-tests.h: New file.
11241         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11242         tests.
11243         * math/test-snan.c (TEST_FUNC): Likewise.
11244
11245 2013-03-30  David S. Miller  <davem@davemloft.net>
11246
11247         * po/de.po: Update from translation team.
11248
11249 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
11250
11251         [BZ #10357]
11252         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11253         imaginary part less than 1.0 and real part less than 0.5
11254         specially.
11255         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11256         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11257         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11258         (cacos_test): Add more tests.
11259         (casin_test): Likewise.
11260         (casinh_test): Likewise.
11261         * sysdeps/i386/fpu/libm-test-ulps: Update.
11262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11263
11264 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11265
11266         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11267         ONE with its value.
11268
11269         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11270         (__pow_mp): Replace ONE and MONE with their values.
11271         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11272         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11273         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11274         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11275         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11276         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11277
11278         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11279
11280         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11281         (__pow_mp): Replace ZERO and MZERO with their values.
11282         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11283         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11284         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11285         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11286         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11287         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11288         (__sqr): Likewise.
11289
11290         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11291
11292         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11293
11294 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11295
11296         * include/stdlib.h [!SHARED] (__call_tls_dtors):
11297         Declare with __attribute__ ((weak)).
11298         * stdlib/exit.c (__libc_atexit) [!SHARED]:
11299         Call __call_tls_dtors only if it's not NULL.
11300
11301 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11302
11303         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11304         didn't do it already, then set _dl_phdr and _dl_phnum based on the
11305         magic __ehdr_start linker symbol if it's defined.
11306         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11307         them up here if it was already done.
11308
11309         * elf/dl-support.c (_dl_phdr): Make pointer to const.
11310         (_dl_aux_init): Use const in cast when setting it.
11311         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11312         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11313         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11314
11315         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11316         Declare them here.
11317         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11318         * csu/libc-tls.c: Nor here.
11319         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11320
11321         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11322         (__libc_message): Never call vsyslog.
11323
11324 2013-03-28  Alan Modra  <amodra@gmail.com>
11325
11326         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11327         Define as empty.
11328         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11329         Likewise.
11330
11331 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11332
11333         [BZ #15214]
11334         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11335         underflow.
11336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11337
11338 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11339
11340         [BZ #15304]
11341         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11342         Don't add gid passed as argument.
11343
11344         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11345
11346 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
11347
11348         [BZ #15307]
11349         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11350         imaginary part between 1.0 and 1.5 and real part less than 0.5
11351         specially.
11352         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11353         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11354         * math/libm-test.inc (cacos_test): Add more tests.
11355         (casin_test): Likewise.
11356         (casinh_test): Likewise.
11357         * sysdeps/i386/fpu/libm-test-ulps: Update.
11358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11359
11360 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11361
11362         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11363         constants.
11364         (norm): Likewise.
11365         (denorm): Likewise.
11366         (__dbl_mp): Likewise.
11367         (add_magnitudes): Likewise.
11368         (sub_magnitudes): Likewise.
11369         (__add): Likewise.
11370         (__sub): Likewise.
11371         (__mul): Likewise.
11372         (__sqr): Likewise.
11373         (__inv): Likewise.
11374         (__dvd): Likewise.
11375
11376         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11377         commented code.
11378         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11379         (__dubcos): Likewise.
11380         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11381         (__ieee754_acos): Likewise.
11382         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11383         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11384         (__exp1): Likewise.
11385         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11386         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11387         (log1): Likewise.
11388         (my_log2): Likewise.
11389         (checkint): Likewise.
11390         * sysdeps/ieee754/dbl-64/e_remainder.c
11391         (__ieee754_remainder): Likewise.
11392         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11393         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11394         (bsloww): Likewise.
11395         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11396
11397         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11398         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11399         MANTISSA_STORE_T to store computations on mantissa.  Use
11400         macros for rounding and division.
11401         (denorm): Likewise.
11402         (__dbl_mp): Likewise.
11403         (add_magnitudes): Likewise.
11404         (sub_magnitudes): Likewise.
11405         (__mul): Likewise.
11406         (__sqr): Likewise.
11407         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11408         powers of two in terms of TWOPOW macro.
11409         (mp_no): Make type of mantissa as MANTISSA_T.
11410         [!RADIXI]: Define RADIXI.
11411         [!TWO52]: Define TWO52.
11412         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11413
11414 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11415
11416         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11417         llroundl symbol when building for PPC32.
11418
11419 2013-03-24  Mark H Weaver  <mhw@netris.org>
11420
11421         * manual/arith.texi (Normalization Functions): Fix prototypes for
11422         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11423
11424 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11425
11426         [BZ #13889]
11427         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11428         high value to check if expl overflow.
11429         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11430         to check for underflow and overflow.
11431         * math/libm-test.inc: Add exp test.
11432
11433 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
11434
11435         [BZ #11120]
11436         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11437         with NOT_IN_libc.
11438
11439 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11440
11441         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11442         symbol.
11443
11444 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
11445
11446         * math/gen-libm-test.pl (parse_args, special_functions): Properly
11447         wrap blocks consisting of several statements.
11448
11449         * sysdeps/generic/math-tests.h: New file.
11450         * sysdeps/i386/fpu/math-tests.h: Likewise.
11451         * math/test-snan.c: Include it.
11452         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11453
11454 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11455
11456         [BZ #15285]
11457         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11458         (__ieee754_j0l): Do not improve calculations using cos of twice
11459         input for inputs above LDBL_MAX / 2.0L.
11460         (__ieee754_y0l): Likewise.
11461         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11462         (__ieee754_j1l): Do not improve calculations using cos of twice
11463         input for inputs above LDBL_MAX / 2.0L.
11464         (__ieee754_y1l): Likewise.
11465         * math/libm-test.inc (j0_test): Add another test.
11466         (j1_test): Likewise.
11467         (y0_test): Likewise.
11468         (y1_test): Likewise.
11469         * sysdeps/i386/fpu/libm-test-ulps: Update.
11470
11471 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11472
11473         * Rules ($(objpfx)bench-%.c): Include code from a C source
11474         file.
11475
11476 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11477
11478         [BZ #15287]
11479         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11480         imaginary part 1.0 and real part less than 0.5 specially.
11481         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11482         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11483         * math/libm-test.inc (cacos_test): Add more tests.
11484         (casin_test): Likewise.
11485         (casinh_test): Likewise.
11486         * sysdeps/i386/fpu/libm-test-ulps: Update.
11487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11488
11489 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11490
11491         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11492         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11493
11494 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
11495
11496         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11497         * config.make.in (config-cflags-sse4): Remove variable.
11498         (config-cflags-avx): Likewise.
11499         (config-cflags-sse2avx): Likewise.
11500         (config-cflags-novzeroupper): Likewise.
11501         (config-asflags-i686): Likewise.
11502         (have-mfma4): Likewise.
11503         (have-as-vis3): Likewise.
11504         (MIG): Likewise.
11505         * configure.in (MIG): Do not AC_SUBST.
11506         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11507         (libc_cv_cc_sse4): Do not AC_SUBST.
11508         (libc_cv_cc_avx): Likewise.
11509         (libc_cv_cc_sse2avx): Likewise.
11510         (libc_cv_cc_novzeroupper): Likewise.
11511         (libc_cv_cc_fma4): Likewise.
11512         (libc_cv_as_i686): Likewise.
11513         (libc_cv_sparc_as_vis3): Likewise.
11514         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11515         LIBC_CONFIG_VAR.
11516         (config-asflags-i686): Likewise.
11517         (config-cflags-avx): Likewise.
11518         (config-cflags-sse2avx): Likewise.
11519         (have-mfma4): Likewise.
11520         (config-cflags-novzeroupper): Likewise.
11521         * sysdeps/mach/configure.in (MIG): Likewise.
11522         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11523         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11524         LIBC_CONFIG_VAR.
11525         (config-cflags-avx): Likewise.
11526         (config-cflags-sse2avx): Likewise.
11527         (have-mfma4): Likewise.
11528         (config-cflags-novzeroupper): Likewise.
11529         * configure: Regenerated.
11530         * sysdeps/i386/configure: Likewise.
11531         * sysdeps/mach/configure: Likewise.
11532         * sysdeps/sparc/configure: Likewise.
11533         * sysdeps/x86_64/configure: Likewise.
11534
11535 2013-03-20  Roland McGrath  <roland@hack.frob.com>
11536
11537         [BZ #14812]
11538         * locale/programs/localedef.c (options): Put N_ translation marker
11539         on argument names, not just descriptions.
11540
11541 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11542
11543         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11544
11545 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
11546
11547         [BZ #14176]
11548         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11549
11550 2013-03-19  Roland McGrath  <roland@hack.frob.com>
11551
11552         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11553         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11554         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11555         [!BEFORE_ABORT] (before_abort): New function.
11556         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11557         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11558         (writev_for_fatal): New function.
11559         (WRITEV_FOR_FATAL): New macro; call that.
11560         (backtrace_and_maps): New function.
11561         (BEFORE_ABORT): New macro; call that.
11562         (struct str_list): Type removed.
11563         (__libc_message, __libc_fatal): Functions removed.
11564         Include <sysdeps/posix/libc_fatal.c> instead.
11565
11566 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
11567
11568         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11569         constants.
11570         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11571         double constants.
11572
11573 2013-03-19  Andreas Schwab  <schwab@suse.de>
11574
11575         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11576         * sysdeps/gnu/configure: Regenerate.
11577
11578         * configure.in: Substitute libc_cv_rtlddir.
11579         * configure: Regenerate.
11580         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11581         * Makeconfig (rtlddir, inst_rtlddir): New variables.
11582         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11583         * elf/Makefile (install-others, CFLAGS-interp.c)
11584         (ldso_install, common-ldd-rewrite): Likewise.
11585         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11586         $(inst_slibdir)/$(rtld-installed-name).
11587         * scripts/rellns-sh: Add -p option.
11588         * Makerules (make-shlib-link): Use rellns-sh to get relative name
11589         for source.
11590
11591 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11592
11593         * manual/nptl.texi: Renamed to ...
11594         * manual/threads.texi: ... this.
11595         * manual/Makefile (chapters): Update.
11596
11597 2013-03-18  Roland McGrath  <roland@hack.frob.com>
11598
11599         [BZ #14812]
11600         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11601         on argument names, not just descriptions.
11602         * malloc/memusagestat.c (options): Likewise.
11603         * nss/getent.c (options): Likewise.
11604
11605 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
11606
11607         [BZ #14812]
11608         * iconv/iconv_prog.c (options): Put N_ translation marker
11609         on argument names, not just descriptions.
11610         * iconv/iconvconfig.c (options): Likewise.
11611
11612 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
11613
11614         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11615         implementation which is faster on all x86_64 architectures.
11616         Tested on AMD, Intel Nehalem, SNB, IVB.
11617         * sysdeps/x86_64/strnlen.S: Likewise.
11618
11619         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11620         Remove all multiarch strlen and strnlen versions.
11621         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11622         Remove strlen and strnlen related parts.
11623
11624         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11625         Inline strlen part.
11626         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11627
11628         * sysdeps/x86_64/multiarch/strlen.S: Remove.
11629         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11630         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11631         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11632         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11633         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11634
11635 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
11636
11637         * manual/memory.texi (Malloc Tunable Parameters):
11638         Sort parameters alphabetically. Add comments for missing entries.
11639
11640 2013-03-17  David S. Miller  <davem@davemloft.net>
11641
11642         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11643
11644 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
11645
11646         [BZ #15283]
11647         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11648         for arguments at most half maximum finite value.
11649         * math/libm-test.inc (j0_test): Add more tests.
11650         (j1_test): Likewise.
11651         (y0_test): Likewise.
11652         (y1_test): Likewise.
11653         * sysdeps/i386/fpu/libm-test-ulps: Update.
11654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11655
11656         [BZ #14155]
11657         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11658         1 / x and functions P and Q for arguments above 0x1p256L.
11659         (__ieee754_y0l): Likewise.
11660         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11661         (__ieee754_y1l): Likewise.
11662         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11663         (j1_test): Likewise.
11664         (y0_test): Likewise.
11665         (y1_test): Likewise.
11666
11667 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
11668
11669         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11670         variable.
11671
11672 2013-03-15  Roland McGrath  <roland@hack.frob.com>
11673
11674         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11675         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11676         zero since it's initialized to EXEC_PAGESIZE.
11677
11678         * sysdeps/unix/sysv/linux/ldsodefs.h
11679         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11680         * sysdeps/generic/ldsodefs.h: ... here.
11681
11682 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
11683
11684         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11685
11686         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11687         math/test-snan.c.
11688         * math/test-snan.c: Renamed from
11689         sysdeps/powerpc/fpu/test-powerpc-snan.c.
11690         * math/Makefile (tests): Add test-snan.
11691         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11692         test-powerpc-snan.
11693
11694         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11695         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
11696         functions.
11697         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
11698         __builtin_nan family of functions.
11699         * math/libm-test.inc (initialize): Initialize qnan_value with
11700         __builtin_nan family of functions.
11701         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11702         Remove variables.
11703         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11704         Remove functions.
11705         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
11706         storage class.  Initialize qNaN_var and sNaN_var with
11707         __builtin_nan and __builtin_nans families of functions,
11708         respectively.
11709
11710         * math/libm-test.inc (acosh_test): Also test with qNaN input.
11711         (sqrt_test): Remove duplicate test with qNaN input.
11712         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11713         (round_test, signbit_test, significand_test): Note missing +/-Inf
11714         as well as qNaN tests.
11715
11716         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11717         qNaN_var.  Fix a few strings, too.
11718         * math/libm-test.inc (nan_value): Rename to qnan_value.
11719         * math/gen-libm-test.pl (%beautify): Adjust to that.
11720         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11721         * math/test-misc.c (main): Likewise.
11722         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11723         to __qnan_bytes, and __qnan_union, respectively.
11724         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11725         Likewise.
11726         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11727         and lqnanval, respectively.
11728         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11729         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11730         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11731         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11732
11733         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11734         * math/test-misc.c (main) [__x86_64__]: Enable test for long
11735         doubles.
11736
11737         * math/test-misc.c (main): Fix copy'n'pastos.
11738         * misc/tst-efgcvt.c (special): Likewise.
11739
11740         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11741         Remove declarations.
11742
11743 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11744
11745         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11746         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11747         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11748         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11749
11750 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11751
11752         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11753         macro to return vdso values correctly in IFUNC implementations.
11754         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11755         Optimization by using IFUNC.
11756
11757 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11758             Richard Henderson  <rth@redhat.com>
11759             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11760
11761         * Makefile.in (bench): New target.
11762         * NEWS: Mention the benchmark framework.
11763         * Rules (bench): Likewise.
11764         (binaries-bench): Generate binaries for functions to
11765         benchmark.
11766         * benchtests/Makefile: New makefile for benchmark tests.
11767         * benchtests/bench-skeleton.c: New skeleton file for benchmark
11768         programs.
11769         * benchtests/exp-inputs: New input file for EXP function.
11770         * benchtests/pow-inputs: New input file for POW function.
11771         * scripts/bench.pl: New script to generate source files for
11772         benchmark programs.
11773
11774 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11775
11776         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11777         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11778         computations on mantissa.  Use macros for rounding and
11779         division.
11780         (denorm): Likewise.
11781         (__dbl_mp): Likewise.
11782         (add_magnitudes): Likewise.
11783         (sub_magnitudes): Likewise.
11784         (__mul): Likewise.
11785         (__sqr): Likewise.
11786         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11787         powers of two in terms of TWOPOW macro.
11788         (mp_no): Make type of mantissa as MANTISSA_T.
11789         [!RADIXI]: Define RADIXI.
11790         [!TWO52]: Define TWO52.
11791         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11792
11793         * manual/nptl.texi (cindex): Modify threads to pthreads.
11794
11795 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
11796
11797         * sysdeps/x86_64/preconfigure: Regenerated.
11798
11799 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
11800
11801         [BZ #14155]
11802         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11803         0x1p28 and above.
11804         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11805         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11806         0x1p28 and above.
11807         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11808         * math/libm-test.inc (j0_test): Do not allow one spurious
11809         underflow exception.
11810         (y1_test): Likewise.
11811
11812 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11813
11814         * manual/Makefile (chapters): Add nptl.
11815         * manual/debug.texi (Debugging Support): Add link to Threads
11816         chapter.
11817         * manual/nptl.texi: New file.
11818
11819         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11820
11821 2013-03-14  Petr Baudis  <pasky@ucw.cz>
11822
11823         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11824         for non-NULL pointer before the memory validity test. Pointed
11825         out by Holger Brunck <holger.brunck@keymile.com>.
11826
11827 2013-03-13  Andreas Schwab  <schwab@suse.de>
11828
11829         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11830         instead of .os.
11831
11832 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
11833
11834         * timezone/zic.c: Update from tzcode 2013b.
11835
11836 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
11837
11838         * manual/install.texi (Configuring and compiling):
11839         Mention i686 and i586.
11840         * INSTALL: Regenerate.
11841
11842 2013-03-12  Roland McGrath  <roland@hack.frob.com>
11843
11844         * sysdeps/init_array/elf-init.c: New file.
11845         * csu/elf-init.c
11846         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11847         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11848
11849         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11850         __gmon_start__ as global, but as static with a .preinit_array pointer.
11851         * sysdeps/init_array/gmon-start.c: New file.  Use that.
11852         * sysdeps/init_array/crti.S: New file, empty except for comments.
11853         * sysdeps/init_array/crtn.S: Likewise.
11854
11855 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
11856
11857         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11858         definining bcopy.
11859         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11860         Remove Prefer_SSE_for_memop.
11861         * sysdeps/x86_64/multiarch/init-arch.h: Remove
11862         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11863         HAS_PREFER_SSE_FOR_MEMOP.
11864         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11865         memset-x86-64.
11866         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11867         Remove bzero, memset ifunc support.
11868         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11869         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11870         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11871         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11872
11873 2013-03-11  Andreas Schwab  <schwab@suse.de>
11874
11875         [BZ #15234]
11876         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11877         by SHLIB_COMPAT.
11878         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11879         (GLIBC_2.16): Remove pthread_atfork.
11880
11881 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11882
11883         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11884         (ptestcases.h): Likewise.
11885
11886 2013-03-08  Roland McGrath  <roland@hack.frob.com>
11887
11888         * Makeconfig ($(common-objpfx)config.status): Depend on
11889         sysdeps/*/preconfigure{,.in} too.
11890
11891 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
11892
11893         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11894         (__free_hook): Use void * instead of __malloc_ptr_t.
11895         (__malloc_hook): Likewise.
11896         (__realloc_hook): Likewise.
11897         (__memalign_hook): Likewise.
11898         (__after_morecore_hook): Likewise.
11899         * malloc/arena.c (save_malloc_hook): Likewise.
11900         (save_free_hook): Likewise.
11901         * malloc/hooks.c (malloc_hook_ini): Likewise.
11902         (realloc_hook_ini): Likewise.
11903         (memalign_hook_ini): Likewise.
11904         * malloc/malloc.c (malloc_hook_ini): Likewise.
11905         (realloc_hook_ini): Likewise.
11906         (memalign_hook_ini): Likewise.
11907         (__free_hook): Likewise.
11908         (__malloc_hook): Likewise.
11909         (__realloc_hook): Likewise.
11910         (__memalign_hook): Likewise.
11911         (__libc_malloc): Likewise.
11912         (__libc_free): Likewise.
11913         (__libc_realloc): Likewise.
11914         (__libc_memalign): Likewise.
11915         (__libc_valloc): Likewise.
11916         (__libc_pvalloc): Likewise.
11917         (__libc_calloc): Likewise.
11918         (__posix_memalign): Likewise.
11919         * malloc/morecore.c (__sbrk): Likewise.
11920         (__default_morecore): Likewise.
11921
11922         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11923
11924         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11925         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11926         __malloc_ptrdiff_t.
11927
11928         * malloc/malloc.h (__malloc_size_t): Remove macro.
11929         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11930         __malloc_size_t.
11931         (old_memalign_hook): Likewise.
11932         (old_realloc_hook): Likewise.
11933         (struct hdr): Likewise.
11934         (flood): Likewise.
11935         (mallochook): Likewise.
11936         (memalignhook): Likewise.
11937         (reallochook): Likewise.
11938         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11939         (tr_old_realloc_hook): Likewise.
11940         (tr_old_memalign_hook): Likewise.
11941         (tr_mallochook): Likewise.
11942         (tr_reallochook): Likewise.
11943         (tr_memalignhook): Likewise.
11944
11945 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11946
11947         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11948         default_ldbl_pack and using as default implementation.
11949         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11950         implementation.
11951         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11952         redundant definition.
11953         (ldbl_insert_mantissa): Likewise.
11954         (ldbl_canonicalize): Likewise.
11955         (ldbl_nearbyint): Likewise.
11956         (ldbl_pack): Rename to ldbl_pack_ppc.
11957         (ldbl_unpack): Rename to ldbl_unpack_ppc.
11958         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11959         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11960
11961 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11962
11963         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11964         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11965         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11966         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11967         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11968         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11969         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11970         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11971
11972 2013-03-07  Andreas Jaeger  <aj@suse.de>
11973
11974         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11975         bits/mman-linux.h.
11976
11977 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11978
11979         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11980         Include mpa.h and declare __MPEXP.
11981         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11982         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11983         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11984         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11985         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11986         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11987         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11988
11989         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11990         (__slowpow): Use long double EXPL and LOGL functions to
11991         compute POW.
11992         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11993         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11994         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11995         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11996         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11997         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11998
11999         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12000         intermediate variable to calculate exponent.
12001         (__sqr): Likewise.
12002         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12003         Likewise.
12004         (__sqr): Likewise.
12005
12006         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12007         [!NO__SQR]: Define __sqr.
12008         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12009         and NO__SQR.  Remove all code except __mul and __sqr.  Include
12010         sysdeps/ieee754/dbl-64/mpa.c.
12011         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12012
12013         [BZ #12723]
12014         * posix/Makefile (tests): Add tst-pathconf.
12015         * posix/tst-pathconf.c: New test case.
12016         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12017         _PC_PIPE_BUF.
12018         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12019
12020 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
12021
12022         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12023
12024 2013-03-06  Andreas Jaeger  <aj@suse.de>
12025
12026         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12027         definition via __MAP_ANONYMOUS.
12028
12029         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12030         it's not part of Linux headers.
12031
12032         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12033         (MAP_HUGE_MASK): Define.
12034
12035         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12036         Define.
12037         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12038         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12039         Define.
12040         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12041         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12042         Define.
12043         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12044         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12045         Define.
12046         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12047
12048         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12049         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12050         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12051         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12052         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12053         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12054
12055         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12056         Handle f2fs.
12057
12058         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12059         Handle f2fs and efivarfs.
12060
12061         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12062         f2fs.
12063
12064         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12065         (EFIVARFS_MAGIC): Add.
12066         (F2FS_LINK_MAX): Add.
12067
12068 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12069
12070         * stdio-common/vfprintf.c: Replace __builtin_expect with
12071         __glibc_unlikely.
12072
12073 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
12074
12075         [BZ #13550]
12076         * sysdeps/generic/bp-sym.h: Remove file.
12077         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12078         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12079         <bp-sym.h> and <bp-asm.h>.
12080         (__longjmp): Don't use BP_SYM.
12081         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12082         and <bp-asm.h>.
12083         (memcpy): Don't use BP_SYM.
12084         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12085         <bp-sym.h> and <bp-asm.h>.
12086         (memcpy): Don't use BP_SYM.
12087         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12088         <bp-asm.h>.
12089         (memcpy): Don't use BP_SYM.
12090         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12091         <bp-asm.h>.
12092         (memset): Don't use BP_SYM.
12093         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12094         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12095         (__bzero): Don't use BP_SYM.
12096         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12097         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12098         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12099         <bp-sym.h> and <bp-asm.h>.
12100         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12101         pointers.
12102         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12103         <bp-sym.h> and <bp-asm.h>.
12104         (memcpy): Don't use BP_SYM.
12105         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12106         <bp-sym.h> and <bp-asm.h>.
12107         (memset): Don't use BP_SYM.
12108         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12109         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12110         (__bzero): Don't use BP_SYM.
12111         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12112         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12113         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12114         <bp-sym.h> and <bp-asm.h>.
12115         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12116         pointers.
12117         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12118         <bp-sym.h> and <bp-asm.h>.
12119         (memcpy): Don't use BP_SYM.
12120         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12121         <bp-sym.h> and <bp-asm.h>.
12122         (memset): Don't use BP_SYM.
12123         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12124         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12125         (__bzero): Don't use BP_SYM.
12126         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12127         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12128         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12129         <bp-sym.h> and <bp-asm.h>.
12130         (__memchr): Don't use BP_SYM.
12131         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12132         <bp-sym.h> and <bp-asm.h>.
12133         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12134         pointers.
12135         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12136         <bp-sym.h> and <bp-asm.h>.
12137         (memcpy): Don't use BP_SYM.
12138         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12139         <bp-sym.h> and <bp-asm.h>.
12140         (__mempcpy): Don't use BP_SYM.
12141         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12142         <bp-sym.h> and <bp-asm.h>.
12143         (__memrchr): Don't use BP_SYM.
12144         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12145         <bp-sym.h> and <bp-asm.h>.
12146         (memset): Don't use BP_SYM.
12147         (__bzero): Likewise.
12148         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12149         <bp-sym.h> and <bp-asm.h>.
12150         (__rawmemchr): Don't use BP_SYM.
12151         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12152         <bp-sym.h> and <bp-asm.h>.
12153         (__STRCMP): Don't use BP_SYM.
12154         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12155         <bp-sym.h> and <bp-asm.h>.
12156         (strchr): Don't use BP_SYM.
12157         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12158         <bp-sym.h> and <bp-asm.h>.
12159         (__strchrnul): Don't use BP_SYM.
12160         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12161         <bp-sym.h> and <bp-asm.h>.
12162         (strlen): Don't use BP_SYM.
12163         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12164         <bp-sym.h> and <bp-asm.h>.
12165         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12166         pointers.
12167         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12168         <bp-sym.h> and <bp-asm.h>.
12169         (__strnlen): Don't use BP_SYM.
12170         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12171         <bp-sym.h> and <bp-asm.h>.
12172         (__GI__setjmp): Don't use BP_SYM.
12173         (_setjmp): Likewise.
12174         (__sigsetjmp): Likewise.
12175         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12176         (L(start_addresses)): Don't use BP_SYM.
12177         (_start): Likewise.
12178         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12179         <bp-asm.h>.
12180         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12181         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12182         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12183         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12184         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12185         <bp-asm.h>.
12186         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12187         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
12188         about bounded pointers.
12189         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12190         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12191         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12192         <bp-asm.h>.
12193         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12194         about bounded pointers.  Remove GKM FIXME comments.
12195         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12196         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12197         <bp-asm.h>.
12198         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12199         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
12200         Remove GKM FIXME comments.
12201         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12202         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12203         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12204         <bp-asm.h>.
12205         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12206         about bounded pointers.  Remove GKM FIXME comment.
12207         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12208         and <bp-asm.h>.
12209         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12210         pointers.
12211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12212         <bp-sym.h> and <bp-asm.h>.
12213         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12215         <bp-sym.h> and <bp-asm.h>.
12216         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12217         comment.
12218
12219 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12220
12221         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12222         call free(NULL).
12223
12224 2013-03-05  David S. Miller  <davem@davemloft.net>
12225
12226         * po/es.po: Update from translation team.
12227
12228 2013-03-05  Andreas Jaeger  <aj@suse.de>
12229
12230         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12231         <bits/mman-linux.h>.
12232         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12233         is fine.
12234         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12235         <bits/mman-linux.h> to end of file.
12236         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12237         is fine.
12238         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12239         <bits/mman-linux.h> to end of file.
12240         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12241         is fine.
12242         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12243         <bits/mman-linux.h> to end of file.
12244
12245         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12246         (MCL_CURRENT, MCL_FUTURE): Define here.
12247
12248 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12249
12250         [BZ #15232]
12251         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12252         attribute_hidden.
12253         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12254
12255 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12256
12257         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12258         fourth parameter needed for rt_sigprocmask syscall.
12259         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12260         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12261         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12262         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12263         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12264         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12265
12266 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
12267
12268         [BZ #13550]
12269         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12270         comment about bounded pointers.
12271         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12272         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12273
12274 2013-03-04  Andreas Jaeger  <aj@suse.de>
12275
12276         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12277         common definitions.
12278
12279         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12280         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12281         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12282         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12283         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12284         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12285
12286 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12287
12288         [BZ #15055]
12289         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12290         __ieee754_sqrl instead of __sqrl.
12291
12292 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
12293
12294         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12295         * sysdeps/powerpc/fpu_control.h: ... here.
12296         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12297         * sysdeps/powerpc/bits/fenvinline.h: ... here.
12298         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12299         * sysdeps/powerpc/bits/mathinline.h: ... here.
12300
12301 2013-03-01  Roland McGrath  <roland@hack.frob.com>
12302
12303         * elf/dl-hwcaps.c (_dl_important_hwcaps):
12304         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12305         to just [NEED_DL_SYSINFO_DSO].
12306         * elf/dl-support.c: Likewise.
12307         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12308         * elf/rtld.c (dl_main): Likewise.
12309         * elf/setup-vdso.h (setup_vdso): Likewise.
12310         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12311         * sysdeps/unix/sysv/linux/dl-sysdep.c
12312         (_dl_discover_osversion): Likewise.
12313
12314 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
12315
12316         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12317         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12318
12319 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12320
12321         * NEWS: Mention libm performance improvements and non-x86 PI
12322         futex support.
12323
12324         * csu/libc-start.c (__pthread_initialize_minimal): Change
12325         function arguments.
12326         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12327
12328 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
12329
12330         [BZ #13550]
12331         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12332         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12333         <bp-sym.h> and <bp-asm.h>.
12334         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12335         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12336         and <bp-asm.h>.
12337         (memcpy): Don't use BP_SYM.
12338         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12339         <bp-asm.h>.
12340         (__mpn_add_n): Don't use BP_SYM.
12341         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12342         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12343         and <bp-asm.h>.
12344         (__mpn_addmul_1): Don't use BP_SYM.
12345         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12346         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12347         <bp-sym.h>.
12348         (_setjmp): Don't use BP_SYM.
12349         (__novmx_setjmp): Likewise.
12350         (__GI__setjmp): Likewise.
12351         (__vmx_setjmp): Likewise.
12352         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12353         <bp-sym.h>.
12354         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12355         (__bzero): Don't use BP_SYM.
12356         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12357         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12358         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12359         <bp-sym.h> and <bp-asm.h>.
12360         (memcpy): Don't use BP_SYM.
12361         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12362         <bp-sym.h> and <bp-asm.h>.
12363         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12364         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12365         <bp-sym.h> and <bp-asm.h>.
12366         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12367         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12368         <bp-asm.h>.
12369         (__mpn_lshift): Don't use BP_SYM.
12370         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12371         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12372         <bp-asm.h>.
12373         (memset): Don't use BP_SYM.
12374         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12375         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12376         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12377         <bp-asm.h>.
12378         (__mpn_mul_1): Don't use BP_SYM.
12379         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12380         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12381         <bp-sym.h> and <bp-asm.h>.
12382         (memcmp): Don't use BP_SYM.
12383         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12384         <bp-sym.h> and <bp-asm.h>.
12385         (memcpy): Don't use BP_SYM.
12386         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12387         <bp-sym.h> and <bp-asm.h>.
12388         (memset): Don't use BP_SYM.
12389         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12390         <bp-sym.h> and <bp-asm.h>.
12391         (strncmp): Don't use BP_SYM.
12392         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12393         <bp-sym.h> and <bp-asm.h>.
12394         (memcpy): Don't use BP_SYM.
12395         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12396         <bp-sym.h> and <bp-asm.h>.
12397         (memset): Don't use BP_SYM.
12398         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12399         <bp-sym.h> and <bp-asm.h>.
12400         (__memchr): Don't use BP_SYM.
12401         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12402         <bp-sym.h> and <bp-asm.h>.
12403         (memcmp): Don't use BP_SYM.
12404         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12405         <bp-sym.h> and <bp-asm.h>.
12406         (memcpy): Don't use BP_SYM.
12407         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12408         <bp-sym.h> and <bp-asm.h>.
12409         (__mempcpy): Don't use BP_SYM.
12410         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12411         <bp-sym.h> and <bp-asm.h>.
12412         (__memrchr): Don't use BP_SYM.
12413         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12414         <bp-sym.h> and <bp-asm.h>.
12415         (memset): Don't use BP_SYM.
12416         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12417         <bp-sym.h> and <bp-asm.h>.
12418         (__rawmemchr): Don't use BP_SYM.
12419         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12420         <bp-sym.h> and <bp-asm.h>.
12421         (__STRCMP): Don't use BP_SYM.
12422         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12423         <bp-sym.h> and <bp-asm.h>.
12424         (strchr): Don't use BP_SYM.
12425         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12426         <bp-sym.h> and <bp-asm.h>.
12427         (__strchrnul): Don't use BP_SYM.
12428         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12429         <bp-sym.h> and <bp-asm.h>.
12430         (strlen): Don't use BP_SYM.
12431         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12432         <bp-sym.h> and <bp-asm.h>.
12433         (strncmp): Don't use BP_SYM.
12434         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12435         <bp-sym.h> and <bp-asm.h>.
12436         (__strnlen): Don't use BP_SYM.
12437         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12438         <bp-asm.h>.
12439         (__mpn_rshift): Don't use BP_SYM.
12440         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12441         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12442         <bp-sym.h> and <bp-asm.h>.
12443         (__sigsetjmp): Don't use BP_SYM.
12444         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12445         (L(start_addresses)): Don't use BP_SYM.
12446         (_start): Likewise.
12447         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12448         <bp-asm.h>.
12449         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12450         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12451         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12452         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12453         <bp-asm.h>.
12454         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12455         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12456         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12457         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12458         <bp-asm.h>.
12459         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12460         comments.
12461         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12462         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12463         <bp-asm.h>.
12464         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
12465         FIXME comments.
12466         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12467         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12468         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12469         <bp-asm.h>.
12470         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12471         comment.
12472         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12473         and <bp-asm.h>.
12474         (strncmp): Don't use BP_SYM,
12475         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12476         <bp-asm.h>.
12477         (__mpn_sub_n): Don't use BP_SYM.
12478         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12479         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12480         and <bp-asm.h>.
12481         (__mpn_submul_1): Don't use BP_SYM.
12482         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12484         <bp-sym.h> and <bp-asm.h>.
12485         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12487         <bp-sym.h> and <bp-asm.h>.
12488         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12489         comment.
12490
12491 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12492
12493         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12494         Use ZK to minimize writes to Z.
12495         (sub_magnitudes): Simplify code a bit.
12496         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12497         Use ZK to minimize writes to Z.
12498         (sub_magnitudes): Simplify code a bit.
12499
12500 2013-02-27  Roland McGrath  <roland@hack.frob.com>
12501
12502         * csu/gmon-start.c: Add special exception to license text.
12503
12504 2013-02-27  Richard Henderson  <rth@redhat.com>
12505
12506         * scripts/config.guess: Update from config.git.
12507         * scripts/config.sub: Likewise.
12508
12509 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12510
12511         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12512
12513         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12514
12515         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12516
12517         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12518
12519         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12520
12521 2013-02-26  Roland McGrath  <roland@hack.frob.com>
12522
12523         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12524         [$(build-shared = yes].
12525
12526 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12527
12528         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12529         (__mul): Reduce iterations for calculating mantissa.
12530
12531         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12532         MPTWO.
12533         (__mpranred): Likewise.
12534
12535         [BZ #15160]
12536         * malloc/memusagestat.c (main): Draw graphs for heap and stack
12537         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12538
12539 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
12540
12541         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12542         Define __attribute__.
12543
12544 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12545
12546         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12547         unused.
12548         * posix/regex_internal.h (__attribute): Remove.
12549         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12550         (re_string_context_at): Likewise.
12551         (bitset_not): Use __attribute__ and mark function as possibly
12552         unused.
12553         (bitset_merge): Likewise.
12554         (bitset_mask): Likewise.
12555         (re_string_char_size_at): Likewise.
12556         (re_string_wchar_at): Likewise.
12557         (re_string_elem_size_at): Likewise.
12558
12559 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12560
12561         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12562         code.
12563         (cc32): Likewise.
12564
12565         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12566         (__acr): Likewise.
12567         (__cpy): Likewise.
12568         (norm): Likewise.
12569         (denorm): Likewise.
12570         (__dbl_mp): Likewise.
12571         (add_magnitudes): Likewise.
12572         (sub_magnitudes): Likewise.
12573         (__mul): Likewise.
12574         (__inv): Likewise.
12575
12576         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12577         style.
12578
12579         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12580         style.
12581
12582         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12583         code.
12584
12585         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12586         up changes with default code.
12587         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12588         Likewise.
12589
12590 2013-02-24  Allan McRae  <allan@archlinux.org>
12591
12592         * manual/socket.texi (The Internet Namespace): Order menu items
12593         to match that in the file.
12594
12595         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12596         node listing of the info page menu.
12597
12598 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
12599
12600         [BZ #13550]
12601         * sysdeps/i386/bp-asm.h: Remove file.
12602         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12603         (PARMS): Do not use macros from bp-asm.h.
12604         (S1): Likewise.
12605         (S2): Likewise.
12606         (SIZE): Likewise.
12607         (__mpn_add_n): Do not use BP_SYM
12608         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12609         "bp-asm.h".
12610         (PARMS): Do not use macros from bp-asm.h.
12611         (S1): Likewise.
12612         (SIZE): Likewise.
12613         (__mpn_addmul_1): Do not use BP_SYM
12614         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12615         "bp-asm.h".
12616         (PARMS): Do not use macros from bp-asm.h.
12617         (SIGMSK): Likewise.
12618         (_setjmp): Likewise.  Do not use BP_SYM.
12619         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12620         "bp-asm.h".
12621         (PARMS): Do not use macros from bp-asm.h.
12622         (SIGMSK): Likewise.
12623         (setjmp): Likewise.  Do not use BP_SYM.
12624         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12625         "bp-asm.h".
12626         (PARMS): Do not use macros from bp-asm.h.
12627         (__frexp): Do not use BP_SYM.
12628         (frexp): Likewise.
12629         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12630         "bp-asm.h".
12631         (PARMS): Do not use macros from bp-asm.h.
12632         (__frexpf): Do not use BP_SYM.
12633         (frexpf): Likewise.
12634         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12635         "bp-asm.h".
12636         (PARMS): Do not use macros from bp-asm.h.
12637         (__frexpl): Do not use BP_SYM.
12638         (frexpl): Likewise.
12639         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12640         "bp-asm.h".
12641         (PARMS): Do not use macros from bp-asm.h.
12642         (__remquo): Do not use BP_SYM.
12643         (remquo): Likewise.
12644         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12645         "bp-asm.h".
12646         (PARMS): Do not use macros from bp-asm.h.
12647         (__remquof): Do not use BP_SYM.
12648         (remquof): Likewise.
12649         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12650         "bp-asm.h".
12651         (PARMS): Do not use macros from bp-asm.h.
12652         (__remquol): Do not use BP_SYM.
12653         (remquol): Likewise.
12654         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12655         "bp-asm.h".
12656         (PARMS): Do not use macros from bp-asm.h.
12657         (DEST): Likewise.
12658         (SRC): Likewise.
12659         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
12660         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12661         "bp-asm.h".
12662         (PARMS): Do not use macros from bp-asm.h.
12663         (strlen): Do not use BP_SYM.
12664         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12665         "bp-asm.h".
12666         (PARMS): Do not use macros from bp-asm.h.
12667         (S1): Likewise.
12668         (S2): Likewise.
12669         (SIZE): Likewise.
12670         (__mpn_add_n): Do not use BP_SYM.
12671         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12672         "bp-asm.h".
12673         (PARMS): Do not use macros from bp-asm.h.
12674         (S1): Likewise.
12675         (SIZE): Likewise.
12676         (__mpn_addmul_1): Do not use BP_SYM.
12677         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12678         weak_alias.
12679         (bzero): Likewise.
12680         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12681         "bp-asm.h".
12682         (PARMS): Do not use macros from bp-asm.h.
12683         (S): Likewise.
12684         (SIZE): Likewise.
12685         (__mpn_lshift): Do not use BP_SYM.
12686         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12687         "bp-asm.h".
12688         (PARMS): Do not use macros from bp-asm.h.
12689         (DEST): Likewise.
12690         (SRC): Likewise.
12691         (LEN): Likewise.
12692         (memcpy): Likewise.  Do not use BP_SYM.
12693         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12694         libc_hidden_def and weak_alias.
12695         (mempcpy): Do not use BP_SYM in weak_alias.
12696         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12697         "bp-asm.h".
12698         (PARMS): Do not use macros from bp-asm.h.
12699         (DEST): Likewise.
12700         (LEN): Likewise.
12701         [!BZERO_P] (CHR): Likewise.
12702         (memset): Likewise.  Do not use BP_SYM.
12703         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12704         "bp-asm.h".
12705         (PARMS): Do not use macros from bp-asm.h.
12706         (S1): Likewise.
12707         (SIZE): Likewise.
12708         (__mpn_mul_1): Do not use BP_SYM.
12709         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12710         "bp-asm.h".
12711         (PARMS): Do not use macros from bp-asm.h.
12712         (S): Likewise.
12713         (SIZE): Likewise.
12714         (__mpn_rshift): Do not use BP_SYM.
12715         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12716         "bp-asm.h".
12717         (PARMS): Do not use macros from bp-asm.h.
12718         (STR): Likewise.
12719         (CHR): Likewise.
12720         (strchr): Likewise.  Do not use BP_SYM.
12721         (index): Do not use BP_SYM in weak_alias.
12722         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12723         "bp-asm.h".
12724         (PARMS): Do not use macros from bp-asm.h.
12725         (DEST): Likewise.
12726         (SRC): Likewise.
12727         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
12728         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12729         "bp-asm.h".
12730         (PARMS): Do not use macros from bp-asm.h.
12731         (strlen): Do not use BP_SYM.
12732         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12733         "bp-asm.h".
12734         (PARMS): Do not use macros from bp-asm.h.
12735         (S1): Likewise.
12736         (S2): Likewise.
12737         (SIZE): Likewise.
12738         (__mpn_sub_n): Do not use BP_SYM.
12739         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12740         "bp-asm.h".
12741         (PARMS): Do not use macros from bp-asm.h.
12742         (S1): Likewise.
12743         (SIZE): Likewise.
12744         (__mpn_submul_1): Do not use BP_SYM.
12745         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12746         "bp-asm.h".
12747         (PARMS): Do not use macros from bp-asm.h.
12748         (S1): Likewise.
12749         (S2): Likewise.
12750         (SIZE): Likewise.
12751         (__mpn_add_n): Do not use BP_SYM.
12752         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12753         weak_alias.
12754         (bzero): Likewise.
12755         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12756         "bp-asm.h".
12757         (PARMS): Do not use macros from bp-asm.h.
12758         (BLK2): Likewise.
12759         (LEN): Likewise.
12760         (memcmp): Do not use BP_SYM.
12761         (bcmp): Do not use BP_SYM in weak_alias.
12762         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12763         "bp-asm.h".
12764         (PARMS): Do not use macros from bp-asm.h.
12765         (DEST): Likewise.
12766         (SRC): Likewise.
12767         (LEN): Likewise.
12768         (memcpy): Likewise.  Do not use BP_SYM.
12769         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12770         "bp-asm.h".
12771         (PARMS): Do not use macros from bp-asm.h.
12772         (DEST): Likewise.
12773         (SRC): Likewise.
12774         (LEN): Likewise.
12775         (memmove): Likewise.  Do not use BP_SYM.
12776         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12777         "bp-asm.h".
12778         (PARMS): Do not use macros from bp-asm.h.
12779         (DEST): Likewise.
12780         (SRC): Likewise.
12781         (LEN): Likewise.
12782         (__mempcpy): Likewise.  Do not use BP_SYM.
12783         (mempcpy): Do not use BP_SYM in weak_alias.
12784         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12785         "bp-asm.h".
12786         (PARMS): Do not use macros from bp-asm.h.
12787         (DEST): Likewise.
12788         (LEN): Likewise.
12789         [!BZERO_P] (CHR): Likewise.
12790         (memset): Likewise.  Do not use BP_SYM.
12791         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12792         "bp-asm.h".
12793         (PARMS): Do not use macros from bp-asm.h.
12794         (STR2): Likewise.
12795         (strcmp): Do not use BP_SYM.
12796         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12797         "bp-asm.h".
12798         (PARMS): Do not use macros from bp-asm.h.
12799         (STR): Likewise.
12800         (DELIM): Likewise.
12801         [USE_AS_STRTOK_R] (SAVE): Likewise.
12802         (FUNCTION): Likewise.  Do not use BP_SYM.
12803         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12804         aliases.
12805         (strtok_r): Likewise.
12806         (__GI___strtok_r): Likewise.
12807         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12808         (PARMS): Do not use macros from bp-asm.h.
12809         (S): Likewise.
12810         (SIZE): Likewise.
12811         (__mpn_lshift): Do not use BP_SYM.
12812         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12813         (PARMS): Do not use macros from bp-asm.h.
12814         (STR): Likewise.
12815         (CHR): Likewise.
12816         (__memchr): Do not use BP_SYM.
12817         (memchr): Do not use BP_SYM in weak_alias.
12818         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12819         (PARMS): Do not use macros from bp-asm.h.
12820         (BLK2): Likewise.
12821         (LEN): Likewise.
12822         (memcmp): Do not use BP_SYM.
12823         (bcmp): Do not use BP_SYM in weak_alias.
12824         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12825         (PARMS): Do not use macros from bp-asm.h.
12826         (S1): Likewise.
12827         (SIZE): Likewise.
12828         (__mpn_mul_1): Do not use BP_SYM.
12829         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12830         "bp-asm.h".
12831         (PARMS): Do not use macros from bp-asm.h.
12832         (STR): Likewise.
12833         (CHR): Likewise.
12834         (__rawmemchr): Do not use BP_SYM.
12835         (rawmemchr): Do not use BP_SYM in weak_alias.
12836         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12837         (PARMS): Do not use macros from bp-asm.h.
12838         (S): Likewise.
12839         (SIZE): Likewise.
12840         (__mpn_rshift): Do not use BP_SYM.
12841         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12842         (PARMS): Do not use macros from bp-asm.h.
12843         (SIGMSK): Likewise.
12844         (__sigsetjmp): Likewise.  Do not use BP_SYM.
12845         * sysdeps/i386/start.S: Do not include "bp-sym.h".
12846         (_start): Do not use BP_SYM.
12847         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12848         (PARMS): Do not use macros from bp-asm.h.
12849         (DEST): Likewise.
12850         (SRC): Likewise.
12851         (__stpcpy): Likewise.  Do not use BP_SYM.
12852         (stpcpy): Do not use BP_SYM in weak_alias.
12853         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12854         "bp-asm.h".
12855         (PARMS): Do not use macros from bp-asm.h.
12856         (DEST): Likewise.
12857         (SRC): Likewise.
12858         (LEN): Likewise.
12859         (__stpncpy): Likewise.  Do not use BP_SYM.
12860         (stpncpy): Do not use BP_SYM in weak_alias.
12861         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12862         (PARMS): Do not use macros from bp-asm.h.
12863         (STR): Likewise.
12864         (CHR): Likewise.
12865         (strchr): Likewise.  Do not use BP_SYM.
12866         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12867         "bp-asm.h".
12868         (PARMS): Do not use macros from bp-asm.h.
12869         (STR): Likewise.
12870         (CHR): Likewise.
12871         (__strchrnul): Likewise.  Do not use BP_SYM.
12872         (strchrnul): Do not use BP_SYM in weak_alias.
12873         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12874         "bp-asm.h".
12875         (PARMS): Do not use macros from bp-asm.h.
12876         (STOP): Likewise.
12877         (strcspn): Do not use BP_SYM.
12878         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12879         "bp-asm.h".
12880         (PARMS): Do not use macros from bp-asm.h.
12881         (STR): Likewise.
12882         (STOP): Likewise.
12883         (strpbrk): Likewise.  Do not use BP_SYM.
12884         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12885         "bp-asm.h".
12886         (PARMS): Do not use macros from bp-asm.h.
12887         (STR): Likewise.
12888         (CHR): Likewise.
12889         (strrchr): Likewise.  Do not use BP_SYM.
12890         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12891         (PARMS): Do not use macros from bp-asm.h.
12892         (SKIP): Likewise.
12893         (strspn): Do not use BP_SYM.
12894         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12895         (PARMS): Do not use macros from bp-asm.h.
12896         (STR): Likewise.
12897         (DELIM): Likewise.
12898         (SAVE): Likewise.
12899         (FUNCTION): Likewise.  Do not use BP_SYM.
12900         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12901         aliases.
12902         (strtok_r): Likewise.
12903         (__GI___strtok_r): Likewise.
12904         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12905         (PARMS): Do not use macros from bp-asm.h.
12906         (S1): Likewise.
12907         (S2): Likewise.
12908         (SIZE): Likewise.
12909         (__mpn_sub_n): Do not use BP_SYM.
12910         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12911         "bp-asm.h".
12912         (PARMS): Do not use macros from bp-asm.h.
12913         (S1): Likewise.
12914         (SIZE): Likewise.
12915         (__mpn_submul_1): Do not use BP_SYM.
12916         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12917         <bp-sym.h>.
12918         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12919         and <bp-asm.h>.
12920         (PARMS): Do not use macros from bp-asm.h.
12921         (FLAGS): Likewise.
12922         (PTID): Likewise.
12923         (TLS): Likewise.
12924         (CTID): Likewise.
12925         (__clone): Do not use BP_SYM.
12926         (clone): Do not use BP_SYM in weak_alias.
12927         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12928         and <bp-asm.h>.
12929         (PARMS): Do not use macros from bp-asm.h.
12930         (LEN): Likewise.
12931         (__mmap64): Do not use BP_SYM.
12932         (mmap64): Do not use BP_SYM in weak_alias.
12933         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12934         <bp-sym.h> and <bp-asm.h>.
12935         (PARMS): Do not use macros from bp-asm.h.
12936         (__posix_fadvise64_l64): Do not use BP_SYM.
12937         * sysdeps/unix/sysv/linux/i386/semtimedop.S
12938         (PARMS): Do not use macros from bp-asm.h.
12939         (NSOPS): Likewise.
12940         (semtimedop): Do not use BP_SYM.
12941         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12942         and <bp-asm.h>.
12943
12944 2013-02-21  Allan McRae  <allan@archlinux.org>
12945
12946         * manual/message.texi (Charset conversion in gettext):
12947         Move @end statement to beginning of line.
12948
12949 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12950
12951         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12952         static.
12953         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12954         Likewise.
12955
12956         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12957         (denorm): Likewise.
12958         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12959         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12960
12961 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12962
12963         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12964         tail-call to the resolved function if pltexit isn't needed.
12965
12966 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12967
12968         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12969         or Y being zero as being unlikely.
12970         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12971         Likewise.
12972
12973 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
12974
12975         * manual/nss.texi (System Databases and Name Service Switch):
12976         Remove frobnicate @pxref.
12977
12978 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12979
12980         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12981         __attribute__ ((unused)) to __attribute__ ((__unused__)).
12982
12983 2013-02-20  Petr Machata  <pmachata@redhat.com>
12984
12985         * elf/elf.h (R_ARM_TARGET1): New macro.
12986         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12987         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12988         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12989         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12990         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12991         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12992         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12993         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12994         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12995         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12996         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12997         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12998         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12999         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13000         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13001         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13002         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13003         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13004         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13005         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13006         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13007         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13008         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13009         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13010         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13011         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13012         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13013         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13014         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13015         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13016         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13017         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13018         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13019         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13020         (R_ARM_THM_GOT_BREL12): Likewise.
13021         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13022         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13023         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13024         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13025         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13026         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13027         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13028         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13029         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13030
13031 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
13032
13033         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13034         __attribute_used__ to __attribute__ ((unused)).
13035
13036 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13037
13038         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13039         powerpc mpa.c.
13040         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13041         comment formatting.
13042         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13043
13044 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
13045
13046         [BZ #13550]
13047         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13048         Remove macro.
13049         (ENTER): Remove both macro definitions.
13050         (LEAVE): Likewise.
13051         (CHECK_BOUNDS_LOW): Likewise.
13052         (CHECK_BOUNDS_HIGH): Likewise.
13053         (CHECK_BOUNDS_BOTH): Likewise.
13054         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13055         (RETURN_BOUNDED_POINTER): Likewise.
13056         (RETURN_NULL_BOUNDED_POINTER): Likewise.
13057         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13058         (POP_ERRNO_LOCATION_RETURN): Likewise.
13059         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13060         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13061         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13062         macros.
13063         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13064         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13065         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13066         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13067         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13068         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13069         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13070         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13071         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13072         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13073         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13074         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13075         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13076         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13077         removed macros.
13078         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13079         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13080         macros.
13081         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13082         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13083         * sysdeps/i386/i586/memset.S (memset): Likewise.
13084         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13085         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13086         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13087         macros.
13088         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13089         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13090         Change uses of L(2) to L(out).
13091         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13092         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13093         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13094         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13095         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13096         removed macros.
13097         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13098         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13099         macros.
13100         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13101         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13102         (RETURN): Do not use macro LEAVE.
13103         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13104         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13105         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13106         * sysdeps/i386/i686/memset.S (memset): Likewise.
13107         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13108         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13109         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13110         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13111         Likewise.
13112         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13113         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
13114         L(1_2) and L(1_3) into L(1).
13115         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13116         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13117         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13118         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13119         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13120         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13121         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13122         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13123         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13124         macros.
13125         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13126         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13127         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13128         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13129         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13130         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13131         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13132         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13133         * sysdeps/i386/strcspn.S (strcspn): Likewise.
13134         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13135         * sysdeps/i386/strrchr.S (strrchr): Likewise.
13136         * sysdeps/i386/strspn.S (strspn): Likewise.
13137         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13138         conditional code.
13139         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13140         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13141         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13142         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
13143         L(1_3) into L(1_1).
13144         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13145         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13146         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13147         macros.
13148         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13149
13150 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
13151
13152         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13153         macro.
13154
13155 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13156
13157         * math/atest-exp.c (exp_mpn): Remove ROUND.
13158         * math/atest-exp2.c (exp_mpn): Likewise.
13159         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13160
13161         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13162         * stdlib/tst-tls-atexit-lib.c: Likewise.
13163         * stdlib/tst-tls-atexit.c: Likewise.
13164
13165 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13166
13167         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13168         and __attribute_alloc_size__.
13169
13170 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13171
13172         * include/programs/xmalloc.h: Change __attribute_alloc_size to
13173         __attribute_alloc_size__.
13174         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13175         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13176
13177 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13178
13179         * include/programs/xmalloc.h: New file.
13180         * catgets/gencat.c: Include it.
13181         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13182         * elf/pldd.c: Likewise.
13183         * iconv/iconv_charmap.c: Likewise.
13184         * iconv/iconvconfig.c: Likewise.
13185         * iconv/strtab.c: Likewise.
13186         * locale/programs/locale.c: Likewise.
13187         * locale/programs/localedef.h: Likewise.
13188         * locale/programs/simple-hash.c: Likewise.
13189         * nscd/nscd.h: Likewise.
13190         * nss/makedb.c: Likewise.
13191         * sysdeps/generic/ldconfig.h: Likewise.
13192
13193 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13194
13195         * Versions.def: Add GLIBC_2.18.
13196         * include/link.h (struct link_map): New member l_tls_dtor_count.
13197         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13198         (__call_tls_dtors): Likewise.
13199         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13200         __cxa_thread_atexit_impl.
13201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13202         Likewise.
13203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13204         Likewise.
13205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13206         Likewise.
13207         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13208         Likewise.
13209         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13210         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13211         Likewise.
13212         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13213         Likewise.
13214         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13215         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13216         Likewise.
13217         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13218         (tests): Add test case tst-tls-atexit.
13219         (modules-names): Add shared library for tst-tls-atexit.
13220         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13221         (GLIBC_PRIVATE): Add __call_tls_dtors.
13222         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13223         for libstdc++.
13224         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13225         * stdlib/tst-tls-atexit.c: New test case.
13226         * stdlib/tst-tls-atexit-lib.c: New test case.
13227
13228         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13229
13230         * elf/Versions (ld): Add _dl_find_dso_for_object.
13231         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13232         * elf/dl-open.c (_dl_find_dso_for_object): New function.
13233         (dl_open_worker): Use _dl_find_dso_for_object.
13234         * elf/dl-sym.c (do_sym): Likewise.
13235         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13236
13237 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13238
13239         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13240         Syntactic changes only.
13241         (_dl_runtime_profile): Do a tail-call to the resolved function.
13242
13243 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
13244
13245         [BZ #13550]
13246         * sysdeps/x86_64/bp-asm.h: Remove file.
13247         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13248         <bp-sym.h> and <bp-asm.h>.
13249         (__clone): Do not use BP_SYM.
13250         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13251         <bp-sym.h> and <bp-asm.h>.
13252         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13253         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13254         "bp-asm.h".
13255         (_setjmp): Do not use BP_SYM.
13256         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13257         "bp-asm.h".
13258         (setjmp): Do not use BP_SYM.
13259         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13260         libc_hidden_def.
13261         (mempcpy): Do not use BP_SYM in weak_alias.
13262         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13263         "bp-asm.h".
13264         (strchr): Do not use BP_SYM.
13265         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13266         "bp-asm.h".
13267         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13268         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13269         (_start): Do not use BP_SYM.
13270         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13271         "bp-asm.h".
13272         (strcat): Do not use BP_SYM.
13273         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13274         "bp-asm.h".
13275         (STRCMP): Do not use BP_SYM.
13276         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13277         "bp-asm.h".
13278         (STRCPY): Do not use BP_SYM.
13279         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13280         "bp-asm.h".
13281         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13282         "bp-asm.h".
13283         (FUNCTION): Do not use BP_SYM.
13284         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13285         weak_alias.
13286         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13287
13288 2013-02-17  Andreas Jaeger  <aj@suse.de>
13289
13290         * time/Versions: Sort entries.
13291         * string/Versions: Likewise.
13292         * resolv/Versions: Likewise.
13293         * posix/Versions: Likewise.
13294         * iconv/Versions: Likewise.
13295         * elf/Versions: Likewise.
13296         * wcsmbs/Versions: Likewise.
13297
13298 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13299
13300         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13301         loop termination condition.
13302
13303         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13304         variable to calculate EZ.
13305         (__sqr): Likewise.
13306
13307         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13308         the lower precision input.
13309
13310 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
13311
13312         [BZ #13550]
13313         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13314         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13315         (run-via-rtld-prefix): Do not handle %-bp tests.
13316         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13317         (all-object-suffixes): Remove .ob.
13318         (bppfx): Remove variable.
13319         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13320         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13321         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13322         [$(build-bounded) = yes] (libtype.ob): Likewise.
13323         * Makerules (elide-routines.ob): Remove variable.
13324         (do-tests-clean): Do not handle *-bp.out.
13325         (common-mostlyclean): Do not handle *-bp and *-bp.out.
13326         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13327         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13328         (tests): Do not include $(tests-bp.out).
13329         (xtests): Do not include $(xtests-bp.out).
13330         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13331         [$(build-bounded) = yes] ($(addprefix
13332         $(objpfx),$(binaries-bounded))): Remove rule.
13333         ($(objpfx)%-bp.out): Remove rule.
13334         * config.make.in (build-bounded): Remove variable.
13335         * crypt/Makefile [$(build-bounded) = yes]
13336         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13337         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13338         append to variable.
13339         [$(build-bounded) = yes] (install-lib): Likewise.
13340         [$(build-bounded) = yes] (generated): Likewise.
13341         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13342         Remove rule.
13343         * intl/Makefile [$(build-bounded) = yes]
13344         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13345         * math/Makefile [$(build-bounded) = yes]
13346         ($(tests:%=$(objpfx)%-bp): Likewise.
13347         * misc/Makefile [$(build-bounded) = yes]
13348         ($(objpfx)tst-tsearch-bp): Likewise.
13349         * nptl/Makeconfig (bounded-thread-library): Remove variable.
13350         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13351         Remove dependency.
13352         * string/Makefile (o-objects.ob): Remove variable.
13353         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13354         (CFLAGS-.ob): Remove variable.
13355         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13356         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13357         both definitions of variable.
13358         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13359         (ASFLAGS-.ob): Remove variable.
13360
13361 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
13362
13363         [BZ #13550]
13364         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13365         Remove __BOUNDED_POINTERS__ from condition.
13366         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13367         * string/bits/string2.h [!__NO_STRING_INLINES &&
13368         !__BOUNDED_POINTERS__]: Likewise.
13369         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13370         Likewise.
13371         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13372         Remove conditional code.
13373         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13374         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13375         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13376         condition.
13377
13378         [BZ #13550]
13379         * csu/libc-start.c: Do not include <bp-sym.h>.
13380         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13381         * elf/dl-open.c: Do not include <bp-sym.h>.
13382         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13383         * math/fegetenv.c: Do not include <bp-sym.h>.
13384         (fegetenv): Do not use BP_SYM in versioned symbols.
13385         * nptl/sysdeps/pthread/bits/libc-lockP.h
13386         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13387         <bp-sym.h>.
13388         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13389         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13390         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13391         (__pthread_mutex_destroy): Likewise.
13392         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13393         (__pthread_mutex_lock): Likewise.
13394         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13395         (__pthread_mutex_trylock): Likewise.
13396         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13397         (__pthread_mutex_unlock): Likewise.
13398         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13399         (__pthread_mutexattr_init): Likewise.
13400         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13401         (__pthread_mutexattr_destroy): Likewise.
13402         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13403         (__pthread_mutexattr_settype): Likewise.
13404         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13405         (__pthread_rwlock_init): Likewise.
13406         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13407         (__pthread_rwlock_destroy): Likewise.
13408         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13409         (__pthread_rwlock_rdlock): Likewise.
13410         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13411         (__pthread_rwlock_tryrdlock): Likewise.
13412         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13413         (__pthread_rwlock_wrlock): Likewise.
13414         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13415         (__pthread_rwlock_trywrlock): Likewise.
13416         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13417         (__pthread_rwlock_unlock): Likewise.
13418         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13419         (__pthread_key_create): Likewise.
13420         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13421         (__pthread_setspecific): Likewise.
13422         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13423         (__pthread_getspecific): Likewise.
13424         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13425         Likewise.
13426         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13427         (_pthread_cleanup_push_defer): Likewise.
13428         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13429         (_pthread_cleanup_pop_restore): Likewise.
13430         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13431         (pthread_setcancelstate): Likewise.
13432         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13433         <bp-sym.h>.
13434         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13435         (memchr): Do not use BP_SYM in weak_alias.
13436         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13437         (fegetenv): Do not use BP_SYM in versioned symbols.
13438         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13439         (fesetenv): Do not use BP_SYM in versioned symbols.
13440         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13441         (feupdateenv): Do not use BP_SYM in versioned symbols.
13442         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13443         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13444         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13445         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13446         (open64): Do not use BP_SYM in weak_alias.
13447         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13448         (fegetenv): Do not use BP_SYM in versioned symbols.
13449         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13450         (fesetenv): Do not use BP_SYM in versioned symbols.
13451         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13452         (feupdateenv): Do not use BP_SYM in versioned symbols.
13453         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13454         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13455         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13456         (feraiseexcept): Do not use BP_SYM in versioned symbols.
13457         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13458         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13459         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13460         <bp-sym.h>.
13461         (__libc_start_main): Do not use BP_SYM.
13462
13463 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13464
13465         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13466         redundant return line.
13467         (norm): Likewise.
13468         (denorm): Likewise.
13469         (dbl_mp): Likewise.
13470         (sub_magnitudes): Likewise.
13471         (__add): Likewise.
13472         (__sub): Likewise.
13473         (__mul): Likewise.
13474         (__inv): Likewise.
13475         (__dvd): Likewise.
13476         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13477         (norm): Likewise.
13478         (denorm): Likewise.
13479         (dbl_mp): Likewise.
13480         (sub_magnitudes): Likewise.
13481         (__add): Likewise.
13482         (__sub): Likewise.
13483         (__mul): Likewise.
13484         (__inv): Likewise.
13485         (__dvd): Likewise.
13486
13487         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13488         instead of __mul.
13489         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13490         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13491         (cc32): Likewise.
13492
13493         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13494         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13495         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13496         of __mul for squares.
13497         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13498         function
13499         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13500         Likewise.
13501         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13502         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13503
13504 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
13505
13506         [BZ #13550]
13507         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13508         code.
13509         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13510         prototype or function definition.  Rename ubp_* variables and
13511         parameters.  Remove argv definitions conditional on
13512         [__BOUNDED_POINTERS__].
13513         * debug/backtrace.c (__backtrace): Do not use __unbounded.
13514         * elf/dl-runtime.c (_dl_fixup): Likewise.
13515         * include/set-hooks.h (RUN_HOOK): Likewise.
13516         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13517         definition.
13518         * string/strcpy.c (strcpy): Do not use __unbounded.
13519         * sysdeps/generic/frame.h (struct layout): Likewise.
13520         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13521         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13522         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13523         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13524         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13525         (__backtrace): Likewise.
13526         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13527         use __ptrvalue.
13528         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13529         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13530         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13531         Likewise.
13532         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13533         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13534         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13535         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13536         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13537         Do not use __unbounded.
13538         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13539         Rename __unboundedrlimits parameter to rlimits in prototype.
13540         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13541         Do not use __unbounded.
13542         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13543         not use __ptrvalue.
13544         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13545         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13546         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13547         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13548         __ptrvalue or __unbounded.
13549         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13550         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13551         use __unbounded.
13552         (__new_msgctl): Do not use __ptrvalue.
13553         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13554         __unbounded.
13555         (__libc_msgrcv): Do not use __ptrvalue.
13556         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13557         startup_info): Do not use __unbounded.
13558         (__libc_start_main): Likewise.  Rename ubp_* variables and
13559         parameters.  Remove argv definitions conditional on
13560         [__BOUNDED_POINTERS__].
13561         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13562         __ptrvalue.
13563         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13564         use __unbounded.
13565         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13566         or __ptrvalue.
13567         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13568         use __unbounded.
13569         (__new_shmctl): Do not use __ptrvalue.
13570         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13571         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13572         Likewise.
13573         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13574         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13575         (__libc_sigaction): Likewise.
13576         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13577         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13578         Likewise.
13579         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13580
13581 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
13582
13583         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13584
13585         * string/mempcpy.c: Implement by calling memcpy.
13586
13587 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13588
13589         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13590
13591         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13592         evaluation.
13593
13594         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13595         values in the mantissa.
13596
13597         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13598         minimize writes to Z.
13599         (sub_magnitudes): Simplify code a bit.
13600
13601 2013-02-12  Roland McGrath  <roland@hack.frob.com>
13602
13603         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13604         from the message.  The linker prefixes all warnings with that already.
13605
13606 2013-02-12  Andreas Schwab  <schwab@suse.de>
13607
13608         [BZ #15078]
13609         * posix/regexec.c (extend_buffers): Add parameter min_len.
13610         (check_matching): Pass minimum needed length.
13611         (clean_state_log_if_needed): Likewise.
13612         (get_subexp): Likewise.
13613         * posix/Makefile (tests): Add bug-regex34.
13614         (bug-regex34-ENV): Define.
13615         * posix/bug-regex34.c: New file.
13616
13617         [BZ #11561]
13618         * posix/regcomp.c (parse_bracket_exp): When looking up collating
13619         elements compare against the byte sequence of it, not its name.
13620         * posix/Makefile (tests): Add bug-regex35.
13621         (bug-regex35-ENV): Define.
13622         * posix/bug-regex35.c: New file.
13623
13624 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13625
13626         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
13627         comment.
13628         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13629         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13630         (CHECK_EOL): Add undef.
13631
13632 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
13633
13634         * bits/stdlib-bsearch.h: New file.
13635         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13636         * stdlib/stdlib.h: Likewise.
13637
13638 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13639
13640         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13641         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13642         declaration.
13643         * manual/search.texi (Array Search Function): Add missing const in
13644         lfind prototype.
13645         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13646         declaration to use rlim_t.
13647         (Basic Scheduling Functions): Remove erroneous const from
13648         sched_getparam prototype.  Remove erroneous * from
13649         sched_get_priority_max and sched_get_priority_min prototypes.
13650         (Resource Usage): Fix summary @comment on vtimes to refer to
13651         sys/vtimes.h rather than vtimes.h.
13652         Add missing *s in vtimes prototype.
13653         (Limits on Resources): Fix ulimit prototype to return long int.
13654         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13655         prototypes to use long int rather than double.
13656         (BSD Random): Fix initstate and setstate to use char *, not void *.
13657         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13658         prototype to make second argument 'struct aiocb64 *const[]'.
13659         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13660         (Status of AIO Operations): Remove erroneous const in aio_return and
13661         aio_return64 prototypes.
13662         (Synchronizing I/O): Fix sync prototype to return void.
13663         * manual/startup.texi (Suboptions): Remove an erroneous const in
13664         getsubopt prototype.
13665         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13666         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13667         use size_t rather than int.
13668         (Scanning All Users): Likewise for getpwent_r.
13669         (Setting Groups): Add missing const to setgroups prototype.
13670         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13671         * manual/socket.texi (Host Names): Fix gethostbyaddr and
13672         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13673         'const void *' rather than 'const char *'.
13674         (Host Address Functions): Likewise for inet_ntop.
13675         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13676         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13677         ssize_t for return value.
13678         (Sending Data): Likewise for send, sendto, sendmsg.
13679         (Socket Option Functions): Add a missing const in setsockopt prototype.
13680         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13681         use wchar_t for the argument.
13682         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13683         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13684         take no arguments.
13685         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13686         double/float/long double for second argument.
13687         Fix return types of significand, significandf, significandl.
13688         * manual/filesys.texi (Setting Permissions): Use mode_t for second
13689         argument in fchmod prototype.
13690         (File Owner): Use uid_t and gid_t in fchown prototype.
13691         (File Times): Add const to utimes, futimes, and lutimes prototypes.
13692         (Making Special Files): Use mode_t and dev_t in mknod prototype.
13693         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13694         use 'const struct dirent **' as argument types to CMP function pointer
13695         argument.
13696         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13697         (File Times): Fix summary magic @comment for struct utimbuf and utime
13698         to refer to utime.h, not time.h.
13699         * manual/string.texi (Argz Functions): Add missing const in
13700         argz_extract and argz_next prototypes.
13701         (Finding Tokens in a String): Likewise for basename.
13702         (String/Array Comparison): Fix typo in wcscasecmp prototype.
13703         (Copying and Concatenation): Fix typo in wmemmove prototype.
13704         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13705         (Signal Stack): Remove erroneous const in sigstack prototype.
13706         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13707         prototype.
13708         (Simple Calendar Time): Likewise for stime.
13709         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13710         prototype.
13711         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13712         say sys/sysctl.h instead.
13713         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13714         and vsyslog prototypes.
13715
13716 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13717
13718         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13719         Remove.
13720
13721 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13722
13723         * misc/sys/mman.h: Fix typo in mremap comment.
13724
13725 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13726
13727         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13728         the '\0' terminator.
13729
13730 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13731
13732         [BZ #13550]
13733         * debug/segfault.c: Don't include <bp-checks.h>.
13734         * sysdeps/generic/bp-checks.h: Remove file.
13735         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13736         (__GETDENTS): Don't use CHECK_N.
13737         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13738         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13739         (__getgroups): Don't use CHECK_N.
13740         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13741         (setgroups): Don't use CHECK_N.
13742         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13743         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13744         (__libc_msgrcv): Don't use CHECK_N.
13745         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13746         (__libc_msgsnd): Don't use CHECK_N.
13747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13748         <bp-checks.h>.
13749         (__libc_pread): Don't use CHECK_N.
13750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13751         include <bp-checks.h>.
13752         (__libc_pread64): Don't use CHECK_N.
13753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13754         include <bp-checks.h>.
13755         (__libc_pwrite): Don't use CHECK_N.
13756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13757         include <bp-checks.h>.
13758         (__libc_pwrite64): Don't use CHECK_N.
13759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13760         <bp-checks.h>.
13761         (__libc_pread): Don't use CHECK_N.
13762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13763         include <bp-checks.h>.
13764         (__libc_pread64): Don't use CHECK_N.
13765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13766         include <bp-checks.h>.
13767         (__libc_pwrite): Don't use CHECK_N.
13768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13769         include <bp-checks.h>.
13770         (__libc_pwrite64): Don't use CHECK_N.
13771         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13772         (do_pread): Don't use CHECK_N.
13773         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13774         (do_pread64): Don't use CHECK_N.
13775         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13776         (do_pwrite): Don't use CHECK_N.
13777         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13778         (do_pwrite64): Don't use CHECK_N.
13779         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13780         (__libc_readv): Don't use CHECK_N.
13781         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13782         (semop): Don't use CHECK_N.
13783         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13784         <bp-checks.h>.
13785         (semtimedop): Don't use CHECK_N.
13786         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13787         (__libc_pread): Don't use CHECK_N.
13788         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13789         <bp-checks.h>.
13790         (__libc_pread64): Don't use CHECK_N.
13791         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13792         <bp-checks.h>.
13793         (__libc_pwrite): Don't use CHECK_N.
13794         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13795         <bp-checks.h>.
13796         (__libc_pwrite64): Don't use CHECK_N.
13797         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13798         <bp-checks.h>.
13799         (__libc_msgrcv): Don't use CHECK_N.
13800         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13801         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
13802         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13803         (__libc_writev): Don't use CHECK_N.
13804
13805 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13806
13807         * string/strcpy.c: Removed unused variable.
13808
13809         * Makeconfig (+sysdep-includes): Define with := rather than =.
13810         Use an existing include/ subdir of each sysdeps dir before it.
13811
13812 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13813
13814         * nscd/connection.c (register_traced_file): Comment function.
13815         [HAVE_INOTIFY] (union __inev): Define.
13816         [HAVE_INOTIFY] (inotify_check_files): New function.
13817         [HAVE_INOTIFY] (clear_db_cache): Likewise.
13818         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13819         clear_db_cache.
13820         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13821
13822 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13823
13824         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13825         loaded if not already and that a failure is permanent.
13826
13827 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13828
13829         [BZ #15006]
13830         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13831         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13832
13833 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13834
13835         [BZ #13550]
13836         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13837         (CHECK_1_NULL_OK): Likewise.
13838         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13839         (__fxstat): Do not use CHECK_1.
13840         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13841         <bp-checks.h>.
13842         (___fxstat64): Do not use CHECK_1.
13843         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13844         <bp-checks.h>.
13845         (__fxstatat): Do not use CHECK_1.
13846         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13847         <bp-checks.h>.
13848         (__fxstatat64): Do not use CHECK_1.
13849         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13850         <bp-checks.h>.
13851         (__fxstat): Do not use CHECK_1.
13852         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13853         <bp-checks.h>.
13854         (__fxstatat): Do not use CHECK_1.
13855         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13856         <bp-checks.h>.
13857         (__getresgid): Do not use CHECK_1.
13858         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13859         <bp-checks.h>.
13860         (__getresuid): Do not use CHECK_1.
13861         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13862         <bp-checks.h>.
13863         (__lxstat): Do not use CHECK_1.
13864         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13865         <bp-checks.h>.
13866         (__old_msgctl): Do not use CHECK_1.
13867         (__new_msgctl): Likewise.
13868         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13869         <bp-checks.h>.
13870         (__new_setrlimit): Do not use CHECK_1.
13871         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13872         <bp-checks.h>.
13873         (__old_shmctl): Do not use CHECK_1.
13874         (__new_shmctl): Likewise.
13875         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13876         <bp-checks.h>.
13877         (__xstat): Do not use CHECK_1.
13878         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13879         (__lxstat): Do not use CHECK_1.
13880         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13881         <bp-checks.h>.
13882         (___lxstat64): Do not use CHECK_1.
13883         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13884         (__old_msgctl): Do not use CHECK_1.
13885         (__new_msgctl): Likewise.
13886         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13887         <bp-checks.h>.
13888         (__gettimeofday): Do not use CHECK_1.
13889         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13890         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13891         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13892         <bp-checks.h>.
13893         (__gettimeofday): Do not use CHECK_1.
13894         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13895         (__old_shmctl): Do not use CHECK_1_NULL_OK.
13896         (__new_shmctl): Do not use CHECK_1.
13897         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13898         <bp-checks.h>.
13899         (do_sigtimedwait): Do not use CHECK_1.
13900         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13901         <bp-checks.h>.
13902         (do_sigwaitinfo): Do not use CHECK_1.
13903         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13904         <bp-checks.h>.
13905         (msgctl): Do not use CHECK_1.
13906         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13907         <bp-checks.h>.
13908         (shmctl): Do not use CHECK_1.
13909         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13910         (ustat): Do not use CHECK_1.
13911         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13912         <bp-checks.h>.
13913         (__fxstat): Do not use CHECK_1.
13914         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13915         <bp-checks.h>.
13916         (__fxstatat): Do not use CHECK_1.
13917         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13918         <bp-checks.h>.
13919         (__lxstat): Do not use CHECK_1.
13920         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13921         <bp-checks.h>.
13922         (__xstat): Do not use CHECK_1.
13923         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13924         (__xstat): Do not use CHECK_1.
13925         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13926         (___xstat64): Do not use CHECK_1.
13927
13928         [BZ #13550]
13929         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13930         definitions.
13931         (CHECK_BOUNDS_HIGH): Likewise.
13932         * string/strcpy.c: Do not include <bp-checks.h>.
13933         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13934
13935 2013-02-07  Roland McGrath  <roland@hack.frob.com>
13936
13937         * nscd/nscd-client.h (__nscd_drop_map_ref):
13938         Add __attribute__ ((unused)).
13939         * nis/nss-nisplus.h (niserr2nss): Likewise.
13940
13941         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13942         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13943
13944         * csu/libc-tls.c (init_static_tls, init_slotinfo):
13945         Remove inline keyword.
13946         * include/rounding-mode.h (round_away): Likewise.
13947         * libio/wfileops.c (adjust_wide_data): Likewise.
13948         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13949         (__m128i_strloadu_tolower): Likewise.
13950         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13951         (__m128i_strloadu_tolower): Likewise.
13952         * time/mktime.c (ydhms_diff): Likewise.
13953         * locale/elem-hash.h (elem_hash): Likewise.
13954         * locale/setlocale.c (setdata): Likewise.
13955         * posix/regex_internal.h (re_string_char_size_at): Likewise.
13956         (re_string_wchar_at): Likewise.
13957         (bitset_not, bitset_merge, bitset_mask): Likewise.
13958         [!(__GNUC__ > 3)] (inline): Remove macro.
13959         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13960         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13961         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13962         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13963         * string/memcmp.c (memcmp_bytes): Likewise.
13964         * locale/programs/locarchive.c (compute_hashval): Likewise.
13965         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13966         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13967         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13968         * nss/getent.c (print_rpc, print_protocols): Likewise.
13969         (print_passwd, print_group, print_aliases): Likewise.
13970         * nis/nss-nisplus.h (niserr2nss): Likewise.
13971         * nscd/connections.c (restart_p): Likewise.
13972         Change return type to bool.
13973
13974 2013-02-05  Roland McGrath  <roland@hack.frob.com>
13975
13976         * Makeconfig (all-Depend-files): Add existing
13977         $(sorted-subdirs:=/Depend) files.
13978         (all-subdirs): Remove nss.
13979         * sysdeps/unix/inet/Subdirs: Add it here instead.
13980         * hesiod/Depend: New file.
13981
13982         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13983         instead of calling alloca.
13984
13985         * io/lseek.c (__lseek): Rename to __libc_lseek.
13986         Define __lseek as an alias.
13987
13988         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13989
13990 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
13991
13992         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13993         else clause and remove check for non-standard endianness.
13994
13995 2013-02-04  David S. Miller  <davem@davemloft.net>
13996
13997         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13998
13999 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
14000
14001         [BZ #13550]
14002         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14003         (__ubp_memchr): Remove prototype.
14004         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14005         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14006         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14007         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14008         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14009         Remove alias.
14010         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14011         (__ubp_memchr): Likewise.
14012         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14013         (__ubp_memchr): Likewise.
14014         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14015         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14016         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14017         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14018         CHECK_STRING.
14019         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14020         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14021         (__getcwd): Do not use CHECK_STRING.
14022         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14023         <bp-checks.h>.
14024         (__real_chown): Do not use CHECK_STRING.
14025         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14026         <bp-checks.h>.
14027         (fchownat): Do not use CHECK_STRING.
14028         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14029         CHECK_STRING.
14030         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14031         <bp-checks.h>.
14032         (__lchown): Do not use CHECK_STRING.
14033         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14034         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14035         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14036         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14038         include <bp-checks.h>.
14039         (truncate64): Do not use CHECK_STRING.
14040         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14041         <bp-checks.h>.
14042         (__real_chown): Do not use CHECK_STRING.
14043         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14044         <bp-checks.h>.
14045         (__lchown): Do not use CHECK_STRING.
14046         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14047         <bp-checks.h>.
14048         (__chown): Do not use CHECK_STRING.
14049         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14050         <bp-checks.h>.
14051         (truncate64): Do not use CHECK_STRING.
14052         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14053         Likewise.
14054         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14055         (__xmknod): Do not use CHECK_STRING.
14056         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14057         <bp-checks.h>.
14058         (__xmknodat): Do not use CHECK_STRING.
14059         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14060         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14061
14062 2013-02-04  Andreas Schwab  <schwab@suse.de>
14063
14064         [BZ #14142]
14065         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14066         * include/netdb.h: Likewise for h_errno.
14067         * elf/tst-stackguard1.c: Include <tls.h>.
14068
14069 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
14070
14071         * elf/link.h (struct link_map): Extend the l_addr comment.
14072         * include/link.h (struct link_map): Likewise.
14073
14074 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
14075
14076         [BZ #13550]
14077         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14078         (BOUNDED_1): Remove macro.
14079         * debug/backtrace.c: Don't include <bp-checks.h>.
14080         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14081         (__backtrace): Likewise.
14082         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14083         <bp-checks.h>.
14084         (__backtrace): Don't use BOUNDED_1.
14085         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14086         <bp-checks.h>.
14087         (__backtrace): Don't use BOUNDED_1.
14088         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14089         (__backtrace): Don't use BOUNDED_1.
14090         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14091         (shmat): Don't use BOUNDED_N.
14092
14093 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
14094
14095         [BZ #13550]
14096         * sysdeps/generic/bp-start.h: Remove file.
14097         * csu/libc-start.c: Don't include <bp-start.h>.
14098         (LIBC_START_MAIN): Set up __environ directly instead of using
14099         INIT_ARGV_and_ENVIRON.
14100         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14101         <bp-start.h>.
14102
14103         [BZ #13550]
14104         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14105         definitions.
14106         (CHECK_FCNTL): Likewise.
14107         (CHECK_N_PAGES): Likewise.
14108
14109         [BZ #13550]
14110         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14111         definitions.
14112         (CHECK_SIGSET_NULL_OK): Likewise.
14113         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14114         <bp-checks.h>.
14115         (sigpending): Don't use CHECK_SIGSET.
14116         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14117         <bp-checks.h>.
14118         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14119         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14120         <bp-checks.h>.
14121         (do_sigsuspend): Don't use CHECK_SIGSET.
14122         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14123         use CHECK_SIGSET.
14124         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14125         (do_sigwait): Don't use CHECK_SIGSET.
14126         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14127         use CHECK_SIGSET.
14128         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14129         include <bp-checks.h>.
14130         (sigpending): Don't use CHECK_SIGSET.
14131         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14132         include <bp-checks.h>.
14133         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14134         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14135         <bp-checks.h>.
14136         (sigpending): Don't use CHECK_SIGSET.
14137         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14138         <bp-checks.h>.
14139         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14140
14141         [BZ #13550]
14142         * sysdeps/generic/bp-semctl.h: Remove file.
14143         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14144         <bp-checks.h> and <bp-semctl.h>.
14145         (__old_semctl): Don't use CHECK_SEMCTL.
14146         (__new_semctl): Likewise.
14147         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14148         and <bp-semctl.h>.
14149         (__old_semctl): Don't use CHECK_SEMCTL.
14150         (__new_semctl): Likewise.
14151         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14152         <bp-checks.h> and <bp-semctl.h>.
14153         (__old_semctl): Don't use CHECK_SEMCTL.
14154         (__new_semctl): Likewise.
14155         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14156         <bp-checks.h> and <bp-semctl.h>.
14157         (semctl): Don't use CHECK_SEMCTL.
14158
14159         [BZ #13550]
14160         * Makerules (elide-bp-thunks): Remove variable.
14161         (elide-routines.oS): Don't use $(elide-bp-thunks).
14162         (elide-routines.os): Likewise.
14163         (elide-routines.o): Likewise.
14164         (elide-routines.op): Likewise.
14165         (elide-routines.og): Likewise.
14166         (objects): Don't use $(bp-thunks).
14167         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14168         include.
14169         (common-generated): Do not add s-proto-bp.d.
14170         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14171         (int): Likewise.
14172         (typ): Likewise.
14173         Do not generate makefile rules for bounded-pointer thunks.
14174         * sysdeps/generic/bp-thunks.h: Remove file.
14175         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14176         * sysdeps/unix/s-proto-bp.S: Likewise.
14177
14178         [BZ #15062]
14179         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14180         parts of result separately when argument is not close to line from
14181         -i to i and one part of argument is small.
14182         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14183         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14184         * math/libm-test.inc (cacos_test): Add more tests.
14185         (casin_test): Likewise.
14186         (casinh_test): Likewise.
14187         * sysdeps/i386/fpu/libm-test-ulps: Update.
14188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14189
14190 2013-01-31  David S. Miller  <davem@davemloft.net>
14191
14192         * po/de.po: Update from translation team.
14193
14194 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
14195
14196         * time/tzfile.c: Include stdint.h for SIZE_MAX.
14197
14198 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
14199
14200         * configure.in (_AC_PROG_CC_C89): New definition.
14201         * configure: Regenerate.
14202
14203         * configure.in (AC_PROG_CPP): New definition.
14204         * configure: Regenerate.
14205
14206 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14207
14208         * debug/tst-backtrace.h: New file.
14209         * debug/tst-backtrace2.c: Include tst-backtrace.h.
14210         (ret): Remove variable.
14211         (x): Likewise.
14212         (FAIL): Remove macro.
14213         (NO_INLINE): Likewise.
14214         (fn1): Use match function instead of strstr.
14215         * debug/tst-backtrace3.c: Include tst-backtrace.h.
14216         (ret): Remove variable.
14217         (x): Likewise.
14218         (FAIL): Remove macro.
14219         (NO_INLINE): Likewise.
14220         (fn): Use match function instead of strstr.
14221         * debug/tst-backtrace4.c: Include tst-backtrace.h.
14222         (ret): Remove variable.
14223         (x): Likewise.
14224         (FAIL): Remove macro.
14225         (NO_INLINE): Likewise.
14226         (handle_signal): Use match function instead of strstr.
14227         * debug/tst-backtrace5.c: Include tst-backtrace.h.
14228         (ret): Remove variable.
14229         (x): Likewise.
14230         (FAIL): Remove macro.
14231         (NO_INLINE): Likewise.
14232         (handle_signal): Use match function instead of strstr.
14233
14234 2013-01-23  Roland McGrath  <roland@hack.frob.com>
14235
14236         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14237
14238 2013-01-23  David S. Miller  <davem@davemloft.net>
14239
14240         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14241         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14242         argument of CAS if possible.
14243         * sysdeps/sparc/sparc64/bits/atomic.h
14244         (__arch_compare_and_exchange_val_32_acq): Likewise.
14245         (__arch_compare_and_exchange_val_64_acq): Likewise.
14246
14247 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
14248
14249         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14250         * sysdeps/posix/ulimit.c: ... this.
14251         Include <limits.h>.
14252         * sysdeps/unix/bsd/ulimit.c: Remove file.
14253
14254 2013-01-23  Adam Conrad  <adconrad@0c3.net>
14255
14256         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14257         (LDFLAGS-tst-array5): Likewise.
14258
14259 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14260
14261         [BZ #15036]
14262         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14263         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14264         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14265         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14266
14267 2013-01-21  David S. Miller  <davem@davemloft.net>
14268
14269         * sysdeps/sparc/backtrace.c: New file.
14270         * sysdeps/sparc/sparc32/backtrace.h: New file.
14271         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14272         * sysdeps/sparc/sparc64/backtrace.h: New file.
14273         * sysdeps/sparc/sparc64/backtrace.c: Delete.
14274         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14275         -funwind-tables.
14276
14277 2013-01-21  Andreas Schwab  <schwab@suse.de>
14278
14279         [BZ #15020]
14280         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14281         closed its stdout.
14282
14283 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
14284
14285         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14286         "mpa2.h".
14287         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14288
14289 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
14290             Mark Mitchell  <mark@codesourcery.com>
14291             Tom de Vries  <tom@codesourcery.com>
14292             Paul Pluzhnikov  <ppluzhnikov@google.com>
14293
14294         * debug/tst-backtrace2.c: New file.
14295         * debug/tst-backtrace3.c: Likewise.
14296         * debug/tst-backtrace4.c: Likewise.
14297         * debug/tst-backtrace5.c: Likewise.
14298         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14299         (CFLAGS-tst-backtrace3.c): Likewise.
14300         (CFLAGS-tst-backtrace4.c): Likewise.
14301         (CFLAGS-tst-backtrace5.c): Likewise.
14302         (LDFLAGS-tst-backtrace2): Likewise.
14303         (LDFLAGS-tst-backtrace3): Likewise.
14304         (LDFLAGS-tst-backtrace4): Likewise.
14305         (LDFLAGS-tst-backtrace5): Likewise.
14306         (tests): Add new tests tst-backtrace2, tst-backtrace3,
14307         tst-backtrace4 and tst-backtrace5.
14308
14309 2013-01-18  Anton Blanchard  <anton@samba.org>
14310             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14311
14312         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14313         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14314         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14315         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14317         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14318         "+r" and remove output regs list as redundant.  Add explicit inline
14319         asm to specify register of return val to work around compiler codegen
14320         bug.  Remove (int) cast on return value.  Add return type parameter to
14321         use in macro so that this macro does not truncate return value for
14322         64-bit values.
14323         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14324         pass to INTERNAL_VSYSCALL_NCS.
14325         (INLINE_VSYSCALL): Add 'long int' as return type to
14326         INTERNAL_VSYSCALL_NCS macro invocation.
14327         (INTERNAL_VSYSCALL): Add 'long int' as return type to
14328         INTERNAL_VSYSCALL_NCS macro invocation.
14329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14330
14331 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14332
14333         [BZ #14496]
14334         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14335         Fix application of SIMD FP exception mask.
14336
14337         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14338         mp_no from a power of two.
14339         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14340         __mpexp_twomm1.  Use __pow_mp.
14341
14342         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14343         multiplication.
14344
14345 2013-01-17  David S. Miller  <davem@davemloft.net>
14346
14347         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14348
14349 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14350
14351         [BZ #15023]
14352         * include/complex.h: Condition contents on [!_COMPLEX_H].
14353         (__kernel_casinhf): New prototype.
14354         (__kernel_casinh): Likewise.
14355         (__kernel_casinhl): Likewise.
14356         * math/Makefile (libm_calls): Add k_casinh.
14357         * math/k_casinh.c: New file.
14358         * math/k_casinhf.c: Likewise.
14359         * math/k_casinhl.c: Likewise.
14360         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14361         finite nonzero arguments.
14362         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14363         finite nonzero arguments.
14364         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14365         finite nonzero arguments.
14366         * math/s_casinh.c: Do not include <float.h>.
14367         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14368         * math/s_casinhf.c: Do not include <float.h>.
14369         (__casinhf): Move code for finite nonzero arguments to
14370         k_casinhf.c.
14371         * math/s_casinhl.c: Do not include <float.h>.
14372         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14373         redefine.
14374         (__casinhl): Move code for finite nonzero arguments to
14375         k_casinhl.c.
14376         * math/libm-test.inc (cacos_test): Add more tests.
14377         * sysdeps/i386/fpu/libm-test-ulps: Update.
14378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14379
14380 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
14381
14382         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14383         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14384         [!HAVE_MREMAP]: Remove [defined linux] case.
14385         * malloc/arena.c: Do not include <malloc-sysdep.h>.
14386
14387 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14388
14389         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14390
14391 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
14392
14393         * elf/elf.h (R_386_SIZE32): New relocation.
14394         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14395         R_386_SIZE32.
14396         (elf_machine_rela): Likewise.
14397         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14398         R_X86_64_SIZE64 and R_X86_64_SIZE32.
14399
14400 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14401
14402         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14403         (FP_FAST_FMA): Do not define.
14404         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14405         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14406         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14407         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14408         !_SOFT_FLOAT]: Likewise.
14409         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14410         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14411         value.
14412         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14413         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14414         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14415         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14416         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14417         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14418         file.
14419
14420 2013-01-16  Andreas Schwab  <schwab@suse.de>
14421
14422         [BZ #14327]
14423         * include/stdlib.h (__mktemp): Add declaration.
14424         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14425         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14426
14427 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14428
14429         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14430         definitions.
14431         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14432         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14433         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14434         definitions here.
14435         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14436         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14437         definitions.
14438         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14439         and ONE.
14440         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14441         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14442         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14443         definitions.
14444         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14445         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14446         definitions.
14447         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14448
14449         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14450
14451 2013-01-15  David S. Miller  <davem@davemloft.net>
14452
14453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14454         trunc{,f} to libm-sysdep_routes.
14455         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14457         file.
14458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14460         file.
14461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14462         file.
14463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14465         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14466         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14467         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14468         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14469         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14470         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14471
14472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14473         nearbyint{,f} to libm-sysdep_routes.
14474         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14476         New file.
14477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14478         file.
14479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14480         New file.
14481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14482         file.
14483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14485         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14486         file.
14487         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14488         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14489         file.
14490         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14491         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14492         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14493
14494         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14495         libc_feholdexcept and libc_fesetenv.
14496
14497 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
14498
14499         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14500
14501 2013-01-14  David S. Miller  <davem@davemloft.net>
14502
14503         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14504         (SPARC_ASM_VIS2_IFUNC): Likewise.
14505         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14507         use of 'siam' instruction.
14508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14509         Likewise.
14510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14511         Likewise.
14512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14513         Likewise.
14514         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14515         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14516         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14517         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14519         file.
14520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14521         file.
14522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14523         file.
14524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14525         file.
14526         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14527         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14528         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14529         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14531         new VIS2 routines.
14532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14535         Likewise.
14536         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14537         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14538         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14539         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14541         routines to libm-sysdep_routines.
14542         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14543
14544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14545         fdim/fdimf to libm-sysdep_routines.
14546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14547         file.
14548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14550         file.
14551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14554         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14555         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14556         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14557         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14558
14559 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14560
14561         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14562         to optimize copies.
14563
14564         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14565         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14566         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14567
14568         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14569         local variable MPTWO.
14570         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14571         Likewise.
14572
14573 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14574
14575         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14576         GLOB_NOESCAPE.
14577
14578 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14579
14580         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14581
14582 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14583
14584         * manual/pattern.texi (glob_t): Document gl_flags.
14585         (glob64_t): Likewise.
14586
14587 2013-01-11  David S. Miller  <davem@davemloft.net>
14588
14589         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14590         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14591         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
14592         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14593         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14594         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14595         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14596         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14597         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14598         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14599         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14600         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14601         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14602
14603         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14604         sparc V9 rather than using V8 code.
14605         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14606         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14607
14608         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14609         Move to...
14610         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14611         Here.
14612
14613 2013-01-11  Roland McGrath  <roland@hack.frob.com>
14614
14615         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14616         not in the main loop.
14617         * configure: Regenerated.
14618
14619 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
14620
14621         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14622         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14623         to just #else.
14624         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
14625         [!__GLIBC_HAVE_LONG_LONG] case.
14626         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14627         condition to just #else.
14628         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14629         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14630         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14631         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14632         unconditional.
14633         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14634         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14635         #elif condition to just #else.
14636         * sysdeps/unix/sysv/linux/sys/sysmacros.h
14637         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14638         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14639         #elif condition to just #else.
14640
14641 2013-01-11  Steve Ellcey  <sellcey@mips.com>
14642
14643         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14644         (EF_MIPS_ARCH_64): Fix value.
14645         (EF_MIPS_ARCH_32R2): New.
14646         (EF_MIPS_ARCH_64R2): New.
14647
14648 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
14649
14650         * Makeconfig (+link-pie-before-libc): New.
14651         (+link-pie-after-libc): Likewise.
14652         (+link-pie-tests): Likewise.
14653         (+link-pie): Rewritten.
14654         (link-before-libc): Remove $(config-LDFLAGS).
14655         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14656         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14657         (config-LDFLAGS): Renamed to ...
14658         (rtld-LDFLAGS): This.
14659         (rtld-tests-LDFLAGS): New macro.
14660         (link-libc-rpath-link): Likewise.
14661         (link-libc-tests-rpath-link): Likewise.
14662         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14663         (link-libc): Prepand $(link-libc-rpath-link).
14664         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14665         (test-program-prefix): New macro.
14666         (test-via-rtld-prefix): Likewise.
14667         (test-program-cmd): Likewise.
14668         (host-test-program-cmd): Likewise.
14669         * Makefile ($(common-objpfx)testrun.sh): Replace
14670         $(run-program-prefix) with $(test-program-prefix).
14671         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14672         $(rtld-LDFLAGS).
14673         ($(common-objpfx)shlib.lds): Likewise.
14674         (build-module-helper): Likewise.
14675         ($(common-objpfx)format.lds): Likewise.
14676         * Rules (binaries-pie-tests): New.
14677         (binaries-pie-notests): Likewise.
14678         (binaries-pie): Rewritten.
14679         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14680         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14681         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14682         (make-test-out): Replace $(host-built-program-cmd) with
14683         $(host-test-program-cmd).
14684         * config.make.in (build-hardcoded-path-in-tests): New variable.
14685         * configure.in (--enable-hardcoded-path-in-tests): New configure
14686         option.
14687         (hardcoded_path_in_tests): New AC_SUBST.
14688         * configure: Regenerated.
14689         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14690         $(built-program-cmd) with $(test-program-cmd).
14691         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14692         (test_program_cmd): This.
14693         * elf/Makefile ($(objpfx)order.out): Run test with
14694         $(test-program-prefix).
14695         ($(objpfx)order2.out): Likewise.
14696         ($(objpfx)tst-initorder.out): Likewise.
14697         ($(objpfx)tst-initorder2.out): Likewise.
14698         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14699         $(test-program-cmd).
14700         ($(objpfx)tst-array1-static.out): Likewise.
14701         ($(objpfx)tst-array2.out): Likewise.
14702         ($(objpfx)tst-array3.out): Likewise.
14703         ($(objpfx)tst-array4.out): Likewise.
14704         ($(objpfx)tst-array5.out): Likewise.
14705         ($(objpfx)tst-array5-static.out): Likewise.
14706         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14707         $(test-program-cmd).
14708         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14709         $(run-program-prefix) with $(test-program-prefix).
14710         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14711         (test_program_prefix): This.
14712         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14713         $(run-program-prefix) with $(test-program-prefix).
14714         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14715         (test_program_prefix): This.
14716         * iconvdata/tst-tables.sh: Likewise.
14717         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14718         $(run-program-prefix) with $(test-program-prefix).
14719         ($(objpfx)tst-translit.out): Likewise.
14720         ($(objpfx)tst-gettext2.out): Likewise.
14721         ($(objpfx)tst-gettext4.out): Likewise.
14722         ($(objpfx)tst-gettext6.out): Likewise.
14723         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14724         (test_program_prefix): This.
14725         * intl/tst-gettext2.sh: Likewise.
14726         * intl/tst-gettext4.sh  Likewise.
14727         * intl/tst-gettext6.sh: Likewise.
14728         * intl/tst-translit.sh: Likewise.
14729         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14730         with $(test-program-cmd).
14731         * libio/Makefile ($(objpfx)test-freopen.out): Replace
14732         $(run-program-prefix) with $(test-program-prefix).
14733         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14734         (test_program_prefix): This.
14735         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14736         $(run-program-prefix) with $(test-program-prefix).
14737         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14738         (test_program_prefix): This.
14739         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14740         * posix/Makefile ($(objpfx)globtest.out): Replace
14741         $(run-via-rtld-prefix) and $(test-wrapper) with
14742         $(test-program-prefix) and $(test-via-rtld-prefix).
14743         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14744         $(test-program-prefix).
14745         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14746         $(host-test-program-cmd).
14747         (tst-spawn-ARGS): Likewise.
14748         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14749         $(test-program-prefix).
14750         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14751         (test_via_rtld_prefix): This.
14752         (test_wrapper): Renamed to ...
14753         (test_program_prefix): This.
14754         (run_program_prefix): Replaced by test_program_prefix.
14755         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14756         (test_program_prefix): This.
14757         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14758         with $(host-test-program-cmd).
14759         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14760         $(run-program-prefix) with $(test-program-prefix).
14761         ($(objpfx)tst-printf.out): Likewise.
14762         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14763         $(test-program-cmd).
14764         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14765         (test_program_prefix): This.
14766         * stdio-common/tst-unbputc.sh: Likewise.
14767         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14768         $(run-program-prefix) with $(test-program-prefix).
14769         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14770         (test_program_prefix): This.
14771         * string/Makefile ($(objpfx)tst-svc.out):  Replace
14772         $(built-program-cmd) with $(test-program-cmd).
14773
14774 2013-01-11  Andreas Jaeger  <aj@suse.de>
14775
14776         [BZ #15003]
14777         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14778         value. Sync with Linux 3.7.
14779
14780 2013-01-10  David S. Miller  <davem@davemloft.net>
14781
14782         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14783         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14784         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14785
14786 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14787
14788         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14789         never set.
14790         * configure: Regenerated.
14791
14792 2013-01-10  David S. Miller  <davem@davemloft.net>
14793
14794         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14795         sparc V9 rather than using V8 code.
14796         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14797         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14798
14799 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14800
14801         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14802         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14803         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14804         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14805         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14806         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14807         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14808         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14809         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14810         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14811         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14812         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14813         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14814         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14815         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14816         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14817         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14818         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14819         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14820         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14821         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14822         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14823         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14824         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14825         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14826         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14827         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14828
14829 2013-01-10  David S. Miller  <davem@davemloft.net>
14830
14831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14832
14833 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14834
14835         * posix/Makefile (tests-static): New variable.
14836         (tests): Add $(tests-static).
14837         (tst-exec-static-ARGS): New variable.
14838         (tst-spawn-static-ARGS): Likewise.
14839         * posix/tst-exec-static.c: New file.
14840         * posix/tst-spawn-static.c: Likewise.
14841         * posix/tst-exec.c: Support run directly.
14842         * posix/tst-spawn.c: Likewise.
14843
14844 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
14845
14846         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14847         long.
14848         * math/bits/mathcalls.h (llrint): Likewise.
14849         (llround): Likewise.
14850         * stdlib/stdlib.h (struct drand48_data): Likewise.
14851         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14852         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14853         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14854         Likewise.
14855         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14856         Likewise.
14857         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14858         (elf_greg_t): Likewise.
14859         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14860         (__jmp_buf): Likewise.
14861         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14862         definitions.
14863         (llrint): Likewise, for all definitions.
14864         (llrintl): Likewise.
14865
14866         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14867         Remove [__GNUC__] condition.
14868         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14869         condition to just [__USE_ISOC99].
14870         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14871
14872 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14873
14874         [BZ #14200]
14875         * sysdeps/unix/sysv/linux/x86/bits/environments.h
14876         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14877         defined.
14878         (_POSIX_V6_ILP32_OFF32): Likewise.
14879         (_XBS5_ILP32_OFF32): Likewise.
14880         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14881         (__ILP32_OFFBIG_LDFLAGS): Likewise.
14882
14883 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14884
14885         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14886
14887         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14888         doubles __mpexp_twomm1.  Adjust usage.
14889         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14890         Remove.
14891
14892 2013-01-10  Andreas Schwab  <schwab@suse.de>
14893
14894         [BZ #14964]
14895         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14896         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14897
14898 2013-01-09  David S. Miller  <davem@davemloft.net>
14899
14900         [BZ #15003]
14901         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14902         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14903         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14904         TCP_FASTOPEN): Define.
14905         (tcp_repair_opt): New structure.
14906         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14907         enum values.
14908         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14909         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14910         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14911         (tcp_cookie_transactions): New structure.
14912
14913 2013-01-09  Anton Blanchard  <anton@samba.org>
14914
14915         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14916         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14917         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14918         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14919
14920 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
14921
14922         * include/features.h (__USE_ANSI): Remove.
14923
14924 2013-01-09  Roland McGrath  <roland@hack.frob.com>
14925
14926         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14927
14928         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14929
14930 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14931
14932         * sysdeps/s390/fpu/libm-test-ulps: Update.
14933
14934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14935
14936         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14937         (__acr): Likewise.
14938         (__cpy): Likewise.
14939         (norm): Likewise.
14940         (denorm): Likewise.
14941         (__mp_dbl): Likewise.
14942         (__dbl_mp): Likewise.
14943         (add_magnitudes): Likewise.
14944         (sub_magnitudes): Likewise.
14945         (__add): Likewise.
14946         (__sub): Likewise.
14947         (__mul): Likewise.
14948         (__inv): Likewise.
14949         (__dvd): Likewise.
14950         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14951         (__acr): Likewise.
14952         (__cpy): Likewise.
14953         (norm): Likewise.
14954         (denorm): Likewise.
14955         (__mp_dbl): Likewise.
14956         (__dbl_mp): Likewise.
14957         (add_magnitudes): Likewise.
14958         (sub_magnitudes): Likewise.
14959         (__add): Likewise.
14960         (__sub): Likewise.
14961         (__mul): Likewise.
14962         (__inv): Likewise.
14963         (__dvd): Likewise.
14964         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14965         (__acr): Likewise.
14966         (__cpy): Likewise.
14967         (norm): Likewise.
14968         (denorm): Likewise.
14969         (__mp_dbl): Likewise.
14970         (__dbl_mp): Likewise.
14971         (add_magnitudes): Likewise.
14972         (sub_magnitudes): Likewise.
14973         (__add): Likewise.
14974         (__sub): Likewise.
14975         (__mul): Likewise.
14976         (__inv): Likewise.
14977         (__dvd): Likewise.
14978
14979 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
14980
14981         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14982         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14983         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14984         2 && __USE_EXTERN_INLINES]: Likewise.
14985
14986 2013-01-08  Andreas Jaeger  <aj@suse.de>
14987
14988         [BZ# 14985]
14989         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14990         Remove.
14991         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14992         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14993
14994 2013-01-07  Anton Blanchard  <anton@samba.org>
14995
14996         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14997         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14998         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14999         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15000         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15001         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15002         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15003         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15004         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15005         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15006         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15007         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15008         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15009         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15010         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15011         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15012         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15013         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15014         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15015         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15016         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15017         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15018         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15019         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15020         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15021         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15022         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15023         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15024         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15025         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15026         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15027         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15028         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15029         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15030         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15031         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15032         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15033         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15034         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15035         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15036         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15037         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15038         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15039
15040 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
15041
15042         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15043         (__MALLOC_PMT): Likewise.
15044         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15045         [__GNUC__], only on [_LIBC].
15046         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15047         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15048         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15049         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15050         forward declaration.
15051         (realloc_hook_ini): Likewise.
15052         (memalign_hook_ini): Likewise.
15053         (__libc_memalign): Do not use __MALLOC_PMT in variable
15054         declaration.
15055         (__libc_valloc): Likewise.
15056         (__libc_pvalloc): Likewise.
15057         (__libc_calloc): Likewise.
15058         (__posix_memalign): Likewise.
15059
15060         [BZ #14996]
15061         * math/s_casinh.c: Include <float.h>.
15062         (__casinh): Do not do computation with squaring and square root
15063         for large arguments.
15064         * math/s_casinhf.c: Include <float.h>.
15065         (__casinhf): Do not do computation with squaring and square root
15066         for large arguments.
15067         * math/s_casinhl.c: Include <float.h>.
15068         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15069         (__casinhl): Do not do computation with squaring and square root
15070         for large arguments.
15071         * math/libm-test.inc (casin_test): Add more tests.
15072         (casinh_test): Likewise.
15073         * sysdeps/i386/fpu/libm-test-ulps: Update.
15074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15075
15076 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
15077
15078         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15079         (__x86_64_raw_data_cache_size): Likewise.
15080         (__x86_64_data_cache_size_half): Likewise.
15081         (__x86_64_raw_data_cache_size_half): Likewise.
15082         (__x86_64_shared_cache_size): Likewise.
15083         (__x86_64_raw_shared_cache_size): Likewise.
15084         (__x86_64_shared_cache_size_half): Likewise.
15085         (__x86_64_raw_shared_cache_size_half): Likewise.
15086         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15087         to ...
15088         (__x86_data_cache_size): This.
15089         (__x86_64_raw_data_cache_size): Renamed to ...
15090         (__x86_raw_data_cache_size): This.
15091         (__x86_64_data_cache_size_half): Renamed to ...
15092         (__x86_data_cache_size_half): This.
15093         (__x86_64_raw_data_cache_size_half): Renamed to ...
15094         (__x86_raw_data_cache_size_half): This.
15095         (__x86_64_shared_cache_size): Renamed to ...
15096         (__x86_shared_cache_size): This.
15097         (__x86_64_raw_shared_cache_size): Renamed to ...
15098         (__x86_raw_shared_cache_size): This.
15099         (__x86_64_shared_cache_size_half): Renamed to ...
15100         (__x86_shared_cache_size_half): This.
15101         (__x86_64_raw_shared_cache_size_half): Renamed to ...
15102         (__x86_raw_shared_cache_size_half): This.
15103         * sysdeps/x86_64/memcpy.S: Updated.
15104         * sysdeps/x86_64/memset.S: Likewise.
15105         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15106         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15107         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15108
15109 2013-01-04  David S. Miller  <davem@davemloft.net>
15110
15111         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15112
15113 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
15114
15115         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15116         1 to avoid redefinition warning.
15117         (__USE_GNU): Don't define.
15118         (init_signaling_nan): Protoize.
15119
15120         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15121
15122 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15123
15124         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15125         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15126         (__cpymn): Likewise.
15127         (norm): Remove commented code.
15128         (denorm): Likewise.
15129         (__mp_dbl): Likewise.
15130         (__inv): Likewise.
15131         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15132         (__cpymn): Likewise.
15133         (norm): Remove commented code.
15134         (denorm): Likewise.
15135         (__mp_dbl): Likewise.
15136         (__inv): Likewise.
15137
15138         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15139         mp_no value for 1.0 and 2.0.
15140         (norm): Use RADIXI instead of radixi.d.
15141         (denorm): Likewise.
15142         (__mul): Use 0.0 instead of zero.d.
15143         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15144         mp_no value for 1.0 and 2.0.
15145         (norm): Use RADIXI instead of radixi.d.
15146         (denorm): Likewise.
15147         (__mul): Use 0.0 instead of zero.d.
15148
15149 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
15150
15151         [BZ #14994]
15152         * math/s_casinh.c (__casinh): Reduce finite argument to first
15153         quadrant then set signs of results at the end.
15154         * math/s_casinhf.c (__casinhf): Likewise.
15155         * math/s_casinhl.c (__casinhl): Likewise.
15156         * math/libm-test.inc (casin_test): Add more tests.
15157         (casinh_test): Likewise.
15158         * sysdeps/i386/fpu/libm-test-ulps: Update.
15159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15160
15161 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15162
15163         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15164
15165         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15166
15167         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15168         declarations.
15169         (denorm): Likewise.
15170         (__mp_dbl): Likewise.
15171         (__inv): Likewise.
15172
15173         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15174         and adjust the header comment.
15175
15176         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15177         variable name from declaration.
15178
15179 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
15180
15181         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15182         Initialize COMMON_CPUID_INDEX_7 element.
15183         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15184         (CPUID_RTM): Likewise.
15185         (HAS_RTM): Likewise.
15186         (COMMON_CPUID_INDEX_7): New enum.
15187
15188 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
15189
15190         [BZ #14981]
15191         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15192         size is zero, record memory as freed.
15193
15194 2013-01-03  Andreas Jaeger  <aj@suse.de>
15195
15196         * po/ia.po: Add new Interlingua translation.
15197
15198 2012-01-03  Allan McRae  <allan@archlinux.org>
15199
15200         * locale/programs/localedef.c: Fix description of '--posix' flag.
15201
15202 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
15203
15204         * NEWS: Update dates in second copyright notice.
15205         * README: Update copyright dates in example.
15206         * manual/libc.texinfo: Update copyright dates.
15207         * scripts/test-installation.pl: Update copyright date in --version
15208         output.
15209
15210         * hurd/ctty-input.c: Fix copyright notice formatting.
15211         * hurd/ctty-output.c: Likewise.
15212         * hurd/dtable.c: Likewise.
15213         * hurd/hurd-raise.c: Likewise.
15214         * hurd/hurdprio.c: Likewise.
15215         * hurd/msgportdemux.c: Likewise.
15216         * misc/sys/file.h: Likewise.
15217         * misc/sys/ioctl.h: Likewise.
15218         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15219         * sysdeps/mach/hurd/chdir.c: Likewise.
15220         * sysdeps/mach/hurd/fchdir.c: Likewise.
15221         * sysdeps/mach/hurd/rename.c: Likewise.
15222         * sysdeps/mach/hurd/rmdir.c: Likewise.
15223         * sysdeps/mach/hurd/seekdir.c: Likewise.
15224         * sysdeps/mach/hurd/setsid.c: Likewise.
15225         * sysdeps/posix/wait3.c: Likewise.
15226
15227         * All files with FSF copyright notices: Update copyright dates
15228         using scripts/update-copyrights.
15229         * intl/plural.c: Regenerated.
15230         * locale/programs/charmap-kw.h: Likewise.
15231         * locale/programs/locfile-kw.h: Likewise.
15232
15233 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15234
15235         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15236         four values.
15237
15238         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15239         calculation loop and add branch prediction.
15240
15241         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15242         check access beyond bounds of m1np.
15243
15244         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15245         MPTWO.
15246         (__inv): Remove local variable MPTWO to use the global
15247         constant.
15248         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15249         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15250         variable MPTWO.
15251         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15252         MP3HALFS static const.
15253
15254 2013-01-01  David S. Miller  <davem@davemloft.net>
15255
15256         * po/ca.po: Update from translation team.
15257
15258 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
15259
15260         * scripts/update-copyrights: New file.
15261         * Makeconfig: Reformat copyright notice.
15262         * ctype/ctype.h: Likewise.
15263         * debug/swprintf_chk.c: Likewise.
15264         * elf/dl-cache.c: Likewise.
15265         * elf/dl-debug.c: Likewise.
15266         * elf/dl-object.c: Likewise.
15267         * grp/initgroups.c: Likewise.
15268         * hurd/Makefile: Likewise.
15269         * hurd/hurd/signal.h: Likewise.
15270         * hurd/hurdfault.c: Likewise.
15271         * hurd/hurdioctl.c: Likewise.
15272         * hurd/hurdlookup.c: Likewise.
15273         * hurd/intr-msg.c: Likewise.
15274         * iconv/gconv_open.c: Likewise.
15275         * libio/swprintf.c: Likewise.
15276         * locale/lc-ctype.c: Likewise.
15277         * locale/nl_langinfo.c: Likewise.
15278         * mach/Machrules: Likewise.
15279         * mach/Makefile: Likewise.
15280         * malloc/obstack.h: Likewise.
15281         * manual/Makefile: Likewise.
15282         * manual/tsort.awk: Likewise.
15283         * misc/bits/stab.def: Likewise.
15284         * nis/nis_print_group_entry.c: Likewise.
15285         * nis/nis_table.c: Likewise.
15286         * nis/nss_compat/compat-pwd.c: Likewise.
15287         * nis/nss_compat/compat-spwd.c: Likewise.
15288         * po/Makefile: Likewise.
15289         * posix/fnmatch.c: Likewise.
15290         * posix/regex.h: Likewise.
15291         * resolv/Makefile: Likewise.
15292         * resolv/nss_dns/dns-network.c: Likewise.
15293         * resolv/res_hconf.c: Likewise.
15294         * scripts/gen-sorted.awk: Likewise.
15295         * soft-fp/soft-fp.h: Likewise.
15296         * stdio-common/printf.h: Likewise.
15297         * stdlib/monetary.h: Likewise.
15298         * stdlib/random.c: Likewise.
15299         * stdlib/random_r.c: Likewise.
15300         * sysdeps/generic/Makefile: Likewise.
15301         * sysdeps/gnu/Makefile: Likewise.
15302         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15303         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15304         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15305         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15306         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15307         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15308         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15309         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15310         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15311         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15312         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15313         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15314         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15315         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15316         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15317         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15318         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15319         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15320         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15321         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15322         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15323         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15324         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15325         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15326         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15327         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15328         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15329         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15330         * sysdeps/mach/hurd/errnos.awk: Likewise.
15331         * sysdeps/mach/hurd/fork.c: Likewise.
15332         * sysdeps/mach/hurd/getcwd.c: Likewise.
15333         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15334         * sysdeps/mach/hurd/mmap.c: Likewise.
15335         * sysdeps/mach/hurd/utimes.c: Likewise.
15336         * sysdeps/mach/hurd/xmknod.c: Likewise.
15337         * sysdeps/posix/profil.c: Likewise.
15338         * sysdeps/posix/readdir_r.c: Likewise.
15339         * sysdeps/powerpc/bits/mathdef.h: Likewise.
15340         * sysdeps/powerpc/bits/setjmp.h: Likewise.
15341         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15342         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15343         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15344         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15345         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15346         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15347         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15348         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15349         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15350         * sysdeps/pthread/lio_listio.c: Likewise.
15351         * sysdeps/sparc/dl-procinfo.h: Likewise.
15352         * sysdeps/unix/i386/sysdep.S: Likewise.
15353         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15354         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15355         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15356         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15358         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15359         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15360         * sysdeps/unix/sysv/linux/speed.c: Likewise.
15361         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15362         * sysdeps/wordsize-32/divdi3.c: Likewise.
15363         * time/sys/time.h: Likewise.
15364         * wcsmbs/Makefile: Likewise.
15365
15366 2013-01-01  David S. Miller  <davem@davemloft.net>
15367
15368         * po/fr.po: Update from translation team.
15369
15370         * catgets/gencat.c: Update copyright year.
15371         * csu/version.c: Likewise.
15372         * debug/catchsegv.sh: Likewise.
15373         * debug/pcprofiledump.c: Likewise.
15374         * debug/xtrace.sh: Likewise.
15375         * elf/ldconfig.c: Likewise.
15376         * elf/ldd.bash.in: Likewise.
15377         * elf/pldd.c: Likewise.
15378         * elf/sotruss.ksh: Likewise.
15379         * elf/sprof.c: Likewise.
15380         * iconv/iconv_prog.c: Likewise.
15381         * iconv/iconvconfig.c: Likewise.
15382         * locale/programs/locale.c: Likewise.
15383         * locale/programs/localedef.c: Likewise.
15384         * login/programs/pt_chown.c: Likewise.
15385         * malloc/memusage.sh: Likewise.
15386         * malloc/memusagestat.c: Likewise.
15387         * malloc/mtrace.pl: Likewise.
15388         * nscd/nscd.c: Likewise.
15389         * nss/getent.c: Likewise.
15390         * nss/makedb.c: Likewise.
15391         * posix/getconf.c: Likewise.
15392
15393 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15394
15395         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15396         numbers.
15397
15398 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
15399
15400         * math/bits/mathcalls.h (modf): Use __nonnull.
15401
15402 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15403
15404         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15405         (split): Use macro CN instead of the bare value.
15406         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15407         could be used.
15408         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15409         instead of the bare value.
15410         (power1): Likewise.
15411
15412 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15413
15414         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15415         __ATAN_TWOM.
15416         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15417
15418         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15419         their values.
15420         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15421         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15422         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15423         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15424
15425 2012-12-28  Andreas Jaeger  <aj@suse.de>
15426
15427         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
15428         values are from Linux 3.7.
15429
15430         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15431         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
15432
15433 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15434
15435         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15436         TRUE case.
15437
15438         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15439         (norm): Likewise.
15440         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15441         variables with preprocessor constants.
15442         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15443         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15444         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15445
15446 2012-12-27  Bruno Haible  <bruno@clisp.org>
15447
15448         [BZ #14317]
15449         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15450         only if needed.
15451
15452 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15453
15454         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15455         and use variable directly.
15456         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15457
15458         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15459         MPONE.
15460         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15461         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15462         variable MPONE.
15463         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15464         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15465         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15466         include directive.  Remove local variable MPONE.
15467         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15468         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15469         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15470
15471 2012-12-25  David S. Miller  <davem@davemloft.net>
15472
15473         * version.h (RELEASE): Set to "development".
15474         (VERSION): Set to "2.17.90".
15475         * NEWS: Add 2.18 section.
15476
15477 2012-12-21  David S. Miller  <davem@davemloft.net>
15478
15479         * po/hr.po: Update from translation team.
15480
15481 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15482
15483         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15484
15485 2012-12-19  Steve Ellcey  <sellcey@mips.com>
15486
15487         * NEWS:  Mention new memcpy for MIPS.
15488
15489 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15490
15491         * manual/contrib.texi (Contributors): Spelling correction.
15492
15493 2012-12-15  David S. Miller  <davem@davemloft.net>
15494
15495         * po/ru.po: Update from translation team.
15496
15497 2012-12-13  David S. Miller  <davem@davemloft.net>
15498
15499         * NEWS: Mention IFUNC testsuite enhancements.
15500
15501         * po/pl.po: Update from translation team.
15502         * po/bg.po: Likewise.
15503
15504         * manual/contrib.texi (Contributors): Update entries for Hongjiu
15505         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
15506
15507 2012-12-11  David S. Miller  <davem@davemloft.net>
15508
15509         * po/sv.po: Update from translation team.
15510
15511         * po/vi.po: Update from translation team.
15512
15513         * po/cs.po: Update from translation team.
15514
15515         * po/de.po: Update from translation team.
15516         * po/eo.po: Likewise.
15517         * po/nl.po: Likewise.
15518
15519 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15520
15521         [BZ #14246]
15522         * manual/argp.texi (Argp Helper Functions): Move node to follow
15523         Argp Parsing State.
15524
15525         [BZ #14872]
15526         * manual/conf.texi (Limits on File System Capacity): Mention if
15527         terminating null is included in the max size.
15528
15529 2012-12-10  Andreas Jaeger  <aj@suse.de>
15530
15531         * po/cs.po: Update from translation team.
15532
15533 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15534
15535         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15536         void pointer and cast to uintptr_t.
15537         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15538         path.
15539         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15540         * sysdeps/s390/s390-64/memset.S: Likewise.
15541
15542 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
15543
15544         [BZ #14833]
15545         * menual/message.texi (Message Translation): Fix typos.
15546         (Helper programs for gettext): Likewise.
15547
15548 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
15549
15550         [BZ #14898]
15551         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15552         Change to -1.
15553
15554 2012-12-07  David S. Miller  <davem@davemloft.net>
15555
15556         * po/libc.pot: Update.
15557
15558 2012-12-07  Richard Henderson  <rth@redhat.com>
15559
15560         [BZ #10114]
15561         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15562         normal/normal case to before the switch.
15563         (_FP_DIV): Likewise.
15564
15565 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
15566             Mike Frysinger  <vapier@gentoo.org>
15567
15568         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15569         check for __NR_fadvise64_64.
15570
15571 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
15572
15573         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15574         0, not just to plain "0" as a statement.
15575         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15576         with cw.
15577
15578 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
15579
15580         * NEWS: Use sourceware.org in Bugzilla URL.
15581
15582 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15583
15584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15585         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15586
15587         * stdio-common/tst-put-error.c (do_test): Add newline to the
15588         padded test to ensure flush.
15589
15590 2012-12-05  Jeff Law  <law@redhat.com>
15591
15592         * sunrpc/etc.rpc (fedfs_admin): Add entry.
15593
15594 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
15595
15596         * README: Don't refer to ports add-on as distributed separately.
15597         Mention AArch64 in list of systems supported in the ports add-on.
15598
15599         * LICENSES: Add more non-FSF copyright and license notices.
15600
15601         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15602         ((unused)).
15603
15604         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15605
15606         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15607         10000 as width of padded output.
15608
15609 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15610
15611         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15612
15613         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15614         variable LX with __attribute__ ((unused)).
15615         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15616         Likewise.
15617         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15618         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15619         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15620         with __attribute__ ((unused)).
15621
15622 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
15623
15624         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15625
15626 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15627
15628         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15629         (CFLAGS-nldbl-acos.c): New variable.
15630         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15631         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15632         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15633         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15634         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15635         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15636         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15637         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15638         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15639         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15640         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15641         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15642         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15643         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15644         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15645         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15646         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15647         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15648         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15649         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15650         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15651         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15652         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15653         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15654         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15655         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15656         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15657         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15658         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15659         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15660         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15661         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15662         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15663         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15664         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15665         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15666         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15667         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15668         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15669         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15670         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15671         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15672         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15673         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15674         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15675         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15676         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15677         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15678         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15679         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15680         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15681         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15682         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15683         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15684         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15685         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15686         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15687         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15688         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15689         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15690         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15691         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15692         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15693         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15694         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15695         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15696         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15697         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15698         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15699         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15700         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15701         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15702         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15703         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15704         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15705         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15706         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15707         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15708         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15709         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15710         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15711         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15712         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15713         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15714         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15715         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15716         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15717         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15718         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15719         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15720         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15721         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15722         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15723         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15724         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15725         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15726         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15727
15728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15729         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15730
15731         [BZ #14914]
15732         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15733         whole low double instead of just low 47 bits when splitting values
15734         into two parts.
15735
15736 2012-12-03  Allan McRae  <allan@archlinux.org>
15737
15738         * manual/stdio.texi (Predefined Printf Handlers): Remove
15739         @hsep and @vsep usage.
15740
15741 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
15742
15743         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15744         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15745
15746 2012-12-03  Jeff Law  <law@redhat.com>
15747
15748         * time/sys/time.h (settimeofday): Do not mark TV argument
15749         as __nonnull.
15750
15751 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
15752
15753         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15754         when currently writing and seek to current position when not.
15755         * libio/Makefile (tests): Remove bug-fclose1.
15756         * libio/bug-fclose1.c: Delete.
15757
15758 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
15759
15760         * manual/arith.texi (feenableexcept): Fix typo.
15761         (fedisableexcept): Likewise.
15762
15763 2012-11-30  Roland McGrath  <roland@hack.frob.com>
15764
15765         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15766         second, differently-typed declaration, rather than a cast.
15767
15768 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15769
15770         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15771         * include/rpc/svc.h: ... here.
15772
15773 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
15774
15775         [BZ #13013]
15776         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15777         depending n and resplen2 to catch cases where answer
15778         equals answerp2.
15779
15780 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
15781
15782         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15783         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15784
15785 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
15786
15787         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15788
15789 2012-11-29  Roland McGrath  <roland@hack.frob.com>
15790
15791         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15792
15793 2012-11-28  Jeff Law  <law@redhat.com>
15794
15795         [BZ #13761]
15796         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15797         dataset_temporary.  Track alloca usage into alloca_used.
15798         If dataset is large allocate and release it via malloc/free.
15799
15800 2012-06-04  Florian Weimer  <fweimer@redhat.com>
15801
15802         [BZ #14197]
15803         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15804
15805 2012-11-28  David S. Miller  <davem@davemloft.net>
15806
15807         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15808
15809 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15810
15811         [BZ #14803]
15812         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15813         of pi/2 rounded to nearest to 64 bits.
15814         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15815         nearest to 64 bits.
15816         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15817         bits.
15818
15819 2012-11-28  Jeff Law <law@redhat.com>
15820             Martin Osvald <mosvald@redhat.com>
15821
15822         [BZ #14889]
15823         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15824         * sunrpc/svc.c: Include time.h.
15825         (__svc_accept_failed): New function.
15826         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15827         any reason other than EINTR, call __svc_accept_failed.
15828         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15829         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15830
15831 2012-11-28  Andreas Schwab  <schwab@suse.de>
15832
15833         * scripts/abilist.awk: Also handle indirect functions in .opd
15834         section.
15835
15836 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15837
15838         [BZ #13881]
15839         * sysdeps/x86/fpu/powl_helper.c: New file.
15840         * sysdeps/x86/fpu/Makefile: Likewise.
15841         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15842         (p3): New object.
15843         (__ieee754_powl): Use __powl_helper for finite arguments except
15844         integer exponents below 8.
15845         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15846         (p3): New object.
15847         (__ieee754_powl): Use __powl_helper for finite arguments except
15848         integer exponents below 8.
15849         * math/libm-test.inc (pow_test): Add more tests and enable some
15850         previously disabled tests.
15851         * sysdeps/i386/fpu/libm-test-ulps: Update.
15852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15853
15854 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15855             Carlos O'Donell  <carlos_odonell@mentor.com>
15856
15857         * nss/makedb.c (is_prime): Assert that input is odd and greater
15858         than 4.  Note that fact in a comment too.
15859         (next_prime): Add 4 to input.
15860
15861 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15862
15863         [BZ #11741]
15864         * libio/Makefile (tests): Add test case tst-fwrite-error.
15865         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15866         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15867         * libio/tst-fwrite-error.c: New test case.
15868
15869 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
15870
15871         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15872         before casting to void *.
15873         * include/libc-internal.h (__pointer_type): New macro.
15874         (__integer_if_pointer_type_sub): Likewise.
15875         (__integer_if_pointer_type): Likewise.
15876         (cast_to_integer): Likewise.
15877         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15878         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15879         before casting to atomic64_t.
15880         (atomic_exchange_acq): Likewise.
15881         (__arch_exchange_and_add_body): Likewise.
15882         (__arch_add_body): Likewise.
15883         (atomic_add_negative): Likewise.
15884         (atomic_add_zero): Likewise.
15885
15886 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
15887
15888         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15889         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15890         (add_fdes): Likewise.
15891         (linear_search_fdes): Likewise.
15892         (binary_search_unencoded_fdes): Likewise.
15893
15894 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
15895
15896         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15897
15898 2012-11-24  Adam Conrad  <adconrad@0c3.net>
15899
15900         * configure.in: Autodetect C++ header directories.
15901         * configure: Regenerated.
15902
15903 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
15904
15905         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15906
15907 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
15908
15909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15910
15911 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
15912
15913         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15914         LDBL_MANT_DIG == 106]: Disable some tests.
15915         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15916         Likewise.
15917         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15918         Likewise.
15919
15920         [BZ #14871]
15921         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15922         input for small inputs.  Return +/- pi/2 for large inputs.
15923         * math/libm-test.inc (atan_test): Add more tests.
15924
15925         * sysdeps/generic/unwind-dw2-fde-glibc.c
15926         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15927         __attribute__ ((unused)).
15928
15929         [BZ #14645]
15930         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15931         x * y if x and y are nonzero and z is zero.
15932
15933         [BZ #14811]
15934         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15935         nonzero exponents with absolute value below 0x1p-117 to +/-
15936         0x1p-117.
15937
15938         [BZ #14869]
15939         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15940         up arguments below 2**-450, not just those below 2**-500.
15941         * math/libm-test.inc (hypot_test): Add another test.
15942
15943         [BZ #14868]
15944         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15945         Return a+b for ratio over 2**120, not 2**60.
15946         * math/libm-test.inc (hypot_test): Add another test.
15947
15948         * math/libm-test.inc (clog_test): Use
15949         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15950         (clog10_test): Likewise.
15951
15952         [BZ #6778]
15953         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15954
15955 2012-11-22  Andreas Schwab  <schwab@suse.de>
15956
15957         * sysdeps/i386/fpu/libm-test-ulps: Update.
15958
15959 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
15960
15961         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15962         printf output with newline.
15963
15964 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
15965
15966         [BZ #14865]
15967         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15968         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15969         -z nodlopen, -z initfirst and -z execstack support.
15970         * configure: Regenerated.
15971
15972         * elf/elf.h (DF_1_NODIRECT): New macro.
15973         (DF_1_IGNMULDEF): Likewise.
15974         (DF_1_NOKSYMS): Likewise.
15975         (DF_1_NOHDR): Likewise.
15976         (DF_1_EDITED): Likewise.
15977         (DF_1_NORELOC): Likewise.
15978         (DF_1_SYMINTPOSE): Likewise.
15979         (DF_1_GLOBAUDIT): Likewise.
15980         (DF_1_SINGLETON): Likewise.
15981         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15982         DT_1_SUPPORTED_MASK bits.
15983         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15984
15985 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
15986
15987         * sysdeps/unix/make-syscalls.sh: Document prefixes.
15988
15989 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
15990
15991         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15992         macro.
15993
15994         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15995         (sendmmsg): Move declarations...
15996         * socket/sys/socket.h: ... here.
15997         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15998         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15999         include it from...
16000         * socket/recvmmsg.c: ... this new file.
16001         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16002         (sendmmsg): Rename to __sendmmsg, create weak alias and make
16003         definition of __sendmmsg hidden.
16004         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16005         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16006         Move ENOSYS stub into and include it from...
16007         * socket/sendmmsg.c: ... this new file.
16008         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16009         (sysdep_routines): Move recvmmsg and sendmmsg...
16010         * socket/Makefile (routines): ... here.
16011         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16012         (GLIBC_PRIVATE): Add __sendmmsg.
16013         * include/sys/socket.h (__sendmmsg): Add declarations.
16014         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16015         sendmmsg.
16016
16017 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
16018
16019         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16020         variable I1 with __attribute__ ((unused)).
16021         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16022
16023 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16024
16025         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16026         DUMMY variables with __attribute__ ((unused)).
16027
16028         * bits/byteswap.h: Include <bits/types.h>.
16029         (__bswap_64): Use __uint64_t instead of unsigned long long int.
16030
16031 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16032
16033         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16034         string_t.  Do not manually set errno.
16035         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16036         length with __strnlen.  Make sure to both set errno and return it on
16037         failure.
16038
16039 2012-11-19  David S. Miller  <davem@davemloft.net>
16040
16041         With help from Joseph Myers.
16042         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16043         very large arguments properly.
16044         * math/libm-test.inc (atan_test): New tests.
16045         (atan2_test): New tests.
16046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16047         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16048
16049 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16050
16051         [BZ #14856]
16052         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16053         Define to 3.
16054
16055         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16056         [POSIX] (EADDRNOTAVAIL): Likewise.
16057         [POSIX] (EAFNOSUPPORT): Likewise.
16058         [POSIX] (EALREADY): Likewise.
16059         [POSIX] (ECONNABORTED): Likewise.
16060         [POSIX] (ECONNREFUSED): Likewise.
16061         [POSIX] (ECONNRESET): Likewise.
16062         [POSIX] (EDESTADDRREQ): Likewise.
16063         [POSIX] (EDQUOT): Likewise.
16064         [POSIX] (EHOSTUNREACH): Likewise.
16065         [POSIX] (EIDRM): Likewise.
16066         [POSIX] (EISCONN): Likewise.
16067         [POSIX] (ELOOP): Likewise.
16068         [POSIX] (EMULTIHOP): Likewise.
16069         [POSIX] (ENETDOWN): Likewise.
16070         [POSIX] (ENETUNREACH): Likewise.
16071         [POSIX] (ENOBUFS): Likewise.
16072         [POSIX] (ENODATA): Likewise.
16073         [POSIX] (ENOLINK): Likewise.
16074         [POSIX] (ENOMSG): Likewise.
16075         [POSIX] (ENOPROTOOPT): Likewise.
16076         [POSIX] (ENOSR): Likewise.
16077         [POSIX] (ENOSTR): Likewise.
16078         [POSIX] (ENOTCONN): Likewise.
16079         [POSIX] (ENOTSOCK): Likewise.
16080         [POSIX] (EOPNOTSUPP): Likewise.
16081         [POSIX] (EOVERFLOW): Likewise.
16082         [POSIX] (EPROTO): Likewise.
16083         [POSIX] (EPROTONOSUPPORT): Likewise.
16084         [POSIX] (EPROTOTYPE): Likewise.
16085         [POSIX] (ESTALE): Likewise.
16086         [POSIX] (ETIME): Likewise.
16087         [POSIX] (ETXTBSY): Likewise.
16088         [POSIX] (EWOULDBLOCK): Likewise.
16089         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16090         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16091         [POSIX] (SEEK_CUR): Likewise.
16092         [POSIX] (SEEK_END): Likewise.
16093         [POSIX || UNIX98] (mode_t): Do not require.
16094         [POSIX] (off_t): Likewise.
16095         [POSIX] (pid_t): Likewise.
16096         [POSIX] (sys/stat.h): Do not allow header.
16097         [POSIX] (unistd.h): Likewise.
16098         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16099         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16100         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16101         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16102         require.
16103         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16104         sigevent): Specify elements.
16105         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16106         entry.
16107         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16108         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16109
16110         * conform/data/cpio.h-data [POSIX]: Disable whole file.
16111         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16112         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16113         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16114         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16115         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16116         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16117         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16118         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16119         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16120         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16121         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16122         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16123         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16124         Likewise.
16125         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16126         Likewise.
16127         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16128         Likewise.
16129         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16130         Likewise.
16131         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16132         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16133         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16134         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16135         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16136         Specify lower bound on value.
16137         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16138         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16139         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16140         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16141         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16142         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16143         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16144         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16145         value.
16146         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16147         as optional.
16148         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16149         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16150         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16151         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16152         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16153         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16154         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16155         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16156         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16157         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16158         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16159         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16160         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16161         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16162         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16163         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16164         entry.
16165         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16166         optional.
16167         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16168         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16169         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16170         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16171         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16172         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16173         Likewise.
16174         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16175         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16176         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16177         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16178         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
16179         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16180         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16181         as optional.
16182         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16183         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16184         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16185         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16186         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16187         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16188         specify as optional.
16189         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16190         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16191         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16192         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16193         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16194         [XPG3] (NL_LANGMAX): Likewise.
16195         [POSIX || XPG3] (NL_MSGMAX): Likewise.
16196         [POSIX || XPG3] (NL_NMAX): Likewise.
16197         [POSIX || XPG3] (NL_SETMAX): Likewise.
16198         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16199         [XPG3] (NZERO): Likewise.
16200         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16201         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16202         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16203         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16204         (REG_ERANGE): Expect.
16205         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16206         optional-constant.
16207         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16208         Use (void) in prototype.
16209         [POSIX] (*_t): Allow.
16210         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16211         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16212         (WRDE_BADVAL): Expect.
16213
16214         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16215         expect.
16216         [XPG3 || XPG4] (O_RSYNC): Likewise.
16217         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16218         Likewise.
16219         [XPG3 || XPG4] (pthread_sigmask): Likewise.
16220         [XPG3 || XPG4] (sigqueue): Likewise.
16221         [XPG3 || XPG4] (sigtimedwait): Likewise.
16222         [XPG3 || XPG4] (sigwaitinfo): Likewise.
16223         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16224         [XPG3 || XPG4] (vsnprintf): Likewise.
16225         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16226         Likewise.
16227         [XPG3 || XPG4] (blksize_t): Likewise.
16228         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16229         Likewise.
16230         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16231         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16232         [XPG3 || XPG4] (struct itimerspec): Likewise.
16233         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16234         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16235         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16236         [XPG3 || XPG4] (clockid_t): Likewise.
16237         [XPG3 || XPG4] (timer_t): Likewise.
16238         [XPG3 || XPG4] (clock_getres): Likewise.
16239         [XPG3 || XPG4] (clock_gettime): Likewise.
16240         [XPG3 || XPG4] (clock_settime): Likewise.
16241         [XPG3 || XPG4] (nanosleep): Likewise.
16242         [XPG3 || XPG4] (timer_create): Likewise.
16243         [XPG3 || XPG4] (timer_delete): Likewise.
16244         [XPG3 || XPG4] (timer_gettime): Likewise.
16245         [XPG3 || XPG4] (timer_getoverrun): Likewise.
16246         [XPG3 || XPG4] (timer_settime): Likewise.
16247         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16248         [XPG3 || XPG4] (getlogin_r): Likewise.
16249         [XPG3 || XPG4] (pread): Likewise.
16250         [XPG3 || XPG4] (pthread_atfork): Likewise.
16251         [XPG3 || XPG4] (pwrite): Likewise.
16252
16253         [BZ #14835]
16254         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16255         <bits/siginfo.h>.
16256
16257 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16258
16259         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16260         finalizing MALLSTREAM.
16261
16262         * sysdeps/mach/hurd/syncfs.c: New file.
16263
16264 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16265
16266         [BZ #14719]
16267         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16268         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16269         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16270         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16271         (_nss_dns_gethostbyname4_r): Likewise.
16272         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16273         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16274
16275 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
16276
16277         [BZ #13763]
16278         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16279
16280 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
16281
16282         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16283         * elf/cache.c (print_entry): Print ",AArch64" for
16284         FLAG_AARCH64_LIB64
16285
16286         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16287         * elf/cache.c (print_entry): Print ",hard-float" for
16288         FLAG_ARM_LIBHF.
16289
16290 2012-11-18  David S. Miller  <davem@davemloft.net>
16291
16292         With help from Joseph Myers.
16293         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16294         cutoff to 2**-13.
16295         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16296         cutoff to 2**-25.
16297         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16298         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16299         small.
16300         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16301         * math/libm-test.inc (y0_test): New tests.
16302         (y1_test): New tests.
16303         * sysdeps/i386/fpu/libm-test-ulps: Update.
16304         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16305         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16306
16307 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
16308
16309         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16310         64-bit targets.
16311         * configure: Regenerated.
16312
16313 2012-11-17  David S. Miller  <davem@davemloft.net>
16314
16315         [BZ #14811]
16316         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16317         nonzero exponents with absolute value below 0x1p-128 to +/-
16318         0x1p-128.
16319
16320 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
16321
16322         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16323
16324         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16325
16326         * posix/getconf-speclist.c: New file.
16327         * posix/posix-envs.def: Likewise.
16328         * posix/confstr.c (START_ENV_GROUP): New macro.
16329         (END_ENV_GROUP): Likewise.
16330         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16331         (KNOWN_PRESENT_ENV_STRING): Likewise.
16332         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16333         (UNKNOWN_ENVIRONMENT): Likewise.
16334         (confstr): Include posix-envs.def instead of handling
16335         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16336         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16337         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16338         (END_ENV_GROUP): Likewise.
16339         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16340         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16341         (UNKNOWN_ENVIRONMENT): Likewise.
16342         (__sysconf): Include posix-envs.def instead of handling associated
16343         cases directly here.
16344         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16345         preprocessing getconf-speclist.c rather than running getconf or
16346         generating empty file.
16347
16348 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
16349
16350         * scripts/check-local-headers.sh: Ignore 'mach' headers.
16351
16352 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
16353
16354         [BZ #14672]
16355         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16356
16357 2012-11-16  David S. Miller  <davem@davemloft.net>
16358
16359         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16360         smaller than LDBL_EPSILON/2.0L, just return xm1.
16361
16362 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
16363
16364         * elf/tst-array1.c (init): Set constructor priority to 1000.
16365         (fini): Set destructor priority to 1000.
16366         * elf/tst-array2dep.c: Likewise.
16367
16368 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16369
16370         [BZ #11741]
16371         * libio/fileops.c (_IO_new_file_write): Correctly return error.
16372         (_IO_new_file_xsputn): Also return EOF if none of the input
16373         data was written when overflow failed.
16374         * libio/iopadn.c (_IO_padn): Likewise.
16375         * libio/iowpadn.c (_IO_wpadn): Likewise.
16376         * stdio-common/tst-put-error.c: Add copyright notice.
16377         (do_test): Add case for printing padded string.
16378         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16379         _IO_padn returned error.
16380         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16381         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16382         return EOF.
16383
16384 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16385
16386         * libio/libioP.h: Add comment note that the references to C++
16387         bits are now obsolete.
16388
16389 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16390
16391         * math/libm-test.inc (check_complex): Use asprintf.
16392
16393 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
16394
16395         * debug/pcprofiledump.c (print_version): Update copyright year.
16396         * malloc/memusagestat.c (print_version): Likewise.
16397
16398 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
16399
16400         [BZ #14831]
16401         * elf/Makefile (tests): Add tst-audit8.
16402         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16403         ($(objpfx)tst-audit8.out): New target.
16404         (tst-audit8-ENV): New variable.
16405         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16406         audit if l_reloc_result is NULL.
16407         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16408         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16409         * elf/tst-audit8.c: New file.
16410
16411 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16412
16413         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16414         * misc/Makefile (CFLAGS-select.c): Define.
16415         * posix/Makefile (CFLAGS-pause.c): Define.
16416
16417 2012-11-13  David S. Miller  <davem@davemloft.net>
16418
16419         * crypt/Makefile: Move test targets after toplevel Rules
16420         inclusion.  Grab any necessary sysdep routines when linking.
16421         * crypt/md5.c (md5_process_block): Remove define, we will always
16422         name it __md5_process_block.
16423         (md5_finish_ctx): Update md5_process_block call.
16424         (md5_stream): Likewise.
16425         (md5_process_bytes): Likewise.
16426         (md5_process_block): Rename to __md5_process_block and move to ...
16427         * crypt/md5-block.c: ... here.
16428         * crypt/sha256.c (sha256_process_block): Move to ...
16429         * crypt/sha256-block.c: ... here.
16430         * crypt/sha512.c (sha512_process_block): Move to ...
16431         * crypt/sha512-block.c: ... here.
16432         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16433         path.
16434         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16435         * sysdeps/sparc/sparc64/multiarch/Makefile
16436         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16437         crypt subdir.
16438         (localedef-aux): Add md5 crypto assembler when in locale subdir.
16439         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16440         multiarch changes.
16441         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16442         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16443         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16444         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16445         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16446         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16447         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16448         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16449         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16450         file.
16451         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16452         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16453         file.
16454         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16455
16456 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
16457
16458         * timezone/tzselect.ksh: Update from tzcode git revision
16459         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16460         * timezone/zdump.c: Likewise.
16461         * timezone/zic.c: Likewise.
16462         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16463         in TZVERSION setting, not $(PKGVERSION).
16464         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
16465         REPORT_BUGS_TO settings.
16466
16467         [BZ #14838]
16468         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16469         macro.
16470
16471 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16472
16473         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16474         detection to immediately after _FP_ROUND().
16475         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16476         bits are 0.
16477
16478 2012-11-11  David S. Miller  <davem@davemloft.net>
16479
16480         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16481         inttypes.h
16482         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16483         __close rather than their public counterparts.
16484
16485 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
16486
16487         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16488         file.
16489         [UNIX98] (sem_timedwait): Do not expect.
16490         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16491         [XPG4 || UNIX98] (sockatmark): Do not expect.
16492         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16493         (clock_getcpuclockid): Do not expect.
16494         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16495         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16496         Do not expect.
16497         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16498         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16499         [UNIX98] (vwscanf): Likewise.
16500         [UNIX98] (vswscanf): Likewise.
16501
16502 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
16503
16504         * timezone/version.h: Remove file.
16505         * timezone/README: Do not refer to version.h.
16506         * timezone/Makefile ($(objpfx)zic.o): New dependency on
16507         $(objpfx)version.h.
16508         ($(objpfx)zdump.o): Likewise.
16509         ($(objpfx)version.h): New target.
16510
16511         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16512         2012i.
16513         * timezone/README: Don't mention modification to tzselect.ksh.
16514         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16515         work on unmodified tzselect.ksh.  Substitute version numbers in
16516         tzselect.ksh.
16517
16518         * Makefile (format-me): Remove.
16519         (INSTALL): Adjust indentation.  Use commands directly instead of
16520         using $(format-me).
16521
16522         * aclocal.m4 (ACX_PKGVERSION): New macro.
16523         (ACX_BUGURL): Likewise.
16524         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16525         (PKGVERSION): New AC_DEFINE_UNQUOTED.
16526         (REPORT_BUGS_TO): Likewise.
16527         * configure: Regenerated.
16528         * config.h.in (PKGVERSION): New macro.
16529         (REPORT_BUGS_TO): Likewise.
16530         * config.make.in (PKGVERSION): New variable.
16531         (PKGVERSION_TEXI): Likewise.
16532         (REPORT_BUGS_TO): Likewise.
16533         (REPORT_BUGS_TEXI): Likewise.
16534         * Makefile (format-me): Use -I$(common-objpfx)manual.
16535         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16536         ($(common-objpfx)manual/%): New target.
16537         (manual/%): Remove target.
16538         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16539         (print_version): Use PKGVERSION.
16540         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16541         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16542         and REPORT_BUGS_TO.
16543         ($(objpfx)xtrace): Likewise.
16544         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16545         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16546         (print_version): Use PKGVERSION.
16547         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16548         (do_version): Use PKGVERSION.
16549         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16550         REPORT_BUGS_TO.
16551         (common-ldd-rewrite): Likewise.
16552         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16553         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16554         (print_version): Use PKGVERSION.
16555         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16556         * elf/pldd.c (argp_program_bug_address): Remove variable.
16557         (more_help): New function.
16558         (argp): Use more_help.
16559         (print_version): Use PKGVERSION.
16560         * elf/sln.c (main): Use PKGVERSION.
16561         (usage): Use REPORT_BUGS_TO.
16562         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16563         (top level): Use PKGVERSION.
16564         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16565         (print_version): Use PKGVERSION.
16566         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16567         (print_version): Use PKGVERSION.
16568         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16569         (print_version): Use PKGVERSION.
16570         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16571         (print_version): Use PKGVERSION.
16572         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16573         (print_version): Use PKGVERSION.
16574         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16575         (print_version): Use PKGVERSION.
16576         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16577         and BUGURL.
16578         ($(objpfx)memusage): Likewise.
16579         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16580         (do_version): Use PKGVERSION.
16581         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16582         (print_version): Use PKGVERSION.
16583         * malloc/mtrace.pl ($PACKAGE): Remove variable.
16584         ($PKGVERSION): New variable.
16585         ($REPORT_BUGS_TO): Likewise.
16586         (usage): Use $REPORT_BUGS_TO.
16587         (top level): Use $PKGVERSION.
16588         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16589         ($(objpfx)pkgvers.texi): New rule.
16590         ($(objpfx)stamp-pkgvers): Likewise.
16591         * manual/install.texi: Include pkgvers.texi.
16592         (--with-pkgversion): Document new configure option.
16593         (--with-bugurl): Likewise.
16594         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16595         than necessarily for this particular distribution.  Use
16596         REPORT_BUGS_TO for where to report bugs.
16597         * INSTALL: Regenerated.
16598         * manual/libc.texinfo: Include pkgvers.texi.
16599         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16600         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16601         (print_version): Use PKGVERSION.
16602         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16603         (print_version): Use PKGVERSION.
16604         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16605         (print_version): Use PKGVERSION.
16606         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16607         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16608         macro.
16609         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16610         (print_version): Use PKGVERSION.
16611         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16612         (print_version): Use PKGVERSION.
16613         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16614         and PKGVERSION.
16615
16616         * timezone/checktab.awk: Update from tzcode 2012i.
16617         * timezone/ialloc.c: Likewise.
16618         * timezone/private.h: Likewise.
16619         * timezone/scheck.c: Likewise.
16620         * timezone/tzfile.h: Likewise.
16621         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16622         (TZVERSION): Hardcode tzcode version number.
16623         * timezone/zdump.c: Update from tzcode 2012i.
16624         * timezone/zic.c: Likewise.
16625         * timezone/version.h: New file.
16626         * timezone/README: Describe version.h.  Update upstream location.
16627
16628         [BZ #14824]
16629         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16630         (mktemp): Enable declaration.
16631         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16632         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16633         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16634         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16635         Likewise.
16636         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16637         Likewise.
16638         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16639         Likewise.
16640         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16641         Likewise.
16642         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16643         Likewise.
16644         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16645         Likewise.
16646
16647         [BZ #14821]
16648         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16649         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
16650         for copies of such integer values.
16651         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16652         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16653
16654 2012-11-09  Andreas Jaeger  <aj@suse.de>
16655
16656         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16657         definitions and declarations that are provided by
16658         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16659
16660 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16661
16662         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16663         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16664         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16665         definition.
16666
16667 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16668
16669         * elf/elf.h: Update comment before AArch64 relocations.
16670
16671 2012-11-07  David S. Miller  <davem@davemloft.net>
16672
16673         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16674         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16675         (__start_context): Declare.
16676         (__makecontext_ret): Delete.
16677         (__makecontext): Hook up __start_context instead of
16678         __makecontext_ret.
16679         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16680         (sysdep_routines): Add __start_context when in stdlib.
16681
16682 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16683
16684         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16685         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16686         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
16687         hardcoded "nm".
16688         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
16689         (READELF): New variable.  Use it instead of hardcoded "readelf".
16690
16691 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16692
16693         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16694         * sysdeps/x86/Makefile: Here.
16695         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16696         * sysdeps/x86/tst-xmmymm.sh: This.
16697
16698 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16699
16700         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16701         expectations.
16702         [UNIX98] (pthread_barrier_t): Do not expect.
16703         [UNIX98] (pthread_barrierattr_t): Likewise.
16704         [UNIX98] (pthread_spinlock_t): Likewise.
16705         [UNIX98] (pthread_barrier_destroy): Likewise.
16706         [UNIX98] (pthread_barrier_init): Likewise.
16707         [UNIX98] (pthread_barrier_wait): Likewise.
16708         [UNIX98] (pthread_barrierattr_destroy): Likewise.
16709         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16710         [UNIX98] (pthread_barrierattr_init): Likewise.
16711         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16712         [UNIX98] (pthread_getcpuclockid): Likewise.
16713         [UNIX98] (pthread_mutex_timedlock): Likewise.
16714         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16715         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16716         [UNIX98] (pthread_sigmask): Likewise.
16717         [UNIX98] (pthread_spin_destroy): Likewise.
16718         [UNIX98] (pthread_spin_init): Likewise.
16719         [UNIX98] (pthread_spin_lock): Likewise.
16720         [UNIX98] (pthread_spin_trylock): Likewise.
16721         [UNIX98] (pthread_spin_unlock): Likewise.
16722         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16723         Do not expect.
16724         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16725         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16726         [XPG3 || XPG4] (pthread_cond_t): Likewise.
16727         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16728         [XPG3 || XPG4] (pthread_key_t): Likewise.
16729         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16730         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16731         [XPG3 || XPG4] (pthread_once_t): Likewise.
16732         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16733         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16734         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16735         [XPG3 || XPG4] (pthread_t): Likewise.
16736
16737         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16738         not expect.
16739         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16740
16741         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16742         Change function return type to int.
16743
16744         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16745         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16746         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16747         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16748         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16749         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16750         [!POSIX] (posix_madvise): Likewise.
16751         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16752         && !UNIX98].
16753         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16754         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16755         (mode_t): Likewise.
16756         (posix_mem_offset): Likewise.
16757         (posix_typed_mem_get_info): Likewise.
16758         (posix_typed_mem_open): Likewise.
16759
16760         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16761         Change condition to [XOPEN2K8].
16762
16763         * conform/conformtest.pl: Preprocess allow-header data with -x c
16764         instead of from stdin.
16765         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16766         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16767         [C99-based standards] (cerfc): Likewise.
16768         [C99-based standards] (cexp2): Likewise.
16769         [C99-based standards] (cexpm1): Likewise.
16770         [C99-based standards] (clog10): Likewise.
16771         [C99-based standards] (clog1p): Likewise.
16772         [C99-based standards] (clog2): Likewise.
16773         [C99-based standards] (clgamma): Likewise.
16774         [C99-based standards] (ctgamma): Likewise.
16775         [C99-based standards] (cerff): Likewise.
16776         [C99-based standards] (cerfcf): Likewise.
16777         [C99-based standards] (cexp2f): Likewise.
16778         [C99-based standards] (cexpm1f): Likewise.
16779         [C99-based standards] (clog10f): Likewise.
16780         [C99-based standards] (clog1pf): Likewise.
16781         [C99-based standards] (clog2f): Likewise.
16782         [C99-based standards] (clgammaf): Likewise.
16783         [C99-based standards] (ctgammaf): Likewise.
16784         [C99-based standards] (cerfl): Likewise.
16785         [C99-based standards] (cerfcl): Likewise.
16786         [C99-based standards] (cexp2l): Likewise.
16787         [C99-based standards] (cexpm1l): Likewise.
16788         [C99-based standards] (clog10l): Likewise.
16789         [C99-based standards] (clog1pl): Likewise.
16790         [C99-based standards] (clog2l): Likewise.
16791         [C99-based standards] (clgammal): Likewise.
16792         [C99-based standards] (ctgammal): Likewise.
16793         * conform/data/inttypes.h-data [C99-based standards]: Include
16794         stdint.h-data.  Remove all expectations for stdint.h contents.
16795         [C99-based standards] (PRI*): Do not allow.
16796         [C99-based standards] (SCN*): Likewise.
16797         [C99-based standards] (*_t): Likewise.
16798         [C99-based-standards] (PRId8): Expect macro.
16799         [C99-based-standards] (PRIi8): Likewise.
16800         [C99-based-standards] (PRIo8): Likewise.
16801         [C99-based-standards] (PRIu8): Likewise.
16802         [C99-based-standards] (PRIx8): Likewise.
16803         [C99-based-standards] (PRIX8): Likewise.
16804         [C99-based-standards] (SCNd8): Likewise.
16805         [C99-based-standards] (SCNi8): Likewise.
16806         [C99-based-standards] (SCNo8): Likewise.
16807         [C99-based-standards] (SCNu8): Likewise.
16808         [C99-based-standards] (SCNx8): Likewise.
16809         [C99-based-standards] (PRIdLEAST8): Likewise.
16810         [C99-based-standards] (PRIiLEAST8): Likewise.
16811         [C99-based-standards] (PRIoLEAST8): Likewise.
16812         [C99-based-standards] (PRIuLEAST8): Likewise.
16813         [C99-based-standards] (PRIxLEAST8): Likewise.
16814         [C99-based-standards] (PRIXLEAST8): Likewise.
16815         [C99-based-standards] (SCNdLEAST8): Likewise.
16816         [C99-based-standards] (SCNiLEAST8): Likewise.
16817         [C99-based-standards] (SCNoLEAST8): Likewise.
16818         [C99-based-standards] (SCNuLEAST8): Likewise.
16819         [C99-based-standards] (SCNxLEAST8): Likewise.
16820         [C99-based-standards] (PRIdFAST8): Likewise.
16821         [C99-based-standards] (PRIiFAST8): Likewise.
16822         [C99-based-standards] (PRIoFAST8): Likewise.
16823         [C99-based-standards] (PRIuFAST8): Likewise.
16824         [C99-based-standards] (PRIxFAST8): Likewise.
16825         [C99-based-standards] (PRIXFAST8): Likewise.
16826         [C99-based-standards] (SCNdFAST8): Likewise.
16827         [C99-based-standards] (SCNiFAST8): Likewise.
16828         [C99-based-standards] (SCNoFAST8): Likewise.
16829         [C99-based-standards] (SCNuFAST8): Likewise.
16830         [C99-based-standards] (SCNxFAST8): Likewise.
16831         [C99-based-standards] (PRId16): Likewise.
16832         [C99-based-standards] (PRIi16): Likewise.
16833         [C99-based-standards] (PRIo16): Likewise.
16834         [C99-based-standards] (PRIu16): Likewise.
16835         [C99-based-standards] (PRIx16): Likewise.
16836         [C99-based-standards] (PRIX16): Likewise.
16837         [C99-based-standards] (SCNd16): Likewise.
16838         [C99-based-standards] (SCNi16): Likewise.
16839         [C99-based-standards] (SCNo16): Likewise.
16840         [C99-based-standards] (SCNu16): Likewise.
16841         [C99-based-standards] (SCNx16): Likewise.
16842         [C99-based-standards] (PRIdLEAST16): Likewise.
16843         [C99-based-standards] (PRIiLEAST16): Likewise.
16844         [C99-based-standards] (PRIoLEAST16): Likewise.
16845         [C99-based-standards] (PRIuLEAST16): Likewise.
16846         [C99-based-standards] (PRIxLEAST16): Likewise.
16847         [C99-based-standards] (PRIXLEAST16): Likewise.
16848         [C99-based-standards] (SCNdLEAST16): Likewise.
16849         [C99-based-standards] (SCNiLEAST16): Likewise.
16850         [C99-based-standards] (SCNoLEAST16): Likewise.
16851         [C99-based-standards] (SCNuLEAST16): Likewise.
16852         [C99-based-standards] (SCNxLEAST16): Likewise.
16853         [C99-based-standards] (PRIdFAST16): Likewise.
16854         [C99-based-standards] (PRIiFAST16): Likewise.
16855         [C99-based-standards] (PRIoFAST16): Likewise.
16856         [C99-based-standards] (PRIuFAST16): Likewise.
16857         [C99-based-standards] (PRIxFAST16): Likewise.
16858         [C99-based-standards] (PRIXFAST16): Likewise.
16859         [C99-based-standards] (SCNdFAST16): Likewise.
16860         [C99-based-standards] (SCNiFAST16): Likewise.
16861         [C99-based-standards] (SCNoFAST16): Likewise.
16862         [C99-based-standards] (SCNuFAST16): Likewise.
16863         [C99-based-standards] (SCNxFAST16): Likewise.
16864         [C99-based-standards] (PRId32): Likewise.
16865         [C99-based-standards] (PRIi32): Likewise.
16866         [C99-based-standards] (PRIo32): Likewise.
16867         [C99-based-standards] (PRIu32): Likewise.
16868         [C99-based-standards] (PRIx32): Likewise.
16869         [C99-based-standards] (PRIX32): Likewise.
16870         [C99-based-standards] (SCNd32): Likewise.
16871         [C99-based-standards] (SCNi32): Likewise.
16872         [C99-based-standards] (SCNo32): Likewise.
16873         [C99-based-standards] (SCNu32): Likewise.
16874         [C99-based-standards] (SCNx32): Likewise.
16875         [C99-based-standards] (PRIdLEAST32): Likewise.
16876         [C99-based-standards] (PRIiLEAST32): Likewise.
16877         [C99-based-standards] (PRIoLEAST32): Likewise.
16878         [C99-based-standards] (PRIuLEAST32): Likewise.
16879         [C99-based-standards] (PRIxLEAST32): Likewise.
16880         [C99-based-standards] (PRIXLEAST32): Likewise.
16881         [C99-based-standards] (SCNdLEAST32): Likewise.
16882         [C99-based-standards] (SCNiLEAST32): Likewise.
16883         [C99-based-standards] (SCNoLEAST32): Likewise.
16884         [C99-based-standards] (SCNuLEAST32): Likewise.
16885         [C99-based-standards] (SCNxLEAST32): Likewise.
16886         [C99-based-standards] (PRIdFAST32): Likewise.
16887         [C99-based-standards] (PRIiFAST32): Likewise.
16888         [C99-based-standards] (PRIoFAST32): Likewise.
16889         [C99-based-standards] (PRIuFAST32): Likewise.
16890         [C99-based-standards] (PRIxFAST32): Likewise.
16891         [C99-based-standards] (PRIXFAST32): Likewise.
16892         [C99-based-standards] (SCNdFAST32): Likewise.
16893         [C99-based-standards] (SCNiFAST32): Likewise.
16894         [C99-based-standards] (SCNoFAST32): Likewise.
16895         [C99-based-standards] (SCNuFAST32): Likewise.
16896         [C99-based-standards] (SCNxFAST32): Likewise.
16897         [C99-based-standards] (PRId64): Likewise.
16898         [C99-based-standards] (PRIi64): Likewise.
16899         [C99-based-standards] (PRIo64): Likewise.
16900         [C99-based-standards] (PRIu64): Likewise.
16901         [C99-based-standards] (PRIx64): Likewise.
16902         [C99-based-standards] (PRIX64): Likewise.
16903         [C99-based-standards] (SCNd64): Likewise.
16904         [C99-based-standards] (SCNi64): Likewise.
16905         [C99-based-standards] (SCNo64): Likewise.
16906         [C99-based-standards] (SCNu64): Likewise.
16907         [C99-based-standards] (SCNx64): Likewise.
16908         [C99-based-standards] (PRIdLEAST64): Likewise.
16909         [C99-based-standards] (PRIiLEAST64): Likewise.
16910         [C99-based-standards] (PRIoLEAST64): Likewise.
16911         [C99-based-standards] (PRIuLEAST64): Likewise.
16912         [C99-based-standards] (PRIxLEAST64): Likewise.
16913         [C99-based-standards] (PRIXLEAST64): Likewise.
16914         [C99-based-standards] (SCNdLEAST64): Likewise.
16915         [C99-based-standards] (SCNiLEAST64): Likewise.
16916         [C99-based-standards] (SCNoLEAST64): Likewise.
16917         [C99-based-standards] (SCNuLEAST64): Likewise.
16918         [C99-based-standards] (SCNxLEAST64): Likewise.
16919         [C99-based-standards] (PRIdFAST64): Likewise.
16920         [C99-based-standards] (PRIiFAST64): Likewise.
16921         [C99-based-standards] (PRIoFAST64): Likewise.
16922         [C99-based-standards] (PRIuFAST64): Likewise.
16923         [C99-based-standards] (PRIxFAST64): Likewise.
16924         [C99-based-standards] (PRIXFAST64): Likewise.
16925         [C99-based-standards] (SCNdFAST64): Likewise.
16926         [C99-based-standards] (SCNiFAST64): Likewise.
16927         [C99-based-standards] (SCNoFAST64): Likewise.
16928         [C99-based-standards] (SCNuFAST64): Likewise.
16929         [C99-based-standards] (SCNxFAST64): Likewise.
16930         [C99-based-standards] (PRIdMAX): Likewise.
16931         [C99-based-standards] (PRIiMAX): Likewise.
16932         [C99-based-standards] (PRIoMAX): Likewise.
16933         [C99-based-standards] (PRIuMAX): Likewise.
16934         [C99-based-standards] (PRIxMAX): Likewise.
16935         [C99-based-standards] (PRIXMAX): Likewise.
16936         [C99-based-standards] (SCNdMAX): Likewise.
16937         [C99-based-standards] (SCNiMAX): Likewise.
16938         [C99-based-standards] (SCNoMAX): Likewise.
16939         [C99-based-standards] (SCNuMAX): Likewise.
16940         [C99-based-standards] (SCNxMAX): Likewise.
16941         [C99-based-standards] (PRIdPTR): Likewise.
16942         [C99-based-standards] (PRIiPTR): Likewise.
16943         [C99-based-standards] (PRIoPTR): Likewise.
16944         [C99-based-standards] (PRIuPTR): Likewise.
16945         [C99-based-standards] (PRIxPTR): Likewise.
16946         [C99-based-standards] (PRIXPTR): Likewise.
16947         [C99-based-standards] (SCNdPTR): Likewise.
16948         [C99-based-standards] (SCNiPTR): Likewise.
16949         [C99-based-standards] (SCNoPTR): Likewise.
16950         [C99-based-standards] (SCNuPTR): Likewise.
16951         [C99-based-standards] (SCNxPTR): Likewise.
16952         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16953         allow.
16954         * conform/data/stdint.h-data: Update comments to clarify
16955         requirements.
16956         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
16957         type.
16958         [C99-based standards] (INT8_MAX): Likewise.
16959         [C99-based standards] (INT16_MIN): Likewise.
16960         [C99-based standards] (INT16_MAX): Likewise.
16961         [C99-based standards] (INT32_MIN): Likewise.
16962         [C99-based standards] (INT32_MAX): Likewise.
16963         [C99-based standards] (INT64_MIN): Likewise.
16964         [C99-based standards] (INT64_MAX): Likewise.
16965         [C99-based standards] (UINT8_MAX): Likewise.
16966         [C99-based standards] (UINT16_MAX): Likewise.
16967         [C99-based standards] (UINT32_MAX): Likewise.
16968         [C99-based standards] (UINT64_MAX): Likewise.
16969         [C99-based standards] (INT_LEAST8_MIN): Likewise.
16970         [C99-based standards] (INT_LEAST8_MAX): Likewise.
16971         [C99-based standards] (INT_LEAST16_MIN): Likewise.
16972         [C99-based standards] (INT_LEAST16_MAX): Likewise.
16973         [C99-based standards] (INT_LEAST32_MIN): Likewise.
16974         [C99-based standards] (INT_LEAST32_MAX): Likewise.
16975         [C99-based standards] (INT_LEAST64_MIN): Likewise.
16976         [C99-based standards] (INT_LEAST64_MAX): Likewise.
16977         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16978         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16979         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16980         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16981         [C99-based standards] (INT_FAST8_MIN): Likewise.
16982         [C99-based standards] (INT_FAST8_MAX): Likewise.
16983         [C99-based standards] (INT_FAST16_MIN): Likewise.
16984         [C99-based standards] (INT_FAST16_MAX): Likewise.
16985         [C99-based standards] (INT_FAST32_MIN): Likewise.
16986         [C99-based standards] (INT_FAST32_MAX): Likewise.
16987         [C99-based standards] (INT_FAST64_MIN): Likewise.
16988         [C99-based standards] (INT_FAST64_MAX): Likewise.
16989         [C99-based standards] (UINT_FAST8_MAX): Likewise.
16990         [C99-based standards] (UINT_FAST16_MAX): Likewise.
16991         [C99-based standards] (UINT_FAST32_MAX): Likewise.
16992         [C99-based standards] (UINT_FAST64_MAX): Likewise.
16993         [C99-based standards] (INTPTR_MIN): Likewise.
16994         [C99-based standards] (INTPTR_MAX): Likewise.
16995         [C99-based standards] (UINTPTR_MAX): Likewise.
16996         [C99-based standards] (INTMAX_MIN): Likewise.
16997         [C99-based standards] (INTMAX_MAX): Likewise.
16998         [C99-based standards] (UINTMAX_MAX): Likewise.
16999         [C99-based standards] (PTRDIFF_MIN): Likewise.
17000         [C99-based standards] (PTRDIFF_MAX): Likewise.
17001         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17002         [C99-based standards] (SIZE_MAX): Likewise.
17003         [C99-based standards] (WCHAR_MAX): Likewise.
17004         [C99-based standards] (WINT_MAX): Likewise.
17005         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
17006         constraint on value.
17007         [C99-based standards] (WCHAR_MIN): Likewise.
17008         [C99-based standards] (WINT_MIN): Likewise.
17009         [C99-based standards] (*_t): Allow.
17010         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17011         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17012         Include math.h-data and complex.h-data.  Remove all expectations
17013         of math.h and complex.h contents.
17014         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17015         at end of line.
17016         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17017         (struct tm): Expect tag.
17018         [C99-based-standards] (wcstof): Expect function.
17019         [C99-based-standards] (wcstold): Likewise.
17020         [C99-based-standards] (wcstoll): Likewise.
17021         [C99-based-standards] (wcstoull): Likewise.
17022         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17023         macro-int-constant.  Specify type.
17024         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
17025         constraint on value.
17026         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17027         Specify type.
17028         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17029         Specify value.
17030         [ISO C standards]: Do not allow headers.
17031         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17032         wcs[abcdefghijklmnopqrstuvwxyz]*.
17033         [ISO C standards] (*_t): Do not allow.
17034         * conform/data/wctype.h-data [C99-based standards] (iswblank):
17035         Expect function.
17036         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17037         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17038         Specify type.
17039         [ISO C standards]: Do not allow headers.
17040         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17041         is[abcdefghijklmnopqrstuvwxyz]*.
17042         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17043         to[abcdefghijklmnopqrstuvwxyz]*.
17044         [ISO C standards] (*_t): Do not allow.
17045         * conform/data/stdalign.h-data: New file.
17046         * conform/data/stdbool.h-data: Likewise.
17047         * conform/data/stdnoreturn.h-data: Likewise.
17048
17049 2012-11-07  Roland McGrath  <roland@hack.frob.com>
17050
17051         [BZ #14815]
17052         * manual/filesys.texi (Directory Entries): Typo fix.
17053         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17054
17055 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17056
17057         * elf/elf.h (EM_AARCH64): New macro.
17058         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17059         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17060         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17061         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17062         (R_AARCH64_TLSDESC): Likewise.
17063         (NT_ARM_TLS): Likewise.
17064         (NT_ARM_HW_BREAK): Likewise.
17065         (NT_ARM_HW_WATCH): Likewise.
17066
17067 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17068
17069         [BZ #14811]
17070         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17071         (__ieee754_powl): Saturate nonzero exponents with absolute value
17072         below 0x1p-79 to +/- 0x1p-79.
17073         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17074         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17075         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17076         nonzero exponents with absolute value below 0x1p-32 to +/-
17077         0x1p-32.
17078         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17079         (__ieee754_powl): Saturate nonzero exponents with absolute value
17080         below 0x1p-79 to +/- 0x1p-79.
17081         * math/libm-test.inc (pow_test): Add more tests.
17082
17083 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17084
17085         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17086         _dl_s390_cap_flags with kernel. Increase string length.
17087         (_dl_s390_platforms): Add z196 and zEC12.
17088
17089 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17090
17091         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17092         Change XOPEN21K to XOPEN2K.
17093
17094 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
17095
17096         * string/memmove.c: Use memcpy when possible.
17097
17098 2012-11-06  Andreas Jaeger  <aj@suse.de>
17099
17100         * po/eo.po: Update from translation team.
17101
17102 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
17103
17104         [BZ #14793]
17105         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17106         exponent and small x and y exponents, scale x or y up.  Increase
17107         by 2 the exponent used in scaling up.
17108         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17109         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17110         * math/libm-test.inc (fma_test): Add more tests.
17111         (fma_test_towardzero): Likewise.
17112         (fma_test_downward): Likewise.
17113         (fma_test_upward): Likewise.
17114
17115 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
17116
17117         [BZ #14805]
17118         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17119         fenv_t *.
17120
17121         [BZ #14801]
17122         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17123         namespace for names of struct fields.
17124         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17125         fenv_t fields.
17126         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17127         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17128
17129 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17130
17131         [BZ #3665]
17132         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17133
17134 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17135
17136         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17137         PTR_DEMANGLE.
17138
17139         [BZ #5246]
17140         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17141         PTR_DEMANGLE.
17142
17143 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
17144
17145         [BZ #14797]
17146         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17147         definitely overflow as x * y not x * y + z.
17148         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17149         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17150         * math/libm-test.inc (fma_test): Add more tests.
17151         (fma_test_towardzero): Likewise.
17152         (fma_test_downward): Likewise.
17153         (fma_test_upward): Likewise.
17154
17155 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17156
17157         [BZ #157]
17158
17159         * include/stub-tag.h: Remove file.
17160         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17161         '#include' of it.
17162         * manual/maint.texi (Porting): Don't reference it.
17163         * Makerules ($(objpfx)stubs): Likewise.
17164         * dirent/closedir.c: Don't include <stub-tag.h>.
17165         * dirent/dirfd.c: Likewise.
17166         * dirent/fdopendir.c: Likewise.
17167         * dirent/getdents.c: Likewise.
17168         * dirent/getdents64.c: Likewise.
17169         * dirent/opendir.c: Likewise.
17170         * dirent/readdir.c: Likewise.
17171         * dirent/readdir64.c: Likewise.
17172         * dirent/readdir64_r.c: Likewise.
17173         * dirent/readdir_r.c: Likewise.
17174         * dirent/rewinddir.c: Likewise.
17175         * dirent/seekdir.c: Likewise.
17176         * dirent/telldir.c: Likewise.
17177         * gmon/profil.c: Likewise.
17178         * grp/setgroups.c: Likewise.
17179         * inet/if_index.c: Likewise.
17180         * io/access.c: Likewise.
17181         * io/chdir.c: Likewise.
17182         * io/chmod.c: Likewise.
17183         * io/chown.c: Likewise.
17184         * io/close.c: Likewise.
17185         * io/dup.c: Likewise.
17186         * io/dup2.c: Likewise.
17187         * io/dup3.c: Likewise.
17188         * io/euidaccess.c: Likewise.
17189         * io/faccessat.c: Likewise.
17190         * io/fchdir.c: Likewise.
17191         * io/fchmod.c: Likewise.
17192         * io/fchmodat.c: Likewise.
17193         * io/fchown.c: Likewise.
17194         * io/fchownat.c: Likewise.
17195         * io/fcntl.c: Likewise.
17196         * io/flock.c: Likewise.
17197         * io/fstatfs.c: Likewise.
17198         * io/fstatfs64.c: Likewise.
17199         * io/fstatvfs.c: Likewise.
17200         * io/fstatvfs64.c: Likewise.
17201         * io/futimens.c: Likewise.
17202         * io/fxstat.c: Likewise.
17203         * io/fxstat64.c: Likewise.
17204         * io/fxstatat.c: Likewise.
17205         * io/fxstatat64.c: Likewise.
17206         * io/getcwd.c: Likewise.
17207         * io/isatty.c: Likewise.
17208         * io/lchmod.c: Likewise.
17209         * io/lchown.c: Likewise.
17210         * io/link.c: Likewise.
17211         * io/linkat.c: Likewise.
17212         * io/lseek.c: Likewise.
17213         * io/lseek64.c: Likewise.
17214         * io/lxstat64.c: Likewise.
17215         * io/mkdir.c: Likewise.
17216         * io/mkdirat.c: Likewise.
17217         * io/mkfifo.c: Likewise.
17218         * io/mkfifoat.c: Likewise.
17219         * io/open.c: Likewise.
17220         * io/open64.c: Likewise.
17221         * io/openat.c: Likewise.
17222         * io/openat64.c: Likewise.
17223         * io/pipe.c: Likewise.
17224         * io/pipe2.c: Likewise.
17225         * io/poll.c: Likewise.
17226         * io/posix_fadvise.c: Likewise.
17227         * io/posix_fadvise64.c: Likewise.
17228         * io/posix_fallocate.c: Likewise.
17229         * io/posix_fallocate64.c: Likewise.
17230         * io/read.c: Likewise.
17231         * io/readlink.c: Likewise.
17232         * io/readlinkat.c: Likewise.
17233         * io/rmdir.c: Likewise.
17234         * io/sendfile.c: Likewise.
17235         * io/sendfile64.c: Likewise.
17236         * io/statfs.c: Likewise.
17237         * io/statfs64.c: Likewise.
17238         * io/statvfs.c: Likewise.
17239         * io/statvfs64.c: Likewise.
17240         * io/symlink.c: Likewise.
17241         * io/symlinkat.c: Likewise.
17242         * io/ttyname.c: Likewise.
17243         * io/ttyname_r.c: Likewise.
17244         * io/umask.c: Likewise.
17245         * io/unlink.c: Likewise.
17246         * io/unlinkat.c: Likewise.
17247         * io/utime.c: Likewise.
17248         * io/utimensat.c: Likewise.
17249         * io/write.c: Likewise.
17250         * io/xmknod.c: Likewise.
17251         * io/xmknodat.c: Likewise.
17252         * io/xstat.c: Likewise.
17253         * io/xstat64.c: Likewise.
17254         * login/getpt.c: Likewise.
17255         * login/grantpt.c: Likewise.
17256         * login/unlockpt.c: Likewise.
17257         * math/e_acoshl.c: Likewise.
17258         * math/e_acosl.c: Likewise.
17259         * math/e_asinl.c: Likewise.
17260         * math/e_atan2l.c: Likewise.
17261         * math/e_atanhl.c: Likewise.
17262         * math/e_coshl.c: Likewise.
17263         * math/e_expl.c: Likewise.
17264         * math/e_fmodl.c: Likewise.
17265         * math/e_gammal_r.c: Likewise.
17266         * math/e_hypotl.c: Likewise.
17267         * math/e_j0l.c: Likewise.
17268         * math/e_j1l.c: Likewise.
17269         * math/e_jnl.c: Likewise.
17270         * math/e_lgammal_r.c: Likewise.
17271         * math/e_log10l.c: Likewise.
17272         * math/e_log2l.c: Likewise.
17273         * math/e_logl.c: Likewise.
17274         * math/e_powl.c: Likewise.
17275         * math/e_rem_pio2l.c: Likewise.
17276         * math/e_sinhl.c: Likewise.
17277         * math/e_sqrtl.c: Likewise.
17278         * math/fclrexcpt.c: Likewise.
17279         * math/fedisblxcpt.c: Likewise.
17280         * math/feenablxcpt.c: Likewise.
17281         * math/fegetenv.c: Likewise.
17282         * math/fegetexcept.c: Likewise.
17283         * math/fegetround.c: Likewise.
17284         * math/feholdexcpt.c: Likewise.
17285         * math/fesetenv.c: Likewise.
17286         * math/fesetround.c: Likewise.
17287         * math/feupdateenv.c: Likewise.
17288         * math/fgetexcptflg.c: Likewise.
17289         * math/fraiseexcpt.c: Likewise.
17290         * math/fsetexcptflg.c: Likewise.
17291         * math/ftestexcept.c: Likewise.
17292         * math/k_cosl.c: Likewise.
17293         * math/k_rem_pio2l.c: Likewise.
17294         * math/k_sinl.c: Likewise.
17295         * math/k_tanl.c: Likewise.
17296         * math/s_asinhl.c: Likewise.
17297         * math/s_atanl.c: Likewise.
17298         * math/s_cbrtl.c: Likewise.
17299         * math/s_erfl.c: Likewise.
17300         * math/s_expm1l.c: Likewise.
17301         * math/s_log1pl.c: Likewise.
17302         * math/s_tanhl.c: Likewise.
17303         * misc/acct.c: Likewise.
17304         * misc/brk.c: Likewise.
17305         * misc/chflags.c: Likewise.
17306         * misc/chroot.c: Likewise.
17307         * misc/fchflags.c: Likewise.
17308         * misc/fgetxattr.c: Likewise.
17309         * misc/flistxattr.c: Likewise.
17310         * misc/fremovexattr.c: Likewise.
17311         * misc/fsetxattr.c: Likewise.
17312         * misc/fsync.c: Likewise.
17313         * misc/ftruncate.c: Likewise.
17314         * misc/futimes.c: Likewise.
17315         * misc/futimesat.c: Likewise.
17316         * misc/getdomain.c: Likewise.
17317         * misc/getdtsz.c: Likewise.
17318         * misc/gethostid.c: Likewise.
17319         * misc/gethostname.c: Likewise.
17320         * misc/getloadavg.c: Likewise.
17321         * misc/getpagesize.c: Likewise.
17322         * misc/getsysstats.c: Likewise.
17323         * misc/getxattr.c: Likewise.
17324         * misc/gtty.c: Likewise.
17325         * misc/ioctl.c: Likewise.
17326         * misc/lgetxattr.c: Likewise.
17327         * misc/listxattr.c: Likewise.
17328         * misc/llistxattr.c: Likewise.
17329         * misc/lremovexattr.c: Likewise.
17330         * misc/lsetxattr.c: Likewise.
17331         * misc/lutimes.c: Likewise.
17332         * misc/madvise.c: Likewise.
17333         * misc/mincore.c: Likewise.
17334         * misc/mlock.c: Likewise.
17335         * misc/mlockall.c: Likewise.
17336         * misc/mmap.c: Likewise.
17337         * misc/mprotect.c: Likewise.
17338         * misc/msync.c: Likewise.
17339         * misc/munlock.c: Likewise.
17340         * misc/munlockall.c: Likewise.
17341         * misc/munmap.c: Likewise.
17342         * misc/preadv.c: Likewise.
17343         * misc/preadv64.c: Likewise.
17344         * misc/ptrace.c: Likewise.
17345         * misc/pwritev.c: Likewise.
17346         * misc/pwritev64.c: Likewise.
17347         * misc/readv.c: Likewise.
17348         * misc/reboot.c: Likewise.
17349         * misc/remap_file_pages.c: Likewise.
17350         * misc/removexattr.c: Likewise.
17351         * misc/revoke.c: Likewise.
17352         * misc/select.c: Likewise.
17353         * misc/setdomain.c: Likewise.
17354         * misc/setegid.c: Likewise.
17355         * misc/seteuid.c: Likewise.
17356         * misc/sethostid.c: Likewise.
17357         * misc/sethostname.c: Likewise.
17358         * misc/setregid.c: Likewise.
17359         * misc/setreuid.c: Likewise.
17360         * misc/setxattr.c: Likewise.
17361         * misc/sstk.c: Likewise.
17362         * misc/stty.c: Likewise.
17363         * misc/swapoff.c: Likewise.
17364         * misc/swapon.c: Likewise.
17365         * misc/sync.c: Likewise.
17366         * misc/syncfs.c: Likewise.
17367         * misc/syscall.c: Likewise.
17368         * misc/truncate.c: Likewise.
17369         * misc/ualarm.c: Likewise.
17370         * misc/usleep.c: Likewise.
17371         * misc/ustat.c: Likewise.
17372         * misc/utimes.c: Likewise.
17373         * misc/vhangup.c: Likewise.
17374         * misc/writev.c: Likewise.
17375         * posix/_exit.c: Likewise.
17376         * posix/alarm.c: Likewise.
17377         * posix/execve.c: Likewise.
17378         * posix/fexecve.c: Likewise.
17379         * posix/fork.c: Likewise.
17380         * posix/fpathconf.c: Likewise.
17381         * posix/getaddrinfo.c: Likewise.
17382         * posix/getegid.c: Likewise.
17383         * posix/geteuid.c: Likewise.
17384         * posix/getgid.c: Likewise.
17385         * posix/getgroups.c: Likewise.
17386         * posix/getlogin.c: Likewise.
17387         * posix/getlogin_r.c: Likewise.
17388         * posix/getpgid.c: Likewise.
17389         * posix/getpid.c: Likewise.
17390         * posix/getppid.c: Likewise.
17391         * posix/getresgid.c: Likewise.
17392         * posix/getresuid.c: Likewise.
17393         * posix/getsid.c: Likewise.
17394         * posix/getuid.c: Likewise.
17395         * posix/glob64.c: Likewise.
17396         * posix/nanosleep.c: Likewise.
17397         * posix/pathconf.c: Likewise.
17398         * posix/pause.c: Likewise.
17399         * posix/posix_madvise.c: Likewise.
17400         * posix/pread.c: Likewise.
17401         * posix/pread64.c: Likewise.
17402         * posix/pwrite.c: Likewise.
17403         * posix/pwrite64.c: Likewise.
17404         * posix/sched_getaffinity.c: Likewise.
17405         * posix/sched_getp.c: Likewise.
17406         * posix/sched_gets.c: Likewise.
17407         * posix/sched_primax.c: Likewise.
17408         * posix/sched_primin.c: Likewise.
17409         * posix/sched_rr_gi.c: Likewise.
17410         * posix/sched_setaffinity.c: Likewise.
17411         * posix/sched_setp.c: Likewise.
17412         * posix/sched_sets.c: Likewise.
17413         * posix/sched_yield.c: Likewise.
17414         * posix/setgid.c: Likewise.
17415         * posix/setlogin.c: Likewise.
17416         * posix/setpgid.c: Likewise.
17417         * posix/setresgid.c: Likewise.
17418         * posix/setresuid.c: Likewise.
17419         * posix/setsid.c: Likewise.
17420         * posix/setuid.c: Likewise.
17421         * posix/sleep.c: Likewise.
17422         * posix/spawni.c: Likewise.
17423         * posix/sysconf.c: Likewise.
17424         * posix/times.c: Likewise.
17425         * posix/wait.c: Likewise.
17426         * posix/wait3.c: Likewise.
17427         * posix/wait4.c: Likewise.
17428         * posix/waitpid.c: Likewise.
17429         * resolv/gai_sigqueue.c: Likewise.
17430         * resource/getpriority.c: Likewise.
17431         * resource/getrlimit.c: Likewise.
17432         * resource/getrusage.c: Likewise.
17433         * resource/nice.c: Likewise.
17434         * resource/setpriority.c: Likewise.
17435         * resource/setrlimit.c: Likewise.
17436         * resource/ulimit.c: Likewise.
17437         * rt/aio_cancel.c: Likewise.
17438         * rt/aio_fsync.c: Likewise.
17439         * rt/aio_read.c: Likewise.
17440         * rt/aio_sigqueue.c: Likewise.
17441         * rt/aio_suspend.c: Likewise.
17442         * rt/aio_write.c: Likewise.
17443         * rt/clock_getres.c: Likewise.
17444         * rt/clock_gettime.c: Likewise.
17445         * rt/clock_nanosleep.c: Likewise.
17446         * rt/clock_settime.c: Likewise.
17447         * rt/lio_listio.c: Likewise.
17448         * rt/mq_close.c: Likewise.
17449         * rt/mq_getattr.c: Likewise.
17450         * rt/mq_notify.c: Likewise.
17451         * rt/mq_open.c: Likewise.
17452         * rt/mq_receive.c: Likewise.
17453         * rt/mq_send.c: Likewise.
17454         * rt/mq_setattr.c: Likewise.
17455         * rt/mq_timedreceive.c: Likewise.
17456         * rt/mq_timedsend.c: Likewise.
17457         * rt/mq_unlink.c: Likewise.
17458         * rt/shm_open.c: Likewise.
17459         * rt/shm_unlink.c: Likewise.
17460         * rt/timer_create.c: Likewise.
17461         * rt/timer_delete.c: Likewise.
17462         * rt/timer_getoverr.c: Likewise.
17463         * rt/timer_gettime.c: Likewise.
17464         * rt/timer_settime.c: Likewise.
17465         * setjmp/__longjmp.c: Likewise.
17466         * setjmp/setjmp.c: Likewise.
17467         * signal/kill.c: Likewise.
17468         * signal/killpg.c: Likewise.
17469         * signal/raise.c: Likewise.
17470         * signal/sigaction.c: Likewise.
17471         * signal/sigaltstack.c: Likewise.
17472         * signal/sigblock.c: Likewise.
17473         * signal/sigignore.c: Likewise.
17474         * signal/sigintr.c: Likewise.
17475         * signal/signal.c: Likewise.
17476         * signal/sigpause.c: Likewise.
17477         * signal/sigpending.c: Likewise.
17478         * signal/sigqueue.c: Likewise.
17479         * signal/sigreturn.c: Likewise.
17480         * signal/sigset.c: Likewise.
17481         * signal/sigsetmask.c: Likewise.
17482         * signal/sigstack.c: Likewise.
17483         * signal/sigsuspend.c: Likewise.
17484         * signal/sigtimedwait.c: Likewise.
17485         * signal/sigvec.c: Likewise.
17486         * signal/sigwait.c: Likewise.
17487         * signal/sigwaitinfo.c: Likewise.
17488         * signal/sysv_signal.c: Likewise.
17489         * socket/accept.c: Likewise.
17490         * socket/accept4.c: Likewise.
17491         * socket/bind.c: Likewise.
17492         * socket/connect.c: Likewise.
17493         * socket/getpeername.c: Likewise.
17494         * socket/getsockname.c: Likewise.
17495         * socket/getsockopt.c: Likewise.
17496         * socket/isfdtype.c: Likewise.
17497         * socket/listen.c: Likewise.
17498         * socket/recv.c: Likewise.
17499         * socket/recvfrom.c: Likewise.
17500         * socket/recvmsg.c: Likewise.
17501         * socket/send.c: Likewise.
17502         * socket/sendmsg.c: Likewise.
17503         * socket/sendto.c: Likewise.
17504         * socket/setsockopt.c: Likewise.
17505         * socket/shutdown.c: Likewise.
17506         * socket/sockatmark.c: Likewise.
17507         * socket/socket.c: Likewise.
17508         * socket/socketpair.c: Likewise.
17509         * stdio-common/ctermid.c: Likewise.
17510         * stdio-common/cuserid.c: Likewise.
17511         * stdio-common/remove.c: Likewise.
17512         * stdio-common/rename.c: Likewise.
17513         * stdio-common/renameat.c: Likewise.
17514         * stdio-common/tempname.c: Likewise.
17515         * stdlib/getcontext.c: Likewise.
17516         * stdlib/makecontext.c: Likewise.
17517         * stdlib/setcontext.c: Likewise.
17518         * stdlib/swapcontext.c: Likewise.
17519         * stdlib/system.c: Likewise.
17520         * streams/fattach.c: Likewise.
17521         * streams/fdetach.c: Likewise.
17522         * streams/getmsg.c: Likewise.
17523         * streams/getpmsg.c: Likewise.
17524         * streams/putmsg.c: Likewise.
17525         * streams/putpmsg.c: Likewise.
17526         * sysdeps/unix/bsd/getpt.c: Likewise.
17527         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17528         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17529         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17531         Likewise.
17532         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17533         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17534         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17535         * sysvipc/msgctl.c: Likewise.
17536         * sysvipc/msgget.c: Likewise.
17537         * sysvipc/msgrcv.c: Likewise.
17538         * sysvipc/msgsnd.c: Likewise.
17539         * sysvipc/semctl.c: Likewise.
17540         * sysvipc/semget.c: Likewise.
17541         * sysvipc/semop.c: Likewise.
17542         * sysvipc/semtimedop.c: Likewise.
17543         * sysvipc/shmat.c: Likewise.
17544         * sysvipc/shmctl.c: Likewise.
17545         * sysvipc/shmdt.c: Likewise.
17546         * sysvipc/shmget.c: Likewise.
17547         * termios/tcdrain.c: Likewise.
17548         * termios/tcflow.c: Likewise.
17549         * termios/tcflush.c: Likewise.
17550         * termios/tcgetattr.c: Likewise.
17551         * termios/tcgetpgrp.c: Likewise.
17552         * termios/tcsendbrk.c: Likewise.
17553         * termios/tcsetattr.c: Likewise.
17554         * termios/tcsetpgrp.c: Likewise.
17555         * time/adjtime.c: Likewise.
17556         * time/clock.c: Likewise.
17557         * time/getitimer.c: Likewise.
17558         * time/gettimeofday.c: Likewise.
17559         * time/setitimer.c: Likewise.
17560         * time/settimeofday.c: Likewise.
17561         * time/stime.c: Likewise.
17562         * time/time.c: Likewise.
17563
17564 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
17565
17566         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17567         /usr/old/bin.
17568
17569         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17570         instead of spaces.
17571         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17572
17573 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
17574
17575         [BZ #14796]
17576         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17577         FE_TONEAREST before applying Dekker multiplication and Knuth
17578         addition.  Clear inexact exceptions and check for exact zero
17579         results afterwards.
17580         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17581         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17582         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17583         * math/libm-test.inc (fma_test): Add more tests.
17584         (fma_test_towardzero): Likewise.
17585         (fma_test_downward): Likewise.
17586         (fma_test_upward): Likewise.
17587         * sysdeps/generic/math_private.h (default_libc_fesetround): New
17588         function.
17589         (libc_fesetround): New macro.
17590         (libc_fesetroundf): Likewise.
17591         (libc_fesetroundl): Likewise.
17592         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17593         function.
17594         (libc_fesetround_387): Likewise.
17595         (libc_fesetroundf): New macro.
17596         (libc_fesetround): Likewise.
17597         (libc_fesetroundl): Likewise.
17598         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17599         function.
17600         (libc_fesetroundf): New macro.
17601         (libc_fesetround): Likewise.
17602         (libc_fesetroundl): Likewise.
17603         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17604         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17605         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17606         libm_hidden_ver.
17607         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17608         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17609         libm_hidden_def.
17610         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17611         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17612         libm_hidden_ver.
17613         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17614         libm_hidden_def.
17615
17616         [BZ #3439]
17617         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17618         integer constant usable in #if and use that to give value to enum
17619         constant.
17620         (FE_DIVBYZERO): Likewise.
17621         (FE_UNDERFLOW): Likewise.
17622         (FE_OVERFLOW): Likewise.
17623         (FE_INVALID): Likewise.
17624         (FE_INVALID_SNAN): Likewise.
17625         (FE_INVALID_ISI): Likewise.
17626         (FE_INVALID_IDI): Likewise.
17627         (FE_INVALID_ZDZ): Likewise.
17628         (FE_INVALID_IMZ): Likewise.
17629         (FE_INVALID_COMPARE): Likewise.
17630         (FE_INVALID_SOFTWARE): Likewise.
17631         (FE_INVALID_SQRT): Likewise.
17632         (FE_INVALID_INTEGER_CONVERSION): Likewise.
17633         (FE_TONEAREST): Likewise.
17634         (FE_TOWARDZERO): Likewise.
17635         (FE_UPWARD): Likewise.
17636         (FE_DOWNWARD): Likewise.
17637         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17638         (FE_DIVBYZERO): Likewise.
17639         (FE_OVERFLOW): Likewise.
17640         (FE_UNDERFLOW): Likewise.
17641         (FE_INEXACT): Likewise.
17642         (FE_TONEAREST): Likewise.
17643         (FE_DOWNWARD): Likewise.
17644         (FE_UPWARD): Likewise.
17645         (FE_TOWARDZERO): Likewise.
17646         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17647         (FE_UNDERFLOW): Likewise.
17648         (FE_OVERFLOW): Likewise.
17649         (FE_DIVBYZERO): Likewise.
17650         (FE_INVALID): Likewise.
17651         (FE_TONEAREST): Likewise.
17652         (FE_TOWARDZERO): Likewise.
17653         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17654         (FE_OVERFLOW): Likewise.
17655         (FE_UNDERFLOW): Likewise.
17656         (FE_DIVBYZERO): Likewise.
17657         (FE_INEXACT): Likewise.
17658         (FE_TONEAREST): Likewise.
17659         (FE_TOWARDZERO): Likewise.
17660         (FE_UPWARD): Likewise.
17661         (FE_DOWNWARD): Likewise.
17662         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17663         (FE_DIVBYZERO): Likewise.
17664         (FE_OVERFLOW): Likewise.
17665         (FE_UNDERFLOW): Likewise.
17666         (FE_INEXACT): Likewise.
17667         (FE_TONEAREST): Likewise.
17668         (FE_DOWNWARD): Likewise.
17669         (FE_UPWARD): Likewise.
17670         (FE_TOWARDZERO): Likewise.
17671
17672 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
17673
17674         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17675
17676 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
17677
17678         * scripts/cross-test-ssh.sh (command): Use newlines to separate
17679         commands.  Quote $PWD.
17680         (blacklist_exports): Don't use remove_newlines.  Replace "declare
17681         -x" by "export".
17682         (remove_newlines): Remove.
17683
17684 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
17685
17686         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17687         * stdlib/stdlib.h (atof): Moved to ...
17688         * include/bits/stdlib-float.h: Here.  New file.
17689         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17690         * stdlib/bits/stdlib-float.h: New file.
17691         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17692         -mno-sse -mno-mmx.
17693         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17694         <xmmintrin.h>.
17695
17696 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17697
17698         * conform/conformtest.pl (@headers): Add fenv.h.
17699         * conform/data/fenv.h-data: New file.
17700         * include/fenv.h [_ISOMAC]: Disable all contents of file except
17701         include of <math/fenv.h>.
17702
17703         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17704         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17705         && !UNIX98].  Enables tests for XOPEN2K8.
17706         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17707         POSIX2008]: Likewise.
17708
17709         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17710         (struct rusage): Do not expect type or its members.
17711
17712         [BZ #3439]
17713         * math/math.h (FP_NAN): Define macro to integer constant usable in
17714         #if and use that to give value to enum constant.
17715         (FP_INFINITE): Likewise.
17716         (FP_ZERO): Likewise.
17717         (FP_SUBNORMAL): Likewise.
17718         (FP_NORMAL): Likewise.
17719
17720 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
17721
17722         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17723         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17724         arguments.
17725
17726 2012-11-02  Roland McGrath  <roland@hack.frob.com>
17727
17728         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17729         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17730         autoconf-time if not.
17731         * configure.in: Remove AC_PREREQ.
17732
17733 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17734
17735         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17736         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17737         of the internal implementation.
17738
17739 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17740
17741         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17742         except include of <misc/sys/syslog.h>.
17743
17744 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17745
17746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17747         function returns with a NULL context exit with zero.
17748
17749 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17750
17751         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17752
17753 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
17754
17755         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17756         (run_program_cmd): This.
17757         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17758         (tst_langinfo): New variable.  Use it.
17759
17760 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
17761
17762         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17763         floating point opcodes.
17764
17765 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17766
17767         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17768         variable.
17769
17770         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17771
17772         * sysdeps/mach/hurd/powerpc: Remove directory.
17773         * sysdeps/mach/powerpc: Likewise.
17774
17775 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17776
17777         * scripts/check-local-headers.sh: Ignore c++ headers.
17778
17779 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17780
17781         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17782         __libc_cleanup_region_start argument.
17783
17784 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
17785
17786         [BZ #14784]
17787         [BZ #14785]
17788         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17789         x * y using scaling, not as x * y + z.
17790         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17791         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17792         * math/libm-test.inc (fma_test): Add more tests.
17793         (fma_test_towardzero): Likewise.
17794         (fma_test_downward): Likewise.
17795         (fma_test_upward): Likewise.
17796
17797 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17798
17799         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17800
17801 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17802
17803         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17804         New variable.
17805
17806 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
17807
17808         * rt/tst-shm.c (worker): Correct checking for mmap failure.
17809
17810 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17811
17812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17813         Fix sort order.
17814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17815         Likewise.
17816
17817 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17818
17819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17820         Fix the order of the list for glibc 2.17.
17821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17822         Likewise.
17823
17824 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17825
17826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17827
17828 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17829
17830         [BZ #14610]
17831         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17832         for low part of x being zero before using __atanl (y).
17833         * math/libm-test.inc (atan2_test): Add another test.
17834
17835         * manual/install.texi (Configuring and compiling): Document
17836         general use of test-wrapper and test-wrapper-env.
17837         * INSTALL: Regenerated.
17838
17839         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17840         (__fma): Do not extract and scale down low bits on after-rounding
17841         systems when result rounded to normal precision would have normal
17842         exponent.
17843         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17844         (__fmal): Do not extract and scale down low bits on after-rounding
17845         systems when result rounded to normal precision would have normal
17846         exponent.
17847         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17848         (__fmal): Do not extract and scale down low bits on after-rounding
17849         systems when result rounded to normal precision would have normal
17850         exponent.
17851         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17852         macro.
17853         (fma_test): Add more tests.
17854         (fma_test_towardzero): Likewise.
17855         (fma_test_downward): Likewise.
17856         (fma_test_upward): Likewise.
17857
17858 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
17859
17860         * sysdeps/i386/tininess.h: Renamed to ...
17861         * sysdeps/x86/tininess.h: This.
17862         * sysdeps/x86_64/tininess.h: Removed.
17863
17864 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17865
17866         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17867         input.  Use $(build-program-cmd).
17868         ($(objpfx)tst-array1-static.out): Likewise.
17869         ($(objpfx)tst-array2.out): Likewise.
17870         ($(objpfx)tst-array3.out): Likewise.
17871         ($(objpfx)tst-array4.out): Likewise.
17872         ($(objpfx)tst-array5.out): Likewise.
17873         ($(objpfx)tst-array5-static.out): Likewise.
17874
17875 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
17876
17877         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17878         if defined.
17879
17880         * nss/nsswitch.h (nss_interface_function): Provide new
17881         macro for use with NSS functions.
17882         * grp/initgroups.c: Use new macro.
17883         * nss/getXXbyYY.c: Likewise.
17884         * nss/getXXbyYY_r.c: Likewise.
17885         * nss/getXXent.c: Likewise.
17886         * nss/getXXent_r.c: Likewise.
17887         * sysdeps/posix/getaddrinfo.c: Likewise.
17888
17889 2012-10-30  Andreas Jaeger  <aj@suse.de>
17890
17891         * po/ru.po: Update Russion translation from translation project.
17892
17893 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17894
17895         [BZ #14152]
17896         [BZ #14783]
17897         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17898         result and shift together with sticky bit instead of replicating
17899         round-to-nearest rounding.
17900         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17901         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17902         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
17903         missing underflow exceptions.
17904         (fma_test_towardzero): Add more tests.
17905         (fma_test_downward): Likewise.
17906         (fma_test_upward): Likewise.
17907
17908         [BZ #14047]
17909         * sysdeps/generic/tininess.h: New file.
17910         * sysdeps/i386/tininess.h: Likewise.
17911         * sysdeps/sh/tininess.h: Likewise.
17912         * sysdeps/x86_64/tininess.h: Likewise.
17913         * stdlib/tst-strtod-underflow.c: Likewise.
17914         * stdlib/tst-tininess.c: Likewise.
17915         * stdlib/strtod_l.c: Include <tininess.h>.
17916         (round_and_return): Do not set errno for exact underflow cases.
17917         Force an underflow exception when setting errno for underflow.
17918         Determine underflow based on rounding to normal precision if
17919         TININESS_AFTER_ROUNDING.
17920         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17921         ERANGE for exact underflow cases.
17922         * stdlib/Makefile (tests): Add tst-tininess and
17923         tst-strtod-underflow.
17924         ($(objpfx)tst-tininess): Use $(link-libm).
17925         ($(objpfx)tst-strtod-underflow): Likewise.
17926
17927 2012-10-30  Andreas Jaeger  <aj@suse.de>
17928
17929         [BZ#14767]
17930         * elf/Makefile (tests): Remove conditional for have-initfini-array
17931         since this is now always required and the variable does not exist
17932         anymore.
17933         (tests-static): Likewise.
17934         (modules-names): Likewise.
17935
17936         * po/eo.po: Add Esperanto translation from translation project.
17937
17938         * elf/tst-array1.c (fini_array): Make writeable so that it can be
17939         merged with constructor/destructor.
17940         (init_array): Likewise.
17941         * elf/tst-array2dep.c (fini_array): Likewise.
17942         (init_array): Likewise.
17943
17944 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
17945
17946         * manual/message.texi: Delete @cartouche tags.
17947
17948 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
17949
17950         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17951         EOPNOTSUPP.
17952         * sysdeps/mach/hurd/fsync.c: Likewise.
17953
17954         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17955         [_POSIX_REALTIME_SIGNALS]: Change condition to
17956         [_POSIX_REALTIME_SIGNALS > 0].
17957
17958 2012-10-27  Andreas Jaeger  <aj@suse.de>
17959
17960         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17961         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17962         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17963         [__WORDSIZE != 64]: Likewise.
17964
17965 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
17966
17967         *  iconvdata/tst-table.sh: Remove ${SHELL}.
17968         *  iconvdata/tst-tables.sh: Likewise.
17969
17970 2012-10-25  David S. Miller  <davem@davemloft.net>
17971
17972         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17973         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17974         of strtoull.
17975
17976         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17977         ifunc-impl-list.c
17978         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17979         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17980         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17981         file.
17982
17983 2012-10-25  Roland McGrath  <roland@hack.frob.com>
17984
17985         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17986         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17987         __getdirentries.
17988
17989 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17990             Jim Blandy  <jimb@codesourcery.com>
17991
17992         * scripts/cross-test-ssh.sh: New file.
17993         * manual/install.texi (Configuring and compiling): Document use of
17994         cross-test-ssh.sh.
17995         * INSTALL: Regenerated.
17996
17997 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
17998
17999         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18000         EOPNOTSUPP.
18001
18002 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
18003
18004         * Makeconfig (run-program-prefix): Fix comment.
18005
18006 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18007             Jim Blandy  <jimb@codesourcery.com>
18008
18009         * Makeconfig (test-wrapper): New variable,
18010         (test-wrapper-env): Likewise.
18011         [$(cross-compiling) = yes && $(test-wrapper) != ""]
18012         (run-built-tests): Define to yes.
18013         (run-program-prefix): Use $(test-wrapper).
18014         (built-program-cmd): Likewise.
18015         * Rules (make-test-out): Use $(test-wrapper-env) and
18016         $(host-built-program-cmd).
18017         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18018         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18019         tst-pathopt.sh.
18020         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18021         $(test-wrapper-env) to tst-rtld-load-self.sh.
18022         ($(objpfx)order2.out): Use $(test-wrapper).
18023         ($(objpfx)tst-initorder.out): Likewise.
18024         ($(objpfx)tst-initorder2.out): Likewise.
18025         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18026         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18027         (test_wrapper_env): New variable.  Use it to run ld.so.
18028         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18029         Use it to run ld.so.
18030         (test_wrapper_env): Likewise.
18031         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18032         $(test-wrapper) to run-iconv-test.sh.
18033         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18034         (ICONV): Use $test_wrapper.
18035         * posix/Makefile ($(objpfx)globtest.out): Pass
18036         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18037         globtest.sh, not $(run-program-prefix).
18038         * posix/globtest.sh (run_via_rtld_prefix): New variable.
18039         (test_wrapper): Likewise.
18040         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
18041         set together with run_via_rtld_prefix.
18042         (run_program_prefix): Define in terms of test_wrapper and
18043         run_via_rtld_prefix.
18044
18045 2012-10-24  Roland McGrath  <roland@hack.frob.com>
18046
18047         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18048         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18049         Targets removed.
18050
18051         [BZ #14743]
18052         * include/time.h: Remove librt_hidden_proto (clock_gettime).
18053         Declare __clock_getres, __clock_gettime, __clock_settime,
18054         __clock_nanosleep, and __clock_getcpuclockid.
18055         * rt/clock_gettime.c: Define __clock_gettime as an alias.
18056         Remove librt_hidden_def (clock_gettime).
18057         * sysdeps/unix/clock_gettime.c: Likewise.
18058         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18059         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18060         * rt/clock_getres.c: Define __clock_getres as an alias.
18061         * sysdeps/posix/clock_getres.c: Likewise.
18062         * rt/clock_settime.c: Define __clock_settime as an alias.
18063         * sysdeps/unix/clock_settime.c: Likewise.
18064         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18065         * sysdeps/unix/clock_nanosleep.c: Likewise.
18066         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18067         * rt/clock-compat.c: New file.
18068         * rt/Makefile (librt-routines): Add clock-compat and move
18069         $(clock-routines) to ...
18070         (routines): ... here, new variable.
18071         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18072         Don't add get_clockfreq here.
18073         * rt/Versions (libc: GLIBC_2.17): New version set.
18074         Add clock_* symbols here.
18075         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
18076         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18077         (GLIBC_2.17): Add clock_* symbols.
18078         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18080         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18082         Likewise.
18083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18084         Likewise.
18085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18086         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18087         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18089         * NEWS: Mention the move.
18090
18091         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18092         Use __open, __read, __close rather than their public counterparts.
18093         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18094         (__get_clockfreq_via_cpuinfo): Likewise.
18095         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18096         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18097
18098         * config.h.in (HAVE_IFUNC): New #undef.
18099         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18100         was successful.
18101         * configure: Regenerated.
18102
18103 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18104
18105         * configure.in: Move READELF check to start of file.
18106         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18107         libc_cv_asm_gnu_indirect_function in the process.
18108         * configure: Regenerated.
18109
18110 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18111
18112         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18113         send the output to /dev/null.
18114         (libc_cv_cc_with_libunwind): Likewise.
18115         (libc_cv_as_noexecstack): Likewise.
18116         * configure: Regenerate.
18117
18118 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18119
18120         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18121
18122         * posix/globtest.sh (TMPDIR): Do not set.
18123         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18124         (testout): Likewise.
18125
18126 2012-10-24  Andreas Jaeger  <aj@suse.de>
18127
18128         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18129         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18130         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18131         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18132         posix_fadvise64, posix_fallocate64.
18133
18134         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18135         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18136         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18137         Likewise.
18138         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18139         Likewise.
18140         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18141
18142         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18143         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18144         <bits/fcntl-linux.h>.
18145         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18146
18147         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18148         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18149         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18150         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18151         [__WORDSIZE != 64]: Likewise.
18152
18153 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18154
18155         * Makeconfig (run-built-tests): New variable.
18156         * Rules [$(cross-compiling) = yes]: Change condition to
18157         [$(run-built-tests) = no].
18158         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18159         to [$(run-built-tests) = yes].
18160         * elf/Makefile [$(cross-compiling) = no]: Likewise
18161         * grp/Makefile [$(cross-compiling) = no]: Likewise.
18162         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18163         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18164         * intl/Makefile [$(cross-compiling) = no]: Likewise.
18165         * io/Makefile [$(cross-compiling) = no]: Likewise.
18166         * libio/Makefile [$(cross-compiling) = no]: Likewise.
18167         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18168         * misc/Makefile [$(cross-compiling) = no]: Likewise.
18169         * posix/Makefile [$(cross-compiling) = no]: Likewise.
18170         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18171         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18172         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18173         * string/Makefile [$(cross-compiling) = no]: Likewise.
18174
18175         * posix/Makefile ($(objpfx)globtest.out): Pass
18176         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18177         $(rtld-installed-name).
18178         * posix/globtest.sh (elf_objpfx): Remove variable.
18179         (rtld_installed_name): Likewise.
18180         (library_path): Likewise.
18181         (run_program_prefix): New variable.  Use for running globtest
18182         binary.
18183
18184 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
18185             Joseph Myers  <joseph@codesourcery.com>
18186
18187         * Makeconfig (host-built-program-cmd): New variable.
18188         * elf/Makefile (tst-stackguard1-ARGS): Use
18189         $(host-built-program-cmd).
18190         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18191         (tst-spawn-ARGS): Likewise.
18192         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18193
18194 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18195             Jim Blandy  <jimb@codesourcery.com>
18196
18197         * Makeconfig (run-via-rtld-prefix): New variable.
18198         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18199         (built-program-cmd): Likewise.
18200
18201 2012-10-22  Andreas Jaeger  <aj@suse.de>
18202
18203         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18204         __O_RSYNC if it exists, otherwise to O_SYNC.
18205
18206 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
18207             Joseph Myers  <joseph@codesourcery.com>
18208
18209         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18210         /dev/null.
18211         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18212         from /dev/null
18213         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18214         /dev/null.
18215
18216 2012-10-22  Andreas Jaeger  <aj@suse.de>
18217
18218         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18219         Define always.
18220         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18221
18222         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18223         bits/fcntl-linux.h.
18224
18225         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18226         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18227
18228         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18229         to __O_LARGEFILE.
18230         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18231         to __O_LARGEFILE.
18232
18233 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
18234             Joseph Myers  <joseph@codesourcery.com>
18235
18236         * config.make.in (NM): New variable.
18237
18238 2012-10-21  Andreas Jaeger  <aj@suse.de>
18239
18240         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18241         definitions and declarations that are provided by
18242         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18243
18244 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18245
18246         [BZ #14683]
18247         * elf/Makefile (tests-static): Add tst-leaks1-static.
18248         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18249         ($(objpfx)tst-leaks1-static): New rule.
18250         ($(objpfx)tst-leaks1-static-mem): Likewise.
18251         (tst-leaks1-static-ENV): New macro.
18252         * elf/dl-open.c (dl_open_worker): Check the main application
18253         only if SHARED is defined.
18254         * elf/tst-leaks1-static.c: New file.
18255
18256 2012-10-20  Andreas Jaeger  <aj@suse.de>
18257
18258         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18259         generic values for Linux.
18260         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18261         and declarations that are provided by <bits/fcntl-linux.h> and
18262         include <bits/fcntl-linux.h>.
18263         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18264         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18265
18266 2012-10-20  Roland McGrath  <roland@hack.frob.com>
18267
18268         * io/fcntl.h: Move include of <bits/types.h> to the top and
18269         include it unconditionally.
18270
18271 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18272
18273         * wcsmbs/Makefile (tests-ifunc): New variable.
18274         (tests): Add $(tests-ifunc).
18275         * wcsmbs/test-wcschr-ifunc.c: New file.
18276         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18277         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18278         * wcsmbs/test-wcslen-ifunc.c: Likewise.
18279         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18280         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18281
18282         * string/Makefile (tests-ifunc): New variable.
18283         (tests): Add $(tests-ifunc).
18284         * string/test-memccpy.c (TEST_NAME): New macro.
18285         * string/test-memchr.c (TEST_NAME): Likewise.
18286         * string/test-memcmp.c (TEST_NAME): Likewise.
18287         * string/test-memcpy.c (TEST_NAME): Likewise.
18288         * string/test-memmem.c (TEST_NAME): Likewise.
18289         * string/test-memmove.c (TEST_NAME): Likewise.
18290         * string/test-memset.c (TEST_NAME): Likewise.
18291         * string/test-rawmemchr.c (TEST_NAME): Likewise.
18292         * string/test-stpcpy.c (TEST_NAME): Likewise.
18293         * string/test-stpncpy.c (TEST_NAME): Likewise.
18294         * string/test-strcasecmp.c (TEST_NAME): Likewise.
18295         * string/test-strcasestr.c (TEST_NAME): Likewise.
18296         * string/test-strcat.c (TEST_NAME): Likewise.
18297         * string/test-strchr.c (TEST_NAME): Likewise.
18298         * string/test-strcmp.c(TEST_NAME): Likewise.
18299         * string/test-strcpy.c (TEST_NAME): Likewise.
18300         * string/test-strcspn.c (TEST_NAME): Likewise.
18301         * string/test-strlen.c (TEST_NAME): Likewise.
18302         * string/test-strncasecmp.c (TEST_NAME): Likewise.
18303         * string/test-strncmp.c (TEST_NAME): Likewise.
18304         * string/test-strncpy.c (TEST_NAME): Likewise.
18305         * string/test-strnlen.c (TEST_NAME): Likewise.
18306         * string/test-strpbrk.c (TEST_NAME): Likewise.
18307         * string/test-strrchr.c (TEST_NAME): Likewise.
18308         * string/test-strspn.c (TEST_NAME): Likewise.
18309         * string/test-strstr.c (TEST_NAME): Likewise.
18310         * string/test-bcopy-ifunc.c: New file.
18311         * string/test-bzero-ifunc.c: Likewise.
18312         * string/test-memccpy-ifunc.c: Likewise.
18313         * string/test-memchr-ifunc.c: Likewise.
18314         * string/test-memcmp-ifunc.c: Likewise.
18315         * string/test-memcpy-ifunc.c: Likewise.
18316         * string/test-memmem-ifunc.c: Likewise.
18317         * string/test-memmove-ifunc.c: Likewise.
18318         * string/test-mempcpy-ifunc.c: Likewise.
18319         * string/test-memset-ifunc.c: Likewise.
18320         * string/test-rawmemchr-ifunc.c: Likewise.
18321         * string/test-stpcpy-ifunc.c: Likewise.
18322         * string/test-stpncpy-ifunc.c: Likewise.
18323         * string/test-strcasecmp-ifunc.c: Likewise.
18324         * string/test-strcasestr-ifunc.c: Likewise.
18325         * string/test-strcat-ifunc.c: Likewise.
18326         * string/test-strchr-ifunc.c: Likewise.
18327         * string/test-strchrnul-ifunc.c: Likewise.
18328         * string/test-strcmp-ifunc.c: Likewise.
18329         * string/test-strcpy-ifunc.c: Likewise.
18330         * string/test-strcspn-ifunc.c: Likewise.
18331         * string/test-strlen-ifunc.c: Likewise.
18332         * string/test-strncasecmp-ifunc.c: Likewise.
18333         * string/test-strncat-ifunc.c: Likewise.
18334         * string/test-strncmp-ifunc.c: Likewise.
18335         * string/test-strncpy-ifunc.c: Likewise.
18336         * string/test-strnlen-ifunc.c: Likewise.
18337         * string/test-strpbrk-ifunc.c: Likewise.
18338         * string/test-strrchr-ifunc.c: Likewise.
18339         * string/test-strspn-ifunc.c: Likewise.
18340         * string/test-strstr-ifunc.c: Likewise.
18341
18342         * debug/Makefile (tests-ifunc): New variable.
18343         (tests): Add $(tests-ifunc).
18344         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18345         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18346         * debug/test-stpcpy_chk-ifunc.c: New file.
18347         * debug/test-strcpy_chk-ifunc.c: Likewise.
18348
18349 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18350
18351         [BZ #13601]
18352         * elf/dl-load.c (open_verify): Retry read if the entire ELF
18353         header is not read in.
18354
18355 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
18356
18357         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
18358         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
18359         directly.  Pass built executable to script as
18360         $(built-program-cmd).
18361         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
18362         $testprogram without using LD_LIBRARY_PATH and $ldso.
18363
18364         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18365         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18366         $(rtld-installed-name).
18367         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18368         (rtld_installed_name): Likewise.
18369         (library_path): Likewise.
18370         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
18371         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18372         $(run-program-prefix) to tst-tables.sh.
18373         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
18374         it to run tst-table-from and tst-table-to.
18375         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18376         Pass it to tst-table.sh.
18377         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18378         $(run-program-prefix) to tst-gettext.sh.
18379         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18380         tst-translit.sh.
18381         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18382         tst-gettext2.sh.
18383         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
18384         to run tst-gettext.
18385         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
18386         to run tst-gettext2.
18387         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
18388         to run tst-translit.
18389         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18390         $(run-program-prefix) to tst-mtrace.sh.
18391         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
18392         to run tst-mtrace.
18393         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18394         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18395         $(rtld-installed-name).
18396         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18397         (rtld_installed_name): Likewise.
18398         (run_program_prefix): New variable.  Use it to run wordexp-test.
18399
18400         * Makeconfig (ARCH): Remove all definitions.
18401         (machine): Likewise.
18402         [ARCH]: Remove conditional code.
18403         [!objdir]: Give error.
18404         [!objdir] (objpfx): Remove.
18405         [!objdir] (common-objpfx): Likewise.
18406         [!objdir] (common-objdir): Likewise.
18407         * configure.in (config_makefile): Remove.  Hardcode Makefile in
18408         AC_CONFIG_FILES call.
18409         * configure: Regenerated.
18410
18411         [BZ #13888]
18412         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18413         or TMPDIR.
18414         (testout): Likewise.
18415
18416         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18417         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18418         $(rtld-installed-name).
18419         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18420         (rtld_installed_name): Likwise.
18421         (runit): Remove function.
18422         (run_getconf): New variable,  Use it for running getconf binary.
18423
18424 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
18425
18426         [BZ #14716]
18427         * string/test-memmem.c (check_result): New function.
18428         (do_one_test): Use it.
18429         (check1): New function.
18430         (test_main): Use it.
18431
18432 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
18433
18434         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18435
18436 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
18437
18438         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18439         (_G_LSEEK64): Likewise.
18440         (_G_MMAP64): Likewise.
18441         (_G_FSTAT64): Likewise.
18442         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18443         (_G_LSEEK64): Likewise.
18444         (_G_MMAP64): Likewise.
18445         (_G_FSTAT64): Likewise.
18446         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18447         unconditional.  Call __mmap64 directly.
18448         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18449         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
18450         __lseek64 directly.
18451         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18452         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
18453         __mmap64 directly.
18454         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18455         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18456         __lseek64 directly.
18457         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18458         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18459         __lseek64 directly.
18460         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18461         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
18462         __lseek64 directly.
18463         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18464         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
18465         __fxstat64 directly.
18466         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18467         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18468         unconditional.
18469         (freopen64) [!_G_OPEN64]: Remove conditional code.
18470         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18471         unconditional.
18472         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18473         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18474         unconditional.
18475         (ftello64) [!_G_LSEEK64]: Remove conditional code.
18476         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18477         unconditional.
18478         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18479         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18480         unconditional.
18481         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18482         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18483         unconditional.
18484         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18485         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18486         unconditional.
18487         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18488         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18489         unconditional.
18490         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18491
18492 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18493
18494         [BZ #12140]
18495         * manual/memory.texi (Malloc Tunable Parameters): Add note
18496         about free list pointers overwriting some perturb bytes.
18497         Wording suggested by Roland McGrath.
18498
18499 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
18500
18501         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18502         (lgamma_test): Likewise.
18503         (tgamma_test): Likewise.
18504
18505 2012-10-16  Florian Weimer  <fweimer@redhat.com>
18506
18507         [BZ #14700]
18508         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18509         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18510
18511 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
18512
18513         * NEWS: Mention BZ #14716.
18514         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18515         when removing AVAILABLE1_USES_J macro.
18516
18517 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
18518
18519         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18520         (__bswap_64): __uint64_t for unsigned 64-bit int.
18521
18522 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
18523
18524         * include/string.h (memmem): Declare libc hidden alias.
18525         * string/memmem.c (memmem): Define libc hidden alias.
18526         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18527         __read, __close instead of open, read, close.
18528
18529 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
18530
18531         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18532         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18533         global and hidden.
18534         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18535         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18536         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18537         Likewise.
18538         (__rawmemchr_sse2): Likewise.
18539         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18540         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18541         (__strchr_sse2): Likewise.
18542         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18543         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18544         (__strcasecmp_sse2): Likewise.
18545         (__strncasecmp_sse2): Likewise.
18546         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18547         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18548         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18549         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18550         (__strrchr_sse2): Likewise.
18551         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18552         ifunc-impl-list.c.
18553         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18554         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18555         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18556         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18557         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18558         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18559         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18560         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18561         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18562         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18563         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18564         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18565         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18566         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18567         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18568         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18569         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18570         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18571         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18572         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18573         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18574         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18575         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18576         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18577         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18578         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18579         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18580         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18581         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18582         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18583
18584         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18585         global and hidden.
18586         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18587         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18588         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18589         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18590         Likewise.
18591         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18592         Likewise.
18593         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18594         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18595         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18596         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18597         ifunc-impl-list.c.
18598         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18599         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18600         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18601         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18602         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18603         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18604         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18605         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18606         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18607         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18608         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18609         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18610         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18611         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18612         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18613         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18614         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18615         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18616         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18617         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18618         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18619         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18620         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18621         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18622         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18623         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18624         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18625         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18626         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18627         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18628         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18629         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18630         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18631         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18632         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18633         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18634         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18635         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18636         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18637         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18638         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18639
18640         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18641         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18642         * include/ifunc-impl-list.h: New file.
18643         * misc/ifunc-impl-list.c: Likewise.
18644         * misc/Makefile (routines): Add ifunc-impl-list.
18645         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18646         * string/test-string.h: Include <ifunc-impl-list.h>.
18647         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18648         impl_array): New variables.
18649         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18650         are defined.
18651         (test_init): Call __libc_ifunc_impl_list to initialize
18652         func_list if TEST_IFUNC and TEST_NAME are defined.
18653
18654         * string/Makefile (strop-tests): Add bcopy and bzero.
18655         * string/test-bcopy.c: New file.
18656         * string/test-bzero.c: Likewise.
18657         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18658         defined.
18659         * string/test-memset.c: Support bzero test if TEST_BZERO is
18660         defined.
18661         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18662         __libc_memmove.
18663         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18664         __libc_memset.
18665         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18666         of memset.
18667
18668 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
18669
18670         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18671         * configure: Regenerated.
18672
18673         * Makeconfig (+link-static-before-libc): Don't include
18674         $(link-static-libc).
18675
18676         * libio/libio.h (_IO_pos_t): Remove.
18677
18678 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18679
18680         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
18681         McGrath.
18682
18683 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18684
18685         * crypt/crypt-entry.c: Include fips-private.h.
18686         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18687         * crypt/md5c-test.c (main): Tolerate disabled MD5.
18688         * sysdeps/unix/sysv/linux/fips-private.h: New file.
18689         * sysdeps/generic/fips-private.h: New file, dummy fallback.
18690
18691 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18692
18693         * crypt/crypt-private.h: Include stdbool.h.
18694         (_ufc_setup_salt_r): Return bool.
18695         * crypt/crypt-entry.c: Include errno.h.
18696         (__crypt_r): Return NULL with EINVAL for bad salt.
18697         * crypt/crypt_util.c (bad_for_salt): New.
18698         (_ufc_setup_salt_r): Check that salt is long enough and within
18699         the specified alphabet.
18700         * crypt/badsalttest.c: New file.
18701         * crypt/Makefile (tests): Add it.
18702         ($(objpfx)badsalttest): New.
18703
18704 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
18705
18706         * NEWS: Add entry for BZ #14602.
18707
18708 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18709
18710         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18711         type-generic.
18712         * math/libm-test.inc: Update comment listing what functions and
18713         macros are tested.
18714         (isgreater_test): New function.
18715         (isgreaterequal_test): Likewise.
18716         (isless_test): Likewise.
18717         (islessequal_test): Likewise.
18718         (islessgreater_test): Likewise.
18719         (isunordered_test): Likewise.
18720         (main): Call the new functions.
18721
18722 2012-10-09  Roland McGrath  <roland@hack.frob.com>
18723
18724         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18725         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18726         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18727         * sysdeps/i386/configure: Regenerated.
18728         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18729         * sysdeps/mach/configure: Regenerated.
18730         * sysdeps/mach/hurd/configure: Regenerated.
18731         * sysdeps/powerpc/configure: Regenerated.
18732         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18733         * sysdeps/powerpc/powerpc64/configure: Regenerated.
18734         * sysdeps/s390/s390-32/configure: Regenerated.
18735         * sysdeps/s390/s390-64/configure: Regenerated.
18736         * sysdeps/sh/configure: Regenerated.
18737         * sysdeps/sparc/configure: Regenerated.
18738         * sysdeps/unix/sysv/linux/configure: Regenerated.
18739         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18740         * sysdeps/x86_64/configure: Regenerated.
18741
18742         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18743         defined.  Don't check if MAP is NULL.
18744
18745 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18746
18747         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18748         (_G_stat64): Likewise.
18749         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18750         (_G_stat64): Likewise.
18751         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18752         instead of struct _G_stat64.
18753         * libio/fileops.c (mmap_remap_check): Likewise.
18754         (decide_maybe_mmap): Likewise.
18755         (_IO_new_file_seekoff): Likewise.
18756         (_IO_file_stat): Likewise.
18757         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18758         _G_off64_t.
18759         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18760         instead of struct _G_stat64.
18761         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18762
18763 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
18764
18765         [BZ #14602]
18766         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18767         Replace with ...
18768         (CHECK_EOL): New macro.
18769         (two_way_short_needle): Check beginning of haystack for EOL.  Use
18770         CHECK_EOL.
18771         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18772         Replace with CHECK_EOL.
18773         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18774         Replace with CHECK_EOL.
18775
18776 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
18777
18778         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18779         type-generic.
18780         * math/libm-test.inc: Update comment listing what functions and
18781         macros are tested.
18782         (finite_test): New function.
18783         (isinf_test): Likewise.
18784         (isnan_test): Likewise.
18785         (fpclassify_test): Test subnormal input.
18786         (isfinite_test): Likewise.
18787         (isnormal_test): Likewise.
18788         (main): Call the new functions.
18789
18790 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
18791
18792         [BZ #14660]
18793         * Makerules (%.dynsym): Force C locale when running
18794         $(OBJDUMP) --dynamic-syms.
18795
18796 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
18797
18798         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18799         <stdint.h>.
18800
18801 2012-10-06  David S. Miller  <davem@davemloft.net>
18802
18803         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18804         upper 32-bits of the length value in %o2 since we use branch-on-register
18805         tests which consider the entire 64-bit register.
18806
18807 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
18808
18809         * string/test-strstr.c (check2): Add a test for page boundary.
18810
18811 2012-10-05  David S. Miller  <davem@davemloft.net>
18812
18813         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18814         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18815         file.
18816         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18817         sysdep_routines.
18818         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18819         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18820         and bzero when HWCAP_SPARC_CRYPTO is present.
18821
18822 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
18823
18824         [BZ #14602]
18825         * string/test-strstr.c (check2): New function.
18826         (test_main): Call check2.
18827
18828         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18829         and bug-strchr1.
18830         * string/bug-strcasestr1.c (do_test): Moved to ...
18831         * string/test-strcasestr.c (check1): Here.  New function.
18832         (do_one_test): Break out result checking code into ...
18833         (check_result): This.  New function.
18834         (do_one_test): Call check_result.
18835         (test_main): Call check1.
18836         * string/bug-strchr1.c (do_test): Moved to ...
18837         * string/test-strchr.c (check1): Here.  New function.
18838         (do_one_test): Break out result checking code into ...
18839         (check_result): This.  New function.
18840         (do_one_test): Call check_result.
18841         (test_main): Call check1.
18842         * string/bug-strstr1.c (main): Moved to ...
18843         * string/test-strstr.c (check1): Here.  New function.
18844         (do_one_test): Break out result checking code into ...
18845         (check_result): This.  New function.
18846         (do_one_test): Call check_result.
18847         (test_main): Call check1.
18848         * string/bug-strcasestr1.c: Removed.
18849         * string/bug-strchr1.c: Likewise.
18850         * string/bug-strstr1.c: Likewise.
18851
18852         * elf/Makefile (dl-routines): Add hwcaps.
18853         * elf/dl-support.c (_dl_important_hwcaps): Removed.
18854         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18855         (_dl_important_hwcaps): Moved to ...
18856         * elf/dl-hwcaps.c: Here.  New file.
18857         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18858
18859         [BZ #14557]
18860         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18861         if IS_IN_rtld isn't defined.
18862
18863         * elf/dl-support.c (_dl_sysinfo_map): New.
18864         Include "get-dynamic-info.h" and "setup-vdso.h".
18865         (_dl_non_dynamic_init): Call setup_vdso.
18866         * elf/dynamic-link.h: Don't include <assert.h>.
18867         (elf_get_dynamic_info): Moved to ...
18868         * elf/get-dynamic-info.h: Here.  New file.
18869         * elf/dynamic-link.h: Include "get-dynamic-info.h".
18870         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18871         * elf/setup-vdso.h: Here.  New file.
18872         * elf/rtld.c: Include "setup-vdso.h".
18873         (dl_main): Call setup_vdso.
18874
18875 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
18876
18877         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18878         creal in comment listing functions tested.  List finite, isinf,
18879         isnan, isless, islessequal, isgreater, isgreaterequal,
18880         islessgreater, isunordered, lgamma_r and pow10 as functions and
18881         macros not tested.  Mention which functions not tested are aliases
18882         for other functions.  Fix typo.  Note that signs of NaNs are not
18883         tested.
18884
18885         * scripts/config.guess: Update from config.git.
18886         * scripts/config.sub: Likewise.
18887
18888 2012-10-04  Roland McGrath  <roland@hack.frob.com>
18889
18890         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18891         * misc/madvise.c (madvise): Renamed to __madvise.
18892         Make madvise a weak alias.
18893         * include/sys/mman.h: Declare __madvise.
18894         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18895         * sysdeps/unix/syscalls.list
18896         (madvise): Make __madvise the strong name, and madvise a weak alias.
18897         * sysdeps/unix/sysv/linux/syscalls.list
18898         (madvise, mmap): Remove redundant entries.
18899         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18900         * malloc/malloc.c (mtrim): Likewise.
18901         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18902
18903 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18904
18905         * sysdeps/mach/hurd/dl-cache.c: File removed.
18906         * config.h.in (USE_LDCONFIG): New #undef.
18907         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18908         * configure: Regenerated.
18909         * elf/Makefile (dl-routines): Add dl-cache only under
18910         [$(use-ldconfig) = yes].
18911         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18912         cache on [USE_LDCONFIG].
18913         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18914         [USE_LDCONFIG].
18915         * elf/rtld.c (dl_main): Likewise.
18916
18917 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
18918
18919         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18920         _SC_LEVEL4_CACHE_LINESIZE.
18921
18922 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18923
18924         * sysdeps/unix/bsd/confstr.h: File removed.
18925
18926 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
18927
18928         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18929         sys/sdt-config.h.
18930
18931 2012-10-02  Roland McGrath  <roland@hack.frob.com>
18932
18933         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18934         Make 'mapoff' field ElfW(Off) rather than off_t.
18935
18936 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
18937
18938         * nscd/Makefile: Remove nscd-cflags and all its users.
18939         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18940         (CFLAGS-nonlib): Add compiler flags for nscd modules.
18941
18942         [BZ #10631]
18943         * malloc.c (malloc_printerr): Clarify error message.
18944
18945 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
18946
18947         [BZ #14648]
18948         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18949         Set bit_FMA_Usable if FMA is supported.
18950         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18951         macro.
18952         (bit_FMA4_Usable): Updated.
18953         (index_FMA_Usable): New macro.
18954         (CPUID_FMA): Likewise
18955         (HAS_FMA): Defined with bit_FMA_Usable.
18956
18957 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18958
18959         * bits/types.h (__swblk_t): Type removed.
18960         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18961         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18962         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18963         (__SWBLK_T_TYPE): Likewise.
18964         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18965         (__SWBLK_T_TYPE): Likewise.
18966         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18967         (__SWBLK_T_TYPE): Likewise.
18968         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18969         (__SWBLK_T_TYPE): Likewise.
18970
18971 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
18972             Honza Horak <hhorak@redhat.com>
18973
18974         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18975         (xdr_mapname): Use YPMAXMAP as maxsize.
18976         (xdr_peername): Use YPMAXPEER as maxsize.
18977         (xdr_keydat): Use YPAXRECORD as maxsize.
18978         (xdr_valdat): Use YPMAXRECORD as maxsize.
18979
18980 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18981
18982         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18983
18984         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18985         * csu/init-first.c: ... here.
18986         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18987         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18988         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18989         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18990         * sysdeps/i386/init-first.c: File removed.
18991         * sysdeps/sh/init-first.c: File removed.
18992
18993 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
18994
18995         [BZ #14645]
18996         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18997         if x * y might underflow to zero and z is zero.
18998         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18999         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19000         * math/libm-test.inc (min_subnorm_value): New variable.
19001         (fma_test): Add more tests.
19002         (fma_test_towardzero): Likewise.
19003         (fma_test_downward): Likewise
19004         (fma_test_upward): Likewise.
19005         (initialize): Set min_subnorm_value.
19006
19007 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
19008
19009         [BZ #14638]
19010         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19011         0 + 0.
19012         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19013         mode for addition resulting in exact zero.
19014         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19015         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19016         exact 0 + 0.
19017         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19018         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19019         * math/libm-test.inc (fma_test): Add more tests.
19020         (fma_test_towardzero): New function.
19021         (fma_test_downward): Likewise.
19022         (fma_test_upward): Likewise.
19023         (main): Call the new functions.
19024
19025 2012-09-28  David S. Miller  <davem@davemloft.net>
19026
19027         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19028
19029 2012-09-28  Roland McGrath  <roland@hack.frob.com>
19030
19031         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19032         instead of SIGALRM.
19033
19034         * sysdeps/gnu/_G_config.h: Moved to ...
19035         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19036         * sysdeps/mach/hurd/_G_config.h: Moved to ...
19037         * sysdeps/generic/_G_config.h: ... here.
19038
19039         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
19040
19041         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19042
19043         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19044         Conditionalize target on [libnss_test1.so-version].
19045
19046         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19047
19048         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19049         (elfobjdir): Move out of conditionals.
19050
19051         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19052         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19053         (__nss_lookup_function): Conditionalize label remove_from_tree on
19054         [!DO_STATIC_NSS || SHARED], matching its only use.
19055
19056 2012-09-28  David S. Miller  <davem@davemloft.net>
19057
19058         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19059         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19060         file.
19061         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19062         sysdep_routines.
19063         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19064         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19065         when HWCAP_SPARC_CRYPTO is present.
19066
19067 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19068
19069         * io/tst-mknodat.c: Create a FIFO instead of a socket.
19070
19071 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
19072
19073         [BZ #6530]
19074         * stdio-common/vfprintf.c (process_string_arg): Revert
19075         2000-07-22 change.
19076
19077 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
19078
19079         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19080         for testcase.
19081         * stdio-common/tst-sprintf.c: Include <locale.h>
19082         (main): Test sprintf's handling of incomplete multibyte
19083         characters.
19084
19085 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
19086
19087         * elf/dl-runtime.c (VERSYMIDX): Removed.
19088         * elf/dl-version.c (VERSYMIDX): Likewise.
19089         * elf/do-rel.h (VERSYMIDX): Likewise.
19090         (VALIDX): Likewise.
19091         * elf/dynamic-link.h (VERSYMIDX): Likewise.
19092         * elf/rtld.c (VALIDX): Likewise.
19093         (ADDRIDX): Likewise.
19094         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19095         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19096         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19097         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19098         (VALIDX): Likewise.
19099         (ADDRIDX): Likewise.
19100
19101 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19102
19103         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19104
19105 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
19106
19107         [BZ #11438]
19108         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19109         to global scope.
19110         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19111         addresses are in the same scope as 192.0.2/24.
19112         * posix/gai.conf: Document new scope table defaults.
19113
19114 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19115
19116         [BZ #5298]
19117         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19118         for ftell.  Compute offsets from write pointers instead.
19119         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19120
19121 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19122
19123         [BZ #14543]
19124         * libio/Makefile (tests): New test case tst-fseek.
19125         * libio/tst-fseek.c: New test case to verify that fseek/ftell
19126         combination works in wide mode.
19127         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19128         state when the external buffer state changes.
19129
19130 2012-09-27  David S. Miller  <davem@davemloft.net>
19131
19132         [BZ #14376]
19133         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19134         pass reloc->r_addend in as the 'high' argument to
19135         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19136
19137         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19138
19139 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19140
19141         * rt/tst-aio2.c: Include <pthread.h>.
19142         * rt/tst-aio3.c: Likewise.
19143
19144 2012-09-27  Steve Ellcey  <sellcey@mips.com>
19145
19146         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19147
19148 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
19149
19150         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19151         contents on [SHARED].
19152
19153 2012-09-26  Marek Polacek  <polacek@redhat.com>
19154
19155         [BZ #14530]
19156         [BZ #13741]
19157         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19158         for C++ and GCC <4.3 as well as for non GCC compilers.
19159
19160 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19161
19162         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19163
19164 2012-09-25  Roland McGrath  <roland@hack.frob.com>
19165
19166         * Makefile.in (all, install): Declare with .PHONY.
19167         Reported by Michael Hope <michael.hope@linaro.org>.
19168
19169 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19170
19171         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19172         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19173         system header.
19174         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19175         Likewise.
19176         (sydep_routines): Add the new and the internal functions.
19177         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19178         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19180         (GLIBC_2.17): Add the new function.
19181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19182         (GLIBC_2.17): Likewise.
19183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19184         (GLIBC_2.17): Likewise.
19185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19186         (GLIBC_2.17): Likewise.
19187         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19188
19189 2012-09-25  Alan Modra  <amodra@gmail.com>
19190
19191         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19192         Add release barrier before setting once_control to say
19193         initialisation is done.  Add hints on lwarx.  Use macro in
19194         place of isync.
19195         (clear_once_control): Add release barrier.
19196
19197 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19198
19199         [BZ #13629]
19200         * math/s_clog.c (__clog): Handle more values close to |z| = 1
19201         specially.
19202         * math/s_clog10.c (__clog10): Likewise.
19203         * math/s_clog10f.c (__clog10f): Likewise.
19204         * math/s_clog10l.c (__clog10l): Likewise.
19205         * math/s_clogf.c (__clogf): Likewise.
19206         * math/s_clogl.c (__clogl): Likewise.
19207         * math/Makefile (libm-calls): Add x2y2m1.
19208         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19209         (__x2y2m1): Likewise.
19210         (__x2y2m1l): Likewise.
19211         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19212         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19213         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19214         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19215         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19216         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19217         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19218         * sysdeps/i386/fpu/libm-test-ulps: Update.
19219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19220
19221         [BZ #14621]
19222         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19223         int as type of variable DEPTH.
19224         (glob): Use size_t instead of int as type of variables NEWCOUNT
19225         and OLD_PATHC.
19226
19227 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19228
19229         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19230         Add s_sincosf-sse2.
19231         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19232         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19233         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19234         macros for using routine as __sincosf_ia32.
19235         Use macro for function declaration and weak_alias.
19236         * sysdeps/i386/fpu/libm-test-ulps: Update.
19237
19238         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19239         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19240
19241         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19242         subnormal argument.
19243         * math/s_cexpf.c (__cexpf): Likewise.
19244         * math/s_csinf.c (__csinf): Likewise.
19245         * math/s_csinhf.c (__csinhf): Likewise.
19246         * math/s_ctanf.c (__ctanf): Likewise.
19247         * math/s_ctanhf.c (__ctanhf): Likewise.
19248         * math/s_ccosh.c (__ccoshf): Likewise.
19249         * math/s_cexp.c (__cexpl): Likewise.
19250         * math/s_csin.c (__csin): Likewise.
19251         * math/s_csinh.c (__csinh): Likewise.
19252         * math/s_ctan.c (__ctan): Likewise.
19253         * math/s_ctanh.c (ctanh): Likewise.
19254         * math/s_ccoshl.c (__ccoshl): Likewise.
19255         * math/s_cexpl.c (__cexpl): Likewise.
19256         * math/s_csinl.c (__csinl): Likewise.
19257         * math/s_csinhl.c (__csinhl): Likewise.
19258         * math/s_ctanl.c (__ctanl): Likewise.
19259         * math/s_ctanhl.c (__ctanhl): Likewise.
19260
19261 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19262
19263         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19264         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19265         (_IO_off_t): Define to __off_t, not _G_off_t.
19266         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19267         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19268         (_IO_wint_t): Define to wint_t, not _G_wint_t.
19269         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19270         type of __dummy and __dummy2 fields.
19271         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19272         (_G_ssize_t): Likewise.
19273         (_G_off_t): Likewise.
19274         (_G_pid_t): Likewise.
19275         (_G_uid_t): Likewise.
19276         (_G_wchar_t): Likewise.
19277         (_G_wint_t): Likewise.
19278         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19279         (_G_ssize_t): Likewise.
19280         (_G_off_t): Likewise.
19281         (_G_pid_t): Likewise.
19282         (_G_uid_t): Likewise.
19283         (_G_wchar_t): Likewise.
19284         (_G_wint_t): Likewise.
19285         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19286         (_G_ssize_t): Likewise.
19287         (_G_off_t): Likewise.
19288         (_G_pid_t): Likewise.
19289         (_G_uid_t): Likewise.
19290         (_G_wchar_t): Likewise.
19291         (_G_wint_t): Likewise.
19292
19293 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19294
19295         * malloc/arena.c: Include malloc-sysdep.h.
19296         (shrink_heap): Use check_may_shrink_heap to decide if madvise
19297         is sufficient to shrink the heap or an unmap is needed.
19298         * sysdeps/generic/malloc-sysdep.h: New file.  Define
19299         new function check_may_shrink_heap.
19300         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
19301         new function check_may_shrink_heap.
19302
19303 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19304
19305         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19306         comments.
19307
19308 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
19309
19310         * catgets/test-gencat.sh: Add "set -e".
19311         * elf/tst-pathopt.sh: Likewise.
19312         * grp/tst_fgetgrent.sh: Likewise.
19313         * iconvdata/run-iconv-test.sh: Likewise.
19314         * intl/tst-gettext.sh: Likewise.
19315         * intl/tst-gettext2.sh: Likewise.
19316         * intl/tst-gettext4.sh: Likewise.
19317         * intl/tst-gettext6.sh: Likewise.
19318         * intl/tst-translit.sh: Likewise.
19319         * io/ftwtest-sh: Likewise.
19320         * libio/test-freopen.sh: Likewise.
19321         * malloc/tst-mtrace.sh: Likewise.
19322         * posix/globtest.sh: Likewise.
19323         * posix/tst-getconf.sh: Likewise.
19324         * posix/wordexp-tst.sh: Likewise.
19325         * stdio-common/tst-printf.sh: Likewise.
19326         * stdio-common/tst-unbputc.sh: Likewise.
19327         * stdlib/tst-fmtmsg.sh: Likewise.
19328         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19329         * catgets/Makefile: Do not specify -e option when running
19330         testsuite shell scripts.
19331         * elf/Makefile: Likewise.
19332         * grp/Makefile: Likewise.
19333         * iconvdata/Makefile: Likewise.
19334         * intl/Makefile: Likewise.
19335         * io/Makefile: Likewise.
19336         * libio/Makefile: Likewise.
19337         * malloc/Makefile: Likewise.
19338         * posix/Makefile: Likewise.
19339         * stdio-common/Makefile: Likewise.
19340         * stdlib/Makefile: Likewise.
19341         * sysdeps/x86_64/Makefile: Likewise.
19342
19343         * io/ftwtest-sh: Add copyright header.
19344         * posix/globtest.sh: Likewise.
19345         * posix/tst-getconf.sh: Likewise.
19346         * posix/wordexp-tst.sh: Likewise.
19347         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19348
19349 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
19350
19351         [BZ #13679]
19352         * Makeconfig (+link): Defined as $(+link-static) if
19353         $(build-shared) isn't yes.
19354         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19355         isn't yes.
19356         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19357
19358         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19359
19360         [BZ #14562]
19361         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19362         new chunk size with MALLOC_ALIGN_MASK.
19363
19364 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
19365
19366         [BZ #5044]
19367         * stdio-common/printf_fphex.c: Include <stdbool.h> and
19368         <rounding-mode.h>.
19369         (__printf_fphex): Determine rounding using get_rounding_mode and
19370         round_away.
19371         * stdio-common/tst-printf-round.c (struct hex_test): New
19372         structure.
19373         (hex_tests): New variable.
19374         (test_hex_in_one_mode): New function.
19375         (do_test): Also run tests for hex float output.
19376
19377 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
19378
19379         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19380         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19381         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19382         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19383         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19384         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19385         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19386         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19387
19388 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
19389
19390         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19391         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19392         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19393         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19394
19395 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
19396
19397         [BZ #14579]
19398         * elf/rtld.c (dl_main): Limit the check for self loading to normal
19399         mode only.
19400         * elf/tst-rtld-load-self.sh: New test.
19401         * elf/Makefile: Run it.
19402
19403 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
19404
19405         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19406         (tst-writev-ENV): Remove.
19407         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19408
19409 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
19410
19411         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19412
19413 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
19414
19415         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19416         unconditional.
19417         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19418         Likewise.
19419         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19420         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19421         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19422         Likewise.
19423
19424 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
19425
19426         [BZ #14587]
19427         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19428         * config.make.in (have-cpp-asm-debuginfo): Removed.
19429         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19430         * configure: Regenerated.
19431
19432 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
19433
19434         [BZ #5044]
19435         * stdio-common/printf_fp.c: Include <stdbool.h> and
19436         <rounding-mode.h>.
19437         (___printf_fp): Determine rounding using get_rounding_mode and
19438         round_away.
19439         * stdio-common/tst-printf-round.c: New file.
19440         * stdio-common/Makefile (tests): Add tst-printf-round.
19441         (link-libm): New variable.
19442         ($(objpfx)tst-printf-round): Depend in $(link-libm).
19443
19444 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
19445
19446         [BZ #14576]
19447         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19448         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19449         Likewise.
19450         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19451         Likewise.
19452
19453 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
19454
19455         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19456         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19457         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19458         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19459
19460 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
19461
19462         [BZ #14518]
19463         * include/rounding-mode.h: New file.
19464         * sysdeps/generic/get-rounding-mode.h: Likewise.
19465         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19466         * stdlib/strtod_l.c: Include <rounding-mode.h>.
19467         (MAX_VALUE): New macro.
19468         (MIN_VALUE): Likewise.
19469         (overflow_value): New function.
19470         (underflow_value): Likewise.
19471         (round_and_return): Use overflow_value and underflow_value to
19472         determine return values in overflow and underflow cases.  Use
19473         round_away to determine rounding depending on rounding mode.
19474         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19475         determine return values in overflow and underflow cases.
19476         * stdlib/tst-strtod-round.c: Include <fenv.h>.
19477         (struct test_results): New structure.
19478         (struct test): Use struct test_results to store expected results
19479         for all rounding modes.
19480         (TEST): Include expected results for all rounding modes.
19481         (test_in_one_mode): New function.
19482         (do_test): Use test_in_one_mode to compute and check results.
19483         Check results for all rounding modes.
19484         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19485         $(link-libm).
19486
19487 2012-12-09  Allan McRae  <allan@archlinux.org>
19488
19489         * sysdeps/i386/fpu/libm-test-ulps: Update
19490
19491 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
19492
19493         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19494         (_G_int32_t): Likewise.
19495         (_G_uint16_t): Likewise.
19496         (_G_uint32_t): Likewise.
19497         (_G_HAVE_BOOL): Likewise.
19498         (_G_HAVE_ATEXIT): Likewise.
19499         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19500         (_G_HAVE_IO_FILE_OPEN): Likewise.
19501         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19502         (_G_int32_t): Likewise.
19503         (_G_uint16_t): Likewise.
19504         (_G_uint32_t): Likewise.
19505         (_G_HAVE_BOOL): Likewise.
19506         (_G_HAVE_ATEXIT): Likewise.
19507         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19508         (_G_HAVE_IO_FILE_OPEN): Likewise.
19509         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19510         (_G_int32_t): Likewise.
19511         (_G_uint16_t): Likewise.
19512         (_G_uint32_t): Likewise.
19513         (_G_HAVE_BOOL): Likewise.
19514         (_G_HAVE_ATEXIT): Likewise.
19515         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19516         (_G_HAVE_IO_FILE_OPEN): Likewise.
19517
19518 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
19519
19520         * csu/libc-tls.c: Update copyright years.
19521
19522 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
19523
19524         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19525         [!_G_USING_THUNKS]: Remove conditional code.
19526         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19527         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19528
19529         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19530         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19531         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19532         (_G_VTABLE_LABEL_PREFIX): Likewise.
19533         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19534         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19535         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19536         (_G_VTABLE_LABEL_PREFIX): Likewise.
19537         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19538         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19539         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19540         (_G_VTABLE_LABEL_PREFIX): Likewise.
19541         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19542
19543 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
19544
19545         * libio/Makefile: Include ../Makeconfig before tests.
19546         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19547         only if $(build-shared) is yes.
19548
19549         * iconv/gconv_db.c: Update copyright years.
19550
19551 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19552
19553         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19554         unwind info if defined PIC. Fix special cases description.
19555         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19556
19557         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19558         DP_HI_MASK entry.
19559         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19560
19561 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
19562
19563         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19564
19565         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19566         is NULL.
19567
19568         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19569         (LDLIBS-tst-chk4): This.
19570         (LDFLAGS-tst-chk5): Renamed to ...
19571         (LDLIBS-tst-chk5): This.
19572         (LDFLAGS-tst-chk6): Renamed to ...
19573         (LDLIBS-tst-chk6): This.
19574         (LDFLAGS-tst-lfschk4): Renamed to ...
19575         (LDLIBS-tst-lfschk4): This.
19576         (LDFLAGS-tst-lfschk5): Renamed to ...
19577         (LDLIBS-tst-lfschk5): This.
19578         (LDFLAGS-tst-lfschk6): Renamed to ...
19579         (LDLIBS-tst-lfschk6): This.
19580
19581         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19582         on $(common-objpfx)soversions.mk.
19583
19584 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
19585
19586         [BZ #10014]
19587         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19588         example host name.
19589
19590 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19591
19592         * malloc/arena.c (arena_get_retry): New function that gets
19593         another arena for the caller to try its request on.
19594         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19595         current arena cannot fulfill the request.
19596         (__libc_memalign): Likewise.
19597         (__libc_memalign): Likewise.
19598         (__libc_pvalloc): Likewise.
19599         (__libc_calloc): Likewise.
19600
19601 2012-09-05  John Tobey  <john.tobey@gmail.com>
19602
19603         [BZ #13542]
19604         * manual/arith.texi (Operations on Complex): Fix description
19605         of carg branch cut.
19606
19607 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19608
19609         [BZ #10014]
19610         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19611         host name.
19612
19613         [BZ #10038]
19614         * manual/memory.texi (Memory): Make order of menu items match
19615         order of sections.
19616
19617 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19618
19619         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19620         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
19621         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19622
19623 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19624
19625         * csu/libc-tls.c (static_dtv): Renamed to ...
19626         (_dl_static_dtv): This.  Make it global.
19627         (_dl_initial_dtv): Removed.
19628         (__libc_setup_tls): Updated.
19629         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19630         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19631         DL_INITIAL_DTV.
19632
19633 2012-09-06  Petr Machata  <pmachata@redhat.com>
19634
19635         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19636         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19637         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19638         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19639
19640 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19641
19642         [BZ #14545]
19643         * csu/libc-tls.c (_dl_initial_dtv): New variable.
19644         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19645         freeing dtv[-1].
19646
19647 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19648
19649         [BZ #14544]
19650         * Makeconfig (link-static-before-libc): Replace $(+prector)
19651         with $(+prectorT).
19652         (link-static-after-libc): Replace $(+postctor) with
19653         $(+postctorT).
19654         (link-bounded): Replace $(+prector)/$(+postctor) with
19655         $(+prectorT)/$(+postctorT).
19656         (+prectorT): New macro.
19657         (+postctorT): Likewise.
19658
19659 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19660
19661         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19662         (round_str): Handle values above the maximum for IBM long double
19663         as inexact.
19664         * stdlib/tst-strtod-round.c (tests): Regenerated.
19665
19666 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19667
19668         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19669         assembler flag.
19670         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19671         zarch_nohighgprs around the zarch optimized routines.
19672         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19673         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19674         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19675         for zarch.
19676
19677 2012-09-05  David S. Miller  <davem@davemloft.net>
19678
19679         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19680
19681         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19682         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19683         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19684         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19685         entries.
19686
19687 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19688
19689         * malloc/arena.c: Fold copyright years.
19690         * malloc/mcheck.c, malloc/memusage.c: Likewise.
19691
19692 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19693
19694         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19695
19696 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19697
19698         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
19699
19700 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19701
19702         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19703         change internal state upon failure.
19704
19705 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19706
19707         * malloc/mcheck.c (mcheck_check_all): Fix typo.
19708         * malloc/memusage.c (mmap): Likewise.
19709         (mmap64, mremap): Likewise.  Adjust name in comment.
19710
19711 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19712
19713         * libio/fileops.c: Fix typos in comments.
19714         * libio/oldfileops.c: Likewise.
19715         * libio/wfileops.c: Likewise.
19716
19717 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19718
19719         [BZ #1349]
19720         * malloc/Makefile (tests): Add tst-malloc-usable test case.
19721         (tst-malloc-usable-ENV): Set environment for test case.
19722         * malloc/hooks.c (malloc_check_get_size): New function to get
19723         requested size.
19724         * malloc/malloc.c (musable): Use malloc_check_get_size.
19725         * malloc/tst-malloc-usable.c: New test case.
19726
19727 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19728
19729         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19730
19731 2012-09-05  Allan McRae  <allan@archlinux.org>
19732
19733         [BZ #13966]
19734         * configure.in (CXX_SYSINCLUDES): Use compiler output to
19735         determine header location.
19736         * configure: Regenerated.
19737
19738 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19739
19740         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19741         float format.
19742         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19743         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19744         format.
19745         (test): Regenerate.
19746
19747 2012-09-04  David S. Miller  <davem@davemloft.net>
19748
19749         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19750         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19751         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19752
19753 2012-09-04  Florian Weimer  <fweimer@redhat.com>
19754
19755         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19756         failures.
19757
19758         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19759
19760 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
19761
19762         [BZ #9914]
19763         * libio/iogetdelim.c: Include <limits.h>.
19764         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19765         + len + 1 would overflow.
19766
19767 2012-09-03  Andreas Jaeger  <aj@suse.de>
19768
19769         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19770         * sysdeps/i386/fpu/libm-test-ulps: Update.
19771
19772 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19773
19774         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19775         Add s_sinf-sse2, s_conf-sse2.
19776
19777         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19778         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19779         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19780         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19781
19782         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19783         for using routine as __sinf_ia32.
19784         Use macro for function declaration and weak_alias.
19785         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19786         for using routine as __cosf_ia32.
19787         Use macro for function declaration and weak_alias.
19788
19789         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19790         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19791
19792         * sysdeps/x86_64/fpu/s_sinf.S: New file.
19793         * sysdeps/x86_64/fpu/s_cosf.S: New file.
19794         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19795
19796         * math/libm-test.inc (cos_test): Add more test cases.
19797         (sin_test): Likewise.
19798         (sincos_test): Likewise.
19799
19800 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19801
19802         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19803         (IFUNC_RESOLVE): Make pointers to the specialized implementations
19804         hidden.
19805         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19806
19807 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
19808
19809         [BZ #14538]
19810         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19811         first element of the GOT.
19812         (elf_machine_load_address): Return the difference between
19813         the runtime address of _DYNAMIC and elf_machine_dynamic ().
19814
19815 2012-09-01  Allan McRae  <allan@archlinux.org>
19816
19817         [BZ #13412]
19818         * configure.in (AWK): Require gawk version 3.0 or later.
19819         * configure: Regenerated.
19820
19821 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
19822
19823         * sysdeps/unix/sysv/linux/kernel-features.h
19824         (__ASSUME_POSIX_CPU_TIMERS): Remove.
19825         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19826         [__NR_clock_getres]: Make code unconditional.
19827         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19828         (clock_getcpuclockid): Remove code left unreachable by removal of
19829         conditionals.
19830         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19831         code unconditional.
19832         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19833         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19834         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19835         Make code unconditional.
19836         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19837         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19838         * sysdeps/unix/sysv/linux/clock_settime.c
19839         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19840         conditional code.
19841         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19842         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19843
19844 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
19845
19846         [BZ #14476]
19847         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19848         scripts/test-installation.pl.
19849
19850         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19851         and $ld_so_version if it is set.
19852
19853 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19854
19855         [BZ #14516]
19856         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19857         failure if reading from procfs failed.
19858         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19859
19860 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19861
19862         * sysdeps/unix/sysv/linux/kernel-features.h
19863         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19864         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19865         Remove conditional code.
19866         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19867         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19868         Remove conditional code.
19869         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19870         * sysdeps/unix/sysv/linux/i386/fxstat.c
19871         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19872         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19873         * sysdeps/unix/sysv/linux/i386/fxstatat.c
19874         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19875         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19876         * sysdeps/unix/sysv/linux/i386/lxstat.c
19877         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19878         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19879         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19880         Remove conditional code.
19881         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19882         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19883         Remove conditional code.
19884         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19885         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19886         <kernel-features.h>.
19887         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19888         Remove.
19889         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19890         Remove conditional code.
19891         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19892         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19893         Remove conditional.
19894
19895 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
19896
19897         [BZ #5400]
19898         * NEWS: Add fixed bug number.
19899
19900 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19901
19902         [BZ #14519]
19903         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19904         underflowing exponent in case of negative sign.
19905         * stdlib/tst-strtod-round-data: Add more tests.
19906         * stdlib/tst-strtod-round.c (tests): Regenerated.
19907
19908         [BZ #3479]
19909         * stdlib/strtod_l.c (NDIG): Remove.
19910         (HEXNDIG): Likewise.
19911         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19912         smallest representable value.
19913         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19914         lie within an exact representation of 1/2 ulp of the result.
19915         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19916         unconditionally.
19917         (TENS_P9_IDX): Define unconditionally.
19918         (TENS_P9_SIZE): Likewise.
19919         (TENS_P10_IDX): Likewise.
19920         (TENS_P10_SIZE): Likewise.
19921         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19922         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19923         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19924         entries for 10^2^13 and 10^2^14.
19925         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19926         (TENS_P13_IDX): Define.
19927         (TENS_P13_SIZE): Likewise.
19928         (TENS_P14_IDX): Likewise.
19929         (TENS_P14_SIZE): Likewise.
19930         (_fpioconst_pow10): Change array size to
19931         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
19932         unconditional.
19933         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19934         1024]: Add entries for 10^2^13 and 10^2^14.
19935         [LAST_POW10 > _LAST_POW10]: Remove #error.
19936         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19937         (_fpioconst_pow10): Change array size to
19938         FPIOCONST_POW10_ARRAY_SIZE.
19939         * stdlib/gen-fpioconst.c: New file.
19940         * stdlib/gen-tst-strtod-round.c: Likewise.
19941         * stdlib/tst-strtod-round-data: Likewise.
19942         * stdlib/tst-strtod-round.c: Likewise.
19943         * stdlib/Makefile (tests): Add tst-strtod-round.
19944
19945         [BZ #14459]
19946         * stdlib/strtod_l.c: Include <stdint.h>.
19947         (NDEBUG): Do not define.
19948         (round_and_return): Change EXPONENT parameter to type intmax_t.
19949         Rearrange calculations to avoid internal overflow possibilities.
19950         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19951         Rearrange calculations to avoid internal overflow possibilities.
19952         Assert that number fits inside MPNSIZE limbs.
19953         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19954         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
19955         calculations and add assertions to avoid internal overflow
19956         possibilities.  Add casts to avoid signed/unsigned operations.
19957         * stdlib/tst-strtod-overflow.c: New file.
19958         * stdlib/Makefile (tests): Add tst-strtod-overflow.
19959
19960 2012-08-25  Marek Polacek  <polacek@redhat.com>
19961
19962         * time/time.h: Fix some typos in comments.
19963
19964 2012-08-23  Roland McGrath  <roland@hack.frob.com>
19965
19966         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19967         * posix/tst-rfc3484-2.c: Likewise.
19968         * posix/tst-rfc3484-3.c: Likewise.
19969
19970 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
19971
19972         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19973         (EF_ARM_ABI_FLOAT_HARD): Likewise.
19974
19975 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
19976
19977         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19978         #include of fxstatat64.c.
19979
19980 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19981
19982         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19983         * shadow/getspent_r.c: Likewise.
19984         * shadow/getspnam.c: Likewise.
19985         * shadow/getspnam_r.c: Likewise.
19986         * gshadow/getsgent.c: Likewise.
19987         * gshadow/getsgent_r.c: Likewise.
19988         * gshadow/getsgnam.c: Likewise.
19989         * gshadow/getsgnam_r.c: Likewise.
19990         * inet/getnetbyad.c: Likewise.
19991         * inet/getnetbyad_r.c: Likewise.
19992         * inet/getnetbynm.c: Likewise.
19993         * inet/getnetbynm_r.c: Likewise.
19994         * inet/getnetent.c: Likewise.
19995         * inet/getnetent_r.c: Likewise.
19996         * inet/getproto.c: Likewise.
19997         * inet/getproto_r.c: Likewise.
19998         * inet/getprtent.c: Likewise.
19999         * inet/getprtent_r.c: Likewise.
20000         * inet/getprtname.c: Likewise.
20001         * inet/getprtname_r.c: Likewise.
20002         * inet/getrpcbyname.c: Likewise.
20003         * inet/getrpcbyname_r.c: Likewise.
20004         * inet/getrpcbynumber.c: Likewise.
20005         * inet/getrpcbynumber_r.c: Likewise.
20006         * inet/getrpcent.c: Likewise.
20007         * inet/getrpcent_r.c: Likewise.
20008         * inet/getaliasent.c: Likewise.
20009         * inet/getaliasent_r.c: Likewise.
20010         * inet/getaliasname.c: Likewise.
20011         * inet/getaliasname_r.c: Likewise.
20012         * nscd/getgrgid_r.c: Likewise.
20013         * nscd/getgrnam_r.c: Likewise.
20014         * nscd/gethstbyad_r.c: Likewise.
20015         * nscd/gethstbynm3_r.c: Likewise.
20016         * nscd/getpwnam_r.c: Likewise.
20017         * nscd/getpwuid_r.c: Likewise.
20018         * nscd/getsrvbynm_r.c: Likewise.
20019         * nscd/getsrvbypt_r.c: Likewise.
20020         * nscd/gai.c: Likewise.
20021
20022         * configure.in (build_nscd): New substituted variable, set
20023         by --disable-build-nscd and defaults to $use_nscd.
20024         * configure: Regenerated.
20025         * config.make.in (build-nscd): New substituted variable.
20026         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20027         Change conditional to require [$(build-nscd) = yes] as well.
20028         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20029
20030         [BZ# 13696]
20031         * configure.in (use_nscd): New substituted variable, set by
20032         --disable-nscd.  If enabled, define USE_NSCD.
20033         * configure: Regenerated.
20034         * config.h.in: Add USE_NSCD.
20035         * config.make.in (use-nscd): New substituted variable.
20036         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20037         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20038         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20039         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20040         (CFLAGS-getgrnam_r.c): Likewise.
20041         (CFLAGS-initgroups.c): Likewise.
20042         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20043         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20044         Variables removed.
20045         * inet/getnetgrent_r.c
20046         (nscd_setnetgrent): New function, broken out of ...
20047         (setnetgrent): ... here.  Call it.
20048         (innetgr): Conditionalize nscd bits on [USE_NSCD].
20049         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20050         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20051         * nscd/Makefile (routines, aux): Move definitions after include of
20052         Makeconfig.  Conditionalize on [$(use-nscd) != no].
20053         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20054         Conditionalize on [USE_NSCD].
20055         (is_nscd, nscd_init_cb): Likewise.
20056         (nss_load_library): Conditionalize init callback on [USE_NSCD].
20057         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20058         * nss/nss_db/db-init.c: Likewise.
20059         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20060         [USE_NSCD].
20061         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20062         (make_request): Use it.
20063         (cache_valid_p): New function.
20064         (__check_pf): Use it.
20065         * NEWS: Add item for --disable-nscd.
20066
20067 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
20068
20069         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20070         to support sed >= 4.2.1-20-ga9bf076.
20071         * configure: Regenerated.
20072
20073 2012-08-22  Roland McGrath  <roland@hack.frob.com>
20074
20075         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20076         Conditionalize whole body on [IREL].
20077
20078 2012-08-22  Jeff Law <law@redhat.com>
20079
20080         [BZ #14505]
20081         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20082         if the family is PF_UNSPEC.
20083
20084 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
20085
20086         * Makerules (lib-version): Rename from V.
20087         (install-lib-nosubdir): Change V to lib-version.
20088
20089 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
20090
20091         [BZ #14252]
20092         * powerpc32/power6/wcschr.c: New file.
20093         * powerpc32/power6/wcscpy.c: New file.
20094         * powerpc32/power6/wcsrchr.c: New file.
20095         * powerpc64/power6/wcschr.c: New file.
20096         * powerpc64/power6/wcscpy.c: New file.
20097         * powerpc64/power6/wcsrchr.c: New file.
20098
20099 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20100
20101         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20102         (two_way_short_needle): Use it.
20103         * string/strstr.c (AVAILABLE1_USES_J): Define.
20104         * string/strcasestr.c: Likewise.
20105
20106         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20107         array references.
20108         * string/strcasestr.c (TOLOWER): Make side-effect safe.
20109
20110         [BZ #11607]
20111         * NEWS: Add an entry.
20112         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20113         define their defaults.
20114         (two_way_short_needle): Detect end-of-string on-the-fly.
20115         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20116         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20117         * string/bug-strcasestr1.c: New test.
20118         * string/Makefile: Run it.
20119
20120 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20121
20122         [BZ #11607]
20123         * string/str-two-way.h (two_way_short_needle): Optimize matching of
20124         the first character.
20125
20126 2012-08-21  Roland McGrath  <roland@hack.frob.com>
20127
20128         * csu/elf-init.c (__libc_csu_irel): Function removed.
20129         * csu/libc-start.c (apply_irel): New function.
20130         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20131
20132 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
20133
20134         * sysdeps/unix/sysv/linux/kernel-features.h
20135         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20136         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20137         <kernel-features.h>.
20138         [__NR_fadvise64_64]: Make code unconditional.
20139         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20140         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20141         !__NR_fadvise64_64)]: Likewise.
20142         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20143         !__NR_fadvise64_64))]: Likewise.
20144         [__NR_fadvise64]: Make code unconditional.
20145         [!__NR_fadvise64]: Remove conditional code.
20146         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20147         <kernel-features.h>.
20148         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20149         unconditional.
20150         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20151         conditional code.
20152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20153         not include <kernel-features.h>.
20154         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20155         unconditional.
20156         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20157         conditional code.
20158         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20159         include <kernel-features.h>.
20160         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20161         unconditional.
20162         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20163         conditional code.
20164
20165 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
20166
20167         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20168         slight instruction rearrangements per scrollpipe analysis.
20169         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20170
20171 2012-08-20  Roland McGrath  <roland@hack.frob.com>
20172
20173         * manual/syslog.texi (syslog; vsyslog, closelog):
20174         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20175         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20176
20177         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20178         DSOCAPS to match condition on defining it.
20179
20180 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
20181
20182         * sysdeps/unix/sysv/linux/kernel-features.h
20183         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20185         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20186         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20188         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20189         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20191         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20192         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20193
20194         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20195         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20196
20197         * sysdeps/unix/sysv/linux/kernel-features.h
20198         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20199         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20200         unconditional.
20201         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20202         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20203         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20204         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20205         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20206         Make code unconditional.
20207         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20208         (__mmap64) [!__NR_mmap2]: Likewise.
20209         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20210         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20211         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20212         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20213         [__NR_mmap2]: Make code unconditional.
20214         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20215         (__mmap64) [!__NR_mmap2]: Likewise.
20216
20217 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20218
20219         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20220
20221 2012-08-18  Andreas Jaeger  <aj@suse.de>
20222
20223         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20224
20225 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20226
20227         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20228         * include/unistd.h (__have_sock_cloexec): Likewise.
20229         (__have_pipe2): Likewise.
20230         (__have_dup3): Likewise.
20231
20232 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20233
20234         [BZ #9685]
20235         * include/unistd.h (__have_pipe2): Change define into an extern int.
20236         (__have_dup3): Likewise.
20237         * socket/have_sock_cloexec.c: Include fcntl.h.
20238         (__have_pipe2): New variable.
20239         (__have_dup3): Likewise.
20240
20241 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
20242
20243         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20244
20245 2012-08-17  Marek Polacek  <polacek@redhat.com>
20246
20247         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20248         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20249
20250 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20251
20252         * configure.in: Add AC_SUBST for sysheaders.
20253         * configure: Regenerated.
20254         * config.make.in (sysheaders): New substituted variable.
20255
20256         * sysdeps/unix/mkfifo.c: Moved ...
20257         * sysdeps/posix/mkfifo.c: ... here.
20258         * sysdeps/unix/mkfifoat.c: Moved ...
20259         * sysdeps/posix/mkfifoat.c: ... here.
20260
20261         * sysdeps/unix/utime.c: Moved ...
20262         * sysdeps/posix/utime.c: ... here.
20263
20264         * sysdeps/unix/time.c: Moved ...
20265         * sysdeps/posix/time.c: ... here.
20266         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20267         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20268
20269         * sysdeps/unix/nice.c: Moved ...
20270         * sysdeps/posix/nice.c: ... here.
20271
20272         * sysdeps/unix/alarm.c: Moved ...
20273         * sysdeps/posix/alarm.c: ... here.
20274
20275         * intl/Makefile ($(codeset_mo)): Depend on the input file.
20276
20277 2012-08-17  Jeff Law <law@redhat.com>
20278
20279         * intl/Makefile (codeset_mo): New variable.
20280         ($(codeset_mo)): New target.
20281         (tst-codeset.out): Depend on that.  Remove explicit rule.
20282         (tst-gettext3.out, tst-gettext5.out): Likewise.
20283         (LOCPATH-ENV, tst-codeset-ENV): New variables.
20284         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20285         * intl/tst-codeset.sh: Remove.
20286         * intl/tst-gettext3.sh: Likewise.
20287         * intl/tst-gettext5.sh: Likewise.
20288
20289 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20290
20291         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
20292         * sysdeps/unix/syscalls.list: ... here.
20293
20294         * sysdeps/posix/getaddrinfo.c
20295         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20296         (gaiconf_init, gaiconf_reload): Use them.
20297         [!_STATBUF_ST_NSEC]
20298         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20299         Define using time_t rather than struct timespec.
20300
20301         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20302         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20303         Macros removed.
20304         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20305         [!NO_THREADS].
20306         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20307         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20308         Likewise.
20309
20310         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20311         __libc_cleanup_push argument.
20312
20313         * bits/param.h: New file.
20314         * misc/sys/param.h: New file.
20315         * include/sys/param.h: New file.
20316         * misc/Makefile (headers): Add bits/param.h.
20317         * sysdeps/generic/sys/param.h: File removed.
20318         * sysdeps/unix/sysv/linux/bits/param.h: New file.
20319         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20320         * sysdeps/mach/hurd/bits/param.h: New file.
20321         * sysdeps/mach/hurd/sys/param.h: File removed.
20322
20323         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20324         last change.
20325
20326         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20327         [_IO_MTSAFE_IO].
20328         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20329         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20330         New macros.
20331
20332         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20333         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20334         rather than -D_IO_MTSAFE_IO conditionally.
20335         * stdio-common/Makefile (CPPFLAGS): Likewise.
20336         * wcsmbs/Makefile (CPPFLAGS): Likewise.
20337         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20338         Use $(libio-mtsafe).
20339         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20340         of -D_IO_MTSAFE_IO.
20341         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20342         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20343         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20344         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20345         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20346         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20347         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20348         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20349         (CFLAGS-fread_u_chk.c): Likewise.
20350         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20351         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20352         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20353         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20354         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20355         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20356         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20357         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20358         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20359
20360         * libio/Makefile: Test [$(libc-reentrant) = yes]
20361         instead of [$(filter %REENTRANT, $(defines)) nonempty].
20362
20363         * Makeconfig
20364         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20365         * sysdeps/pthread/configure: File removed.
20366         * sysdeps/pthread/Makeconfig: New file.
20367         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20368         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20369
20370 2012-08-16  Gary Benson  <gbenson@redhat.com>
20371
20372         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20373         unmapping the first object in a namespace.
20374
20375 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20376
20377         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20378         (__internal_setnetgrent): ... this.  Add internal_function to
20379         definition.  Add libc_hidden_def.
20380         (setnetgrent): Update caller.
20381         (internal_endnetgrent): Renamed to ...
20382         (__internal_endnetgrent): ... this.  Add internal_function to
20383         definition.  Add libc_hidden_def.
20384         (endnetgrent): Update caller.
20385         (internal_getnetgrent_r): Renamed to ...
20386         (__internal_getnetgrent_r): ... this.  Add internal_function to
20387         definition.  Add libc_hidden_def.
20388         (__getnetgrent_r): Update caller.
20389         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
20390
20391 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20392
20393         * stdlib/longlong.h: Update from GCC.
20394
20395 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20396
20397         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20398         on _QL, which is set by umul_ppmm but never used.
20399         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20400         variables, which are set by GMP macros but never used.
20401         * stdio-common/_itowa.c (_itowa): Likewise.
20402         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20403         * stdlib/mod_1.c (mpn_mod_1): Likewise.
20404
20405 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
20406
20407         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20408         struct La_sh_regs is not constant.
20409         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20410         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20411         and struct La_sparc64_regs are not constant.
20412
20413 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20414
20415         * sysdeps/unix/sysv/linux/kernel-features.h
20416         (__ASSUME_POSIX_TIMERS): Remove.
20417         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20418         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20419         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20420         Make code unconditional.
20421         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20422         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20423         Make code unconditional.
20424         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20425         * sysdeps/unix/sysv/linux/clock_nanosleep.c
20426         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20427         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20428         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20429         Make code unconditional.
20430         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20431         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20432         (__libc_missing_posix_timers): Remove.
20433
20434 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20435
20436         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20437         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20438
20439         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20440
20441         * elf/dl-sym.c: Include <stdlib.h>.
20442
20443         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20444         constants, which avoids warnings in 32-bit builds.
20445
20446         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20447         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20448
20449         * misc/lseek.c: File moved to ...
20450         * io/lseek.c: ... here.
20451
20452         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20453
20454         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20455         shifting LEN more than 31 bits at once.
20456
20457 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20458
20459         [BZ #14195]
20460         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20461         segmentation fault for a case of two empty input strings.
20462         * string/test-strncasecmp.c (check1): Renamed to...
20463         (bz12205): ...this.
20464         (bz14195): Add new testcase for two empty input strings and N > 0.
20465         (test_main): Call new testcase, adapt for renamed function.
20466
20467 2012-08-15  Andreas Jaeger  <aj@suse.de>
20468
20469         [BZ #14090]
20470         * crypt/md5test2.c: New test, based on test supplied by Serge
20471         Belyshev <belyshev@depni.sinp.msu.ru>.
20472         * crypt/Makefile (xtests): Add md5test-giant..
20473         * crypt/Makefile ($(objpfx)md5test-giant): Add.
20474
20475 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
20476
20477         [BZ #14090]
20478         * crypt/md5.c (md5_process_block): Don't assume the buffer
20479         length is less than 2**32.
20480         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20481         length is less than 2**64.
20482
20483 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20484
20485         * string/str-two-way.h: Include <sys/param.h>.
20486         (MAX): Macro removed.
20487
20488         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20489         Move #define and #undef of memmove to just before and after
20490         including <string.h>.
20491
20492         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20493         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20494         and after including <string.h>.  Move declarations of
20495         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20496         to before #include "string/memmove.c".
20497
20498         * include/dirent.h: Declare __getdirentries.
20499
20500         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20501         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20502
20503 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
20504
20505         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20506         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20507         * sysdeps/i386/configure: Regenerated.
20508         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20509         STABS_CURRENT_FILE, and STABS_FUN.
20510         (END): Remove call to STABS_FUN_END.
20511         (STABS_CURRENT_FILE1): Delete.
20512         (STABS_CURRENT_FILE): Likewise.
20513         (STABS_FUN): Likewise.
20514         (STABS_FUN_END): Likewise.
20515         (STABS_FUN2): Likewise.
20516         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20517         * sysdeps/x86_64/configure: Regenerated.
20518
20519 2012-08-14  Roland McGrath  <roland@hack.frob.com>
20520
20521         * elf/dl-open.c: Include <atomic.h>.
20522         * elf/dl-lookup.c: Likewise.
20523
20524 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
20525
20526         * sysdeps/unix/sysv/linux/kernel-features.h
20527         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20528         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20529         unconditionally.
20530         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20531         unconditionally.
20532         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20533         condition on __ASSUME_CLONE_THREAD_FLAGS.
20534
20535 2012-08-14  Andreas Jaeger  <aj@suse.de>
20536
20537         * sysdeps/i386/fpu/libm-test-ulps: Update.
20538
20539 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
20540
20541         * include/atomic.h (atomic_exchange_and_add): Split into ...
20542         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20543         New atomic macros.
20544
20545 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
20546
20547         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20548
20549 2012-08-13  Jeff Law <law@redhat.com>
20550
20551         * manual/stdio.texi (snprintf): Clarify handling of the trailing
20552         null byte in the output string.
20553
20554 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
20555
20556         * sysdeps/unix/sysv/linux/kernel-features.h
20557         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20558         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20559         (__ASSUME_ARG_MAX_STACK_BASED): Define.
20560         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20561         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20562         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
20563         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20564
20565 2012-08-09  Jeff Law <law@redhat.com>
20566
20567         [BZ #13939]
20568         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20569         When avoid_arena is set, don't retry in the that arena.  Pick the
20570         next one, whatever it might be.
20571         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20572         (arena_lock): Pass in new parameter to arena_get2.
20573         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20574         arena_get2.
20575         (__libc_malloc): Unify retrying after main arena failure with
20576         __libc_memalign version.
20577         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20578
20579 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20580
20581         [BZ #14166]
20582         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20583         to __redirect_strstr.
20584         (__strstr_sse42): Use typeof __redirect_strstr.
20585         (__strstr_ia32): Likewise.
20586         (__libc_strstr): New prototype.
20587         (strstr): Renamed to ...
20588         (__libc_strstr): This.
20589         (strstr): New strong alias of __libc_strstr.
20590         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20591         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20592         __redirect_time.
20593         Include <time.h>.
20594         (__libc_time): New prototype.
20595         (time_ifunc): Replace time with __libc_time.
20596         (time): New strong alias and hidden definition of __libc_time.
20597         (__GI_time): Remove strong alias.
20598         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20599         Include <stddef.h>.
20600         (memmove): Redefined to __redirect_memmove.
20601         (__memmove_sse2): Use typeof __redirect_memmove.
20602         (__memmove_ssse3): Likewise.
20603         (__memmove_ssse3_back): Likewise.
20604         (__libc_memmove): New prototype.
20605         (memmove): Renamed to ...
20606         (__libc_memmove): This.
20607         (memmove): New strong alias of __libc_memmove.
20608
20609 2012-08-08  Mark Salter  <msalter@redhat.com>
20610
20611         * elf/elf.h
20612         (R_MN10300_TLS_GD): Define.
20613         (R_MN10300_TLS_LD): Likewise.
20614         (R_MN10300_TLS_LDO): Likewise.
20615         (R_MN10300_TLS_GOTIE): Likewise.
20616         (R_MN10300_TLS_IE): Likewise.
20617         (R_MN10300_TLS_LE): Likewise.
20618         (R_MN10300_TLS_DTPMOD): Likewise.
20619         (R_MN10300_TLS_DTPOFF): Likewise.
20620         (R_MN10300_TLS_TPOFF): Likewise.
20621         (R_MN10300_SYM_DIFF): Likewise.
20622         (R_MN10300_ALIGN): Likewise.
20623         (R_MN10300_NUM): Update.
20624
20625 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
20626
20627         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20628         Remove.
20629
20630 2012-08-08  Roland McGrath  <roland@hack.frob.com>
20631
20632         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20633
20634         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20635         sysdeps/unix -> sysdeps/posix move.
20636         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20637
20638 2012-08-07      Allan McRae     <allan@archlinux.org>
20639
20640         [BZ #14303]
20641         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20642         (SUNOS_CPP): Likewise.
20643         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20644         not found.
20645         (open_input): Call CPP using execvp.
20646
20647 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20648
20649         * sysdeps/unix/sysv/linux/kernel-features.h
20650         (__ASSUME_PROT_GROWSUPDOWN): Remove.
20651         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20652         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20653         (__ASSUME_WAITID_SYSCALL): Likewise.
20654         * sysdeps/unix/sysv/linux/dl-execstack.c
20655         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20656         code unconditional.
20657         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20658         conditional code.
20659         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20660         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20661         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20662         code.
20663         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20664         unconditional.
20665         [__ASSUME_WAITID_SYSCALL]: Likewise.
20666         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20667
20668 2012-08-07  Roland McGrath  <roland@hack.frob.com>
20669
20670         * sysdeps/unix/closedir.c: Renamed to ...
20671         * sysdeps/posix/closedir.c: ... here.
20672         * sysdeps/unix/dirfd.c: Renamed to ...
20673         * sysdeps/posix/dirfd.c: ... here.
20674         * sysdeps/unix/dirstream.h: Renamed to ...
20675         * sysdeps/posix/dirstream.h: ... here.
20676         * sysdeps/unix/fdopendir.c: Renamed to ...
20677         * sysdeps/posix/fdopendir.c: ... here.
20678         * sysdeps/unix/opendir.c: Renamed to ...
20679         * sysdeps/posix/opendir.c: ... here.
20680         * sysdeps/unix/readdir.c: Renamed to ...
20681         * sysdeps/posix/readdir.c: ... here.
20682         * sysdeps/unix/readdir_r.c: Renamed to ...
20683         * sysdeps/posix/readdir_r.c: ... here.
20684         * sysdeps/unix/rewinddir.c: Renamed to ...
20685         * sysdeps/posix/rewinddir.c: ... here.
20686         * sysdeps/unix/seekdir.c: Renamed to ...
20687         * sysdeps/posix/seekdir.c: ... here.
20688         * sysdeps/unix/telldir.c: Renamed to ...
20689         * sysdeps/posix/telldir.c: ... here.
20690         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20691         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20692         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20693         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20694
20695         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20696         * bits/fcntl.h: ... here.
20697
20698         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20699         not 0.
20700         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20701         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20702         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20703         (struct flock): Move l_start, l_len to the beginning.
20704         Use __pid_t for l_pid.
20705         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20706         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20707         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20708         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20709         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20710         [__USE_LARGEFILE64] (struct flock64): New type.
20711         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20712
20713         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20714         * bits/dirent.h: ... here.
20715
20716         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20717         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20718
20719 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20720
20721         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20722         Change from 2.6.0 to 2.6.16.
20723         * sysdeps/unix/sysv/linux/configure: Regenerated.
20724         * sysdeps/unix/sysv/linux/kernel-features.h
20725         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20726         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20727         version.
20728         (__ASSUME_UTIMES): Likewise.
20729         (__ASSUME_CLONE_STOPPED): Remove.
20730         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20731         architectures, not kernel version.
20732         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20733         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20734         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20735         (__ASSUME_WAITID_SYSCALL): Likewise.
20736         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20737         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20738         * README: State 2.6.16 as minimum Linux kernel version.  Do not
20739         refer to older versions.
20740
20741 2012-08-06  Roland McGrath  <roland@hack.frob.com>
20742
20743         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20744         Define alphasort64 as an alias.
20745         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20746         Define versionsort64 as an alias.
20747         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20748         Define scandir64 as an alias.
20749         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20750         Define scandirat64 as an alias.
20751         * dirent/alphasort64.c (alphasort64):
20752         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20753         * dirent/versionsort64.c: Likewise.
20754         * dirent/scandir64.c: Likewise.
20755         * dirent/scandirat64.c: Likewise.
20756         * sysdeps/wordsize-64/alphasort.c: File removed.
20757         * sysdeps/wordsize-64/alphasort64.c: File removed.
20758         * sysdeps/wordsize-64/scandir.c: File removed.
20759         * sysdeps/wordsize-64/scandir64.c: File removed.
20760         * sysdeps/wordsize-64/scandirat.c: File removed.
20761         * sysdeps/wordsize-64/scandirat64.c: File removed.
20762         * sysdeps/wordsize-64/versionsort.c: File removed.
20763         * sysdeps/wordsize-64/versionsort64.c: File removed.
20764         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20765         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20766         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20767         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20768         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20769         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20770         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20771         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20772
20773         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20774         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20775         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20776         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20777         [defined __arch64__ || defined __sparcv9]
20778         (__INO_T_MATCHES_INO64_T): New macro.
20779         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20780         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20781         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20782         * sysdeps/unix/sysv/linux/bits/dirent.h
20783         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20784         (_DIRENT_MATCHES_DIRENT64): New macro.
20785
20786         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20787         Define lockf64 as an alias.
20788         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20789         Define fseeko64 as an alias.
20790         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20791         Define ftello64 as an alias.
20792         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20793         Define _IO_fgetpos64 and fgetpos64 as aliases.
20794         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20795         Define _IO_fsetpos64 and fsetpos64 as aliases.
20796         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20797         Conditionalize body on this.
20798         * libio/fseeko64.c: Likewise.
20799         * libio/ftello64.c: Likewise.
20800         * libio/iofgetpos64.c: Likewise.
20801         * libio/iofsetpos64.c: Likewise.
20802         * sysdeps/wordsize-64/lockf.c: File removed.
20803         * sysdeps/wordsize-64/lockf64.c: File removed.
20804         * sysdeps/wordsize-64/fseeko.c: File removed.
20805         * sysdeps/wordsize-64/fseeko64.c: File removed.
20806         * sysdeps/wordsize-64/ftello.c: File removed.
20807         * sysdeps/wordsize-64/ftello64.c: File removed.
20808         * sysdeps/wordsize-64/iofgetpos.c: File removed.
20809         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20810         * sysdeps/wordsize-64/iofsetpos.c: File removed.
20811         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20812         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20813         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20814         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20815         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20816         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20817         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20818         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20819         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20820         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20821         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20822
20823         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20824         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20825         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20826         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20827         [defined __arch64__ || defined __sparcv9]
20828         (__OFF_T_MATCHES_OFF64_T): New macro.
20829         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20830         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20831         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20832         (__OFF_T_MATCHES_OFF64_T): New macro.
20833
20834 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20835
20836         * stdlib/secure-getenv.c (__secure_getenv): Replace
20837         GLIBC_2_16 with GLIBC_2_17.
20838
20839 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20840
20841         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20842         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20843
20844 2012-08-03  David S. Miller  <davem@davemloft.net>
20845
20846         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20847
20848 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20849
20850         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20851         Remove.
20852         (__ASSUME_CORRECT_SI_PID): Likewise.
20853         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20854         (__ASSUME_TMPFS_NAME): Likewise.
20855         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20856         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20857         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20858         (HAVE_AUX_SECURE): Make definition unconditional.
20859         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20860         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20861
20862 2012-08-03  Roland McGrath  <roland@hack.frob.com>
20863
20864         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20865         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20866         * sysdeps/mach/hurd/eloop-threshold.h: New file.
20867         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20868         __eloop_threshold instead of SYMLOOP_MAX.
20869
20870         * sysdeps/generic/eloop-threshold.h: New file.
20871         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20872         of MAXSYMLINKS.
20873         * elf/chroot_canon.c (chroot_canon): Likewise.
20874
20875 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20876
20877         [BZ #13717]
20878         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20879         Change to 2.6.0 everywhere.
20880         * sysdeps/unix/sysv/linux/configure: Regenerated.
20881         * sysdeps/unix/sysv/linux/kernel-features.h
20882         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20883         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20884         kernel versions.
20885         (__ASSUME_POSIX_TIMERS): Define unconditionally.
20886         (__ASSUME_FUTEX_REQUEUE): Remove.
20887         (__ASSUME_STATFS64): Define unconditionally.
20888         (__ASSUME_AT_SECURE): Likewise.
20889         (__ASSUME_CORRECT_SI_PID): Likewise.
20890         (__ASSUME_TGKILL): Define without depending on kernel version for
20891         i386.
20892         (__ASSUME_UTIMES): Likewise.
20893         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20894         kernel version.
20895         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20896         (__ASSUME_TMPFS_NAME): Likewise.
20897         * README: Update reference to Linux kernel versions.
20898
20899 2012-08-02  Marek Polacek  <polacek@redhat.com>
20900
20901         [BZ# 14150]
20902         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
20903         libc_cv_asm_type_prefix with %.
20904         * configure: Regenerated.
20905         * include/libc-symbols.h: Remove comment about
20906         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20907         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20908         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20909         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20910         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20911         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20912         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20913         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20914         * elf/tst-unique2mod1.c: Likewise.
20915         * elf/tst-unique1mod2.c: Likewise.
20916         * elf/tst-unique1mod1.c: Likewise.
20917         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20918         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20919         Replace ASM_TYPE_DIRECTIVE with .type.
20920         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20921         * sysdeps/i386/sysdep.h: Likewise.
20922         * sysdeps/x86_64/sysdep.h: Likewise.
20923         * sysdeps/sh/sysdep.h: Likewise.
20924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20925         Do not define ASM_TYPE_DIRECTIVE.
20926         * sysdeps/powerpc/sysdep.h: Likewise.
20927         * sysdeps/powerpc/powerpc32/sysdep.h:
20928         Replace ASM_TYPE_DIRECTIVE with .type.
20929         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20930         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20931         * sysdeps/i386/fpu/e_powf.S: Likewise.
20932         * sysdeps/i386/fpu/e_expl.S: Likewise.
20933         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20934         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20935         * sysdeps/i386/fpu/e_pow.S: Likewise.
20936         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20937         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20938         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20939         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20940         * sysdeps/i386/fpu/e_log2.S: Likewise.
20941         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20942         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20943         * sysdeps/i386/fpu/e_powl.S: Likewise.
20944         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20945         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20946         * sysdeps/i386/fpu/e_logl.S: Likewise.
20947         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20948         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20949         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20950         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20951         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20952         * sysdeps/i386/fpu/e_log.S: Likewise.
20953         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20954         * sysdeps/i386/fpu/e_logf.S: Likewise.
20955         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20956         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20957         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20958         * sysdeps/i386/fpu/e_log10.S: Likewise.
20959         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20960         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20961         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20962         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20963         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20964         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20965         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20966         * sysdeps/i386/i686/strtok.S: Likewise.
20967         * sysdeps/i386/i386-mcount.S: Likewise.
20968         * sysdeps/i386/strtok.S: Likewise.
20969         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20970         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20971         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20972         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20973         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20974         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20975         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20976         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20977         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20978         * sysdeps/x86_64/_mcount.S: Likewise.
20979         * sysdeps/x86_64/strtok.S: Likewise.
20980         * sysdeps/sh/_mcount.S: Likewise.
20981
20982 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20983
20984         * libio/iofopen.c: Include <fcntl.h>.
20985         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20986         (_IO_fopen64, fopen64): Define as aliases.
20987         * libio/iofopen64.c: Include <fcntl.h>.
20988         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20989         Conditionalize body on this.
20990         * sysdeps/wordsize-64/iofopen.c: File removed.
20991         * sysdeps/wordsize-64/iofopen64.c: File removed.
20992
20993 2012-08-01  Marek Polacek  <polacek@redhat.com>
20994
20995         * libc/Makeconfig: Use elf in place of binfmt-subdir.
20996         Use dlfcn directly instead of a variable.
20997         (binfmt-subdir): Do not define.
20998         (dlfcn): Likewise.
20999
21000 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
21001
21002         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21003         Remove all definitions.
21004         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21005         <kernel-features.h>.
21006         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21007         (miss_F_GETOWN_EX): Remove all definitions.
21008         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21009         macro definition.
21010         [!__ASSUME_FCNTL64]: Remove conditional code.
21011         [__ASSUME_FCNTL64]: Make code unconditional.
21012         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21013         <kernel-features.h>.
21014         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21015         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21016         (lockf64) [__NR_fcntl64]: Make code unconditional.
21017         (lockf64) [__ASSUME_FCNTL64]: Likewise.
21018
21019         * sysdeps/unix/sysv/linux/kernel-features.h
21020         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21021         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21022         Make code unconditional.
21023         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21024         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21026         [__NR_vfork]: Make code unconditional.
21027         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21028         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21030         [__NR_vfork]: Make code unconditional.
21031         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21032         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21033
21034 2012-08-01  Roland McGrath  <roland@hack.frob.com>
21035
21036         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21037         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21038
21039         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21040         Define mkstemp64 as an alias.
21041         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21042         Define mkstemps64 as an alias.
21043         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21044         Define mkostemp64 as an alias.
21045         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21046         Define mkostemps64 as an alias.
21047         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21048         Conditionalize body on this.
21049         * misc/mkostemp64.c: Likewise.
21050         * misc/mkostemps64.c: Likewise.
21051         * misc/mkstemps64.c: Likewise.
21052         * sysdeps/wordsize-64/mkstemp64.c: File removed.
21053         * sysdeps/wordsize-64/mkostemp64.c: File removed.
21054         * sysdeps/wordsize-64/mkostemp.c: File removed.
21055         * sysdeps/wordsize-64/mkstemp.c: File removed.
21056         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21057         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21058         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21059         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21060
21061         [BZ #14138]
21062         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21063         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21064         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21065         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21066
21067         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21068         compat_symbol macros from <shlib-compat.h> rather than the underlying
21069         default_symbol_version and symbol_version macros, so that DEFAULT
21070         lines in shlib-versions are respected.
21071         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21072
21073 2012-08-01  Florian Weimer  <fweimer@redhat.com>
21074
21075         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21076         Declare with warn_unused_result.
21077         (setgid, setregid, setegid, setresgid): Likewise.
21078         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21079         Likewise.
21080         * WUR-REPORT: Remove set*id functions.
21081
21082 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
21083
21084         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21085
21086 2012-07-31  Roland McGrath  <roland@hack.frob.com>
21087
21088         [BZ #10191]
21089         * include/sys/socket.h (__libc_accept, __libc_accept4):
21090         Add attribute_hidden.
21091         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21092
21093         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21094         use of PTR_MANGLE.
21095         * inet/getnetgrent_r.c (setup): Likewise.
21096
21097         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21098
21099 2012-07-31  David S. Miller  <davem@davemloft.net>
21100
21101         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21102
21103 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
21104
21105         [BZ #13629]
21106         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21107         value between 1.0 and 2.0 and smaller part has absolute value less
21108         than 1.0.
21109         * math/s_clog10.c (__clog10): Likewise.
21110         * math/s_clog10f.c (__clog10f): Likewise.
21111         * math/s_clog10l.c (__clog10l): Likewise.
21112         * math/s_clogf.c (__clogf): Likewise.
21113         * math/s_clogl.c (__clogl): Likewise.
21114         * math/libm-test.inc (clog_test): Add more tests.
21115         (clog10_test): Likewise.
21116         * sysdeps/i386/fpu/libm-test-ulps: Update.
21117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21118
21119 2012-07-31  Florian Weimer  <fweimer@redhat.com>
21120
21121         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21122         Exit with zero in case no suitable GID is found, and write a
21123         message to standard error.
21124
21125 2012-07-30  Roland McGrath  <roland@hack.frob.com>
21126
21127         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21128         rather than to 1.
21129         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21130         (MAXPATHLEN): Removed.
21131         (NOGROUP, NODEV): New macros.
21132         (setbit, clrbit, isset, isclr): New macros.
21133         (howmany, roundup, powerof2): New macros.
21134         (DEV_BSIZE): New macro.
21135
21136         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21137         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21138
21139         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21140         definition on [!__NO_LONG_DOUBLE_MATH].
21141
21142         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21143         PTR_MANGLE and PTR_DEMANGLE.
21144
21145         * socket/accept4.c (accept4): Rename to __libc_accept4.
21146         Define accept4 as a weak alias.
21147
21148         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21149         on [_DIRENT_HAVE_D_TYPE].
21150         * io/ftw.c (ftw_dir): Likewise.
21151
21152         * io/xmknod.c (__xmknod): Don't check PATH for being null.
21153
21154         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21155
21156         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21157         Use the BSD numbers rather than the arbitrary ones we had.
21158         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21159         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21160         (SIGXCPU, SIGXFSZ): New macros.
21161         (_NSIG): Now 32.
21162
21163         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21164         initializer on [_LIBC_REENTRANT].
21165
21166         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21167         definitions inside [_POSIX_MAPPED_FILES].
21168
21169         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21170
21171         * dirent/opendir.c: Include <fcntl.h>.
21172
21173         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21174         (__libc_getspecific): Likewise.
21175         (__libc_key_create): Likewise.
21176
21177         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21178         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21179         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21180         (tmpfile64): Define as alias.
21181         * sysdeps/wordsize-64/tmpfile.c: File removed.
21182         * sysdeps/wordsize-64/tmpfile64.c: File removed.
21183         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21184         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21185
21186         * stdio-common/vfscanf.c: Include <stdbool.h>.
21187         * nss/makedb.c: Likewise.
21188         * stdio-common/_i18n_number.h: Likewise.
21189         * argp/argp-help.c: Likewise.
21190         * posix/wordexp.c: Likewise.
21191         * sysdeps/posix/spawni.c: Likewise.
21192         * nss/nss_files/files-initgroups.c: Likewise.
21193         * stdio-common/reg-modifier.c: Include <stdlib.h>.
21194         * nss/nss_files/files-initgroups.c: Likewise.
21195         * nss/nss_db/db-netgrp.c: Likewise.
21196         * nss/nss_db/db-initgroups.c: Likewise.
21197         * io/fchmodat.c: Include <sys/stat.h>.
21198
21199         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21200         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21201
21202         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21203         [HAVE_MMAP].
21204
21205         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21206         Add multiple inclusion protection.
21207
21208 2012-07-27  David S. Miller  <davem@davemloft.net>
21209
21210         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21211
21212 2012-07-27  Gary Benson  <gbenson@redhat.com>
21213
21214         [BZ #14298]
21215         * elf/rtld.c: Include <stap-probe.h>.
21216         (dl_main): Added static probes "init_start" and "init_complete".
21217         * elf/dl-load.c: Include <stap-probe.h>.
21218         (lose): Take new parameter "nsid".
21219         Added static probe "map_failed".
21220         (_dl_map_object_from_fd): Pass namespace id to lose.
21221         Added static probe "map_start".
21222         (open_verify): Pass namespace id to lose.
21223         * elf/dl-open.c: Include <stap-probe.h>.
21224         (dl_open_worker) Added static probes "map_complete", "reloc_start"
21225         and "reloc_complete".
21226         * elf/dl-close.c: Include <stap-probe.h>.
21227         (_dl_close_worker): Added static probes "unmap_start" and
21228         "unmap_complete".
21229         * elf/rtld-debugger-interface.txt: New file documenting the above.
21230
21231 2012-07-26  Roland McGrath  <roland@hack.frob.com>
21232
21233         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21234         rather than a string variable.
21235         * sunrpc/rpc_main.c (h_output): Likewise.
21236         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21237
21238 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
21239
21240         * inet/check_native.c: New file.
21241
21242 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
21243
21244         [BZ #13629]
21245         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21246         if larger part has absolute value 1.0.
21247         * math/s_clog10.c (__clog10): Likewise.
21248         * math/s_clog10f.c (__clog10f): Likewise.
21249         * math/s_clog10l.c (__clog10l): Likewise.
21250         * math/s_clogf.c (__clogf): Likewise.
21251         * math/s_clogl.c (__clogl): Likewise.
21252         * math/libm-test.inc (clog_test): Add more tests.
21253         (clog10_test): Likewise.
21254         * sysdeps/i386/fpu/libm-test-ulps: Update.
21255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21256
21257         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21258         (pltexit): Likewise.
21259         (La_regs): Likewise.
21260         (La_retval): Likewise.
21261         (int_retval): Likewise.
21262         Update #error for removed macros to refer only to definitions in
21263         tst-audit.h.
21264         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21265         macro.
21266         (pltexit): Likewise.
21267         (La_regs): Likewise.
21268         (La_retval): Likewise.
21269         (int_retval): Likewise.
21270         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21271         macro.
21272         (pltexit): Likewise.
21273         (La_regs): Likewise.
21274         (La_retval): Likewise.
21275         (int_retval): Likewise.
21276         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21277         macro.
21278         (pltexit): Likewise.
21279         (La_regs): Likewise.
21280         (La_retval): Likewise.
21281         (int_retval): Likewise.
21282         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21283         macro.
21284         (pltexit): Likewise.
21285         (La_regs): Likewise.
21286         (La_retval): Likewise.
21287         (int_retval): Likewise.
21288         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21289         macro.
21290         (pltexit): Likewise.
21291         (La_regs): Likewise.
21292         (La_retval): Likewise.
21293         (int_retval): Likewise.
21294         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21295         macro.
21296         (pltexit): Likewise.
21297         (La_regs): Likewise.
21298         (La_retval): Likewise.
21299         (int_retval): Likewise.
21300         * sysdeps/generic/tst-audit.h: Update comment to refer only to
21301         macro definitions in tst-audit.h.
21302         * sysdeps/i386/tst-audit.h: New file.
21303         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21304         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21305         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21306         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21307         * sysdeps/sh/tst-audit.h: Likewise.
21308         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21309         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21310         * sysdeps/x86_64/tst-audit.h: Likewise.
21311
21312 2012-07-26  Andreas Jaeger  <aj@suse.de>
21313
21314         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21315         ptrace.
21316
21317         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21318         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21319         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21320         PTRACE_O_MASK.
21321         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21322         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21323         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21324
21325         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21326         value.
21327
21328         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21329         _sigsys.
21330         (si_call_addr, si_syscall, si_arch): Define new macro.
21331         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21332         _sigsys.
21333         (si_call_addr, si_syscall, si_arch): Define new marcro.
21334         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21335         _sigsys.
21336         (si_call_addr, si_syscall, si_arch): Define new macro.
21337         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21338         _sigsys.
21339         (si_call_addr, si_syscall, si_arch): Define new macro.
21340
21341 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21342
21343         [BZ #13717]
21344         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21345         Change to 2.4.21 where previously 2.4.1.
21346         * sysdeps/unix/sysv/linux/configure: Regenerated.
21347         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21348         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21349         Linux kernel version.
21350         (__ASSUME_STD_AUXV): Remove.
21351         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21352         kernel version.
21353         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21354         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21355         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21356         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21357         (__ASSUME_NETLINK_SUPPORT): Likewise.
21358         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21359         (__no_netlink_support): Remove conditional definition.
21360         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21361         Remove.
21362         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21363         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21364         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21365         (if_nameindex_ioctl): Remove.
21366         (if_nameindex_netlink): Do not handle __no_netlink_support.
21367         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21368         code.
21369         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21370         Remove conditional code.
21371         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21372         code.
21373         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21374         unconditional.
21375         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21376         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21377         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21378         Remove.
21379         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21380         [!__ASSUME_STD_AUXV]: Remove conditional code.
21381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21382         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21383         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21385         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21386         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21387         code.
21388         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21390         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21391         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21392         conditional code.
21393         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21395         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21396         code.
21397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21398         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21399         conditional code.
21400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21401         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21402         code unconditional.
21403         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21404         conditional code.
21405         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21406         unconditional.
21407         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21408         conditional code.
21409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21410         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21411         unconditional.
21412         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21413         conditional code.
21414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21415         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21416         code unconditional.
21417         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21418         conditional code.
21419         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21420         unconditional.
21421         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21422         conditional code.
21423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21424         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21425         code unconditional.
21426         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21427         conditional code.
21428         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21429         unconditional.
21430         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21431         conditional code.
21432
21433 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
21434
21435         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21436         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21437         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21438         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21439         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21440         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21441         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21442         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21443         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21444         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21445         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21446         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21447         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21448         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21449         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21450         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21451         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21452         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21453         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21454         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21455         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21456         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21457         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21458
21459 2012-07-25  Florian Weimer  <fweimer@redhat.com>
21460
21461         * Versions.def: Add GLIBC_2.17.
21462         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21463         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21464         Introduce __libc_secure_getenv.
21465         * stdlib/Versions (2.17): Add secure_getenv
21466         (GLIBC_PRIVATE): Add __libc_secure_getenv.
21467         * stdlib/secure-getenv.c: Rename __secure_getenv to
21468         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
21469         symbol __secure_getenv for GLIBC_2.0.
21470         * stdlib/tst-secure-getenv.c: New.
21471         * stdlib/Makefile (tests): Add testcase.
21472         * manual/startup.texi (Environment Access): Document
21473         secure_getenv.
21474         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21475         __libc_secure_getenv.
21476         * inet/ruserpass.c (ruserpass): Likewise.
21477         * malloc/mtrace.c (mtrace): Likewise.
21478         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21479         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21480         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21481         * sysdeps/posix/tempname.c: Likewise.  Evaluate
21482         HAVE_SECURE_GETENV.
21483         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21484         __secure_getenv to __libc_secure_getenv.
21485         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21487         Likewise.
21488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21489         Likewise.
21490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21492         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21493         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21494         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21495         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21496         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21497
21498 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21499
21500         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21501         (struct La_i86_retval): Likewise.
21502         (struct La_x86_64_regs): Likewise.
21503         (struct La_x86_64_retval): Likewise.
21504         (struct La_x32_regs): Likewise.
21505         (struct La_x32_retval): Likewise.
21506         (struct La_ppc32_regs): Likewise.
21507         (struct La_ppc32_retval): Likewise.
21508         (struct La_ppc64_regs): Likewise.
21509         (struct La_ppc64_retval): Likewise.
21510         (struct La_sh_regs): Likewise.
21511         (struct La_sh_retval): Likewise.
21512         (struct La_s390_32_regs): Likewise.
21513         (struct La_s390_32_retval): Likewise.
21514         (struct La_s390_64_regs): Likewise.
21515         (struct La_s390_64_retval): Likewise.
21516         (struct La_sparc32_regs): Likewise.
21517         (struct La_sparc32_retval): Likewise.
21518         (struct La_sparc64_regs): Likewise.
21519         (struct La_sparc64_retval): Likewise.
21520         (struct audit_ifaces): Remove architecture-specific pltenter and
21521         pltexit members.
21522         * sysdeps/i386/ldsodefs.h: New file.
21523         * sysdeps/powerpc/ldsodefs.h: Likewise.
21524         * sysdeps/s390/ldsodefs.h: Likewise.
21525         * sysdeps/sh/ldsodefs.h: Likewise.
21526         * sysdeps/sparc/ldsodefs.h: Likewise.
21527         * sysdeps/x86_64/ldsodefs.h: Likewise.
21528
21529 2012-07-25  Marek Polacek  <polacek@redhat.com>
21530
21531         [BZ #6808]
21532         * math/libm-test.inc (yn_test): Add another test.
21533         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21534         to ERANGE when the result is +-Inf.
21535         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21536         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21537         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21538         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21539
21540 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
21541
21542         * conform/data/time.h-data (NULL): Use macro-constant.  Require
21543         equal to 0.
21544         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
21545         clock_t.
21546         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
21547
21548 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
21549
21550         * configure.in <sysdeps resolving>: Correct printing
21551         Implies_before.
21552         * configure: Regenerate.
21553
21554 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
21555
21556         * math/w_ilogb.c: Include <limits.h>.
21557         * math/w_ilogbl.c: Likewise.
21558
21559 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21560
21561         * manual/lang.texi (__va_copy): Document primarily as ISO C99
21562         va_copy.  Document allowing for unavailable va_copy only as
21563         pre-C99 compatibility.
21564         * manual/string.texi (Copying and Concatenation): Use va_copy
21565         instead of __va_copy in concat example.
21566
21567 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
21568
21569         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21570         (__sendto): Use create_address_port.  Initialize APORT and deallocate
21571         it if not null.
21572
21573         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21574         with O_NOLINK passed to __file_name_lookup.
21575
21576         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21577         with O_NOLINK passed to __file_name_lookup.
21578
21579         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21580         negative N or less than NGIDS.
21581
21582         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21583         type to string_t.  Set ERANGE as errno and return it if NAME is not big
21584         enough.  Use memcpy instead of strncpy.
21585
21586 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21587
21588         * elf/Makefile (check-data): Remove.
21589         (localplt.data): New vpath directive.
21590         ($(objpfx)check-localplt.out): Use localplt.data from vpath
21591         instead of $(check-data).
21592         * scripts/data/localplt-generic.data: Move to ...
21593         * sysdeps/generic/localplt.data: ... here.
21594         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21595         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21596         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21598         ... here.
21599         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21601         ... here.
21602         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21604         ... here.
21605         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21607         ... here.
21608         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21609         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21610         ... here.
21611         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21612         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21613         ... here.
21614
21615 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21616
21617         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21618         PPC32 and PPC64 files.
21619         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21620         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21621
21622 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21623
21624         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21625         __makecontext_ret to ...
21626         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21627         ... here and call exit if uc_link is NULL.  New file.
21628         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21629         __makecontext_ret.S.
21630         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21631         __makecontext_ret to ...
21632         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21633         ... here and call exit if uc_link is NULL.  New file.
21634         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21635         __makecontext_ret.S.
21636
21637 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21638
21639         * elf/elf.h (R_390_IRELATIVE): New definition.
21640         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21641         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
21642         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21643         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21644         (elf_machine_lazy_rel): Likewise.
21645         * sysdeps/s390/dl-irel.h: New file.
21646         * sysdeps/s390/s390-64/memcpy.S: New asm code.
21647         * sysdeps/s390/s390-64/memset.S: New asm code.
21648         * sysdeps/s390/s390-64/memcmp.S: New asm code.
21649         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21650         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21651         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21652         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21653         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21654         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21655         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21656         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21657         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21658         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21659         * sysdeps/s390/s390-32/memcpy.S: New asm code.
21660         * sysdeps/s390/s390-32/memset.S: New asm code.
21661         * sysdeps/s390/s390-32/memcmp.S: New asm code.
21662
21663 2012-07-17  Marek Polacek  <polacek@redhat.com>
21664
21665         [BZ #14349]
21666         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21667         * sysdeps/s390/s390-64/configure.in: Likewise.
21668         * sysdeps/sparc/configure.in: Likewise.
21669         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21670         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21671         * sysdeps/i386/configure.in: Likewise.
21672         * sysdeps/x86_64/configure.in: Likewise.
21673         * sysdeps/sh/configure.in: Likewise.
21674         * sysdeps/s390/s390-32/configure: Regenerated.
21675         * sysdeps/s390/s390-64/configure: Likewise.
21676         * sysdeps/x86_64/configure: Likewise.
21677         * sysdeps/sh/configure: Likewise.
21678         * sysdeps/powerpc/powerpc64/configure: Likewise.
21679         * sysdeps/powerpc/powerpc32/configure: Likewise.
21680         * sysdeps/sparc/configure: Likwise.
21681         * sysdeps/i386/configure: Likewise.
21682
21683         * elf/dl-open.c: Comment fixes.
21684
21685 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
21686
21687         * Makefile [CXX] (check-data): Remove.
21688         [CXX] (c++-types.data): New vpath directive.
21689         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21690         vpath.  Do not allow for C++ type data being missing.
21691         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21692         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21693         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21694         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21695         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21696         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21697         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21699         ... here.
21700         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21702         ... here.
21703         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21704         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21705         ... here.
21706         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21707         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21708         ... here.
21709         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21710         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21711         ... here.
21712         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21713         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21714         ... here.
21715         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21716         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21717         ... here.
21718         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21719         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21720
21721         * elf/tls-macros.h (TLS_LE): Move architecture-specific
21722         definitions to architecture-specific files.
21723         (TLS_IE): Likewise.
21724         (TLS_LD): Likewise.
21725         (TLS_GD): Likewise.
21726         * sysdeps/i386/tls-macros.h: New file.
21727         * sysdeps/powerpc/tls-macros.h: Likewise.
21728         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21729         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21730         * sysdeps/sh/tls-macros.h: Likewise.
21731         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21732         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21733         * sysdeps/x86_64/tls-macros.h: Likewise.
21734
21735 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21736
21737         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21738         zero value for regular exit case.
21739
21740         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21741         (__start_context): Preserve zero value for regular exit case.
21742
21743 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21744             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21745
21746         * manual/setjmp.texi (setcontext): Clarify normal process
21747         termination when uc_link is the null pointer.
21748         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21749         exit call.
21750
21751 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
21752
21753         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21754         preprocessor.  Test for each exception mask separately.
21755
21756 2012-07-16  Andreas Jaeger  <aj@suse.de>
21757
21758         * po/ru.po: Update from translation team.
21759
21760 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
21761
21762         * conform/data/string.h-data (NULL): Use macro-constant.  Require
21763         equal to 0.
21764         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21765         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21766         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21767         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21768         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21769
21770 2012-07-13  Andreas Jaeger  <aj@suse.de>
21771
21772         * po/fr.po: Update from translation team.
21773
21774 2012-07-12  Marek Polacek  <polacek@redhat.com>
21775
21776         [BZ #14173]
21777         * math/libm-test.inc (yn_test): Add test for BZ #14173.
21778         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21779         loop condition.
21780
21781 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
21782
21783         [BZ #13717]
21784         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21785         Change to 2.4.1 where previously 2.4.0.
21786         * sysdeps/unix/sysv/linux/configure: Regenerated.
21787         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21788         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21789         version.
21790         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21791         (__ASSUME_AT_CLKTCK): Remove.
21792         (__ASSUME_AT_PAGESIZE): Likewise.
21793         (__ASSUME_AT_XID): Likewise.
21794         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21795         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21796         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21797         unconditionally.
21798         (HAVE_AUX_PAGESIZE): Likewise.
21799         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21800         [__ASSUME_AT_CLKTCK]: Make code unconditional.
21801         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21802
21803 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
21804
21805         [BZ #14307]
21806         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21807         the temporary buffer used to invoke __gethostbyname2_r,
21808         __gethostbyaddr_r and gethostbyname4_r to make room for struct
21809         host_data / struct gaih_addrtuple.
21810         * resolv/nss_dns/dns-host.c (global scope): Move definition of
21811         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21812         header file nss/nsswitch.h.
21813         * nss/nsswitch.h (global scope): Add definition of implementation
21814         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21815         resolv/nss_dns/dns-host.c).
21816
21817 2012-07-11  Andreas Jaeger  <aj@suse.de>
21818
21819         * po/fr.po: Update from translation team.
21820
21821         * po/sv.po: Update from translation team
21822         * po/fr.po: Another update from translation team.
21823
21824 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21825
21826         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21827         for subnormals or multiply small sinh result by itself.
21828         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21830
21831 2012-07-11  David S. Miller  <davem@davemloft.net>
21832
21833         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21834
21835 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
21836
21837         [BZ #14347]
21838         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21839         (INTERNAL_MARK): Shift it here.
21840
21841 2012-07-10  Marek Polacek  <polacek@redhat.com>
21842
21843         [BZ #14151]
21844         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
21845         libc_cv_asm_global_directive with .globl.
21846         * configure: Regenerated.
21847         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21848         with .globl.
21849         * sysdeps/i386/configure: Regenerated.
21850         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21851         with .globl.
21852         * sysdeps/x86_64/configure: Regenerated.
21853         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21854         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21855         * elf/tst-unique2mod2.c: Likewise.
21856         * elf/tst-unique2mod1.c: Likewise.
21857         * elf/tst-unique1mod2.c: Likewise.
21858         * elf/tst-unique1mod1.c: Likewise.
21859         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21860         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21861         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21862         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21863         * sysdeps/mach/sysdep.h: Likewise.
21864         * sysdeps/i386/sysdep.h: Likewise.
21865         * sysdeps/i386/i386-mcount.S: Likewise.
21866         * sysdeps/x86_64/_mcount.S: Likewise.
21867         * sysdeps/x86_64/sysdep.h: Likewise.
21868         * sysdeps/sh/_mcount.S: Likewise.
21869         * sysdeps/sh/sysdep.h: Likewise.
21870         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21871         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21872         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21873         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21874         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21875         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21876         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21877         * locale/localeinfo.h: Likewise.
21878         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21879         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21880
21881 2012-07-09  Roland McGrath  <roland@hack.frob.com>
21882
21883         [BZ #14336]
21884         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21885         system".
21886         * manual/message.texi (The Uniforum approach): Likewise.
21887         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21888         (glibc iconv Implementation): Likewise.
21889
21890 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
21891
21892         [BZ #14337]
21893         * math/s_clog.c (__clog): Avoid scaling a value down where that
21894         could result in underflow.
21895         * math/s_clog10.c (__clog10): Likewise.
21896         * math/s_clog10f.c (__clog10f): Likewise.
21897         * math/s_clog10l.c (__clog10l): Likewise.
21898         * math/s_clogf.c (__clogf): Likewise.
21899         * math/s_clogl.c (__clogl): Likewise.
21900         * math/libm-test.inc (clog_test): Add more tests.
21901         (clog10_test): Likewise.
21902         * sysdeps/i386/fpu/libm-test-ulps: Update.
21903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21904
21905 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
21906
21907         [BZ #14283]
21908         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21909         by 7 not 8 to examine high bit of fractional part.
21910
21911         [BZ #14042]
21912         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21913         for call to __mcount_internal.
21914         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21915         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21916         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21917
21918 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
21919
21920         [BZ #14154]
21921         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21922         approximation for values within 0x1p-13f of an odd multiple of
21923         pi/4.
21924         * math/libm-test.inc (tan_test): Do not allow spurious underflow
21925         exception.  Add more tests.
21926         * sysdeps/i386/fpu/libm-test-ulps: Update.
21927
21928         [BZ #6778]
21929         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21930         inputs and return -1 for them.  Do not check for +Inf in case not
21931         reachable for +Inf.
21932         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21933         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21934         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21935         and return -1 for them.  Do not check for +Inf in case not
21936         reachable for +Inf.
21937         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21938         define.
21939         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21940         and return -1 for them.  Do not check for +Inf in case not
21941         reachable for +Inf.
21942         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
21943         spurious underflow.
21944         * sysdeps/i386/fpu/libm-test-ulps: Update.
21945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21946
21947 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
21948
21949         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21950
21951 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
21952
21953         [BZ #14157]
21954         [BZ #14331]
21955         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21956         could result in spurious underflow.  Scale down values above
21957         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21958         * math/s_csqrtf.c (__csqrtf): Likewise.
21959         * math/s_csqrtl.c (__csqrtl): Likewise.
21960         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
21961         spurious underflow.
21962         * sysdeps/i386/fpu/libm-test-ulps: Update.
21963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21964
21965 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
21966
21967         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21968         xopen-msg.sed.
21969         * catgets/xopen-msg.awk: New file.
21970         * catgets/xopen-msg.sed: Removed.
21971
21972         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21973         po2text.sed.
21974         * intl/po2test.awk: New file.
21975         * intl/po2test.sed: Removed.
21976
21977 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
21978
21979         [BZ #14328]
21980         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21981         or multiply small sinh result by itself.
21982         * math/s_ctanf.c (__ctanf): Likewise.
21983         * math/s_ctanh.c (__ctanh): Likewise.
21984         * math/s_ctanhf.c (__ctanhf): Likewise.
21985         * math/s_ctanhl.c (__ctanhl): Likewise.
21986         * math/s_ctanl.c (__ctanl): Likewise.
21987         * math/libm-test.inc (ctan_test_tonearest): New function.
21988         (ctan_test_towardzero): Likewise.
21989         (ctan_test_downward): Likewise.
21990         (ctan_test_upward): Likewise.
21991         (ctanh_test_tonearest): Likewise.
21992         (ctanh_test_towardzero): Likewise.
21993         (ctanh_test_downward): Likewise.
21994         (ctanh_test_upward): Likewise.
21995         (main): Call these new functions.
21996         * sysdeps/i386/fpu/libm-test-ulps: Update.
21997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21998
21999 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
22000
22001         * .gitignore: Delete /ports entry.
22002
22003 2012-07-03  Andreas Jaeger  <aj@suse.de>
22004
22005         * po/bg.po: Update from translation team.
22006         * po/cs.po: Likewise.
22007         * po/de.po: Likewise.
22008         * po/hr.po: Likewise.
22009         * po/nl.pl: Likewise.
22010         * po/pl.po: Likewise.
22011         * po/vi.po: Likewise.
22012
22013 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
22014
22015         * Makeconfig [!+link] (+link-before-libc): New variable.
22016         [!+link] (+link-after-libc): Likewise.
22017         [!+link] (+link-tests): Likewise.
22018         [!+link] (+link): Define in terms of $(+link-before-libc) and
22019         $(+link-after-libc).
22020         [!+link-static] (+link-static-before-libc): New variable.
22021         [!+link-static] (+link-static-after-libc): Likewise.
22022         [!+link-static] (+link-static-tests): Likewise.
22023         [!+link-static] (+link-static): Define in terms of
22024         $(+link-static-before-libc) and $(+link-static-after-libc).
22025         [build-shared] (link-libc-before-gnulib): New variable.
22026         [build-shared] (link-libc-tests): Likewise.
22027         [build-shared] (link-libc): Define in terms of
22028         $(link-libc-before-gnulib).
22029         [!build-shared] (link-libc-tests): New variable.
22030         (link-libc-static-tests): New variable.
22031         [!gnulib] (gnulib-arch): New variable.
22032         [!gnulib] (gnulib-tests): Likewise.
22033         [!gnulib] (static-gnulib-arch): Likewise.
22034         [!gnulib] (static-gnulib-tests): Likewise.
22035         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
22036         Define with "=" instead of ":=".
22037         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
22038         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
22039         * Rules (binaries-all-notests): New variable.
22040         (binaries-all-tests): Likewise.
22041         (binaries-static-notests): Likewise.
22042         (binaries-static-tests): Likewise.
22043         (binaries-all): Define using $(binaries-all-notests) and
22044         $(binaries-all-tests).
22045         (binaries-static): Define using $(binaries-static-notests) and
22046         $(binaries-static-tests).
22047         (binaries-shared-tests): New variable.
22048         (binaries-shared-notests): Likewise.
22049         (binaries-shared): Remove variable.
22050         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22051         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22052         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22053         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22054         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22055         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22056         * elf/Makefile (sln-modules): New variable.
22057         (extra-objs): Add $(sln-modules:=.o).
22058         (ldconfig-modules): Add static-stubs.
22059         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22060         * elf/static-stubs.c: New file.
22061
22062         [BZ #14283]
22063         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22064         by 7 not 8 to examine high bit of fractional part.  Use volatile
22065         variables when splitting into final array of floats if
22066         __FLT_EVAL_METHOD__ != 0.
22067         * math/libm-test.inc (cos_test): Add another test.
22068         (sin_test): Likewise.
22069         * sysdeps/i386/fpu/libm-test-ulps: Update.
22070
22071         [BZ #14273]
22072         * math/libm-test.inc (cosh_test): Add more tests.
22073
22074         * version.h (RELEASE): Set to "development".
22075         (VERSION): Set to "2.16.90".
22076
22077 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
22078
22079         * NEWS: Update copyright. Remove last-updated date.
22080         Mention math library bug fixes and timezone data changes.
22081         * README: Mention GNU/Hurd, x32, and HPPA support status.
22082
22083 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
22084
22085         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22086
22087 2012-06-27  Andreas Jaeger  <aj@suse.de>
22088
22089         * manual/contrib.texi (Contributors): Add Samuel Thibault.
22090
22091 2012-06-25  Andreas Jaeger  <aj@suse.de>
22092
22093         * sysdeps/s390/fpu/libm-test-ulps: Update.
22094
22095 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
22096             Thomas Schwinge  <thomas@codesourcery.com>
22097
22098         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22099         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22100         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22101         fanotify_mark.
22102
22103 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
22104
22105         * sysdeps/mach/start.c: Remove file.
22106         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22107         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22108         * sysdeps/sh/init-first.c: Likewise.
22109
22110         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22111         registers for frame unwinding purposes, add CFI directives.
22112         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22113         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22114         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22115         Likewise.
22116
22117         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22118         __fortify_fail returning.
22119         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22120
22121         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22122         sysdeps/sh/____longjmp_chk.S.
22123         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22124         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22125         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22126         (gen-as-const-headers): Append sigaltstack-offsets.sym.
22127
22128         * sysdeps/sh/abort-instr.h: New file.
22129         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22130         process in case exit returns.
22131
22132         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22133         initialize the GOT register before use.
22134
22135         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22136         calculation of ARGC > 4.
22137
22138         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22139         meaningful names to some local labels.
22140
22141 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22142             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22143
22144         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22145         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22146         (__arch_compare_and_exchange_val_16_acq): Likewise.
22147         (__arch_compare_and_exchange_val_32_acq): Likewise.
22148         (atomic_exchange_and_add): Fix gUSA sequence.
22149         (atomic_add): Likewise.
22150         (atomic_add_negative): Likewise.
22151         (atomic_add_zero): Likewise.
22152         (atomic_bit_test_set): Likewise.
22153
22154 2012-06-22  Andreas Schwab  <schwab@redhat.com>
22155
22156         [BZ #13579]
22157         * include/link.h (struct link_map): Add l_free_initfini.
22158         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22159         l_initfini.
22160         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22161         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22162         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22163         set.
22164
22165 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
22166
22167         * configure.in: Use AC_LANG_SOURCE.
22168         * configure: Regenerate.
22169
22170 2012-06-22  Roland McGrath  <roland@hack.frob.com>
22171
22172         * configure.in (libc_cv_localstatedir): New substituted variable.
22173         * configure: Regenerated.
22174         * config.make.in (localstatedir): New variable, substituted from
22175         libc_cv_localstatedir.
22176         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22177         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22178         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22179         * sysdeps/gnu/configure: Regenerated.
22180
22181 2012-06-21  Jeff Law  <law@redhat.com>
22182
22183         [BZ #14277]
22184         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22185         free.  Simplify list management for _LIBC case.
22186
22187 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
22188
22189         [BZ #14273]
22190         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22191         Clear sign bit of 64-bit integer value before comparing against
22192         overflow value.
22193
22194         * sysdeps/mach/configure: Regenerated.
22195
22196 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
22197
22198         [BZ #14278]
22199         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22200
22201 2012-06-21  Jeff Law  <law@redhat.com>
22202
22203         [BZ #13882]
22204         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
22205         uint16_t for elements in the "seen" array to avoid char overflows.
22206         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22207         * elf/dl-open.c (dl_open_worker): Likewise.
22208
22209 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
22210
22211         * scripts/list-sources.sh: Scan PORTS for translations.
22212         * po/libc.pot: Regenerated.
22213
22214 2012-06-21  Andreas Jaeger  <aj@suse.de>
22215
22216         [BZ #12194]
22217         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22218         warning.
22219         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22220         * bits/byteswap-16.h (__bswap_16): Likewise.
22221         * bits/byteswap.h (__bswap_constant_16): Likewise.
22222
22223 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
22224
22225         [BZ #14117]
22226         * sysdeps/i386/fpu_control.h: Removed.
22227         * sysdeps/x86_64/fpu_control.h: Moved to ...
22228         * sysdeps/x86/fpu_control.h: Here.
22229
22230         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22231         (_FPU_SETCW): Likewise.
22232
22233 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
22234
22235         [BZ #14117]
22236         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22237         * sysdeps/x86/fpu/bits/mathinline.h: This.
22238         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22239
22240         [BZ #14050]
22241         [BZ #14117]
22242         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22243         functions if __x86_64__ is defined.
22244
22245 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
22246
22247         * string/endian.h: Add !__ASSEMBLER__ condition for including
22248         conversion interfaces.
22249
22250 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
22251
22252         [BZ #14241]
22253         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22254         of ABS(x) in calculating zero to negative powers other than odd
22255         integers.
22256         * math/libm-test.inc (pow_test): Add more tests.
22257
22258 2012-06-15  Andreas Jaeger  <aj@suse.de>
22259
22260         * manual/contrib.texi (Contributors): Update entry of Liubov
22261         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22262         Machado Filho.
22263
22264 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
22265
22266         * string/string.h: Add __wur to GNU version of strerror_r.
22267
22268 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
22269
22270         [BZ #14229]
22271         * string/Makefile (tests): Add tst-strtok_r.
22272         * string/tst-strtok_r.c: New file.
22273         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22274         RAX_LP/RDX_LP on SAVE_PTR.
22275
22276 2012-06-14  Roland McGrath  <roland@hack.frob.com>
22277
22278         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22279
22280 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
22281
22282         * libm_test.inc (csqrt_test): Allow more spurious underflow
22283         exceptions.
22284         (j0_test): Likewise.
22285         (j1_test): Likewise.
22286         (y0_test): Likewise.
22287         (y1_test): Likewise.
22288
22289 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
22290
22291         * po/Makefile (libc.pot): Use UTF-8 charset.
22292
22293 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
22294
22295         [BZ #14210]
22296         Suppress sign-conversion warning from FD_SET.
22297         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22298         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22299         not unsigned long int.
22300         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22301
22302 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
22303
22304         [BZ #14050]
22305         [BZ #14117]
22306         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22307         __extern_always_inline instead of __extern_inline.
22308         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22309         (__signbit): Likewise.
22310         (__signbitl): Support C++ namespace.
22311         (lrintf): New inline function.
22312         (lrint): Likewise.
22313         (llrintf): Likewise.
22314         (llrint): Likewise.
22315         (fmaxf): Likewise.
22316         (fmax): Likewise.
22317         (fminf): Likewise.
22318         (fmin): Likewise.
22319         (rint): Likewise.
22320         (rintf): Likewise.
22321         (ceil): Likewise.
22322         (ceilf): Likewise.
22323         (floor): Likewise.
22324         (floorf): Likewise.
22325         (nearbyint): Likewise.
22326         (nearbyintf): Likewise.
22327
22328 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
22329
22330         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22331         non-default versions.
22332
22333 2012-06-11  Roland McGrath  <roland@hack.frob.com>
22334
22335         [BZ #14218]
22336         * manual/argp.texi (Argp): Reword argp_parse description slightly.
22337
22338 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
22339
22340         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22341         (FE_UPWARD, FE_DOWNWARD): Don't define.
22342         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22343         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22344
22345         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22346         reading it.
22347         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22348         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22349
22350 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22351
22352         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22353         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22354         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22355         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22356
22357 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
22358
22359         [BZ #14117]
22360         * sysdeps/i386/fpu/bits/fenv.h: Removed.
22361         * sysdeps/i386/fpu/Implies: New file.
22362         * sysdeps/x86_64/fpu/Implies: Likewise.
22363         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22364         * sysdeps/x86/fpu/bits/fenv.h: This.
22365
22366         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22367         __SSE_MATH__.
22368
22369 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22370
22371         [BZ #14134]
22372         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22373         character 0xffff that matches the last element of the
22374         conversion table.
22375
22376 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22377
22378         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22379         fmodl commit.
22380
22381 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22382
22383         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22384         values higher than 25.6283.
22385
22386 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22387
22388         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22389         subnormal exponent extraction and add some __builtin_expect.
22390         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22391         Fix for subnormal mantissa calculation.
22392
22393 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
22394
22395         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22396         cpu2 is -1 and errno is not ENOSYS.
22397
22398 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
22399
22400         [BZ #14117]
22401         * sysdeps/i386/i486/bits/string.h: Renamed to ...
22402         * sysdeps/x86/bits/string.h: This.
22403         * sysdeps/x86_64/bits/string.h: Removed.
22404
22405         * sysdeps/i386/i486/bits/string.h: Define inline functions only
22406         if not compiling for x86-64, but compiling for >= i486.
22407
22408         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22409         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22410
22411         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22412         New macro from Linux kernel 3.4.0.
22413         (FP_XSTATE_MAGIC2): Likewise.
22414         (FP_XSTATE_MAGIC2_SIZE): Likewise.
22415         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22416         (struct _fpx_sw_bytes): New struct.
22417         (struct _xsave_hdr): Likewise.
22418         (struct _ymmh_state): Likewise.
22419         (struct _xstate): Likewise.
22420
22421         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22422         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22423         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22424         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22425         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22426         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22427
22428         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22429         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22430         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22431         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22432         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22433         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22434
22435 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22436
22437         [BZ #13743]
22438         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22439         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22440         (sysdep_headers): Include sys/platform/ppc.h.
22441         * sysdeps/powerpc/test-gettimebase.c: Test for
22442         __ppc_get_timebase() to catch future ISA opcode/insn changes.
22443         * manual/Makefile (appendices): Include platform.texi.
22444         * manual/contrib.texi (Contributors): Update @node pointers.
22445         * manual/maint.texi (Maintenance): Likewise.
22446         (Platform): New node.
22447         * manual/platform.texi: New file.  Document the new features.
22448
22449 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22450             Jakub Jelinek  <jakub@redhat.com>
22451
22452         [BZ #14188]
22453         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22454         where __builtin_expect is unavailable.
22455
22456 2012-06-03  David S. Miller  <davem@davemloft.net>
22457
22458         * stdlib/longlong.h: Updated from GCC.
22459
22460 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
22461
22462         [BZ #14042]
22463         * sysdeps/powerpc/powerpc32/mcount.c: New file.
22464         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22465         __mcount_internal.
22466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22467         (GLIBC_2.16): Likewise.
22468
22469 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22470
22471         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22472
22473 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22474
22475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22476         (default-abi): New variable.
22477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22478         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22479         variable.
22480         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22481         Likewise.
22482         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22483         Likewise.
22484         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22485         Likewise.
22486
22487         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22488         definition.  Document in comment.
22489
22490 2012-06-01  David S. Miller  <davem@davemloft.net>
22491
22492         * stdlib/longlong.h: Updated from GCC.
22493
22494 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22495
22496         [BZ #14117]
22497         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22498         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22499         sys/debugreg.h sys/io.h here.
22500         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22501         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22502         sys/io.h.
22503         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22504         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22505         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22506         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22507         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22508         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22509
22510         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22511         Define only if __x86_64__ is defined.
22512
22513 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22514
22515         [BZ #14048]
22516         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22517         Use int64_t for variable i.
22518         * math/libm-test.inc (fmod_test): Add more tests.
22519
22520         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22521         z computation is not scheduled after fetestexcept.
22522         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22523         Use math_force_eval instead of asm to ensure calculation scheduled
22524         before exception test.
22525         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22526         Ensure a1 + u.d computation is not scheduled after fetestexcept.
22527
22528 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
22529
22530         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22531         computation is not scheduled after fetestexcept.
22532
22533 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22534
22535         [BZ #14117]
22536         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22537         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22538
22539 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22540
22541         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22542         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22543
22544 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22545
22546         [BZ #14117]
22547         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22548         <bits/wordsize.h>.
22549         (__WCHAR_MIN): Support __WORDSIZE == 64.
22550         (__WCHAR_MAX): Likewise.
22551
22552         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22553         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22554
22555         [BZ #14183]
22556         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22557         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22558
22559         [BZ #14117]
22560         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22561         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22562
22563         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22564         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22565
22566         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22567         Defined to 1 if __x86_64__ isn't defined.
22568         (_STAT_VER_LINUX_OLD): New.
22569         (st_atime): Remove duplicate.
22570         (st_mtime): Likewise.
22571         (st_ctime): Likewise.
22572
22573 2012-05-31  David S. Miller  <davem@davemloft.net>
22574
22575         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22576         entries.
22577
22578 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
22579
22580         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22581         gen-libm-test.pl.
22582
22583         [BZ #14132]
22584         * elf/dl-reloc.c: Include <_itoa.h>.
22585         (_dl_reloc_bad_type): Remove use of INTUSE.
22586         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22587         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22588         * stdio-common/psiginfo.c (psiginfo): Likewise.
22589         * stdio-common/psignal.c (psignal): Likewise.
22590         * string/strsignal.c (strsignal): Likewise.
22591         * include/signal.h (_sys_siglist): Declare hidden proto.
22592         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
22593         INTVARDEF with libc_hidden_data_def.
22594         * stdio-common/itoa-udigits.c: Likewise.
22595         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22596         (_itoa_lower_digits_internal): Remove declaration.
22597         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22598         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22599         (_sys_sigabbrev_internal): Remove aliases.
22600         (_sys_siglist): Define hidden alias.
22601
22602 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
22603
22604         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22605         bits/sysctl.h.
22606
22607 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22608
22609         [BZ #14117]
22610         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22611         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22612
22613         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22614         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22615         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22616         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22617         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22618         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22619
22620         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22621         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22622         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22623
22624         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22625         with __addr.
22626         (insw): Likewise.
22627         (insl): Likewise.
22628         (outsb): Likewise.
22629         (outsw): Likewise.
22630         (outsl): Likewise.
22631
22632         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22633         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22634         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22635
22636         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22637         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22638         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22639         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22640         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22641         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22642
22643         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22644         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22645
22646         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22647         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22648
22649         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22650         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22651         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22652
22653         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22654         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22655         to ...
22656         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22657
22658         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22659         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22660         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22661
22662         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22663         for x86-64.
22664         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22665
22666 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
22667
22668         * math/math.h (M_El): Use two more decimal places.
22669         (M_LOG2El): Likewise.
22670         (M_LOG10El): Likewise.
22671         (M_LN2l): Likewise.
22672         (M_LN10l): Likewise.
22673         (M_PIl): Likewise.
22674         (M_PI_2l): Likewise.
22675         (M_PI_4l): Likewise.
22676         (M_1_PIl): Likewise.
22677         (M_2_PIl): Likewise.
22678         (M_2_SQRTPIl): Likewise.
22679         (M_SQRT2l): Likewise.
22680         (M_SQRT1_2l): Likewise.
22681
22682 2012-05-31  David S. Miller  <davem@davemloft.net>
22683
22684         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22685         values between float registers.
22686         * sysdeps/sparc/sparc64/memset.S: Likewise.
22687         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22688
22689 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
22690
22691         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22692         -D_FORTIFY_SOURCE=1.
22693         (CPPFLAGS-tst-longjmp_chk.c): Define.
22694         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22695         (CPPFLAGS-tst-longjmp_chk2.c): Define.
22696         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22697         CFLAGS-tst-wchar-h.c.
22698
22699 2012-05-31  Marek Polacek  <polacek@redhat.com>
22700
22701         [BZ #14132]
22702         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22703         __endmntent_internal): Remove declaration.
22704         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22705         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22706         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22707
22708 2012-05-30  David S. Miller  <davem@davemloft.net>
22709
22710         * sysdeps/sparc/sparc32/soft-fp/q_util.c
22711         (___Q_simulate_exceptions): Use real FP ops rather than writing
22712         into the %fsr.
22713         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22714         Likewise.
22715
22716 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22717
22718         [BZ #14117]
22719         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22720         * sysdeps/x86/bits/xtitypes.h: This.
22721
22722         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22723         * sysdeps/x86/bits/wordsize.h: This.
22724
22725         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22726         * sysdeps/x86/bits/huge_vall.h: This.
22727
22728         * sysdeps/i386/bits/select.h: Removed.
22729         * sysdeps/x86_64/bits/select.h: Renamed to ...
22730         * sysdeps/x86/bits/select.h: This.
22731
22732         * sysdeps/i386/bits/setjmp.h: Removed.
22733         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22734         * sysdeps/x86/bits/setjmp.h: This.
22735
22736         * sysdeps/i386/bits/mathdef.h: Removed.
22737         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22738         * sysdeps/x86/bits/mathdef.h: This.
22739
22740 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
22741
22742         [BZ #14132]
22743         * include/sys/socket.h (__connect_internal)
22744         (__libc_sa_len_internal): Remove declaration.
22745         (__connect, __libc_sa_len): Declare hidden_proto.
22746         (SA_LEN): Remove use of INTUSE.
22747         * socket/connect.c: Add libc_hidden_def.
22748         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22749         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22750         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22751         alias.
22752         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22753         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22754         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22755         of adding _internal alias.
22756
22757 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22758
22759         [BZ #14117]
22760         * sysdeps/i386/bits/link.h: Removed.
22761         * sysdeps/i386/bits/linkmap.h: Likewise.
22762         * sysdeps/x86_64/bits/link.h: Renamed to ...
22763         * sysdeps/x86/bits/link.h: This.
22764         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22765         * sysdeps/x86/bits/linkmap.h: This.
22766
22767         * sysdeps/i386/bits/endian.h: Removed.
22768         * sysdeps/x86_64/bits/endian.h: Renamed to ...
22769         * sysdeps/x86/bits/endian.h: This.
22770
22771         * sysdeps/i386/bits/byteswap.h: Removed.
22772         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22773         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22774         * sysdeps/x86/bits/byteswap.h: This.
22775         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22776         * sysdeps/x86/bits/byteswap-16.h: This.
22777         * sysdeps/i386/Implies: Add x86.
22778         * sysdeps/x86_64/Implies: Likewise.
22779
22780 2012-05-30  David S. Miller  <davem@davemloft.net>
22781
22782         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22783         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22784         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22785         (FP_TRAPPING_EXCEPTIONS): Define.
22786         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22787         (FP_TRAPPING_EXCEPTIONS): Define.
22788         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22789         subnormals only when inexact has been signalled or underflow
22790         exceptions are enabled.
22791         (_FP_PACK_CANONICAL): Likewise.
22792
22793 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22794
22795         [BZ #14183]
22796         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22797         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22798
22799 2012-05-30  Richard Henderson  <rth@twiddle.net>
22800
22801         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22802         with #ifndef NOT_IN_libc.
22803
22804         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
22805         marked to avoid plt entry.
22806
22807 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22808
22809         [BZ #14112]
22810         * Makeconfig (default-abi): New macro.
22811         (abi-includes): Likewise.
22812         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
22813         $(abi-$(default-abi)-lib-soname) for soname if defined.
22814         ($(common-objpfx)gnu/lib-names.stmp): Generate from
22815         abi-variants.
22816         * Makefile (installed-stubs): Likewise.
22817         * include/stubs-biarch.h: Removed.
22818         * scripts/lib-names.awk: Only handle one library at a time.
22819         * scripts/soversions.awk: Remove WORDSIZE support.
22820         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22821         entries.
22822         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22823         Removed.
22824         (syscall-list-default-condition): Likewise.
22825         (syscall-list-default-condition): Likewise.
22826         (syscall-list-includes): Likewise.
22827         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22828         syscall-list-* with abi-*.  Handle undefined abi-variants.
22829         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22830         * sysdeps/unix/sysv/linux/i386/Implies: New file.
22831         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22832         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22833         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22834         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22835         Removed.
22836         (syscall-list-32-options): Likewise.
22837         (syscall-list-32-condition): Likewise.
22838         (syscall-list-64-options): Likewise.
22839         (syscall-list-64-condition): Likewise.
22840         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22841         macro.
22842         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22843         Renamed to ...
22844         (abi-*): This.
22845         (abi-64-ld-soname): New macro.
22846         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22847         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22848         Renamed to ...
22849         (abi-*): This.
22850         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22851         * sysdeps/x86_64/x32/shlib-versions: Likewise.
22852
22853 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
22854
22855         * sysdeps/unix/sysv/linux/kernel-features.h
22856         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22857         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22858         include <kernel-features.h>.
22859         [!__NR_ftruncate64]: Remove conditional code.
22860         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22861         [__NR_ftruncate64]: Make code unconditional.
22862         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22863         * sysdeps/unix/sysv/linux/truncate64.c: Do not
22864         include <kernel-features.h>.
22865         [!__NR_ftruncate64]: Remove conditional code.
22866         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22867         [__NR_ftruncate64]: Make code unconditional.
22868         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22870         include <kernel-features.h>.
22871         [!__NR_ftruncate64]: Remove conditional code.
22872         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22873         [__NR_ftruncate64]: Make code unconditional.
22874         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22876         include <kernel-features.h>.
22877         [!__NR_ftruncate64]: Remove conditional code.
22878         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22879         [__NR_ftruncate64]: Make code unconditional.
22880         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22881
22882         * configure.in (libc_cv_fpie): Weaken to a compile test using
22883         LIBC_TRY_CC_OPTION.
22884         * configure: Regenerated.
22885
22886 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22887
22888         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22889         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22891         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22892         Refreshed.
22893         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22894         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22895         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22896         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22897         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22898         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22899         Refreshed.
22900
22901 2012-05-27  David S. Miller  <davem@davemloft.net>
22902
22903         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22904         (___Q_zero): New.
22905         (__Q_simulate_exceptions): Return void.  Change to simulate
22906         exceptions by writing into the %fsr.
22907         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22908         (__Qp_handle_exceptions): Likewise.
22909         (numbers): Delete.
22910         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22911         __Qp_handle_exceptions.
22912         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22913         __Qp_handle_exceptions.
22914         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22915         as unused and give dummy FP_RND_NEAREST initializer.
22916         (FP_INHIBIT_RESULTS): Define.
22917         (___Q_simulate_exceptions): Update declaration.
22918         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22919         formatting.
22920         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22921         as unused and give dummy FP_RND_NEAREST initializer.
22922         (__Qp_handle_exceptions): Update declaration.
22923         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22924         formatting.
22925
22926 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
22927
22928         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22929         the temporary FPU control word.
22930         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22931         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22932         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22933         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22934         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22935         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22936         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22937         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22938         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22939         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22940         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22941
22942 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22943
22944         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22945         fields.
22946
22947 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
22948
22949         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22950         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22951         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22952         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22953         Likewise.
22954         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22955         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22956         Likewise.
22957
22958 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
22959
22960         * po/h.po: Update from translation team.
22961
22962 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
22963
22964         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22965
22966         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22967         handling of denormals.
22968         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22969         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22970         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22971         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22972         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22973         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22974         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22975         Likewise.
22976
22977 2012-05-26  Marek Polacek  <polacek@redhat.com>
22978
22979         [BZ #14152]
22980         * math/libm-test.inc (fma_test): Don't always expect underflow
22981         exception.
22982
22983 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22984
22985         [BZ #12416]
22986         * elf/tst-execstack.c: Include stackinfo.h.
22987         (do_test): Adjust test case to ensure that pthread_getattr_np
22988         behaviour remains the same after marking stack executable.
22989
22990 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22991
22992         * sysdeps/unix/sysv/linux/kernel-features.h
22993         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22994         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22995         kernel-features.h.
22996         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22997         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22998         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22999         kernel-features.h.
23000         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23001         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23002
23003 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
23004
23005         * configure.in: Define the default includes to being none.
23006         * configure: Regenerated.
23007
23008 2012-05-25  Roland McGrath  <roland@hack.frob.com>
23009
23010         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23011         * sysdeps/x86_64/setjmp.S: Likewise.
23012         * sysdeps/i386/bsd-setjmp.S: Likewise.
23013         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23014         * sysdeps/i386/setjmp.S: Likewise.
23015         * sysdeps/i386/__longjmp.S: Likewise.
23016         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23017         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23018
23019         * include/stap-probe.h: New file.
23020         * configure.in: Handle --enable-systemtap.
23021         * configure: Regenerated.
23022         * config.h.in (USE_STAP_PROBE): New #undef.
23023         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23024         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23025         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23026
23027 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
23028
23029         [BZ #13717]
23030         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23031         to 2.4.0 where earlier.
23032         * sysdeps/unix/sysv/linux/configure: Regenerated.
23033         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23034         <kernel-features.h>.
23035         [__ASSUME_32BITUIDS]: Make code unconditional.
23036         [!__ASSUME_32BITUIDS]: Remove conditional code.
23037         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23038         <kernel-features.h>.
23039         [__ASSUME_32BITUIDS]: Make code unconditional.
23040         [!__ASSUME_32BITUIDS]: Remove conditional code.
23041         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23042         [__ASSUME_32BITUIDS]: Make code unconditional.
23043         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23044         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23045         <kernel-features.h>.
23046         [__ASSUME_32BITUIDS]: Make code unconditional.
23047         [!__ASSUME_32BITUIDS]: Remove conditional code.
23048         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23049         <kernel-features.h>.
23050         [__ASSUME_32BITUIDS]: Make code unconditional.
23051         [!__ASSUME_32BITUIDS]: Remove conditional code.
23052         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23053         <kernel-features.h>.
23054         [__ASSUME_32BITUIDS]: Make code unconditional.
23055         [!__ASSUME_32BITUIDS]: Remove conditional code.
23056         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23057         <kernel-features.h>.
23058         [__ASSUME_32BITUIDS]: Make code unconditional.
23059         [!__ASSUME_32BITUIDS]: Remove conditional code.
23060         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23061         <kernel-features.h>.
23062         [__ASSUME_32BITUIDS]: Make code unconditional.
23063         [!__ASSUME_32BITUIDS]: Remove conditional code.
23064         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23065         <kernel-features.h>.
23066         [__ASSUME_32BITUIDS]: Make code unconditional.
23067         [!__ASSUME_32BITUIDS]: Remove conditional code.
23068         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23069         <kernel-features.h>.
23070         [__ASSUME_32BITUIDS]: Make code unconditional.
23071         [!__ASSUME_32BITUIDS]: Remove conditional code.
23072         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23073         <kernel-features.h>.
23074         [__ASSUME_32BITUIDS]: Make code unconditional.
23075         [!__ASSUME_32BITUIDS]: Remove conditional code.
23076         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23077         <kernel-features.h>.
23078         [__ASSUME_32BITUIDS]: Make code unconditional.
23079         [!__ASSUME_32BITUIDS]: Remove conditional code.
23080         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23081         <kernel-features.h>.
23082         [__ASSUME_32BITUIDS]: Make code unconditional.
23083         [!__ASSUME_32BITUIDS]: Remove conditional code.
23084         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23085         <kernel-features.h>.
23086         [__NR_setresgid] (__setresgid): Do not declare.
23087         [__ASSUME_32BITUIDS]: Make code unconditional.
23088         [!__ASSUME_32BITUIDS]: Remove conditional code.
23089         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23090         <kernel-features.h>.
23091         [__NR_setresuid] (__setresuid): Do not declare.
23092         [__ASSUME_32BITUIDS]: Make code unconditional.
23093         [!__ASSUME_32BITUIDS]: Remove conditional code.
23094         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23095         <kernel-features.h>.
23096         [__ASSUME_32BITUIDS]: Make code unconditional.
23097         [!__ASSUME_32BITUIDS]: Remove conditional code.
23098         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23099         <kernel-features.h>.
23100         [__ASSUME_32BITUIDS]: Make code unconditional.
23101         [!__ASSUME_32BITUIDS]: Remove conditional code.
23102         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23103         <kernel-features.h>.
23104         [__ASSUME_32BITUIDS]: Make code unconditional.
23105         [!__ASSUME_32BITUIDS]: Remove conditional code.
23106         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23107         <kernel-features.h>.
23108         [__ASSUME_32BITUIDS]: Make code unconditional.
23109         [!__ASSUME_32BITUIDS]: Remove conditional code.
23110         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23111         <kernel-features.h>.
23112         [__ASSUME_32BITUIDS]: Make code unconditional.
23113         [!__ASSUME_32BITUIDS]: Remove conditional code.
23114         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23115         <kernel-features.h>.
23116         [__ASSUME_32BITUIDS]: Make code unconditional.
23117         [!__ASSUME_32BITUIDS]: Remove conditional code.
23118         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23119         <kernel-features.h>.
23120         [__ASSUME_32BITUIDS]: Make code unconditional.
23121         [!__ASSUME_32BITUIDS]: Remove conditional code.
23122         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23123         <kernel-features.h>.
23124         [__ASSUME_32BITUIDS]: Make code unconditional.
23125         [!__ASSUME_32BITUIDS]: Remove conditional code.
23126         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23127         <kernel-features.h>.
23128         [__ASSUME_32BITUIDS]: Make code unconditional.
23129         [!__ASSUME_32BITUIDS]: Remove conditional code.
23130         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23131         <kernel-features.h>.
23132         [__ASSUME_32BITUIDS]: Make code unconditional.
23133         [!__ASSUME_32BITUIDS]: Remove conditional code.
23134         * sysdeps/unix/sysv/linux/kernel-features.h
23135         (__ASSUME_SETRESUID_SYSCALL): Remove.
23136         (__ASSUME_SETRESGID_SYSCALL): Likewise.
23137         (__ASSUME_32BITUIDS): Likewise.
23138         (__ASSUME_LDT_WORKS): Likewise.
23139         (__ASSUME_O_DIRECTORY): Likewise.
23140         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23141         architecture but not kernel version.
23142         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23143         (__ASSUME_MMAP2_SYSCALL): Likewise.
23144         (__ASSUME_STAT64_SYSCALL): Likewise.
23145         (__ASSUME_IPC64): Likewise.
23146         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23147         <kernel-features.h>.
23148         [__ASSUME_32BITUIDS]: Make code unconditional.
23149         [!__ASSUME_32BITUIDS]: Remove conditional code.
23150         * sysdeps/unix/sysv/linux/opendir.c: Do not include
23151         <kernel-features.h>.
23152         [__ASSUME_O_DIRECTORY]: Make code unconditional.
23153         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23154         132096]: Remove conditional code.
23155         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23156         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23157         <kernel-features.h>.
23158         [__ASSUME_32BITUIDS]: Make code unconditional.
23159         [!__ASSUME_32BITUIDS]: Remove conditional code.
23160         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23161         <kernel-features.h>.
23162         [__ASSUME_32BITUIDS]: Make code unconditional.
23163         [!__ASSUME_32BITUIDS]: Remove conditional code.
23164         * sysdeps/unix/sysv/linux/setegid.c: Do not include
23165         <kernel-features.h>.
23166         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23167         unconditional.
23168         (__setresgid): Do not declare.
23169         [__ASSUME_32BITUIDS]: Make code unconditional.
23170         [!__ASSUME_32BITUIDS]: Remove conditional code.
23171         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23172         <kernel-features.h>.
23173         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23174         unconditional.
23175         (__setresuid): Do not declare.
23176         [__ASSUME_32BITUIDS]: Make code unconditional.
23177         [!__ASSUME_32BITUIDS]: Remove conditional code.
23178         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23179         <kernel-features.h>.
23180         [__ASSUME_32BITUIDS]: Make code unconditional.
23181         [!__ASSUME_32BITUIDS]: Remove conditional code.
23182         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23183         <kernel-features.h>.
23184         [__ASSUME_32BITUIDS]: Make code unconditional.
23185         [!__ASSUME_32BITUIDS]: Remove conditional code.
23186
23187 2012-05-25  Richard Henderson  <rth@twiddle.net>
23188
23189         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23190         dl_hwcap to ifunc resolver.
23191         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23192         elf_ifunc_invoke.
23193         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23194         dl_hwcap to ifunc resolver.
23195         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23196
23197 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23198
23199         [BZ #14153]
23200         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23201         for |x| <= 2**-26, not 2**-57.
23202         * math/libm-test.inc (acos_test): Do not allow spurious underflow
23203         exception.
23204
23205 2012-05-24  Jeff Law  <law@redhat.com>
23206
23207         * stdio-common/Makefile (tests): Add bug25.
23208         * stdio-common/bug25.c: New test.
23209
23210 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23211
23212         [BZ #13576]
23213         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23214         multiple of MALLOC_ALIGNMENT in size.
23215         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23216
23217 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23218
23219         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23220         Require >= 256.
23221         (FILENAME_MAX): Use macro-int-constant.
23222         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
23223         (_IOFBF): Use macro-int-constant.
23224         (_IOLBF): Likewise.
23225         (_IONBF): Likewise.
23226         (SEEK_CUR): Likewise.
23227         (SEEK_END): Likewise.
23228         (SEEK_SET): Likewise.
23229         (TMP_MAX): Likewise.
23230         (EOF): Use macro-int-constant.  Require < 0.
23231         (NULL): Use macro-constant.  Require == 0.
23232         (stdin): Require type to be FILE *.
23233         (stdout): Likewise.
23234         (stderr): Likewise.
23235         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23236         macro-int-constant.
23237         (EXIT_SUCCESS): Likewise.
23238         (NULL): Use macro-constant.  Require == 0.
23239         (RAND_MAX): Use macro-int-constant.
23240         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23241         [C99-based standards] (strtof): Require function.
23242         [C99-based standards] (strtold): Likewise.
23243         [C99-based standards] (strtoll): Likewise.
23244         [C99-based standards] (strtoull): Likewise.
23245         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23246         [ISO || ISO99 || ISO11] (limits.h): Likewise.
23247         [ISO || ISO99 || ISO11] (math.h): Likewise.
23248         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23249         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23250         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23251
23252 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
23253
23254         [BZ #14132]
23255         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23256         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23257         * intl/dgettext.c (DCGETTEXT): Likewise.
23258         * intl/gettext.c (DCGETTEXT): Likewise.
23259         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23260         * posix/regex_internal.h (gettext): Likewise.
23261         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23262         Remove declaration.
23263         * include/argz.h (__argz_count_internal)
23264         (__argz_stringify_internal): Remove declaration.
23265         (__argz_count, __argz_stringify): Declare hidden proto.
23266         * intl/dcgettext.c: Remove use of INTDEF.
23267         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23268         * string/argz-stringify.c: Likewise.
23269         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23270         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23271         Declare hidden proto.
23272         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23273         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23274         Declare hidden proto.
23275         * include/stdio.h (__asprintf_internal): Don't declare.
23276         (__asprintf): Don't define as macro.  Declare hidden proto.
23277         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23278         (__fsetlocking): Declare hidden proto.
23279         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23280         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23281         hidden proto.
23282         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23283         (_IO_setlinebuf): Remove use of INTUSE.
23284         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23285         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23286         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23287         Remove declaration.
23288         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23289         (_IO_do_flush): Remove use of INTUSE.
23290         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23291         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23292         (_IO_adjust_column, _IO_least_wmarker)
23293         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23294         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23295         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23296         (_IO_default_doallocate, _IO_wdefault_doallocate)
23297         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23298         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23299         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23300         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23301         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23302         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23303         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23304         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23305         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23306         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23307         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23308         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23309         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23310         proto.
23311         (_IO_flush_all_internal, _IO_adjust_column_internal)
23312         (_IO_default_uflow_internal, _IO_default_finish_internal)
23313         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23314         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23315         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23316         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23317         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23318         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23319         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23320         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23321         (_IO_file_close_internal, _IO_file_close_it_internal)
23322         (_IO_file_underflow_internal, _IO_file_overflow_internal)
23323         (_IO_file_init_internal, _IO_file_attach_internal)
23324         (_IO_file_fopen_internal, _IO_file_read_internal)
23325         (_IO_file_sync_internal, _IO_file_seek_internal)
23326         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23327         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23328         (_IO_str_underflow_internal, _IO_str_overflow_internal)
23329         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23330         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23331         (_IO_list_all_internal, _IO_link_in_internal)
23332         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23333         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23334         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23335         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23336         (_IO_do_write_internal, _IO_padn_internal)
23337         (_IO_getline_info_internal, _IO_getline_internal)
23338         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23339         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23340         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23341         (_IO_vfscanf_internal, _IO_vfprintf_internal)
23342         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23343         (_IO_init_internal, _IO_un_link_internal): Don't declare.
23344         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23345         with libc_hidden_ver, remove use of INTUSE.
23346         * libio/genops.c: Likewise.
23347         * libio/freopen.c: Likewise.
23348         * libio/freopen64.c: Likewise.
23349         * libio/iofclose.c: Likewise.
23350         * libio/iofdopen.c: Likewise.
23351         * libio/iofflush.c: Likewise.
23352         * libio/iofflush_u.c: Likewise.
23353         * libio/iofgets.c: Likewise.
23354         * libio/iofgets_u.c: Likewise.
23355         * libio/iofopen.c: Likewise.
23356         * libio/iofopncook.c: Likewise.
23357         * libio/iofread.c: Likewise.
23358         * libio/iofread_u.c: Likewise.
23359         * libio/ioftell.c: Likewise.
23360         * libio/iofwrite.c: Likewise.
23361         * libio/iogetline.c: Likewise.
23362         * libio/iogets.c: Likewise.
23363         * libio/iogetwline.c: Likewise.
23364         * libio/iopadn.c: Likewise.
23365         * libio/iopopen.c: Likewise.
23366         * libio/ioseekoff.c: Likewise.
23367         * libio/ioseekpos.c: Likewise.
23368         * libio/iosetbuffer.c: Likewise.
23369         * libio/iosetvbuf.c: Likewise.
23370         * libio/ioungetc.c: Likewise.
23371         * libio/ioungetwc.c: Likewise.
23372         * libio/iovdprintf.c: Likewise.
23373         * libio/iovsprintf.c: Likewise.
23374         * libio/iovsscanf.c: Likewise.
23375         * libio/memstream.c: Likewise.
23376         * libio/obprintf.c: Likewise.
23377         * libio/oldfileops.c: Likewise.
23378         * libio/oldiofclose.c: Likewise.
23379         * libio/oldiofdopen.c: Likewise.
23380         * libio/oldiofopen.c: Likewise.
23381         * libio/oldiopopen.c: Likewise.
23382         * libio/oldstdfiles.c: Likewise.
23383         * libio/putc.c: Likewise.
23384         * libio/setbuf.c: Likewise.
23385         * libio/setlinebuf.c: Likewise.
23386         * libio/stdfiles.c: Likewise.
23387         * libio/strops.c: Likewise.
23388         * libio/vasprintf.c: Likewise.
23389         * libio/vscanf.c: Likewise.
23390         * libio/vsnprintf.c: Likewise.
23391         * libio/vswprintf.c: Likewise.
23392         * libio/wfiledoalloc.c: Likewise.
23393         * libio/wfileops.c: Likewise.
23394         * libio/wgenops.c: Likewise.
23395         * libio/wmemstream.c: Likewise.
23396         * libio/wstrops.c: Likewise.
23397         * libio/__fpurge.c: Likewise.
23398         * libio/__fsetlocking.c: Likewise.
23399         * assert/assert.c: Likewise.
23400         * debug/fgets_chk.c: Likewise.
23401         * debug/fgets_u_chk.c: Likewise.
23402         * debug/fread_chk.c: Likewise.
23403         * debug/fread_u_chk.c: Likewise.
23404         * debug/gets_chk.c: Likewise.
23405         * debug/obprintf_chk.c: Likewise.
23406         * debug/vasprintf_chk.c: Likewise.
23407         * debug/vdprintf_chk.c: Likewise.
23408         * debug/vsnprintf_chk.c: Likewise.
23409         * debug/vsprintf_chk.c: Likewise.
23410         * malloc/mtrace.c: Likewise.
23411         * misc/error.c: Likewise.
23412         * misc/syslog.c: Likewise.
23413         * stdio-common/asprintf.c: Likewise.
23414         * stdio-common/fxprintf.c: Likewise.
23415         * stdio-common/getw.c: Likewise.
23416         * stdio-common/isoc99_fscanf.c: Likewise.
23417         * stdio-common/isoc99_scanf.c: Likewise.
23418         * stdio-common/isoc99_vfscanf.c: Likewise.
23419         * stdio-common/isoc99_vscanf.c: Likewise.
23420         * stdio-common/isoc99_vsscanf.c: Likewise.
23421         * stdio-common/printf-prs.c: Likewise.
23422         * stdio-common/printf_fp.c: Likewise.
23423         * stdio-common/printf_fphex.c: Likewise.
23424         * stdio-common/printf_size.c: Likewise.
23425         * stdio-common/putw.c: Likewise.
23426         * stdio-common/scanf.c: Likewise.
23427         * stdio-common/sprintf.c: Likewise.
23428         * stdio-common/tmpfile.c: Likewise.
23429         * stdio-common/vfprintf.c: Likewise.
23430         * stdio-common/vfscanf.c: Likewise.
23431         * stdlib/strfmon_l.c: Likewise.
23432         * sunrpc/openchild.c: Likewise.
23433         * sunrpc/xdr_stdio.c: Likewise.
23434         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23435         * sysdeps/mach/hurd/tmpfile.c: Likewise.
23436
23437 2012-05-24  Roland McGrath  <roland@hack.frob.com>
23438
23439         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23440
23441         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23442         in the third column, to generate for the shared library an IFUNC
23443         that uses _dl_vdso_vsym.
23444         * Makerules (COMPILE.c, compile-stdin.c): New variables.
23445         * Makeconfig (object-suffixes-noshared): New variable.
23446
23447         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23448         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23449         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23450         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23451
23452         [BZ #14132]
23453         * include/sys/time.h (__gettimeofday): Remove macro.
23454         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23455         * time/gettimeofday.c (__gettimeofday): Remove #undef.
23456         Remove INTDEF.
23457         (__gettimeofday): Add libc_hidden_def.
23458         (gettimeofday): Add libc_hidden_weak.
23459         * sysdeps/mach/gettimeofday.c: Likewise.
23460         * sysdeps/posix/gettimeofday.c: Likewise.
23461         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23462         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23463         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23464         (__gettimeofday_internal): Remove strong_alias.
23465         (__gettimeofday): Add libc_hidden_def.
23466         (gettimeofday): Add libc_hidden_weak.
23467         * sysdeps/unix/syscalls.list (gettimeofday):
23468         Remove __gettimeofday_internal alias.
23469
23470 2012-05-24  Daniel Jacobowitz  <drow@false.org>
23471             H.J. Lu  <hongjiu.lu@intel.com>
23472
23473         [BZ #12495]
23474         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23475         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23476         (largebin_index_32_big): New.
23477         (largebin_index): Use it for 16-byte alignment.
23478         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
23479         correction with front_misalign.
23480
23481 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23482
23483         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23484         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23485         Likewise.
23486         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23487         Likewise.
23488         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23489         Likewise.
23490         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23491         Likewise.
23492         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23493         Likewise.
23494         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23495         Likewise.
23496         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23497         Likewise.
23498         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23499         Likewise.
23500         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23501         Likewise.
23502         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23503         Likewise.
23504         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23505         Likewise.
23506         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23507         Likewise.
23508
23509         * scripts/data/c++-types-x32-linux-gnu.data: New file.
23510         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23511
23512 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23513
23514         [BZ #10846]
23515         [BZ #14036]
23516         * math/libm-test.inc (exp_test): Add test from bug 14036.
23517         (pow_test): Add test from bug 10846.
23518
23519         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23520         and other flags.
23521         (special_function): Do not include flags in test name.
23522         (parse_args): Likewise.
23523         * sysdeps/i386/fpu/libm-test-ulps: Update.
23524         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23525         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23526         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23528
23529         * math/gen-libm-test.pl (%beautify): Add entries for underflow
23530         exceptions.
23531         * math/libm-test.inc ("Philosophy"): Update comment about
23532         exception testing.
23533         (UNDERFLOW_EXCEPTION): New macro.
23534         (UNDERFLOW_EXCEPTION_OK): Likewise.
23535         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23536         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23537         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23538         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23539         (INVALID_EXCEPTION_OK): Update value.
23540         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23541         (OVERFLOW_EXCEPTION_OK): Likewise.
23542         (IGNORE_ZERO_INF_SIGN): Likewise.
23543         (test_exceptions): Handle underflow exceptions.
23544         (acos_test): Update for underflow exception expectations.
23545         (cexp_test): Likewise.
23546         (clog_test): Likewise.
23547         (clog10_test): Likewise.
23548         (csqrt_test): Likewise.
23549         (ctan_test): Likewise.
23550         (ctanh_test): Likewise.
23551         (exp_test): Likewise.
23552         (exp10_test): Likewise.
23553         (exp2_test): Likewise.
23554         (expm1_test): Likewise.
23555         (fma_test): Likewise.
23556         (j0_test): Likewise.
23557         (jn_test): Likewise.
23558         (nexttoward_test): Likewise.
23559         (pow_test): Likewise.
23560         (scalbn_test): Likewise.
23561         (scalbln_test): Likewise.
23562         (tan_test): Likewise.
23563         (y1_test): Likewise.
23564         * sysdeps/i386/fpu/libm-test-ulps: Update.
23565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23566
23567 2012-05-23  David S. Miller  <davem@davemloft.net>
23568
23569         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23570         (__libc_sigaction): Remove unused local variables.
23571
23572 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23573
23574         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23575
23576 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
23577
23578         mktime: avoid signed integer overflow
23579         * time/mktime.c (__mktime_internal): Do not mishandle the case
23580         where diff == INT_MIN.
23581
23582         mktime: simplify computation of average
23583         * time/mktime.c (ranged_convert): Use new time_t_avg function
23584         instead of rolling our own (probably-slower) code.
23585
23586         mktime: do not assume signed right shift propagates sign bit
23587         * time/mktime.c (isdst_differ): New static function.
23588         (__mktime_internal): No need to normalize tm_isdst now.
23589         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23590         tm_isdst values.
23591
23592         mktime: merge another wrapv change from gnulib
23593         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23594         from some compilers.
23595
23596         mktime: remove incorrect attempt at unusual arithmetics
23597         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23598         The code didn't really work on such machines anyway.
23599         (TYPE_MINIMUM): Assume two's complement.
23600         (twos_complement_arithmetic): Verify that long_int and time_t
23601         are two's complement (or unsigned, in the latter case).
23602
23603         mktime: check signed shifts on long_int and time_t, too
23604         * time/mktime.c (SHR): Check that shifts work as desired
23605         on the types long_int and time_t too, as SHR is used on
23606         such types.
23607
23608         mktime: do not assume 'long' is wide enough
23609         * time/mktime.c (verify): Move decl up.
23610         (long_int): New type.
23611         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23612         to remove assumption in the code that 'long' is wide enough to
23613         store year values.  This assumption is not true on x32 and on
23614         some non-glibc platforms.
23615
23616         mktime: merge wrapv change from gnulib
23617         * time/mktime.c (WRAPV): New macro.
23618         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23619         (guess_time_tm, __mktime_internal): Do not assume that signed
23620         integer overflow wraps around; modern compilers generate code
23621         where this assumption is no longer valid.
23622
23623 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23624
23625         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23626         Replace "jmp L(pseudo_end)" with "ret".
23627         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23628         Likewise.
23629
23630 2012-05-23  Andreas Jaeger  <aj@suse.de>
23631
23632         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23633         * sysdeps/unix/sysv/linux/poll.c: Remove file.
23634
23635 2012-05-23  Andreas Jaeger  <aj@suse.de>
23636             Maximilian Attems  <max@stro.at>
23637
23638         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23639         New macros.
23640
23641 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23642
23643         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23644         code so that pseudo_end is just ret and the stack pointer is
23645         correct also for static library in error case.
23646
23647 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
23648
23649         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23650         move to syscalls.list.
23651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23655
23656         * manual/install.texi (Running make install): Do not mention Linux
23657         kernel version for which pt_chown is not needed.
23658         (Linux): Do not mention problems with nscd with 2.0 kernels.
23659         * INSTALL: Regenerated.
23660
23661 2012-05-23  Andreas Jaeger  <aj@suse.de>
23662
23663         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23664         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23665         macro.
23666         * sysdeps/unix/sysv/linux/s390/bits/mman.h
23667         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23668         * sysdeps/unix/sysv/linux/sh/bits/mman.h
23669         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23670         * sysdeps/unix/sysv/linux/i386/bits/mman.h
23671         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23672         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23673         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23674         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23675         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23676         * sysdeps/unix/sysv/linux/bits/in.h
23677         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23678
23679 2012-05-22  Roland McGrath  <roland@hack.frob.com>
23680
23681         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23682         (PREPARE_VERSION): Just use assert instead, it will be elided
23683         under [NDEBUG] anyway.
23684
23685 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23686
23687         * sysdeps/unix/sysv/linux/Makefile: Include
23688         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23689         (sysdep_routines): Remove sysctl.
23690         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23691         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23692         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23693         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23694         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23695
23696 2012-05-22  Andreas Jaeger  <aj@suse.de>
23697
23698         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23699         that pseudo_end is just ret and the stack pointer is correct also
23700         for static library in error case.
23701
23702 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23703
23704         [BZ #14122]
23705         * nss/nsswitch.c (defconfig_entries): New variable.
23706         (__nss_database_lookup): Don't leak defconfig entries.
23707         (nss_parse_service_list): Don't leak on error paths.
23708         (free_database_entries): New function.
23709         (free_defconfig): New function.
23710         (free_mem): Move common code to free_database_entries.
23711
23712 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23713
23714         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23715         Add arch_prctl.
23716         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23717
23718         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23719         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23720         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23721         New macro.
23722         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23723         (INTERNAL_SYSCALL_TYPES): Likewise.
23724         (LOAD_ARGS_TYPES_[1-6]): Likewise.
23725         (LOAD_REGS_TYPES_[1-6]): Likewise.
23726         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23727         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23728
23729 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23730
23731         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23732         copysignl for GLIBC_2_0.
23733         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23734         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23735         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23736         logbl for GLIBC_2_0.
23737         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23738         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23739
23740 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23741
23742         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23743         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23744
23745         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23746         Use "neg %eax".
23747
23748         * time/mktime.c: Update copyright years.
23749
23750 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23751
23752         mktime: merge comment-quoting-style change from gnulib
23753         * time/mktime.c: Quote 'like this' in comments.
23754         The GNU coding standards suggest that we no longer quote `like this',
23755         as "`" and "'" are typically rendered asymmetrically nowadays.
23756         The typical gnulib style is to quote 'like this' when quoting
23757         code, and "like this" when quoting English.
23758
23759         * time/mktime.c (compile-command): Add "-I.".
23760
23761         mktime: merge mktime-internal.h change from gnulib
23762         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23763
23764         mktime: merge time_r change from gnulib
23765         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23766
23767         mktime: merge DEBUG change from gnulib
23768         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23769         case system <time.h> has a #define.
23770
23771         mktime: merge <sys/types.h> change from gnulib
23772         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23773         since <time.t> is now guaranteed to define time_t.
23774
23775         mktime: merge HAVE_CONFIG_H change from gnulib
23776         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23777
23778 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23779
23780         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23781         Use "neg %eax".
23782
23783         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23784         __rlim_t cast.
23785         (struct rusage): Use anonymous union to pad each field to
23786         __syscall_slong_t.
23787
23788 2012-05-21  David S. Miller  <davem@davemloft.net>
23789
23790         * Makefules (o-iterator): Remove .s cases.
23791         (compile-command.s): Delete.
23792         (COMPILE.s): Delete.
23793         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23794
23795 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
23796
23797         * configure.in (libc_cv_predef_stack_protector): Only consider
23798         "foobar" and "__stack_chk_fail" lines in libc_undefs.
23799         * configure: Regenerated.
23800
23801 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23802
23803         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23804         New macro.  Use R*LP on int and pointer.
23805         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23806         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23807         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23808         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23809
23810         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23811         [__WORDSIZE_TIME64_COMPAT32] instead of
23812         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23813         (struct utmp): Likewise.
23814         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23815         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23816         Renamed to ...
23817         (__WORDSIZE_TIME64_COMPAT32): This.
23818         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23819         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23820         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23821         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23822         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23823         (__WORDSIZE_TIME64_COMPAT32): New macro.
23824
23825 2012-05-21  Andreas Jaeger  <aj@suse.de>
23826
23827         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23828         only if [SHARED]. Add prototype for __wcschr_ia32.
23829
23830 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23831
23832         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23833         of %rbp unmolested in the jmp_buf while mangling the low bits.
23834         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23835         unmolested high bits of %rbp while demangling the low bits.
23836         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23837
23838 2012-05-21  Andreas Jaeger  <aj@suse.de>
23839
23840         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23841         * sunrpc/svc_simple.c: Use it for registerrpc.
23842         * sunrpc/xcrypt.c: Use it for passwd2des.
23843
23844         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23845
23846 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23847
23848         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23849         Don't define if [__SYSCALL_WORDSIZE != 32].
23850         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23851         New macro.
23852
23853 2012-05-21  Bruno Haible  <bruno@clisp.org>
23854             Andreas Jaeger  <aj@suse.de>
23855
23856         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23857         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23858         inptr and inend for must_buffer_ch.
23859         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23860         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23861         * stdio-common/Makefile (tests): Remove bug15.
23862         (bug15-ENV): Remove macro.
23863         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23864         anymore.
23865
23866 2012-05-19  Andreas Jaeger  <aj@suse.de>
23867             Roland McGrath  <roland@hack.frob.com>
23868
23869         * manual/contrib.texi: Completely rewritten. It contains now an
23870         alphabetical list of contributors and their contributions.
23871
23872 2012-05-21  Richard Henderson  <rth@twiddle.net>
23873
23874         * misc/getauxval.c (__getauxval): Use unsigned long int.
23875         * misc/sys/auxv.h: Include <sys/cdefs.h>.
23876         (getauxval): Use unsigned long int.
23877
23878 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23879
23880         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23881
23882 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23883
23884         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23885         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23886         __alignof__ (long double).
23887
23888 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23889
23890         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23891
23892 2012-05-20  Richard Henderson  <rth@twiddle.net>
23893
23894         * misc/getauxval.c: New file.
23895         * misc/sys/auxv.h: New file.
23896         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23897         (routines): Add getauxval.
23898         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23899         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23900         * elf/dl-sysdep.c (_dl_auxv): Remove.
23901         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23902         * elf/dl-support.c (_dl_auxv): New variable.
23903         (_dl_aux_init): Initialize it.
23904         * manual/startup.texi (Auxiliary Vector): New node.
23905         * sysdeps/generic/bits/hwcap.h: New file.
23906         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23907         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
23908         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23909         * sysdeps/sparc/sysdep.h: ... here.  Include it.
23910         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23911         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23913         Update.
23914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23915         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23916         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23917         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23918         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23919         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23920         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23922
23923 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23924
23925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23926
23927 2012-05-19  David S. Miller  <davem@davemloft.net>
23928
23929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23930
23931 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23932
23933         [BZ #14123]
23934         * math/s_ccosh.c: Include <float.h>
23935         (__ccosh): Avoid internal overflow calculating sinh and cosh
23936         values before multiplying by sin and cos values.
23937         * math/s_ccoshf.c: Likewise.
23938         * math/s_ccoshl.c: Likewise.
23939         * math/s_csin.c: Likewise.
23940         * math/s_csinf.c: Likewise.
23941         * math/s_csinl.c: Likewise.
23942         * math/s_csinh.c: Likewise.
23943         * math/s_csinhf.c: Likewise.
23944         * math/s_csinhl.c: Likewise.
23945         * math/libm-test.inc (ccos_test): Add more tests.
23946         (ccosh_test): Likewise.
23947         (csin_test): Likewise.
23948         (csinh_test): Likewise.
23949         * sysdeps/i386/fpu/libm-test-ulps: Update.
23950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23951
23952 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
23953
23954         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23955         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23956
23957         * sysdeps/x86_64/x32/_itoa.h: Add comment.
23958
23959 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23960
23961         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23962         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23963         * sysdeps/powerpc/soft-fp/Versions: Likewise.
23964         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23965         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23966         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23967         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23968         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23969         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23970         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23971         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23972         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23973         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23974         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23975         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23976         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23977         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23978         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23979         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23980         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23981         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23982         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23983         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23984         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23985         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23986         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23987         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23988         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23989         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23990         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23991         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23992
23993 2012-05-18  Andreas Jaeger  <aj@suse.de>
23994
23995         * csu/.gitignore: Delete.
23996
23997 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23998
23999         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24000         (timex): Use __syscall_slong_t.
24001
24002 2012-05-18  Andreas Jaeger  <aj@suse.de>
24003             Carlos O'Donell  <carlos_odonell@mentor.com>
24004
24005         * manual/install.texi (Configuring and compiling): Update
24006         description about files modified in the source directory.
24007         * INSTALL: Regenerated.
24008
24009 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24010
24011         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24012         value.  Use "or" to set return value to -1.
24013         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24014         negate return value.
24015
24016 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24017
24018         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24019         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24020         failure if the compiler has Graphite support disabled.
24021         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24022         Likewise.
24023         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24024         CFLAGS-memmove.c): Likewise.
24025         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24026         Likewise.
24027
24028 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24029
24030         * sysdeps/x86_64/x32/_itoa.h: New file.
24031
24032         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24033         getdents system call only if kernel and user dirents have the
24034         same d_ino and d_off.
24035
24036         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24037         LLONG_MAX != LONG_MAX.
24038         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24039         (_fitoa_word): Likewise.
24040
24041         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24042         years.
24043         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24044         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24045         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24046
24047         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24048         include <bits/wordsize.h>.  Check __x86_64__ instead of
24049         __WORDSIZE.
24050         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24051         if __x86_64__ is defined.  Use anonymous union on fpstate.
24052
24053         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24054         anonymous union.
24055
24056 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
24057
24058         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24059         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24060         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24061         Refer to _rtld_local_ro instead of _rtld_global_ro.
24062         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24063         Likewise.
24064         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24065         Likewise.
24066         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24067         Likewise.
24068         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24069         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24070         of _rtld_global, and rtld_progname instead of _dl_argv[0].
24071
24072         * sysdeps/powerpc/powerpc32/dl-machine.c
24073         (__elf_machine_runtime_setup) [PROF]: Don't reference
24074         _dl_prof_resolve.
24075
24076 2012-05-18  Andreas Jaeger  <aj@suse.de>
24077
24078         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24079         function only available for GCCs before 3.4 since GCC 3.4
24080         introduced a builtin.
24081         (lrint): Likewise.
24082         (llrintf): Likewise.
24083         (llrint): Likewise.
24084         (fmaxf): Likewise.
24085         (fmax): Likewise.
24086         (fminf): Likewise.
24087         (fmin): Likewise.
24088         (rint): Likewise.
24089         (rintf): Likewise.
24090         (nearbyint): Likewise.
24091         (nearbyintf): Likewise.
24092         (ceil): Likewise.
24093         (ceilf): Likewise.
24094         (floor): Likewise.
24095         (floorf): Likewise.
24096
24097 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24098
24099         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24100         on both fields and cast pointer to __syscall_ulong_t.
24101
24102         * bits/types.h (__fsword_t): New type.
24103         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24104         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24105         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24106         (__FSWORD_T_TYPE): Likewise.
24107         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24108         (__FSWORD_T_TYPE): Likewise.
24109         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24110         (__FSWORD_T_TYPE): Likewise.
24111         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24112         (__FSWORD_T_TYPE): Likewise.
24113         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24114         __SWORD_TYPE with __fsword_t.
24115         (statfs64): Likewise.
24116
24117 2012-05-17  David S. Miller  <davem@davemloft.net>
24118
24119         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24120
24121 2012-05-17  Andreas Jaeger  <aj@suse.de>
24122
24123         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24124         warning.
24125
24126 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24127
24128         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24129
24130 2012-05-17  Andreas Jaeger  <aj@suse.de>
24131
24132         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24133         when it is used.
24134
24135 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24136
24137         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24138
24139 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24140
24141         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24142         * sysdeps/x86_64/tst-mallocalign1.c: New file.
24143
24144 2012-05-17  Andreas Jaeger  <aj@suse.de>
24145             Carlos O'Donell  <carlos_odonell@mentor.com>
24146
24147         [BZ #14059]
24148         * sysdeps/x86_64/multiarch/init-arch.h
24149         (bit_YMM_Usable): Rename to...
24150         (bit_AVX_Usable): ... this.
24151         (bit_FMA4_Usable): New macro.
24152         (bit_XMM_state): New macro.
24153         (bit_YMM_state): New macro.
24154         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24155         [__ASSEMBLER__] (index_AVX_Usable): ... this.
24156         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24157         (CPUID_OSXSAVE): New macro.
24158         (CPUID_AVX): New macro.
24159         (CPUID_FMA4): New macro.
24160         (index_YMM_Usable): Rename to...
24161         (index_AVX_Usable): ... this.
24162         (HAS_AVX): Use HAS_ARCH_FEATURE.
24163         (HAS_FMA4): Likewise.
24164         (HAS_YMM_USABLE): Remove.
24165         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24166         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24167         are present.
24168         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24169         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24170         * sysdeps/x86_64/multiarch/Makefile: Likewise.
24171         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24172         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24173
24174 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24175
24176         * math/libm-test.c: Support platforms without multiple rounding modes.
24177         * math/bug-nextafter.c: Support platforms without FP exceptions.
24178         * math/bug-nexttoward.c: Likewise.
24179         * math/test-fenv.c: Likewise.
24180         * math/test-misc.c: Likewise.
24181         * stdlib/bug-getcontext.c: Likewise.
24182
24183 2012-05-17  Andreas Jaeger  <aj@suse.de>
24184
24185         * manual/examples/search.c (critter_cmp): Change signature to
24186         avoid warnings.
24187         * manual/string.texi (Collation Functions): Likewise.
24188
24189 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24190
24191         * bits/types.h: Fold copyright years.
24192         * bits/typesizes.h: Likewise.
24193         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24194         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24195         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24196         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24197         * time/time.h: Likewise.
24198
24199 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
24200
24201         [BZ #208]
24202         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24203         in instead of returning them.  Return void.
24204         (__libc_mallinfo): Accumulate over all arenas.
24205         (__malloc_stats): Adjust for change in int_mallinfo interface.
24206
24207 2012-05-16  Roland McGrath  <roland@hack.frob.com>
24208
24209         [BZ #10375]
24210         * configure.in (NM): Add AC_CHECK_TOOL for it.
24211         (libc_extra_cflags): New substituted variable.
24212         Check for -fstack-protector being used implicitly.
24213         * configure: Regenerated.
24214         * config.make.in (config-extra-cflags): New variable,
24215         gets @libc_extra_cflags@.
24216         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24217
24218         [BZ #10375]
24219         * configure.in: Check for _FORTIFY_SOURCE being predefined.
24220         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24221         * configure: Regenerated.
24222         * config.make.in (CPPUNDEFS): New substituted variable.
24223         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24224         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24225         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24226
24227 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24228
24229         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24230         (mq_attr): Use __syscall_slong_t.
24231
24232 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24233
24234         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24235         Check __x86_64__ instead of __WORDSIZE.
24236         (_STAT_VER_LINUX): Likewise.
24237         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
24238         __syscall_ulong_t and __syscall_slong_t.
24239         (stat64): Likewise.
24240
24241 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24242
24243         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24244
24245 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24246
24247         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24248
24249 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24250
24251         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24252         __syscall_ulong_t.
24253
24254         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24255         include <bits/wordsize.h>.  Check __x86_64__ instead of
24256         __WORDSIZE.
24257         (greg_t): Use "__extension__ long long int" if __x86_64__ is
24258         defined.
24259         (mcontext_t): Replace "unsigned long" with "unsigned long long".
24260
24261         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24262         include <bits/wordsize.h>.  Check __x86_64__ instead of
24263         __WORDSIZE.
24264         (user_regs_struct): Use "__extension__ unsigned long long"
24265         instead of "unsigned long" if __x86_64__ is defined.
24266         (user): Likewise.  Pad after pointer field if __ILP32__ is
24267         defined.
24268
24269 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
24270
24271         * configure.in (makeinfo): Require version 4.5 or later.  Allow
24272         versions 5 to 9.
24273         * configure: Regenerated.
24274         * manual/install.texi (texinfo): Increase version requirement to
24275         4.5 or later.
24276         * INSTALL: Regenerated.
24277
24278         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24279
24280 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24281
24282         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24283
24284         * sysdeps/x86_64/x32/ffs.c: New file.
24285
24286         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24287         __syscall_ulong_t.
24288         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24289         defined.  Use __syscall_ulong_t.
24290         (shminfo): Use __syscall_ulong_t.
24291         (shm_info): Likewise.
24292
24293         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24294         __syscall_ulong_t.
24295
24296         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24297         <bits/wordsize.h>.
24298         (msgqnum_t): Use __syscall_ulong_t.
24299         (msglen_t): Likewise.
24300         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
24301         __syscall_ulong_t.
24302
24303         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24304         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24305
24306         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24307
24308         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24309         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24310
24311         * sysvipc/sys/msg.h (msgbuf): Replace long int with
24312         __syscall_slong_t.
24313
24314         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24315         include <bits/wordsize.h>.  Check __x86_64__ instead of
24316         __WORDSIZE.
24317
24318         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24319         "unsigned long long int" if __x86_64__ is defined.
24320         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24321
24322         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24323         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24324         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24325
24326         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24327         <stdint.h>.
24328         (GET_PC): Cast to uintptr_t first.
24329         (GET_FRAME): Likewise.
24330         (GET_STACK): Likewise.
24331
24332         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24333         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24334         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24335         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24336         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24337         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24338         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24339         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24340         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24341         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24342         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24343         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24344         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24345         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24346         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24347         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24348         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24349         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24350         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24351         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24352         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24353         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24354         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24355         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24356         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24357         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24358         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24359         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24360         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24361
24362 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
24363
24364         * Makerules (+depfiles): Also collect depfiles from .oS in
24365         $(extra-objs).
24366         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24367         .oS, $(libnldbl-routines)).
24368
24369         * Makerules (native-compile-mkdep-flags): Define.
24370         * sunrpc/Makefile (extra-objs): Add $(addprefix
24371         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24372         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24373         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
24374         calling $(make-target-directory).
24375
24376 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24377
24378         * bits/types.h (__snseconds_t): Removed.
24379         * time/time.h (struct timespec): Replace __snseconds_t with
24380         __syscall_slong_t.
24381         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24382         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24383         Likewise.
24384         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24385         (__SNSECONDS_T_TYPE): Likewise.
24386         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24387         (__SNSECONDS_T_TYPE): Likewise.
24388         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24389         (__SNSECONDS_T_TYPE): Likewise.
24390
24391 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24392
24393         * sysdeps/mach/hurd/bits/typesizes.h
24394         (__SYSCALL_SLONG_TYPE): New macro.
24395         (__SYSCALL_ULONG_TYPE): Likewise.
24396
24397 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24398
24399         * bits/types.h (__syscall_slong_t): New type.
24400         (__syscall_ulong_t): Likewise.
24401
24402         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24403         (__SYSCALL_ULONG_TYPE): Likewise.
24404         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24405         (__SYSCALL_SLONG_TYPE): Likewise.
24406         (__SYSCALL_ULONG_TYPE): Likewise.
24407         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24408         (__SYSCALL_SLONG_TYPE): Likewise.
24409         (__SYSCALL_ULONG_TYPE): Likewise.
24410         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24411         (__SYSCALL_SLONG_TYPE): Likewise.
24412         (__SYSCALL_ULONG_TYPE): Likewise.
24413
24414 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24415
24416         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24417         Add sigaltstack-offsets.sym.
24418         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24419         <sigaltstack-offsets.h>.
24420         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
24421         longjmp_msg pointer.
24422         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
24423         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24424         signal stack.
24425         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24426
24427 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24428
24429         * elf/stackguard-macros.h: Remove file.
24430         * sysdeps/generic/stackguard-macros.h: New file.
24431         * sysdeps/i386/stackguard-macros.h: Likewise.
24432         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24433         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24434         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24435         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24436         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24437         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24438         * sysdeps/x86_64/stackguard-macros.h: Likewise.
24439         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24440         <elf/stackguard-macros.h>.
24441
24442         [BZ #14109]
24443         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24444         __aligned__ in attribute.
24445         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24446         (gregset_t): Likewise.
24447
24448 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24449
24450         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24451         * sysdeps/x86_64/64/Implies-after: Here.  New file.
24452         * sysdeps/x86_64/x32/Implies-after: New file.
24453
24454 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24455
24456         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24457         and access return value for _dl_profile_fixup.  Use R10_LP to
24458         load frame size.
24459
24460 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24461
24462         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24463
24464 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24465
24466         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24467         * sysdeps/x86_64/x32/sysdep.h: New file.
24468
24469 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24470
24471         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24472         * sysdeps/x86_64/setjmp.S: Likewise.
24473
24474 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24475
24476         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24477         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24478         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24479         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24480         remove unused global constant.
24481
24482 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
24483
24484         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24485         include of <not-cancel.h>.
24486
24487 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24488
24489         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24490
24491 2012-05-15  Jeff Law  <law@redhat.com>
24492             Andreas Jaeger  <aj@suse.de>
24493
24494         [BZ #13594]
24495         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24496         out from...
24497         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24498         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24499         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24500         code changing __hst_map_handle.map.
24501
24502 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24503
24504         * configure.in (sysnames): Look for Implies-before and Implies-after
24505         files.
24506         * configure: Regenerated.
24507
24508 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24509
24510         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24511         8-byte data alignment with LP_SIZE alignment.
24512
24513 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24514
24515         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24516         into R10_LP.
24517
24518 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24519
24520         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24521
24522 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24523
24524         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24525         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24526         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24527         Likewise.
24528         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24529
24530 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24531
24532         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24533         (stackinfo_sub_sp): Likewise.
24534
24535 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24536
24537         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24538         RAX_LP.
24539
24540 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24541
24542         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24543         into R*_LP.
24544
24545 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24546
24547         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24548         sizes into R*_LP.
24549
24550 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24551
24552         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24553
24554 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24555
24556         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24557         into R11_LP and load __x86_64_shared_cache_size_half into
24558         R8_LP.
24559
24560 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24561
24562         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24563         R8_LP.
24564
24565 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24566
24567         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24568         logb for POWER7.
24569         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24570         logbf for POWER7.
24571         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24572         logbl for POWER7.
24573         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24574         powerpc32/power7/fpu/s_logb.c via #include.
24575         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24576         powerpc32/power7/fpu/s_logbf.c via #include.
24577         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24578         powerpc32/power7/fpu/s_logbl.c via #include.
24579
24580 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24581
24582         * README.libm: Remove file.
24583
24584 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24585
24586         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24587         count for x32.  Use R*_LP and omit operand-size suffix.
24588
24589 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24590
24591         * shlib-versions: Move x86_64-.*-linux.* entries to ...
24592         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
24593         * sysdeps/x86_64/x32/shlib-versions: New file.
24594
24595 2012-05-14  Roland McGrath  <roland@hack.frob.com>
24596
24597         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24598         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24599         Use _dl_fatal_printf instead.
24600
24601 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24602
24603         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24604         set if not set by the user.  Do not allow for being unset.
24605         * sysdeps/unix/sysv/linux/configure: Regenerated.
24606
24607 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24608
24609         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24610         the `q' suffix from lea and replace .quad with ASM_ADDR.
24611
24612 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24613
24614         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24615         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
24616         instead of $17.
24617         (PTR_DEMANGLE): Likewise.
24618
24619 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24620
24621         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24622         (LP_OP): Likewise.
24623         (ASM_ADDR): Likewise.
24624         (RAX_LP): Likewise.
24625         (RBP_LP): Likewise.
24626         (RBX_LP): Likewise.
24627         (RCX_LP): Likewise.
24628         (RDI_LP): Likewise.
24629         (RSI_LP): Likewise.
24630         (RSP_LP): Likewise.
24631         (R8_LP): Likewise.
24632         (R9_LP): Likewise.
24633         (R10_LP): Likewise.
24634         (R10_LP): Likewise.
24635         (R11_LP): Likewise.
24636         (R12_LP): Likewise.
24637         (R13_LP): Likewise.
24638         (R14_LP): Likewise.
24639         (R15_LP): Likewise.
24640
24641 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24642
24643         * sysdeps/x86_64/x32/dl-machine.h: New file.
24644
24645 2012-05-14  Andreas Jaeger  <aj@suse.de>
24646
24647         * manual/Makefile (subdir): Remove export of subdir.
24648         (all): Remove target.
24649         (.PHONY): Remove all from list.
24650         (mkinstalldirs): Remove.
24651         (.PHONY): Remove installdirs from list.
24652         ($(inst_infodir)/libc.info): Use make-target-directory.
24653         (installdirs): Remove.
24654         (subdir_%): Remove.
24655         (glibc-targets): Remove.
24656         (lib): Remove.
24657         (stubs): Remove.
24658         ($(objpfx)stubs ../po/manual.pot): Remove.
24659         ($(objpfx)stamp%): Remove.
24660         (make-target-directory): Remove.
24661         (subdir_install): Remove.
24662         (routines): Remove.
24663         (aux): Remove.
24664         (sources): Remove.
24665         (objects): Remove.
24666         (headers): Remove.
24667
24668         [BZ #13750]
24669         * manual/.gitignore: Remove, it's not needed anymore.
24670         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24671         all files in it.
24672         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24673         directory.
24674         (texis): Renamed to $(objpfx)texis.
24675         (texis-path): New, contains path to generated files.
24676         (chapters.%): Use texis-path for complete path, add extra argument
24677         libc-texinfo.sh.
24678         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24679         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24680         (summary,texi, stamp-summary): Use complete path of
24681         files. Generate files in build dir.
24682         (dir-add.texi): Build in build dir.
24683         (libm-err.texi,stamp-libm-err): Likewise.
24684         (version.texi, stamp-version): Likewise.
24685         (.%c.texi): Likewise.
24686         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24687         (mostlyclean): Remove target.
24688         (realclean): Remove target.
24689         (generated): Add new variable with contents from mostlyclean and
24690         realclean, remove entries duplicated in common-mostlyclean, add
24691         stamp-libm-err and stamp-version.
24692         (generated-dirs): Add libc directory.
24693         ($(inst_infodir)/libc.info): Install files from build dir.
24694
24695         * manual/install.texi (Configuring and compiling): Adjust since
24696         the info files are not part of the tar ball anymore.
24697
24698 2012-05-14  Andreas Jaeger  <aj@suse.de>
24699
24700         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24701         variable.
24702
24703 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24704
24705         [BZ #13717]
24706         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24707         to 2.2.0 where earlier.
24708         * sysdeps/unix/sysv/linux/configure: Regenerated.
24709         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24710         Remove conditional code.
24711         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24712         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24713         Remove conditional code.
24714         [!__NR_lchown]: Likewise.
24715         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24716         [__NR_lchown]: Likewise.
24717         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24718         comment referencing __ASSUME_LCHOWN_SYSCALL.
24719         * sysdeps/unix/sysv/linux/i386/sigaction.c
24720         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24721         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24722         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24723         Remove conditional code.
24724         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24725         (__protocol_available): Remove #if 0 code.
24726         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24727         conditional code.
24728         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24729         * sysdeps/unix/sysv/linux/kernel-features.h
24730         (__ASSUME_GETCWD_SYSCALL): Don't define.
24731         (__ASSUME_REALTIME_SIGNALS): Likewise.
24732         (__ASSUME_PREAD_SYSCALL): Likewise.
24733         (__ASSUME_PWRITE_SYSCALL): Likewise.
24734         (__ASSUME_POLL_SYSCALL): Likewise.
24735         (__ASSUME_LCHOWN_SYSCALL): Likewise.
24736         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24737         non-SPARC.
24738         (__ASSUME_SIOCGIFNAME): Don't define.
24739         (__ASSUME_MSG_NOSIGNAL): Likewise.
24740         (__ASSUME_SENDFILE): Define unconditionally.
24741         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24742         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24743         conditional code.
24744         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24745         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24746         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24747         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24748         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24749         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24750         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24752         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24753         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24755         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24756         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24758         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24759         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24761         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24762         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24764         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24765         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24767         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24768         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24770         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24771         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24773         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24774         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24775         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24776         Remove conditional code.
24777         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24778         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24779         Remove conditional code.
24780         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24781         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24782         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24783         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24784         Remove conditional code.
24785         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24786         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24787         Remove conditional code.
24788         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24789         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24790         Remove conditional code.
24791         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24792         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24793         Remove conditional code.
24794         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24795         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24796         Remove conditional code.
24797         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24798         * sysdeps/unix/sysv/linux/sh/pwrite64.c
24799         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24800         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24801         * sysdeps/unix/sysv/linux/sigaction.c
24802         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24803         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24804         * sysdeps/unix/sysv/linux/sigpending.c
24805         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24806         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24807         * sysdeps/unix/sysv/linux/sigprocmask.c
24808         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24809         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24810         * sysdeps/unix/sysv/linux/sigsuspend.c
24811         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24812         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24813         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24814         (__libc_missing_rt_sigs): Remove.
24815         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24816         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24817         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24818         Remove conditional code.
24819         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24820         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24821         return 1.
24822         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24823         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24824         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24825         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24826
24827 2012-05-14  Andreas Jaeger  <aj@suse.de>
24828
24829         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24830         it's not used in glibc.
24831         (__coshm1): Likewise.
24832         (__acosh1p): Likewise.
24833         (__sgn): Likewise.
24834
24835         * manual/string.texi (Copying and Concatenation): Add missing
24836         variable in concat example.
24837         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24838
24839 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24840
24841         [BZ #14103]
24842         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24843         __builtin_clzl with __builtin_clzll.
24844
24845 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24846
24847         [BZ #14104]
24848         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24849         libc_freeres_ptr.
24850
24851 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24852
24853         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24854         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24855         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24856         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24857
24858 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
24859
24860         * NEWS: Update ia64 info.
24861
24862 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
24863
24864         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24865         used as bcopy.
24866
24867 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
24868
24869         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24870         * sysdeps/unix/syscalls.list (dup3): Likewise.
24871         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24872         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24873
24874 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24875
24876         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24877         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24878
24879 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24880
24881         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24882         thread pointer.
24883         (TLS_IE): Use mov/add instead of movq/addq to load thread
24884         pointer.
24885         (TLS_GD_PREFIX): New.
24886         (TLS_GD): Use it.
24887
24888 2012-05-11  David S. Miller  <davem@davemloft.net>
24889
24890         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24891         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24892         (_FPU_SETCW): Likewise.
24893
24894 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24895
24896         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24897         is 32-byte aligned.
24898
24899 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
24900
24901         [BZ #11837]
24902         * iconvdata/gb18030.c: Update tables.
24903         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
24904         characters specially.
24905         (BODY for TO_LOOP): Add encoding of missing ranges.
24906
24907 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
24908
24909         [BZ #13673]
24910         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24911         * sysdeps/mach/hurd/dup3.c: Likewise.
24912         * sysdeps/mach/hurd/readlinkat.c: Likewise.
24913         * sysdeps/powerpc/memmove.c:: Likewise.
24914
24915 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24916
24917         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24918         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24919
24920 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24921
24922         * elf/elf.h (R_X86_64_RELATIVE64): New.
24923         (R_X86_64_NUM): Updated.
24924         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24925         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
24926         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24927         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24928         tst-quad1pie tst-quad2pie
24929         (modules-names): Add tst-quadmod1 tst-quadmod2.
24930         ($(objpfx)tst-quad1): New dependency.
24931         ($(objpfx)tst-quad2): Likewise.
24932         ($(objpfx)tst-quad1pie): Likewise.
24933         ($(objpfx)tst-quad2pie): Likewise.
24934         * sysdeps/x86_64/tst-quad1.c: New file.
24935         * sysdeps/x86_64/tst-quad1pie.c: New file.
24936         * sysdeps/x86_64/tst-quad2.c: Likewise.
24937         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24938         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24939         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24940         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24941         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24942
24943 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24944
24945         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24946         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24947         * streams/stropts.h (t_scalar_t): Define type.
24948
24949         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24950         (_PATH_PRESERVE): Set to "/var/lib".
24951         (_PATH_RWHODIR): Set to "/var/spool/rwho".
24952
24953         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24954         instead of int.
24955
24956         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24957         if __dir_mkfile succeeded.
24958
24959         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24960         checking for _hurd_dtablesize.  Unlock it right after having
24961         finished _hurd_dtable allocation.
24962
24963 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24964
24965         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24966         * sysdeps/mach/hurd/configure: Regenerated.
24967         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24968         special-casing to...
24969         * sysdeps/gnu/configure.in: ... this new file.
24970         * sysdeps/unix/sysv/linux/configure: Regenerated.
24971         * sysdeps/gnu/configure: New generated file.
24972
24973         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24974         for Linux: use nsec instead of usec, as well as:
24975         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24976         members of type struct timespec.
24977         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24978         New macros.
24979         (struct stat64): Likewise.
24980         (_STATBUF_ST_NSEC): New macro.
24981         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24982
24983         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24984         __strtoul_internal rather than strtoul.
24985
24986 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24987
24988         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24989         and reject them.
24990
24991 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24992
24993         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24994         which preserves existing values.
24995         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24996
24997 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24998
24999         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25000         TIMEOUT values.  Return EINVAL for NFDS values either negative or
25001         greater than FD_SETSIZE.
25002
25003 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25004
25005         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25006         allocated, call __vm_protect to finish enabling the existing space, and
25007         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25008         allocate the remainder.
25009
25010 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25011
25012         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25013         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
25014
25015 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25016
25017         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25018         sysdeps/mach/hurd/readlink.c.
25019
25020         * posix/tst-sysconf.c (posix_options): Only use
25021         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25022         _POSIX_SYNCHRONIZED_IO when they are defined
25023         * sysdeps/mach/hurd/bits/posix_opt.h:
25024         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25025         (_XOPEN_REALTIME): Undefine macro.
25026         (_XOPEN_REALTIME_THREADS): Undefine macro.
25027         (_XOPEN_SHM): Undefine macro.
25028         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25029         macro to -1.
25030         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25031         macro to -1.
25032         (_POSIX_ASYNC_IO): Undefine macro.
25033         (_POSIX_PRIORITIZED_IO): Undefine macro.
25034         (_POSIX_SPIN_LOCKS): Define macro to -1.
25035
25036         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25037         SA_NODEFER, SA_RESETHAND.
25038         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25039         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25040         F_DUPFD_CLOEXEC.
25041
25042 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25043
25044         * elf/Makefile (pldd-modules): Define unconditionally.
25045
25046 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25047
25048         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25049
25050 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25051
25052         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25053         Return ENOENT when name is empty.
25054         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25055
25056 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25057
25058         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25059
25060         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25061
25062 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25063
25064         Fix mlock in all cases except non-readable pages.
25065         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25066         instead of VM_PROT_ALL as parameter to __vm_wire function.
25067
25068         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25069         (__mkdir): When path is `/', just fail with EEXIST.
25070         * sysdeps/mach/hurd/mkdirat.c: Likewise.
25071
25072 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25073
25074         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25075         <sys/uio.h> (for writev).
25076         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25077         and <sys/param.h> (for MIN).
25078
25079 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25080
25081         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25082         REQUESTED_TIME.  Properly set the remaining time and return EINTR
25083         if interrupted.
25084
25085 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25086
25087         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25088         Depend on against $(link-rpcuserlibs).
25089
25090 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25091
25092         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25093         (__libc_stack_end): Do not use attribute_relro.
25094         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25095         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25096         to libthread-provided value.
25097         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25098         attribute_relro.
25099
25100 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25101
25102         [BZ #3748]
25103         * bits/libc-lock.h (__libc_once_get): New macro.
25104         * sysdeps/mach/bits/libc-lock.h: Likewise.
25105         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25106         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25107         instead of using implementation details.
25108
25109         * libio/fileops.c: Unconditionally include <kernel-features.h>.
25110         * libio/freopen.c: Likewise.
25111         * libio/freopen64.c: Likewise.
25112         * misc/syslog.c: Likewise.
25113         * nscd/connections.c: Likewise.
25114         * nscd/netgroupcache.c: Likewise.
25115         * sysdeps/posix/getcwd.c: Likewise.
25116
25117 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25118
25119         * math/w_ilogbf.c: Add #include <limits.h>.
25120
25121 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25122
25123         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25124         path instead of returning without unlocking.
25125
25126         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25127         immediate-write ioctls.
25128         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25129
25130 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25131
25132         * sysdeps/mach/hurd/i386/init-first.c (init): Use
25133         __builtin_frame_address instead of making assumptions about the
25134         location of the return address relative to DATA.  Force early load of
25135         the return address.
25136         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25137         __builtin_frame_address.
25138
25139         dup3 for GNU Hurd.
25140         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25141         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
25142         implement dup3 and do some further code clean-ups.
25143         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25144         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25145
25146 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25147
25148         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25149
25150         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25151         HURD_CRITICAL_END around holding _hurd_dtable_lock.
25152         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25153         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25154         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25155         d->port.lock.
25156
25157         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25158         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
25159         when handler == SIG_ERR, not when handler != SIG_ERR.
25160
25161 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25162
25163         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25164         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25165         definitions.
25166
25167         accept4 for GNU Hurd.
25168         * include/sys/socket.h (__libc_accept4): New prototype.
25169         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
25170         to implement __libc_accept4.
25171         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25172         __libc_accept4.
25173         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25174
25175         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25176         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25177         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25178         signal-defines.sym.
25179
25180 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25181
25182         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25183
25184 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25185
25186         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25187         assertion on O_CLOEXEC flag.
25188         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25189         * hurd/intern-fd.c: Likewise.
25190         * hurd/port2fd.c: Likewise.
25191
25192 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25193
25194         [BZ #3906]
25195         * bits/in.h (IPV6_PKTINFO): Define new macro.
25196         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25197
25198 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25199
25200         [BZ #13954]
25201         [BZ #13955]
25202         [BZ #13956]
25203         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25204         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25205         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25206         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25207         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25208         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25209         * math/libm-test.inc (logb_test) : Additional logb tests.
25210
25211 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
25212             Andreas Jaeger  <aj@suse.de>
25213
25214         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25215         * configure: Regenerated.
25216         * config.h.in (LINK_OBSOLETE_RPC): New macro.
25217         * config.make.in (link-obsolete-rpc): New substituted variable.
25218         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25219         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25220         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25221         (shared-only-routines): Don't set it under [link-obsolete-rpc],
25222         so that libc.a contains the symbols.
25223         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25224         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25225         * sunrpc/auth_none.c: Likewise.
25226         * sunrpc/auth_unix.c: Likewise.
25227         * sunrpc/authdes_prot.c: Likewise.
25228         * sunrpc/authuxprot.c: Likewise.
25229         * sunrpc/clnt_gen.c: Likewise.
25230         * sunrpc/clnt_perr.c: Likewise.
25231         * sunrpc/clnt_raw.c: Likewise.
25232         * sunrpc/clnt_simp.c: Likewise.
25233         * sunrpc/clnt_tcp.c: Likewise.
25234         * sunrpc/clnt_udp.c: Likewise.
25235         * sunrpc/clnt_unix.c: Likewise.
25236         * sunrpc/des_crypt.c: Likewise.
25237         * sunrpc/des_soft.c: Likewise.
25238         * sunrpc/get_myaddr.c: Likewise.
25239         * sunrpc/key_call.c: Likewise.
25240         * sunrpc/key_prot.c: Likewise.
25241         * sunrpc/netname.c: Likewise.
25242         * sunrpc/pm_getmaps.c: Likewise.
25243         * sunrpc/pm_getport.c: Likewise.
25244         * sunrpc/pmap_clnt.c: Likewise.
25245         * sunrpc/pmap_prot.c: Likewise.
25246         * sunrpc/pmap_prot2.c: Likewise.
25247         * sunrpc/pmap_rmt.c: Likewise.
25248         * sunrpc/publickey.c: Likewise.
25249         * sunrpc/rpc_cmsg.c: Likewise.
25250         * sunrpc/rpc_common.c: Likewise.
25251         * sunrpc/rpc_dtable.c: Likewise.
25252         * sunrpc/rpc_prot.c: Likewise.
25253         * sunrpc/rpc_thread.c: Likewise.
25254         * sunrpc/rtime.c: Likewise.
25255         * sunrpc/svc.c: Likewise.
25256         * sunrpc/svc_auth.c: Likewise.
25257         * sunrpc/svc_raw.c: Likewise.
25258         * sunrpc/svc_run.c: Likewise.
25259         * sunrpc/svc_tcp.c: Likewise.
25260         * sunrpc/svc_udp.c: Likewise.
25261         * sunrpc/svc_unix.c: Likewise.
25262         * sunrpc/svcauth_des.c: Likewise.
25263         * sunrpc/xcrypt.c: Likewise.
25264         * sunrpc/xdr.c: Likewise.
25265         * sunrpc/xdr_array.c: Likewise.
25266         * sunrpc/xdr_float.c: Likewise.
25267         * sunrpc/xdr_intXX_t.c: Likewise.
25268         * sunrpc/xdr_mem.c: Likewise.
25269         * sunrpc/xdr_rec.c: Likewise.
25270         * sunrpc/xdr_ref.c: Likewise.
25271         * sunrpc/xdr_sizeof.c: Likewise.
25272         * sunrpc/xdr_stdio.c: Likewise.
25273
25274 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25275
25276         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25277         change.  Update copyright years.
25278
25279 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25280
25281         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25282
25283 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
25284             Joseph Myers  <joseph@codesourcery.com>
25285             Paul Pluzhnikov  <ppluzhnikov@google.com>
25286
25287         [BZ #14012]
25288         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25289         requiring rpcgen.
25290         [cross-compiling] (extra-libs): Likewise.
25291         [cross-compiling] (extra-libs-others): Likewise.
25292         [cross-compiling] (librpcsvc-routines): Likewise.
25293         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25294         [cross-compiling] (omit-deps): Likewise.
25295         (sunrpc-CPPFLAGS): New variable.
25296         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25297         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25298         (cross-rpcgen-objs): New variable.
25299         (extra-objs): Append $(cross-rpcgen-objs).
25300         ($(cross-rpcgen-objs)): New rule.
25301         ($(objpfx)cross-rpcgen): Likewise.
25302         (rpcgen-cmd): Define to use $(built-program-file).  Expand
25303         comment.
25304         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25305         ($(objpfx)x%.stmp): Likewise.
25306         * sunrpc/proto.h [IS_IN_build] (_): Define.
25307         [IS_IN_build] (_libc_intl_domainname): Likewise.
25308
25309 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25310
25311         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25312         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25313         and R_X86_64_TPOFF64.
25314
25315 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25316
25317         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25318         sysdeps/unix/sysv/syscalls.list.
25319         (stime): Likewise.
25320         (utime): Likewise.
25321         * sysdeps/unix/sysv/syscalls.list: Remove file.
25322
25323 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
25324
25325         [BZ #3440]
25326         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25327         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25328         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25329         (__LC_IDENTIFICATION): Make these macros useful in #if
25330         expressions, as required by C99.
25331
25332 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
25333
25334         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25335         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
25336         after this.
25337
25338 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
25339
25340         * stdlib/longlong.h: Updated from GCC.
25341
25342 2012-05-09  Andreas Jaeger  <aj@suse.de>
25343
25344         * nscd/nscd.c (run_modes): Make named enum, reorder so that
25345         default is first entry.
25346         (run_mode): Set type.
25347         (main): Remove informal message about syslog.
25348         (options): Fix typo.
25349
25350         [BZ #14053]
25351         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25352         to asm.
25353         (lrint): Likewise.
25354         (llrintf): Likewise.
25355         (llrint): Likewise.
25356         (rint): Likewise.
25357         (rintf): Likewise.
25358         (nearbyint): Likewise.
25359         (nearbyintf): Likewise.
25360
25361 2012-05-09  Andreas Jaeger  <aj@suse.de>
25362             Pedro Alves  <palves@redhat.com>
25363
25364         * nscd/nscd.c (run_mode): Use enum.
25365         (main): Cleanup coding style issue.
25366
25367 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
25368             Andreas Jaeger  <aj@suse.de>
25369
25370         * nscd/nscd.c (go_background): Replaced with...
25371         (run_mode): ... this.
25372         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25373         (options): Add -F --foreground.
25374         (main): Implement it.
25375         (parse_opt): Parse it.
25376
25377 2012-05-09  Andreas Jaeger  <aj@suse.de>
25378
25379         [BZ #14083]
25380         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25381         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25382         -Wconversion warning.
25383         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25384         Likewise.
25385
25386 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
25387
25388         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
25389         == 0.
25390         (LC_ALL): Use macro-int-constant.
25391         (LC_COLLATE): Likewise.
25392         (LC_CTYPE): Likewise.
25393         (LC_MESSAGES): Likewise.
25394         (LC_MONETARY): Likewise.
25395         (LC_NUMERIC): Likewise.
25396         (LC_TIME): Likewise.
25397         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25398         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25399         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25400         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25401         Specify type.
25402         [C99-based standards] (float_t): Expect type.
25403         [C99-based standards] (double_t): Expect type.
25404         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
25405         type.
25406         [C99-based standards] (HUGE_VALL): Likewise.
25407         [C99-based standards] (INFINITY): Likewise.
25408         [C99-based standards] (NAN): Likewise.
25409         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25410         [C99-based standards] (FP_NAN): Likewise.
25411         [C99-based standards] (FP_NORMAL): Likewise.
25412         [C99-based standards] (FP_SUBNORMAL): Likewise.
25413         [C99-based standards] (FP_ZERO): Likewise.
25414         [C99-based standards] (FP_FAST_FMA): Use
25415         optional-macro-int-constant.  Specify type.  Require == 1.
25416         [C99-based standards] (FP_FAST_FMAF): Likewise.
25417         [C99-based standards] (FP_FAST_FMAL): Likewise.
25418         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25419         [C99-based standards] (FP_ILOGBNAN): Likewise.
25420         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25421         Specify type.
25422         [C99-based standards] (MATH_ERREXCEPT): Likewise.
25423         [C99-based standards] (math_errhandling): Specify type.
25424         [ISO99 || ISO11] (signgam): Do not allow.
25425         [non-C99-based standards] (copysignf): Do not allow.
25426         [non-C99-based standards] (exp2f): Likewise.
25427         [non-C99-based standards] (log2f): Likewise.
25428         [non-C99-based standards] (modff): Allow.
25429         [non-C99-based standards] (erff): Do not allow.
25430         [non-C99-based standards] (erfcf): Likewise.
25431         [non-C99-based standards] (gammaf): Likewise.
25432         [non-C99-based standards] (hypotf): Likewise.
25433         [non-C99-based standards] (j0f): Likewise.
25434         [non-C99-based standards] (j1f): Likewise.
25435         [non-C99-based standards] (jnf): Likewise.
25436         [non-C99-based standards] (lgammaf): Likewise.
25437         [non-C99-based standards] (tgammaf): Likewise.
25438         [non-C99-based standards] (y0f): Likewise.
25439         [non-C99-based standards] (y1f): Likewise.
25440         [non-C99-based standards] (ynf): Likewise.
25441         [non-C99-based standards] (isnanf): Likewise.
25442         [non-C99-based standards] (acoshf): Likewise.
25443         [non-C99-based standards] (asinhf): Likewise.
25444         [non-C99-based standards] (atanhf): Likewise.
25445         [non-C99-based standards] (cbrtf): Likewise.
25446         [non-C99-based standards] (expm1f): Likewise.
25447         [non-C99-based standards] (ilogbf): Likewise.
25448         [non-C99-based standards] (log1pf): Likewise.
25449         [non-C99-based standards] (logbf): Likewise.
25450         [non-C99-based standards] (nextafterf): Likewise.
25451         [non-C99-based standards] (remainderf): Likewise.
25452         [non-C99-based standards] (rintf): Likewise.
25453         [non-C99-based standards] (scalbf): Likewise.
25454         [non-C99-based standards] (copysignl): Likewise.
25455         [non-C99-based standards] (exp2l): Likewise.
25456         [non-C99-based standards] (log2l): Likewise.
25457         [non-C99-based standards] (modfl): Allow.
25458         [non-C99-based standards] (erfl): Do not allow.
25459         [non-C99-based standards] (erfcl): Likewise.
25460         [non-C99-based standards] (gammal): Likewise.
25461         [non-C99-based standards] (hypotl): Likewise.
25462         [non-C99-based standards] (j0l): Likewise.
25463         [non-C99-based standards] (j1l): Likewise.
25464         [non-C99-based standards] (jnl): Likewise.
25465         [non-C99-based standards] (lgammal): Likewise.
25466         [non-C99-based standards] (tgammal): Likewise.
25467         [non-C99-based standards] (y0l): Likewise.
25468         [non-C99-based standards] (y1l): Likewise.
25469         [non-C99-based standards] (ynl): Likewise.
25470         [non-C99-based standards] (isnanl): Likewise.
25471         [non-C99-based standards] (acoshl): Likewise.
25472         [non-C99-based standards] (asinhl): Likewise.
25473         [non-C99-based standards] (atanhl): Likewise.
25474         [non-C99-based standards] (cbrtl): Likewise.
25475         [non-C99-based standards] (expm1l): Likewise.
25476         [non-C99-based standards] (ilogbl): Likewise.
25477         [non-C99-based standards] (log1pl): Likewise.
25478         [non-C99-based standards] (logbl): Likewise.
25479         [non-C99-based standards] (nextafterl): Likewise.
25480         [non-C99-based standards] (remainderl): Likewise.
25481         [non-C99-based standards] (rintl): Likewise.
25482         [non-C99-based standards] (scalbl): Likewise.
25483         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25484         [non-C99-based standards] (FP_*): Do not allow.
25485         [C99-based standards] (FP_*): Change to
25486         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25487         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25488         allow.
25489         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25490         (SIG_ERR): Likewise.
25491         [X/Open-based standards] (SIG_HOLD): Likewise.
25492         (SIG_IGN): Likewise.
25493         (SIGABRT): Use macro-int-constant.  Specify type.  Require
25494         positive value.
25495         (SIGFPE): Likewise.
25496         (SIGILL): Likewise.
25497         (SIGINT): Likewise.
25498         (SIGSEGV): Likewise.
25499         (SIGTER): Likewise.
25500         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25501         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25502         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25503         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25504         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25505         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25506         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25507         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25508         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25509         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25510         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25511         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25512         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25513         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25514         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25515         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25516         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25517         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25518         [X/Open-based standards] (SIGTRAP): Likewise.
25519         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25520         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25521         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25522         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25523         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25524         allow.
25525
25526 2012-05-08  Ian Wienand  <ianw@vmware.com>
25527
25528         [BZ #14080]
25529         * time/tzset.c (__tzset_parse_tz): Update default rules for
25530         daylight time changes in the Energy Policy Act of 2005.
25531
25532 2012-05-09  Andreas Jaeger  <aj@suse.de>
25533
25534         [BZ #13983]
25535         * elf/ldconfig.c (parse_conf): Change string to make clear that
25536         ldconfig only issued a warning if ld.so.conf does not exist.
25537
25538 2012-05-08  David S. Miller  <davem@davemloft.net>
25539
25540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25541         movxtod instead of popping the value on the stack.
25542
25543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25544
25545 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
25546
25547         * config.h.in: Add HAVE_ARM_PCS_VFP.
25548
25549 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
25550
25551         [BZ #13979]
25552         * include/features.h: Warn if user requests __FORTIFY_SOURCE
25553         checking but the checks are disabled for any reason.
25554
25555 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
25556
25557         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25558         and ELF64_R_TYPE with ELFW(R_TYPE).
25559
25560 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
25561
25562         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25563         (ulimit): Likewise.
25564
25565         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25566         (settimeofday): Likewise.
25567
25568 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
25569
25570         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
25571         a struct th_u2 inside the union, and move tu_block/tu_code into
25572         a new th_u3 union of tu_block/tu_code inside of that.  Move
25573         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
25574         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
25575         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25576         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25577         (th_stuff): Change to th_u1.tu_stuff.
25578         (th_data): Define.
25579         (th_msg): Change to th_u1.th_u2.tu_data.
25580
25581 2012-05-07  David S. Miller  <davem@davemloft.net>
25582
25583         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25584
25585         [BZ #14074]
25586         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25587         (SETUP_PIC_REG): Use it.
25588         (SETUP_PIC_REG_LEAF): Use it.
25589
25590 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
25591
25592         [BZ #13885]
25593         [BZ #13923]
25594         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25595         USE_AS_EXPM1L.
25596         (EXPL_FINITE): Likewise.
25597         (FLDLOG): Likewise.
25598         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25599         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25600         e_expl.S.
25601         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25602         USE_AS_EXPM1L.
25603         (EXPL_FINITE): Likewise.
25604         (FLDLOG): Likewise.
25605         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25606         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25607         e_expl.S.
25608         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
25609         test of -max_value argument for long double.
25610         * sysdeps/i386/fpu/libm-test-ulps: Update.
25611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25612
25613 2012-05-06  David S. Miller  <davem@davemloft.net>
25614
25615         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25616         quad soft-float symbols whose references which are compiler
25617         generated.
25618         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25619
25620 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
25621
25622         [BZ #13884]
25623         [BZ #13914]
25624         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25625         USE_AS_EXP10L.
25626         (EXPL_FINITE): Likewise.
25627         (FLDLOG): Likewise.
25628         (c0): Likewise.
25629         (c1): Likewise.
25630         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25631         Adjust comments for base varying.
25632         (__expl_finite): Change alias to EXPL_FINITE.
25633         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25634         e_expl.S.
25635         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25636         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25637         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25638         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25639         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25640         USE_AS_EXP10L.
25641         (EXPL_FINITE): Likewise.
25642         (FLDLOG): Likewise.
25643         (c0): Likewise.
25644         (c1): Likewise.
25645         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25646         Adjust comments for base varying.
25647         (__expl_finite): Change alias to EXPL_FINITE.
25648         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
25649         tests for bugs.
25650         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25651
25652         [BZ #14064]
25653         * math/libm-test.inc (check_float_internal): Correct ulp
25654         calculation for subnormal expected results.
25655
25656 2012-05-06  Andreas Jaeger  <aj@suse.de>
25657
25658         * Makeconfig (+math-flags): New, set to -frounding-math.
25659         (+cflags): Add +math-flags so that all of glibc gets compiled with
25660         it.
25661
25662         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25663
25664 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
25665
25666         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25667         Disable one test.
25668
25669         [BZ #13787]
25670         [BZ #13922]
25671         [BZ #14036]
25672         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25673         (__ieee754_expl): Allow for and saturate large arguments.
25674         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25675         (u_threshold): Likewise.
25676         (__exp): Call __ieee754_exp before checking for overflow and
25677         underflow.
25678         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25679         (u_threshold): Likewise.
25680         (__expf): Call __ieee754_expf before checking for overflow and
25681         underflow.
25682         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25683         (u_threshold): Likewise.
25684         (__expl): Call __ieee754_expl before checking for overflow and
25685         underflow.
25686         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25687         (__ieee754_expl): Allow for and saturate large arguments.
25688         * math/libm-test.inc (exp_test): Add another test.  Do not allow
25689         missing overflow exception on overflow.
25690         (expm1_test): Do not allow missing overflow exception on overflow.
25691
25692         * sysdeps/i386/fpu/e_expl.c: Move to ...
25693         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
25694         rather than using inline asm.
25695         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25696         * sysdeps/x86_64/fpu/e_expl.S: Copy from
25697         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25698
25699         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25700         (nice): Likewise.
25701         (poll): Likewise.
25702         (signal): Likewise.
25703         (time): Likewise.
25704         (times): Likewise.
25705
25706 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25707
25708         * sysdeps/unix/syscalls.list (adjtime): Add entry from
25709         sysdeps/unix/common/syscalls.list.
25710         (fchmod): Likewise.
25711         (fchown): Likewise.
25712         (ftruncate): Likewise.
25713         (getrusage): Likewise.
25714         (gettimeofday): Likewise.
25715         (setpgid): Likewise.
25716         (setregid): Likewise.
25717         (setreuid): Likewise.
25718         (sigaction): Likewise.
25719         (truncate): Likewise.
25720         (vhangup): Likewise.
25721         * sysdeps/unix/common/syscalls.list: Remove file.
25722         * sysdeps/unix/bsd/Implies: Don't include unix/common.
25723         * sysdeps/unix/sysv/linux/Implies: Likewise.
25724
25725 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
25726
25727         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25728         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25729         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25730         Moved to ...
25731         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25732         Here.
25733         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25734         to ...
25735         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25736         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25737         to ...
25738         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25739         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25740         to ...
25741         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25742         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25743         to ...
25744         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25745         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25746         to ...
25747         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25748         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25749         to ...
25750         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25751         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25752         to ...
25753         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25754         Here.
25755         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25756         to ...
25757         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25758         Here.
25759         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25760         to ...
25761         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25762         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25763         Moved to ...
25764         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25765         Here.
25766         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25767         to ...
25768         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25769
25770 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25771
25772         * sysdeps/unix/common/bits/dirent.h: Remove file.
25773         * sysdeps/unix/common/bits/fcntl.h: Likewise.
25774
25775         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25776         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25777         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25778         * sysdeps/unix/bsd/isatty.c: Likewise.
25779         * sysdeps/unix/bsd/tcdrain.c: Likewise.
25780         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25781         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25782
25783 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25784
25785         [BZ #13563]
25786         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25787         long double comparison inaccuracies.
25788         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25789         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25790
25791 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
25792
25793         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25794         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25795
25796 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25797
25798         [BZ #14049]
25799         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25800         nonzero digits before rounding a hex value.
25801         * stdlib/tst-strtod.c (tests): Add another test.
25802
25803 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25804
25805         * sysdeps/s390/fpu/libm-test-ulps: Update.
25806
25807 2012-05-03  Andreas Jaeger  <aj@suse.de>
25808
25809         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25810         does not get optimized out.
25811         (malloc_opt_barrier): New.
25812
25813 2012-05-03  Andreas Jaeger  <aj@suse.de>
25814             Roland McGrath  <roland@hack.frob.com>
25815
25816         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25817         intermediate file deletion.
25818         (generated): Add .symlist files.
25819
25820 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
25821
25822         [BZ #13775]
25823         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25824         Redirect under this condition.
25825         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25826         [__USE_GNU] (__dprintf_chk): Not under this condition.
25827         [__USE_GNU] (__vdprintf_chk): Likewise.
25828         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25829         under this condition.
25830         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25831         [__USE_XOPEN2K8] (dprintf): Define under this condition.
25832         [__USE_XOPEN2K8] (vdprintf): Likewise.
25833         [__USE_GNU] (__dprintf_chk): Not under this condition.
25834         [__USE_GNU] (__vdprintf_chk): Likewise.
25835         [__USE_GNU] (dprintf): Likewise.
25836         [__USE_GNU] (vdprintf): Likewise.
25837
25838 2012-05-03  Roland McGrath  <roland@hack.frob.com>
25839
25840         * elf/Makefile (common-generated): Set this instead of generated for
25841         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
25842         $(all-built-dso)-derived lists.
25843
25844 2012-05-03  Andreas Jaeger  <aj@suse.de>
25845
25846         * sysdeps/i386/fpu/libm-test-ulps: Update.
25847
25848         * FAQ: Removed.
25849         * FAQ.in: Likewise.
25850         * scripts/gen-FAQ.pl: Likewise.
25851         * manual/install.texi (Installation): Point to online location of
25852         FAQ.
25853         * Makefile (files-for-dist): Remove FAQ.
25854         (FAQ): Remove.
25855
25856 2012-05-02  Allan McRae  <allan@archlinux.org>
25857
25858         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25859         (LDFLAGS-reldepmod5.so): Likewise.
25860         (LDFLAGS-reldep6mod1.so): Likewise.
25861         (LDFLAGS-reldep6mod4.so): Likewise.
25862         (LDFLAGS-reldep8mod3.so): Likewise.
25863         (LDFLAGS-unload4mod1.so): Likewise.
25864         (LDFLAGS-unload4mod2.so): Likewise.
25865         (LDFLAGS-tst-initorder): Likewise.
25866         (LDFLAGS-tst-initordera2.so): Likewise.
25867         (LDFLAGS-tst-initordera3.so): Likewise.
25868         (LDFLAGS-tst-initordera4.so): Likewise.
25869         (LDFLAGS-tst-initorderb2.so): Likewise.
25870         (LDFLAGS-noload): Likewise.
25871         (LDFLAGS-next): Likewise.
25872         (LDFLAGS-order2mod1.so): Likewise.
25873         (LDFLAGS-order2mod2.so): Likewise.
25874         (LDFLAGS-tst-initorder2): Likewise.
25875         (LDFLAGS-tst-initorder2a.so): Likewise.
25876         (LDFLAGS-tst-initorder2b.so): Likewise.
25877         (LDFLAGS-tst-initorder2c.so): Likewise.
25878         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25879
25880 2012-05-02  David S. Miller  <davem@davemloft.net>
25881
25882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25883
25884 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25885
25886         [BZ #14055]
25887         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25888
25889 2012-05-02  Andreas Jaeger  <aj@suse.de>
25890
25891         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25892         since we manipulate rounding mode.
25893         (CPPFLAGS-test-idouble.c): Likewise.
25894         (CPPFLAGS-test-ifloat.c): Likewise.
25895         (CFLAGS-test-ldouble.c): Likewise.
25896         (CFLAGS-test-double.c): Likewise.
25897         (CFLAGS-test-float.c): Likewise.
25898         (CFLAGS-test-misc.c): Likewise.
25899         (CFLAGS-test-test-fenv.c): Likewise.
25900
25901 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25902
25903         [BZ #2550]
25904         [BZ #2570]
25905         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25906         comparisons to determine direction to adjust input.
25907
25908 2012-05-01  Roland McGrath  <roland@hack.frob.com>
25909
25910         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25911         output to the target.
25912
25913         * scripts/localplt.awk: New file.
25914         * elf/Makefile ($(objpfx)check-localplt): Target removed.
25915         (check-localplt-CFLAGS): Variable removed.
25916         ($(all-built-dso:=.jmprel)): New static pattern rule.
25917         (generated): Add those targets.
25918         (localplt-built-dso): New variable.
25919         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25920
25921         * elf/check-localplt.c: File removed.
25922
25923         * scripts/check-execstack.awk: New file.
25924         * elf/Makefile ($(objpfx)check-execstack): Target removed.
25925         (check-execstack-CFLAGS): Variable removed.
25926         ($(objpfx)check-execstack.h): Target removed.
25927         ($(objpfx)execstack-default): New target.
25928         (generated): Add that instead of check-execstack.h.
25929         ($(all-built-dso:=.phdr)): New static pattern rule.
25930         (generated): Add those targets.
25931         * elf/check-execstack.c: File removed.
25932
25933         * scripts/check-textrel.awk: New file.
25934         * elf/Makefile ($(objpfx)check-textrel): Target removed.
25935         (check-textrel-CFLAGS): Variable removed.
25936         (all-built-dso): Use := to define.o
25937         ($(all-built-dso:=.dyn)): New static pattern rule.
25938         (generated): Add those targets.
25939         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25940         * config.make.in (READELF): New substituted variable.
25941         * elf/check-textrel.c: File removed.
25942
25943 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25944
25945         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25946         allow.
25947         * conform/data/ctype.h-data [C99-based standards] (isblank):
25948         Expect function.
25949         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25950         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25951         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25952         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25953         Specify type.  Require positive value.
25954         (EILSEQ): Likewise.
25955         (ERANGE): Likewise.
25956         [ISO || POSIX] (EILSEQ): Do not expect.
25957         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25958         Specify type.  Require positive value.
25959         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25960         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25961         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25962         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25963         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25964         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25965         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25966         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25967         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25968         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25969         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25970         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25971         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25972         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25973         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25974         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25975         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25976         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25977         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25978         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25979         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25980         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25981         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25982         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25983         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25984         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25985         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25986         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25987         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25988         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25989         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25990         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25991         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25992         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25993         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25994         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25995         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25996         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25997         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25998         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25999         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26000         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26001         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26002         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26003         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26004         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26005         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26006         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26007         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26008         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26009         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26010         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26011         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26012         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26013         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26014         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26015         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26016         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26017         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26018         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26019         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26020         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26021         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26022         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26023         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26024         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26025         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26026         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26027         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26028         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26029         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26030         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26031         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26032         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26033         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26034         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26035         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26036         Require >= 2.
26037         (FLT_ROUNDS): Expect as macro, not constant.
26038         (FLT_MANT_DIG): Use macro-int-constant.
26039         (DBL_MANT_DIG): Likewise.
26040         (LDBL_MANT_DIG): Likewise.
26041         (FLT_DIG): Likewise.
26042         (DBL_DIG): Likewise.
26043         (LDBL_DIG): Likewise.
26044         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
26045         (DBL_MIN_EXP): Likewise.
26046         (LDBL_MIN_EXP): Likewise.
26047         (FLT_MAX_EXP): Use macro-int-constant.
26048         (DBL_MAX_EXP): Likewise.
26049         (LDBL_MAX_EXP): Likewise.
26050         (FLT_MAX_10_EXP): Likewise.
26051         (DBL_MAX_10_EXP): Likewise.
26052         (LDBL_MAX_10_EXP): Likewise.
26053         (FLT_MAX): Use macro-constant.
26054         (DBL_MAX): Likewise.
26055         (LDBL_MAX): Likewise.
26056         (FLT_EPSILON): Use macro-constant.  Give upper bound.
26057         (DBL_EPSILON): Likewise.
26058         (LDBL_EPSILON): Likewise.
26059         (FLT_MIN): Likewise.
26060         (DBL_MIN): Likewise.
26061         (LDBL_MIN): Likewise.
26062         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26063         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26064         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26065         [ISO11] (FLT_HAS_SUBNORM): Likewise.
26066         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26067         [ISO11] (DBL_DECIMAL_DIG): Likewise.
26068         [ISO11] (FLT_DECIMAL_DIG): Likewise.
26069         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26070         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26071         [ISO11] (FLT_TRUE_MIN): Likewise.
26072         [ISO11] (LDBL_TRUE_MIN): Likewise.
26073         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26074         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26075         (SCHAR_MIN): Use macro-int-constant.  Specify type.
26076         (SCHAR_MAX): Likewise.
26077         (UCHAR_MAX): Likewise.
26078         (CHAR_MIN): Likewise.
26079         (CHAR_MAX): Likewise.
26080         (MB_LEN_MAX): Use macro-int-constant.
26081         (SHRT_MIN): Use macro-int-constant.  Specify type.
26082         (SHRT_MAX): Likewise.
26083         (USHRT_MAX): Likewise.
26084         (INT_MAX): Likewise.
26085         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
26086         bound negative.
26087         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26088         bound with "U".
26089         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26090         bound with "L".
26091         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
26092         bound negative.  Suffix upper bound with "L".
26093         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26094         bound with "UL".
26095         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26096         Specify type.
26097         [C99-based standards] (LLONG_MAX): Likewise.
26098         [C99-based standards] (ULLONG_MAX): Likewise.
26099         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
26100         == 0.
26101         [ISO11] (max_align_t): Require type.
26102         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26103
26104         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26105         from $CFLAGS, without defining away __attribute__ calls.
26106         (checknamespace): Use $CFLAGS_namespace.
26107
26108         * conform/conformtest.pl (@keywords): Only include C99 keywords
26109         for standards based on C99 or C11.
26110
26111         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26112         Disable tests.
26113         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26114         UNIX98]: Likewise.
26115
26116         * conform/conformtest.pl: Handle "macro-int-constant" and test for
26117         usability of symbols in #if.
26118
26119         * conform/conformtest.pl: If macro or constant types start
26120         "promoted:", expect the symbol to be of the following type
26121         promoted by the integer promotions.
26122
26123         * conform/conformtest.pl: Parse all "constant" and "macro" lines
26124         in one place.  Also handle "macro-constant".
26125
26126         * conform/conformtest.pl: Only accept expected macro values with
26127         "==".  Parse all "macro" lines in one place.
26128         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26129
26130         * conform/conformtest.pl: Handle braced types on "constant" lines
26131         instead of handling "typed-constant".
26132         * conform/data/signal.h-data: Use "constant" instead of
26133         "typed-constant".
26134
26135         * conform/conformtest.pl: Handle "optional-" at start of lines in
26136         one place rather than duplicating several cases.  Handle each
26137         format of "macro" line with initial "optional-".
26138
26139         * conform/conformtest.pl: Only accept expected constant or
26140         optional-constant values with "==".  Parse all "constant" lines in
26141         one place.  Parse all "optional-constant" lines in one place.
26142         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26143         * conform/data/fmtmsg.h-data: Likewise.
26144         * conform/data/netinet/in.h-data: Likewise.
26145         * conform/data/tar.h-data: Likewise.
26146         * conform/data/limits.h-data: Use "==" form on "constant" and
26147         "optional-constant" lines.
26148
26149         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26150         Use -std=c99 for XOPEN2K.
26151         (@knownproblems): Remove.
26152         (newtoken): Don't check %isknown.
26153
26154         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26155         Do not expect macro.
26156         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26157         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26158         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26159         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26160         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26161         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26162         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26163         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26164         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26165         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26166         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26167         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26168         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26169         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26170         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26171         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26172         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26173         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26174         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26175         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26176         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26177         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26178         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26179         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26180         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26181         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26182         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26183         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26184         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26185         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26186         [XPG3] (acosh): Likewise.
26187         [XPG3] (asinh): Likewise.
26188         [XPG3] (atanh): Likewise.
26189         [XPG3] (cbrt): Likewise.
26190         [XPG3] (expm1): Likewise.
26191         [XPG3] (ilogb): Likewise.
26192         [XPG3] (log1p): Likewise.
26193         [XPG3] (logb): Likewise.
26194         [XPG3] (nextafter): Likewise.
26195         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26196         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26197         [XPG3] (remainder): Likewise.
26198         [XPG3] (rint): Likewise.
26199         [XPG3 || XPG4 || UNIX98] (round): Likewise.
26200         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26201         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26202         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26203         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26204         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26205         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26206         [UNIX98 || XOPEN2K] (scalb): Expect.
26207         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26208         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26209         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26210         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26211         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26212         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26213         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26214         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26215         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26216         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26217         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26218         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26219         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26220         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26221         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26222         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26223         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26224         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26225         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26226         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26227         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26228         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26229         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26230         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26231         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26232         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26233         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26234         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26235         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26236         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26237         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26238         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26239         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26240         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26241         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26242         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26243         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26244         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26245         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26246         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26247         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26248         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26249         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26250         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26251         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26252         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26253         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26254         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26255         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26256         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26257         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26258         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26259         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26260         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26261         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26262         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26263         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26264         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26265         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26266         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26267         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26268         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26269         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26270         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26271         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26272         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26273         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26274         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26275         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26276         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26277         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26278         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26279         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26280         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26281         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26282         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26283         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26284         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26285         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26286         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26287         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26288         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26289         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26290         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26291         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26292         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26293         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26294         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26295         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26296         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26297         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26298         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26299         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26300         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26301         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26302         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26303         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26304         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26305         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26306         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26307         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26308         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26309         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26310         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26311         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26312         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26313         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26314         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26315         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26316         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26317         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26318         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26319         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26320         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26321         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26322         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26323         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26324         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26325         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26326         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26327         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26328         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26329         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26330         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26331         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26332         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26333         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26334         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26335         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26336         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26337         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26338         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26339         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26340         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26341         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26342         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26343         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26344
26345         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26346         _XOPEN_SOURCE_EXTENDED for XPG4.
26347
26348         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26349
26350         * Makeconfig (localtime): Remove variable.
26351         (inst_localtime-file): Likewise.
26352
26353 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26354
26355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26356         Update.
26357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26358         Update.
26359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26360         Update.
26361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26362         Update.
26363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26364         Update.
26365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26366         Update.
26367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26368         Update.
26369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26370         Update.
26371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26372         Update.
26373
26374 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
26375
26376         [BZ #2550]
26377         [BZ #2570]
26378         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26379         comparisons to determine direction to adjust input.
26380         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26381         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26382         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26383         Likewise.
26384         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26385         Likewise.
26386         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26387         Likewise.
26388         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26389         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26390         Likewise.
26391         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26392         Likewise.
26393         * math/libm-test.inc (nexttoward_test): Add more tests.
26394
26395 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26396
26397         [BZ #14040]
26398         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26399         in version GLIBC_2.1, not GLIBC_2.0.
26400         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26401         Likewise.
26402
26403 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
26404
26405         [BZ #13942]
26406         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26407         (1 - x) * (1 + x).
26408         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26409         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26410         * math/libm-test.inc (acos_test): Add more tests.
26411         (asin_test): Likewise.
26412         * sysdeps/i386/fpu/libm-test-ulps: Update.
26413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26414
26415         [BZ #14034]
26416         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26417         of square root.
26418         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26419         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26420         * math/libm-test.inc (acos_test_tonearest): New function.
26421         (acos_test_towardzero): Likewise.
26422         (acos_test_downward): Likewise.
26423         (acos_test_upward): Likewise.
26424         (asin_test_tonearest): Likewise.
26425         (asin_test_towardzero): Likewise.
26426         (asin_test_downward): Likewise.
26427         (asin_test_upward): Likewise.
26428         (main): Call the new functions.
26429         * sysdeps/i386/fpu/libm-test-ulps: Update.
26430         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26431
26432         [BZ #13884]
26433         [BZ #13924]
26434         * math/e_exp10.c: Include <float.h>.
26435         (__ieee754_exp10): Handle underflow here rather than multiplying
26436         large negative argument by M_LN10.
26437         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26438         of __ieee754_expf.
26439         * math/e_exp10l.c: Include <float.h>.
26440         (__ieee754_exp10l): Handle underflow here rather than multiplying
26441         large negative argument by M_LN10l.
26442         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
26443         spurious overflow exception on underflow.
26444
26445 2012-04-29  Marek Polacek  <polacek@redhat.com>
26446
26447         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26448         (__fortify_function): New macro.
26449         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26450         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26451         __extern_always_inline.
26452         * libio/bits/stdio2.h: Likewise.
26453         * libio/bits/stdio.h: Likewise.
26454         * string/string.h: Likewise.
26455         * string/bits/string3.h: Likewise.
26456         * include/stdio.h: Likewise.
26457         * stdlib/bits/stdlib.h: Likewise.
26458         * stdlib/stdlib.h: Likewise.
26459         * rt/bits/mqueue2.h: Likewise.
26460         * rt/mqueue.h: Likewise.
26461         * posix/bits/unistd.h: Likewise.
26462         * posix/unistd.h: Likewise.
26463         * io/bits/poll2.h: Likewise.
26464         * io/bits/fcntl2.h: Likewise.
26465         * io/fcntl.h: Likewise.
26466         * io/sys/poll.h: Likewise.
26467         * misc/bits/syslog.h: Likewise.
26468         * misc/bits/syslog-ldbl.h: Likewise.
26469         * misc/sys/syslog.h: Likewise.
26470         * socket/bits/socket2.h: Likewise.
26471         * socket/sys/socket.h: Likewise.
26472         * debug/tst-chk1.c: Likewise.
26473         * wcsmbs/bits/wchar2.h: Likewise.
26474         * wcsmbs/bits/wchar-ldbl.h: Likewise.
26475         * wcsmbs/wchar.h: Likewise.
26476
26477 2012-04-29  Andreas Jaeger  <aj@suse.de>
26478
26479         * Makerules (tests): Remove enable-check-abi protection.
26480         (check-abi-warn): Remove.
26481         (check-abi-%): Remove check-abi-warn usage.
26482
26483         * configure.in: Remove check-abi configure option.
26484         * configure: Regenerated.
26485         * config.make.in (enable-check-abi): Remove.
26486
26487 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
26488
26489         [BZ #14033]
26490         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26491         double functions to double *_finite functions.
26492
26493         [BZ #13941]
26494         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26495         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26496         LDBL_MIN_EXP.
26497         * stdio-common/Makefile (tests): Add tst-sprintf3.
26498         * stdio-common/tst-sprintf3.c: New file.
26499
26500         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26501         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26502
26503 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26504
26505         * conform/conformtest.pl: Remove duplicate typed-constant
26506         handling.
26507
26508 2012-04-28  David S. Miller  <davem@davemloft.net>
26509
26510         * Makerules (%.abilist): Add vpath on sysdep_dirs.
26511         (check-abi-%): Remove AWK script prerequisite and explicit
26512         abilist directory.
26513         (check-abi): Rewrite to just diff the symlist with the abilist.
26514         (config-tls, config-abi-config): Delete, no longer used.
26515         (update-abi-%): Remove AWK script and explicit abilist directory.
26516         (update-abi): Rewrite to simply compare and conditionally copy the
26517         symlist and the sysdep abilist file.  Remove update-abi-config
26518         checks.
26519         * abilist/ld.abilist: Remove.
26520         * abilist/libBrokenLocale.abilist: Remove.
26521         * abilist/libanl.abilist: Remove.
26522         * abilist/libcrypt.abilist: Remove.
26523         * abilist/libdl.abilist: Remove.
26524         * abilist/librt.abilist: Remove.
26525         * abilist/libthread_db.abilist: Remove.
26526         * abilist/libutil.abilist: Remove.
26527         * scripts/extract-abilist.awk: Remove.
26528         * scripts/merge-abilist.awk: Remove.
26529         * sysdeps/generic/libcidn.abilist: New file.
26530         * sysdeps/generic/libnss_compat.abilist: New file.
26531         * sysdeps/generic/libnss_db.abilist: New file.
26532         * sysdeps/generic/libnss_dns.abilist: New file.
26533         * sysdeps/generic/libnss_files.abilist: New file.
26534         * sysdeps/generic/libnss_hesiod.abilist: New file.
26535         * sysdeps/generic/libnss_nis.abilist: New file.
26536         * sysdeps/generic/libnss_nisplus.abilist: New file.
26537         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26538         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26539         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26540         file.
26541         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26542         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26543         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26544         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26545         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26546         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26547         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26548         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26549         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26550         file.
26551         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26552         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26553         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26554         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26555         file.
26556         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26557         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26558         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26559         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26560         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26561         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26562         file.
26563         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26564         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26565         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26566         file.
26567         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26568         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26569         New file.
26570         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26571         New file.
26572         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26573         New file.
26574         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26575         New file.
26576         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26577         New file.
26578         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26579         New file.
26580         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26581         New file.
26582         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26583         New file.
26584         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26585         New file.
26586         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26587         New file.
26588         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26589         New file.
26590         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26591         New file.
26592         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26593         New file.
26594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26595         file.
26596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26597         New file.
26598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26599         New file.
26600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26601         file.
26602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26603         New file.
26604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26605         New file.
26606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26607         file.
26608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26609         New file.
26610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26611         New file.
26612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26613         New file.
26614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26615         New file.
26616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26617         New file.
26618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26619         New file.
26620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26622         file.
26623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26624         New file.
26625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26626         file.
26627         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26628         file.
26629         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26630         file.
26631         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26632         file.
26633         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26634         file.
26635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26636         New file.
26637         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26638         file.
26639         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26640         file.
26641         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26642         New file.
26643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26644         file.
26645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26647         file.
26648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26649         New file.
26650         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26651         file.
26652         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26653         file.
26654         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26655         file.
26656         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26657         file.
26658         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26659         file.
26660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26661         New file.
26662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26663         file.
26664         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26665         file.
26666         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26667         New file.
26668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26669         file.
26670         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26671         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26672         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26673         file.
26674         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26675         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26676         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26677         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26678         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26679         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26680         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26681         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26682         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26683         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26684         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26685         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26686         file.
26687         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26688         New file.
26689         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26690         file.
26691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26692         file.
26693         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26694         file.
26695         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26696         file.
26697         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26698         file.
26699         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26700         New file.
26701         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26702         New file.
26703         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26704         file.
26705         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26706         New file.
26707         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26708         file.
26709         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26710         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26711         file.
26712         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26713         New file.
26714         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26715         file.
26716         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26717         file.
26718         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26719         file.
26720         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26721         file.
26722         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26723         file.
26724         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26725         New file.
26726         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26727         New file.
26728         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26729         file.
26730         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26731         New file.
26732         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26733         file.
26734
26735 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26736
26737         * conform/conformtest.pl: Fix typo in handling typed-constant from
26738         allow-header.
26739
26740 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26741
26742         * README: Cut down references to pre-2.6 Linux kernels and
26743         Linuxthreads.  Update lists of configurations in libc and ports
26744         and sort alphabetically.  Say "or newer" with Linux kernel version
26745         requirements.
26746
26747         * config.h.in [IS_IN_build]: Allow compiling without optimization.
26748
26749 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26750
26751         [BZ #887]
26752         * math/libm-test.inc (logb_test_downward): New test to expose
26753         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26754         rounding mode.
26755
26756 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26757
26758         [BZ #14027]
26759         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26760         to be done.
26761         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26762         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26763
26764 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
26765
26766         * sysdeps/unix/i386/brk.S: Remove file.
26767         * sysdeps/unix/i386/dl-brk.S: Likewise.
26768         * sysdeps/unix/i386/pipe.S: Likewise.
26769         * sysdeps/unix/i386/sigreturn.S: Likewise.
26770         * sysdeps/unix/i386/syscall.S: Likewise.
26771         * sysdeps/unix/i386/vfork.S: Likewise.
26772         * sysdeps/unix/i386/wait.S: Likewise.
26773
26774         * sysdeps/unix/common/tcsendbrk.c: Move to ...
26775         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26776
26777         * configure.in (arm*-none*): Do not allow without
26778         --enable-hacker-mode.
26779         (netbsd*): Remove case setting base_os.
26780         (386bsd*): Likewise.
26781         (freebsd*): Likewise.
26782         (bsdi*): Likewise.
26783         (osf*): Likewise.
26784         (sunos*): Likewise.
26785         (ultrix*): Likewise.
26786         (newsos*): Likewise.
26787         (dynix*): Likewise.
26788         (*bsd*): Likewise.
26789         (sysv*): Likewise.
26790         (isc*): Likewise.
26791         (esix*): Likewise.
26792         (sco*): Likewise.
26793         (minix*): Likewise.
26794         (irix4*): Likewise.
26795         (irix6*): Likewise.
26796         (solaris[2-9]*): Likewise.
26797         (none): Likewise.
26798         * configure: Regenerated.
26799
26800 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26801
26802         [BZ #11521]
26803         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26804         overflow or cancellation in calculating denominator.
26805         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26806         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26807         down expression to avoid unexpected rounding in newer GCCs.
26808         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26809
26810 2012-04-26  David S. Miller  <davem@davemloft.net>
26811
26812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26813         long-double compat symbols.
26814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26825         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26826         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26827
26828 2012-04-25  David S. Miller  <davem@davemloft.net>
26829
26830         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26831         HWCAP_* values only after the memory barriers have been defined.
26832         (atomic_full_barrier): Define.
26833         (atomic_read_barrier): Define.
26834         (atomic_write_barrier): Define.
26835
26836 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26837
26838         * shlib-versions: Add libgcc_s version information.
26839         * sysdeps/generic/libgcc_s.h: Remove.
26840         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26841         libgcc_s.h.
26842         * sysdeps/gnu/unwind-resume.c: Likewise.
26843         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26844
26845 2012-04-25  David S. Miller  <davem@davemloft.net>
26846
26847         * sysdeps/unix/sparc/brk.S: Delete.
26848         * sysdeps/unix/sparc/dl-brk.S: Delete.
26849         * sysdeps/unix/sparc/pipe.S: Delete.
26850         * sysdeps/unix/sparc/sysdep.S: Delete.
26851         * sysdeps/unix/sparc/sysdep.h: Delete.
26852         * sysdeps/unix/sparc/vfork.S: Delete.
26853         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26854         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26855         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26856         ret_ERRVAL, r0, r1, MOVE): Define.
26857         (JUMPTARGET): Remove.
26858         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26859         sysdeps/unix/sparc/sysdep.h
26860         (ENTRY, END): Remove.
26861         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26862
26863 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
26864
26865         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26866         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26867         -DIS_IN_build.
26868
26869         * timezone/README: Update upstream location and email address for
26870         tzcode and tzdata.
26871         * timezone/zdump.c: Update from tzcode 2012b.
26872         * timezone/zic.c: Likewise.
26873
26874         * configure.in (libc_cv_as_needed): Remove test.
26875         * configure: Regenerated.
26876         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26877         conditional definition.
26878         [$(have-as-needed) != yes] (no-as-needed): Likewise.
26879         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26880         * config.make.in (have-as-needed): Remove variable.
26881
26882 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26883             Paul Pluzhnikov  <ppluzhnikov@google.com>
26884
26885         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26886         strings correctly.
26887
26888 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
26889
26890         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26891         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26892         * sysdeps/sh/strlen.S: Likewise.
26893
26894 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26895
26896         * sysdeps/unix/fork.S: Remove file.
26897         * sysdeps/unix/i386/fork.S: Likewise.
26898         * sysdeps/unix/sparc/fork.S: Likewise.
26899
26900         * sysdeps/unix/system.c: Remove file.
26901         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26902
26903         * sysdeps/unix/getegid.S: Remove file.
26904         * sysdeps/unix/geteuid.S: Likewise.
26905
26906 2012-04-24  Roland McGrath  <roland@hack.frob.com>
26907
26908         * scripts/check-localplt.awk: New file.
26909         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26910         of diff.
26911         * scripts/data/localplt-generic.data: Add a comment.
26912
26913         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26914         NODE when __dir_mkfile failed.
26915         * sysdeps/mach/hurd/symlinkat.c: Likewise.
26916         Reported by Ludovic Courtès <ludo@gnu.org>.
26917
26918 2012-04-24  Andreas Jaeger  <aj@suse.de>
26919
26920         * Makerules (common-clean): Also remove gen-as-const-headers
26921         files.
26922
26923 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26924
26925         * Makerules (native-compile): Do not change working directory for
26926         build.  Use $(OUTPUT_OPTION) in command.
26927         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26928
26929 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26930
26931         [BZ #13886]
26932         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26933         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26934         * math/libm-test.inc (floor_test): Add more tests.
26935         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26936
26937 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26938
26939         * sysdeps/unix/getdents.c: Remove file.
26940         * sysdeps/unix/sysv/getdents.c: Likewise.
26941         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26942
26943         * sysdeps/unix/syscalls.list (madvise): Add syscall from
26944         sysdeps/unix/mman/syscalls.list.
26945         (mmap): Likewise.
26946         (mprotect): Likewise.
26947         (msync): Likewise.
26948         (munmap): Likewise.
26949         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26950         * sysdeps/unix/mman/syscalls.list: Remove.
26951         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26952
26953         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26954         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26955         * configure: Regenerated.
26956         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26957         $(libgcc_s_suffix).
26958         * config.make.in (libgcc_s_suffix): Remove variable.
26959
26960 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
26961
26962         * sysdeps/unix/sysv/gethostname.c: Move to ...
26963         * sysdeps/posix/gethostname.c: ... here.
26964
26965         * sysdeps/unix/execve.S: Remove file.
26966
26967         * sysdeps/unix/_exit.S: Remove file.
26968
26969 2012-04-23  Andreas Jaeger  <aj@suse.de>
26970
26971         [BZ #13739]
26972         * manual/Makefile: Remove make dist support, there's no
26973         need for a stand-alone documentation tar ball.
26974         (TEXI2DVI): Define always, it's not in Makeconfig.
26975         (dist): Removed.
26976         (tar-it): Removed.
26977         (edition): Removed.
26978         (glibc-doc-$(edition).tar): Removed
26979         (%.Z): Removed.
26980         (%.gz): Removed.
26981         (%.uu): Removed.
26982         (ETAGS): Remove, it's in Makeconfig.
26983         (move-if-change): Remove, it's in Makeconfig.
26984
26985 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
26986
26987         [BZ #13970]
26988         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26989         (strtod, strtof, strtold, strtol, strtoul, strtoq)
26990         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26991         (strtod_l, strtof_l, strtold_l): Remove __wur.
26992         It is not necessarily an error to ignore strtol's return value.
26993         One can reliably look at the stored endptr to decide whether
26994         the number had valid syntax.
26995
26996 2012-04-21  Andreas Jaeger  <aj@suse.de>
26997
26998         [BZ #13739]
26999         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27000
27001 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
27002
27003         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27004         * sysdeps/unix/sysv/Versions: Remove file.
27005
27006 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
27007
27008         [BZ #13927]
27009         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27010
27011 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
27012
27013         [BZ #7064]
27014         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27015         version from __vm86.
27016
27017 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
27018
27019         * sysdeps/unix/common/lxstat.c: Remove file.
27020         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27021
27022         * sysdeps/unix/sysv/Makefile: Remove file.
27023
27024         * sysdeps/unix/sysv/direct.h: Remove file.
27025
27026         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27027         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27028         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27029         * sysdeps/unix/sysv/bits/signum.h: Likewise.
27030         * sysdeps/unix/sysv/bits/stat.h: Likewise.
27031         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27032         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27033
27034         * sysdeps/unix/sysv/setrlimit.c: Remove file.
27035
27036         * sysdeps/unix/xmknod.c: Remove file.
27037         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27038
27039         * sysdeps/unix/sysv/settimeofday.c: Remove file.
27040
27041         * sysdeps/unix/sysv/i386/time.S: Remove file.
27042
27043         * sysdeps/unix/fxstat.c: Remove file.
27044         * sysdeps/unix/xstat.c: Likewise.
27045         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27046
27047         * sysdeps/unix/sysv/sigaction.c: Remove file.
27048
27049         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27050         (sysdep_headers): Remove variable.
27051         [termio.h not in sysdep_headers] (generated): Likewise.
27052         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27053         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27054         * sysdeps/unix/sysv/tcdrain.c: Likewise.
27055         * sysdeps/unix/sysv/tcflow.c: Likewise.
27056         * sysdeps/unix/sysv/tcflush.c: Likewise.
27057         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27058         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27059         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27060         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27061         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27062
27063         * sysdeps/unix/siglist.c: Remove file.
27064
27065         * sysdeps/unix/getppid.S: Remove file.
27066
27067         * sysdeps/unix/mkdir.c: Remove file.
27068         * sysdeps/unix/rmdir.c: Likewise.
27069
27070 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
27071
27072         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27073         ERR_MAX value.
27074         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27075         errlist-compat value.
27076
27077 2012-04-18  David S. Miller  <davem@davemloft.net>
27078
27079         * sysdeps/generic/memcopy.h (reg_char): Delete.
27080         * debug/strcat_chk.c: Use char, not reg_char.
27081         * debug/strcpy_chk.c: Likewise.
27082         * debug/strncat_chk.c: Likewise.
27083         * debug/strncpy_chk.c: Likewise.
27084         * string/memchr.c: Likewise.
27085         * string/memrchr.c: Likewise.
27086         * string/rawmemchr.c: Likewise.
27087         * string/strcat.c: Likewise.
27088         * string/strchr.c: Likewise.
27089         * string/strchrnul.c: Likewise.
27090         * string/strcmp.c: Likewise.
27091         * string/strcpy.c: Likewise.
27092         * string/strncat.c: Likewise.
27093         * string/strncmp.c: Likewise.
27094         * string/strncpy.c: Likewise.
27095
27096 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27097
27098         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27099         __builtin_memcopy is called when src and dest ranges are known to not
27100         overlap.
27101
27102 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27103
27104         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27105         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27106         fwd_align_merge macro call.
27107         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27108         bwd_align_merge macro call.
27109         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27110
27111 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27112
27113         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27114         bwd_align_merge macros.
27115         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27116         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27117         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27118
27119 2012-04-18  David S. Miller  <davem@davemloft.net>
27120
27121         * sysdeps/sparc/sparc64/memcopy.h: Delete.
27122
27123 2012-04-18  Andreas Jaeger  <aj@suse.de>
27124
27125         [BZ# 6794]
27126         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27127         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27128         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27129
27130         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27131         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27132         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27133
27134         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27135         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27136         Adjust for changed ldbl-128 files.
27137
27138         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27139         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27140         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27141
27142 2012-04-17  David S. Miller  <davem@davemloft.net>
27143
27144         * sysdeps/sparc/sparc32/memcopy.h: Delete.
27145
27146 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
27147
27148         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27149         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27150         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27151         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27152         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27153         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27154
27155 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27156
27157         [BZ #6794]
27158         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27159         * math/libm-test.inc: Add ilogb errno and exception tests.
27160         * math/w_ilogb.c: New file: ilogb wrapper.
27161         * math/w_ilogbf.c: New file: ilogbf wrapper.
27162         * math/w_ilogbl.c: New file: ilogbl wrapper.
27163         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27164         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27165         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27166         exception being thrown with 0.0 as argument.
27167         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27168         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27169         exception being thrown with 0.0 as argument.
27170         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27171         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27172         exception being thrown with 0.0 as argument.
27173         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27174         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27175         exception being thrown with 0.0 as argument.
27176         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27177         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27178         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27179         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27180         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27181         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27182         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27183         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27184         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27185
27186 2012-04-17  Petr Baudis  <pasky@ucw.cz>
27187
27188         * include/sys/uio.h: Change __vector to __iovec to avoid clash
27189         with altivec.
27190
27191 2012-04-16  Marek Polacek  <polacek@redhat.com>
27192
27193         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27194
27195 2012-04-16  Marek Polacek  <polacek@redhat.com>
27196
27197         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27198         operands of fdivp instruction.
27199
27200 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27201
27202         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27203         * elf/tst-auditmod3b.c: Likewise.
27204         * elf/tst-auditmod4b.c: Likewise.
27205         * elf/tst-auditmod5b.c: Likewise.
27206         * elf/tst-auditmod6b.c: Likewise.
27207         * elf/tst-auditmod6c.c: Likewise.
27208         * elf/tst-auditmod7b.c: Likewise.
27209         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27210         * sysdeps/x86_64/preconfigure.in: Likewise.
27211         * sysdeps/x86_64/preconfigure: Regenerated.
27212
27213 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27214
27215         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27216         __ILP32__.
27217
27218 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
27219
27220         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27221         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27222
27223 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
27224
27225         [BZ #13973]
27226         * locale/iso-639.def: Fix gl language name. Spotted by
27227         Yaron Shahrabani.
27228
27229 2012-04-12  Roland McGrath  <roland@hack.frob.com>
27230
27231         [BZ #2074]
27232         * libio/libio.h (__io_write_fn): Update comment.
27233
27234 2012-04-12  Petr Baudis  <pasky@ucw.cz>
27235
27236         [BZ #2074]
27237         * stdio.texi (Hook Functions): The user provided writer function
27238         is not allowed to return -1.
27239
27240 2012-04-11  David S. Miller  <davem@davemloft.net>
27241
27242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27243
27244 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
27245
27246         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27247         Add a leading slash to rtkaio.
27248
27249 2012-04-11  Jim Meyering  <meyering@redhat.com>
27250
27251         [BZ #11959]
27252         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27253         It is not necessarily an error to ignore fwrite's return
27254         value.  One can reliably use ferror to test for errors after
27255         the fact.
27256
27257 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27258
27259         * bits/types.h (__snseconds_t): New type.
27260         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27261
27262         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27263         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27264         (__SNSECONDS_T_TYPE): Likewise.
27265         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27266         (__SNSECONDS_T_TYPE): Likewise.
27267         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27268         (__SNSECONDS_T_TYPE): Likewise.
27269
27270 2012-04-10  Andreas Jaeger  <aj@suse.de>
27271
27272         [BZ #2636]
27273         * manual/time.texi (Processor Time): Return type of times is
27274         elapsed real time since an arbitrary point in the past.
27275         (CPU Time): Move CLK_TCK from here...
27276         (Processor Time): ...to here.  Correct description.
27277         * manual/conf.texi (Constants for Sysconf): Correct description of
27278         _SC_CLK_TCK.
27279
27280 2012-04-10  David S. Miller  <davem@davemloft.net>
27281
27282         [BZ #13967]
27283         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27284         where the is a gap between DT_REL(A) and DT_JMPREL.
27285
27286 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27287
27288         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27289         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27290         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27291
27292 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27293
27294         * elf/dl-support.c (_dl_inhibit_cache): New variable.
27295         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27296         (dl_main): Handle --inhibit-cache.
27297         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27298         _dl_inhibit_cache.
27299         * elf/dl-load.c (_dl_map_object): Use it.
27300         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27301
27302 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27303
27304         [BZ #13872]
27305         * sysdeps/i386/fpu/e_powl.S (p78): New object.
27306         (__ieee754_powl): Saturate large exponents rather than testing for
27307         overflow of y*log2(x).
27308         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27309         * math/libm-test.inc (pow_test): Do not permit spurious overflow
27310         exceptions.
27311
27312         [BZ #11521]
27313         * math/s_ctan.c: Include <float.h>.
27314         (__ctan): Avoid internal overflow or cancellation in calculating
27315         denominator.
27316         * math/s_ctanf.c: Likewise.
27317         * math/s_ctanl.c: Likewise.
27318         * math/s_ctanh.c: Likewise.
27319         * math/s_ctanhf.c: Likewise.
27320         * math/s_ctanhl.c: Likewise.
27321         * math/libm-test.inc (ctan_test): Add more tests.
27322         (ctanh_test): Likewise.
27323         * sysdeps/i386/fpu/libm-test-ulps: Update.
27324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27325
27326 2012-04-09  Andreas Jaeger  <aj@suse.de>
27327
27328         [BZ #6894]
27329         * manual/filesys.texi (Directory Entries): Mention that d_namlen
27330         is an optional BSD extension.
27331
27332         [BZ #10254]
27333         * manual/stdio.texi (Opening Streams): Document additional fopen
27334         parameters.
27335
27336 2012-04-09  Roland McGrath  <roland@hack.frob.com>
27337
27338         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27339         %eax without telling the compiler.
27340
27341 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
27342
27343         [BZ # 13963]
27344         * manual/install.texi: Use sourceware.org.
27345
27346 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27347
27348         [BZ #13873]
27349         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27350         (__ieee754_pow): Generate overflow and underflow using huge*huge
27351         and tiny*tiny rather than just returning constant infinity or zero
27352         for large exponents.
27353         * math/libm-test.inc (pow_test): Require overflow exceptions for
27354         applicable cases of large exponents.
27355
27356         [BZ #706]
27357         * sysdeps/i386/fpu/e_pow.S (p10): New object.
27358         (__ieee754_pow): Use iterative multiplication algorithm only for
27359         integer exponents with absolute value below 1024.  Check for odd
27360         integer exponents when using algorithm for real exponents.
27361         * math/libm-test.inc (pow_test): Add more tests.
27362         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27363
27364 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
27365
27366         [BZ #13705]
27367         * math/libm-test.inc (exp_test): Do not allow overflow exception
27368         on underflow test.
27369
27370 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
27371
27372         [BZ #13705]
27373         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27374         instead of __kernel_standard_f.
27375
27376 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
27377
27378         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27379         * sysdeps/x86_64/memset_chk.S: Likewise.
27380
27381 2012-04-08  Andreas Jaeger  <aj@suse.de>
27382
27383         [BZ #10153]
27384         * manual/startup.texi (Environment Access): Describe return value
27385         for putenv and setenv.
27386
27387         [BZ #6895]
27388         * manual/filesys.texi (Directory Entries): Add description for
27389         DT_LNK.
27390
27391         [BZ #6890]
27392         * manual/filesys.texi (Directory Entries): Clarify that it's file
27393         system not operating system in the description of DT_UNKNOWN.
27394
27395         [BZ #6578]
27396         * manual/syslog.texi (closelog): Fix reference, it's openlog.
27397
27398 2012-04-08  Stephen Compall  <s11@member.fsf.org>
27399
27400         [BZ #6649]
27401         * manual/llio.texi (Opening and Closing Files): Add cross
27402         reference to explain mode argument.
27403
27404 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
27405
27406         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27407         * sysdeps/x86_64/memset_chk.S: Likewise.
27408
27409 2012-04-07  David S. Miller  <davem@davemloft.net>
27410
27411         * elf/elf.h (R_SPARC_WDISP10): Define.
27412         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27413         R_SPARC_SIZE32.
27414         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27415         R_SPARC_SIZE64 and R_SPARC_H34.
27416
27417 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
27418
27419         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27420         conditions and remove no longer applicable assertion.
27421
27422 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27423
27424         * bits/byteswap.h: Include <features.h>.
27425         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27426         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27427
27428 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27429
27430         * bits/byteswap.h (__bswap_16): Removed.
27431         Include <bits/byteswap-16.h> to get __bswap_16.
27432         * sysdeps/i386/bits/byteswap.h: Likewise.
27433         * sysdeps/s390/bits/byteswap.h: Likewise.
27434         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27435         * bits/byteswap-16.h: New file.
27436         * sysdeps/i386/bits/byteswap-16.h: Likewise.
27437         * sysdeps/s390/bits/byteswap-16.h: Likewise.
27438         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27439         * string/Makefile (headers): Add bits/byteswap-16.h.
27440
27441 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27442
27443         [BZ #13895]
27444         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27445         extra indirection.
27446         * nss/Makefile (tests-static, tests): Add tst-nss-static.
27447         * nss/tst-nss-static.c: New.
27448
27449 2012-04-06  Robert Millan  <rmh@gnu.org>
27450
27451         [BZ #6486]
27452         * manual/llio.texi (File Position Primitive): lseek
27453         refers to WHENCE when it really means OFFSET.
27454
27455 2012-04-06  Andreas Jaeger  <aj@suse.de>
27456
27457         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27458         strncmp declarations.
27459
27460         * abilist/libc.abilist: Add __poll and __ppoll.
27461
27462 2012-04-05  David S. Miller  <davem@davemloft.net>
27463
27464         * scripts/check-local-headers.sh: Accept a host triplet in the
27465         path matched by the exclude regexp.
27466
27467         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27468         definition.
27469         * sysdeps/powerpc/powerpc32/dl-machine.h
27470         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27471         * sysdeps/s390/s390-32/dl-machine.h
27472         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27473         * sysdeps/sparc/sparc32/dl-machine.h
27474         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27475         * sysdeps/sparc/sparc64/dl-machine.h
27476         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27477
27478         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27479         lazy binding.
27480         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27481         undefined symbol errors.
27482
27483         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27484         DT_NEEDED entries.
27485
27486 2012-04-05  Michael Matz  <matz@suse.de>
27487
27488         [BZ #13592]
27489         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27490
27491 2012-04-05  Andreas Jaeger  <aj@suse.de>
27492
27493         [BZ #13908]
27494         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27495         comment.
27496
27497 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27498
27499         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27500         which ROUND is no valid rounding mode.
27501
27502 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27503
27504         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27505         read again.
27506         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27507
27508 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27509
27510         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27511         an exception using FPU order intentionally.
27512
27513 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27514
27515         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27516         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27517         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27518         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27519
27520 2012-04-05  Simon Josefsson  <simon@josefsson.org>
27521
27522         [BZ #12340]
27523         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27524         EINVAL when BUFLEN is too smal.
27525
27526 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27527
27528         [BZ #13553]
27529         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27530         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27531
27532 2012-04-03  Andreas Jaeger  <aj@suse.de>
27533
27534         [BZ #13938]
27535         * manual/setjmp.texi (System V contexts): Fix sentence.
27536
27537         [BZ #13926]
27538         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27539         New macro for this case.
27540         [!__GNUC__] (__bswap_64): New inline function for this case.
27541         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27542         * bits/byteswap.h: Likewise.
27543         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27544         ull, guard with __GLIBC_HAVE_LONG_LONG.
27545
27546         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27547         __GLIBC_HAVE_LONG_LONG.
27548
27549         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27550         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27551
27552 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27553
27554         [BZ #13691]
27555         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27556         inptr and inend, rather than using last_ch.
27557
27558 2012-04-02  David S. Miller  <davem@davemloft.net>
27559
27560         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27561         * stdio-common/printf-parse.h (read_int): Change return type to
27562         'int', return -1 on INT_MAX overflow.
27563         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27564         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
27565         overflows INT_MAX.  Check for overflow of in-format-string precision
27566         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
27567         SIZE_MAX not INT_MAX for integer overflow test.
27568         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27569         skip the construct in the format string but do not record anything.
27570         * stdio-common/bug22.c: Adjust to test both width/prevision
27571         INT_MAX overflow as well as total length INT_MAX overflow.  Check
27572         explicitly for proper errno values.
27573
27574 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27575
27576         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27577         CHAR_MAX.
27578         * string/test-strcmp.c [! WIDE]: Likewise.
27579         * time/tst-mktime2.c: Likewise for INT_MAX.
27580         * string/test-string.h: #include <sys/param.h> for MIN.
27581
27582         * csu/init-first.c (__libc_init_first): Call __ctype_init.
27583         * sysdeps/i386/init-first.c (init): Likewise.
27584         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27585         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27586         * sysdeps/sh/init-first.c (init): Likewise.
27587
27588 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
27589
27590         * po/ru.po: Update from translation team.
27591         * po/vi.po: Likewise.
27592
27593 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27594
27595         * resolv/nss_dns/dns-host.c: Merge copyright years.
27596
27597 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27598
27599         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27600         Optimize memcpy with prefetch if
27601         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
27602         src, dst pointers have unequal 16 byte alignments.
27603
27604 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27605
27606         [BZ #13928]
27607         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27608         from a CNAME entry and return the minimum ttl for the query.
27609         (gaih_getanswer_slice): Likewise.
27610
27611 2012-03-30  Jeff Law  <law@redhat.com>
27612
27613         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27614         due to long keys.
27615         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27616         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27617
27618         * resolv/nss_dns/dns-host.c: Update copyright year.
27619
27620 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
27621
27622         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27623         requests to save a system call.  Fix check that all bytes are sent.
27624
27625         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27626         comments for sendmmsg.
27627
27628 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27629
27630         [BZ #13691]
27631         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27632         with only 1 character between 0x0041 and 0x01b0.
27633         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27634         * wcsmbs/tst-mbsnrtowcs.c: New file.
27635
27636 2012-03-29  David S. Miller  <davem@davemloft.net>
27637
27638         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27639         small copies by hand.
27640
27641 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27642
27643         [BZ #13761]
27644         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27645         _nss_compat_initgroups_dyn): Fall back to malloc/free
27646         for large group memberships.
27647
27648 2012-03-28  David S. Miller  <davem@davemloft.net>
27649
27650         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27651         that branches into memcpy.
27652         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27653         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27654         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27655         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27656         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27657         bits.
27658         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27659         implementation too.
27660         * sysdeps/sparc/mempcpy.S: New file.
27661
27662         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27663         the IFUNC routine in the libc case.
27664         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27665
27666         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27667         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27668         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27669         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27670         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27671         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27672         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27673         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27674
27675         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27676         loop to 256 bytes instead of 64 bytes and fix test signedness.
27677
27678         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27679         * sysdeps/sparc/sparc32/Makefile: rather than here...
27680         * sysdeps/sparc/sparc64/Makefile: and here.
27681
27682 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
27683
27684         * malloc/mallocbug.c: Avoid warnings about unused variables.
27685
27686 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27687
27688         [BZ #13760]
27689         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27690         in the right place. Discard and retry query if response is
27691         larger than input buffer size.
27692
27693 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
27694
27695         [BZ #369]
27696         [BZ #2678]
27697         [BZ #3866]
27698         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27699         x for large integer exponent.
27700         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27701         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
27702         sign of result as needed afterwards.
27703         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27704         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27705         result for underflowing pow the same as for overflow.
27706         (__kernel_standard_l): Handle powl overflow and underflow here
27707         rather than calling __kernel_standard.
27708         * math/libm-test.inc (pow_test): Add more tests.
27709
27710         [BZ #3868]
27711         [BZ #13879]
27712         [BZ #13910]
27713         [BZ #13911]
27714         [BZ #13912]
27715         [BZ #13913]
27716         [BZ #13915]
27717         [BZ #13916]
27718         [BZ #13917]
27719         [BZ #13918]
27720         [BZ #13919]
27721         [BZ #13920]
27722         [BZ #13921]
27723         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27724         * sysdeps/ieee754/k_standard.c: Include <float.h>.
27725         (__kernel_standard_l): New function.
27726         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27727         __kernel_standard.
27728         * math/w_acosl.c (__acosl): Likewise.
27729         * math/w_asinl.c (__asinl): Likewise.
27730         * math/w_atan2l.c (__atan2l): Likewise.
27731         * math/w_atanhl.c (__atanhl): Likewise.
27732         * math/w_coshl.c (__coshl): Likewise.
27733         * math/w_exp10l.c (__exp10l): Likewise.
27734         * math/w_exp2l.c (__exp2l): Likewise.
27735         * math/w_fmodl.c (__fmodl): Likewise.
27736         * math/w_hypotl.c (__hypotl): Likewise.
27737         * math/w_j0l.c (__j0l, __y0l): Likewise.
27738         * math/w_j1l.c (__j1l, __y1l): Likewise.
27739         * math/w_jnl.c (__jnl, __ynl): Likewise.
27740         * math/w_lgammal.c (__lgammal): Likewise.
27741         * math/w_log10l.c (__log10l): Likewise.
27742         * math/w_log2l.c (__log2l): Likewise.
27743         * math/w_logl.c (__logl): Likewise.
27744         * math/w_powl.c (__powl): Likewise.
27745         * math/w_remainderl.c (__remainderl): Likewise.
27746         * math/w_scalbl.c (sysv_scalbl): Likewise.
27747         * math/w_sinhl.c (__sinhl): Likewise.
27748         * math/w_sqrtl.c (__sqrtl): Likewise.
27749         * math/w_tgammal.c (__tgammal): Likewise.
27750         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27751         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27752         * math/libm-test.inc (acos_test): Add more tests.
27753         (acosh_test): Likewise.
27754         (asin_test): Likewise.
27755         (atanh_test): Likewise.
27756         (exp_test): Likewise.
27757         (exp10_test): Likewise.
27758         (exp2_test): Likewise.
27759         (expm1_test): Likewise.
27760         (lgamma_test): Likewise.
27761         (log_test): Likewise.
27762         (log10_test): Likewise.
27763         (log1p_test): Likewise.
27764         (log2_test): Likewise.
27765         (pow_test): Do not allow some spurious overflow exceptions.
27766         (sqrt_test): Add more tests.
27767         (tgamma_test): Likewise.
27768         (y0_test): Likewise.
27769         (y1_test): Likewise.
27770         (yn_test): Likewise.
27771
27772 2012-03-27  Anton Blanchard  <anton@samba.org>
27773
27774         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27775         MAP_HUGETLB.
27776         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27777         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27778         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27779
27780 2012-03-27  David S. Miller  <davem@davemloft.net>
27781
27782         * conform/Makefile: Run run-conformtest.sh using $(BASH).
27783
27784         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27785         have-as-vis3 check.
27786
27787 2012-03-27  Andreas Jaeger  <aj@suse.de>
27788
27789         * sysdeps/x86_64/elf/configure.in: Moved to ...
27790         * sysdeps/x86_64/configure.in: ... here.
27791         * sysdeps/x86_64/elf/start.S: Moved to ...
27792         * sysdeps/x86_64/start.S: ... here.
27793         * sysdeps/x86_64/elf/configure: Delete.
27794
27795         * sysdeps/x86_64/configure.in: Merge contents from
27796         sysdeps/i386/configure.in (without i686 check).
27797
27798         * sysdeps/i386/elf/Versions: Merge into ...
27799         * sysdeps/i386/Versions: ... this.
27800         * sysdeps/i386/elf/Versions: Delete file.
27801         * sysdeps/i386/elf/start.S: Moved to ...
27802         * sysdeps/i386/start.S: ...here.
27803         * sysdeps/i386/elf/configure.in: Merge into...
27804         * sysdeps/i386/configure.in: ...here.
27805         * sysdeps/i386/elf/configure.in: Delete file.
27806         * sysdeps/i386/elf/configure: Delete file.
27807
27808         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27809         * debug/backtracesyms.c: ... here.
27810         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27811         * debug/backtracesymsfd.c: ... here.
27812         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27813         * sysdeps/generic/ifunc-sel.h: ... here.
27814
27815         * sysdeps/unix/i386/start.c: Delete file.
27816         * sysdeps/unix/sparc/start.c: Delete file.
27817         * sysdeps/unix/start.c: Delete file.
27818
27819         * sysdeps/sh/elf/configure.in: Moved to ...
27820         * sysdeps/sh/configure.in: ... here.
27821         * sysdeps/sh/elf/start.S: Moved to ...
27822         * sysdeps/sh/start.S: ... here.
27823         * sysdeps/sh/elf/configure: Delete file.
27824
27825         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27826         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27827         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27828         * sysdeps/powerpc/powerpc64/entry.h: ... here.
27829         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27830         * sysdeps/powerpc/powerpc64/start.S: here.
27831         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27832         * sysdeps/powerpc/powerpc64/Makefile: ... this.
27833         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27834         * sysdeps/powerpc/powerpc64/configure.in: ... this.
27835         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27836
27837         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27838         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27839         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27840         * sysdeps/powerpc/powerpc32/start.S: ... here.
27841         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27842         * sysdeps/powerpc/powerpc32/configure.in: ... this.
27843         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27844
27845         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27846         * sysdeps/powerpc/ifunc-sel.h: ... here.
27847         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27848         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27849
27850         * sysdeps/sparc/elf/configure.in: Moved to ...
27851         * sysdeps/sparc/configure.in: ... here.
27852         * sysdeps/sparc/elf/configure: Delete file.
27853         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27854         * sysdeps/sparc/sparc32/start.S: ... here.
27855         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27856         * sysdeps/sparc/sparc64/start.S: ... here.
27857         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27858         * sysdeps/sparc/sparc32/Makefile: ... this.
27859         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27860         * sysdeps/sparc/sparc64/Makefile: ... this.
27861
27862         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27863         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27864         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27865         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27866         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27867         * sysdeps/s390/s390-32/setjmp.S: ... here.
27868         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27869         * sysdeps/s390/s390-32/configure.in: ... here.
27870         * sysdeps/s390/s390-32/elf/configure: Delete file.
27871         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27872         * sysdeps/s390/s390-32/start.S: ... here.
27873
27874         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27875         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27876         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27877         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27878         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27879         * sysdeps/s390/s390-64/setjmp.S: ... here.
27880         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27881         * sysdeps/s390/s390-64/configure.in: ... here
27882         * sysdeps/s390/s390-64/elf/configure: Delete file.
27883         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27884         * sysdeps/s390/s390-64/start.S: ... here.
27885         * sysdeps/s390/s390-64/elf/configure: Delete.
27886
27887         * configure.in: Remove support for elf directories in sysdeps.
27888
27889         * configure: Regenerated.
27890         * sysdeps/i386/configure: Regenerated.
27891         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27892         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27893         * sysdeps/s390/s390-32/configure: Regenerated.
27894         * sysdeps/s390/s390-64/configure: Regenerated.
27895         * sysdeps/sh/configure: Regenerated.
27896         * sysdeps/sparc/configure: Regenerated.
27897         * sysdeps/x86_64/configure: Regenerated.
27898
27899 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
27900
27901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27902
27903         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27904         denormal result into account.
27905
27906 2012-03-25  Roland McGrath  <roland@hack.frob.com>
27907
27908         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27909         Reported by Allan McRae <allan@archlinux.org>.
27910
27911 2012-03-23  Jeff Law  <law@redhat.com>
27912
27913         * nss/getnssent.c (__nss_getent): Fix typo.
27914
27915 2012-03-23  David S. Miller  <davem@davemloft.net>
27916
27917         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27918
27919 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
27920
27921         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27922         to pad to uint64_t for each field.
27923         (dl_tls_index): Replace unsigned long with uint64_t.
27924
27925 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
27926         Paul Pluzhnikov  <ppluzhnikov@google.com>
27927
27928         [BZ #6528]
27929         * grp/Makefile (otherlibs): Don't set it.
27930         * inet/Makefile (otherlibs): Likewise.
27931         * login/Makefile (otherlibs): Likewise.
27932         * nscd/Makefile (otherlibs): Likewise.
27933         * posix/Makefile (otherlibs): Likewise.
27934         * pwd/Makefile (otherlibs): Likewise.
27935         * rt/Makefile (otherlibs): Likewise.
27936         * sunrpc/Makefile (otherlibs): Likewise.
27937         * nss/Makefile (otherlibs): Likewise.
27938         Add libnss_files to routines and static-only-routines.
27939         ($(objpfx)getent): Remove rule.
27940         * resolv/Makefile: Add libnss_dns and libresolv to routines and
27941         static-only-routines.
27942
27943 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27944
27945         [BZ #13892]
27946         * math/s_cexp.c: Include <float.h>.
27947         (__cexp): Handle exp result overflowing not necessarily
27948         overflowing both real and imaginary parts of result.
27949         * math/s_cexpf.c: Likewise.
27950         * math/s_cexpl.c: Likewise.
27951         * math/libm-test.inc (cexp_test): Add more tests.
27952         * sysdeps/i386/fpu/libm-test-ulps: Update.
27953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27954
27955 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27956
27957         * include/link.h (ELFW): New macro.
27958         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27959         Replace ELF64_R_TYPE with ELFW(R_TYPE).
27960
27961 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27962
27963         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27964         with uint64_t.
27965
27966 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27967
27968         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27969         declaration.
27970         (struct La_x32_retval): Likewise.
27971
27972 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27973
27974         * sysdeps/x86_64/preconfigure.in: New file.
27975         * sysdeps/x86_64/preconfigure: New generated file.
27976
27977 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27978
27979         [BZ #13824]
27980         * math/e_exp2l.c: Include <float.h>.
27981         (__ieee754_exp2l): Handle overflow and underflow cases
27982         separately.  Only pass fractional part of argument to
27983         __ieee754_expl.
27984         * math/libm-test.inc (exp2_test): Add more tests.
27985
27986         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27987         negating x to take absolute value.
27988         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27989         Likewise.
27990         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27991         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27992         Likewise.
27993         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27994         computing low part if x was negated.
27995         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27996
27997 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27998
27999         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28000         la_x32_gnu_pltexit.
28001         (pltexit): Cast int_retval to ptrdiff_t.
28002         * elf/tst-auditmod3b.c: Likewise.
28003         * elf/tst-auditmod4b.c: Likewise.
28004         * elf/tst-auditmod5b.c: Likewise.
28005         * elf/tst-auditmod6b.c: Likewise.
28006         * elf/tst-auditmod6c.c: Likewise.
28007         * elf/tst-auditmod7b.c: Likewise.
28008
28009         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28010         and x32_gnu_pltexit.
28011
28012         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28013         __ELF_NATIVE_CLASS.
28014         (La_x32_regs): New macro.
28015         (La_x32_retval): Likewise.
28016         (la_x32_gnu_pltenter): New function prototype.
28017         (la_x32_gnu_pltexit): Likewise.
28018
28019 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
28020
28021         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28022         exponent.
28023
28024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28025
28026         * configure.in (libc_cv_cc_nofma): Check for option to disable
28027         generation of FMA instructions.
28028         * configure: Regenerate.
28029         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28030         * sysdeps/ieee754/dbl-64/Makefile: New file.
28031         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28032         Remove brandred-fma4.
28033         (CFLAGS-brandred-fma4.c): Remove.
28034         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28035         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28036         define.
28037         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28038         define.
28039
28040 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28041
28042         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28043         LLONG_MAX != LONG_MAX.
28044         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28045         (_fitoa_word): Likewise.
28046         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28047         LLONG_MAX != LONG_MAX.
28048         * stdio-common/_itowa.h: Include <_itoa.h>.
28049         (_itowa_word): Use _ITOA_WORD_TYPE on value.
28050         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
28051         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
28052         only if not defined.
28053         (_ITOA_WORD_TYPE): Likewise.
28054         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28055         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28056
28057 2012-03-21  David S. Miller  <davem@davemloft.net>
28058
28059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28060
28061 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28062
28063         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28064         of x86_64 when setting libc_cv_slibdir, libdir and
28065         libc_cv_localedir.
28066         * sysdeps/unix/sysv/linux/configure: Regenerated.
28067
28068 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28069
28070         * manual/lang.texi (Old Varargs): Remove section.
28071         (How Variadic): Update menu.
28072         (va_start): Do not mention varargs.h.
28073
28074 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28075             Joseph Myers  <joseph@codesourcery.com>
28076
28077         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28078         link test.
28079         * configure: Regenerated.
28080
28081 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28082
28083         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28084         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28085         conformtest.pl
28086
28087 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28088
28089         * NOTES: Remove.
28090         * Makefile (files-for-dist): Remove NOTES.
28091         (NOTES): Remove rule.
28092         * README: Don't refer to NOTES.
28093         * manual/creature.texi: Don't include macros.texi.
28094         * manual/intro.texi (creature.texi): Remove comment referring to
28095         NOTES.
28096
28097         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28098         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28099         * configure: Regenerated.
28100         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28101         LIBC_TRY_CC_OPTION.
28102         (libc_cv_as_i686): Likewise.
28103         (libc_cv_cc_avx): Likewise.
28104         (libc_cv_cc_sse2avx): Likewise.
28105         (libc_cv_cc_fma4): Likewise.
28106         (libc_cv_cc_novzeroupper): Likewise.
28107         * sysdeps/i386/configure: Regenerated.
28108
28109         [BZ #13883]
28110         * sysdeps/i386/fpu/s_cexp.S: Remove.
28111         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28112         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28113         * math/libm-test.inc (cexp_test): Add more tests.
28114         * sysdeps/i386/fpu/libm-test-ulps: Update.
28115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28116
28117 2012-03-21  Allan McRae  <allan@archlinux.org>
28118
28119         * timezone/Makefile: Do not install iso3166.tab and zone.tab
28120
28121 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28122
28123         [BZ #13871]
28124         * math/w_exp2.c: Do not include <float.h>.
28125         (o_threshold, u_threshold): Remove.
28126         (__exp2): Calculate result before checking finiteness and calling
28127         __kernel_standard.
28128         * math/w_exp2f.c: Likewise.
28129         * math/w_exp2l.c: Likewise.
28130         * math/libm-test.inc (exp2_test): Require overflow exception for
28131         1e6 input.
28132
28133         [BZ #3866]
28134         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28135         range of signed 64-bit integers before using fistpll.  Remove
28136         checks for whether integers fit in mantissa bits.
28137         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28138         the range of signed 32-bit integers before using fistpl.  Remove
28139         checks for whether integers fit in mantissa bits.
28140         * sysdeps/i386/fpu/e_powl.S (p64): New object.
28141         (__ieee754_powl): Test for y outside the range of signed 64-bit
28142         integers before using fistpll.  Reduce 64-bit values to 63-bit
28143         ones as needed.
28144         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28145         divide-by-zero is raised for zero to large negative powers.
28146         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28147         (__ieee754_powl): Test for y outside the range of signed 64-bit
28148         integers before using fistpll.  Reduce 64-bit values to 63-bit
28149         ones as needed.
28150         * math/libm-test.inc (pow_test): Add more tests.
28151
28152 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28153
28154         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28155         <stdio-common/_itoa.h>.
28156         * debug/segfault.c: Likewise.
28157         * elf/dl-cache.c: Likewise.
28158         * elf/dl-minimal.c: Likewise.
28159         * elf/dl-misc.c: Likewise.
28160         * elf/dl-sysdep.c: Likewise.
28161         * elf/dl-version.c: Likewise.
28162         * elf/rtld.c: Likewise.
28163         * hurd/hurdsock.c: Likewise.
28164         * hurd/lookup-retry.c: Likewise.
28165         * malloc/malloc.c: Likewise.
28166         * malloc/mtrace.c: Likewise.
28167         * nscd/nscd_getgr_r.c: Likewise.
28168         * nscd/nscd_getpw_r.c: Likewise.
28169         * nscd/nscd_getserv_r.c: Likewise.
28170         * posix/getopt_init.c: Likewise.
28171         * posix/wordexp.c: Likewise.
28172         * stdio-common/_itoa.c: Likewise.
28173         * stdio-common/printf_fphex.c: Likewise.
28174         * stdio-common/vfprintf.c: Likewise.
28175         * string/_strerror.c: Likewise.
28176         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28177         * sysdeps/i386/i686/hp-timing.h: Likewise.
28178         * sysdeps/mach/_strerror.c: Likewise.
28179         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28180         * sysdeps/mach/hurd/sethostid.c: Likewise.
28181         * sysdeps/mach/hurd/xmknodat.c: Likewise.
28182         * sysdeps/mach/xpg-strerror.c: Likewise.
28183         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28184         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28185         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28186         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28187         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28188         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28189         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28190         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28191         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28192         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28193         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28194         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28195         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28196         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28197         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28198         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28199         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28200         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28201         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28202         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28203         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28204
28205         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28206
28207         * stdio-common/_itoa.h: Moved to ...
28208         * sysdeps/generic/_itoa.h: Here.
28209
28210         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28211
28212         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28213         instead of "_itoa.h" and "_itowa.h".
28214         * stdio-common/vfprintf.: Likewise.
28215
28216 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28217
28218         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28219         <bits/wordsize.h>.
28220         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28221         (__signbit): Likwise.
28222         (llrintf): Likwise.
28223         (llrint): Likwise.
28224
28225 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28226
28227         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28228         __WORDSIZE != 64.
28229
28230 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
28231
28232         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28233         OVERFLOW_EXCEPTION_OK.
28234         * math/libm-test.inc ("Philosophy"): Update comment about
28235         exception testing.
28236         (OVERFLOW_EXCEPTION): Define.
28237         (OVERFLOW_EXCEPTION_OK): Likewise.
28238         (INVALID_EXCEPTION_OK): Renumber.
28239         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28240         (IGNORE_ZERO_INF_SIGN): Likewise.
28241         (test_exceptions): Handle FE_OVERFLOW.
28242         (exp10_test): Expect overflow exceptions.
28243         (exp2_test): Likewise.
28244         (expm1_test): Likewise.
28245         (nextafter_test): Likewise.
28246         (pow_test): Likewise.
28247         (scalbn_test): Likewise.
28248         (scalbln_test): Likewise.
28249
28250 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28251
28252         * sysdeps/x86_64/bits/atomic.h
28253         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28254         64bit integer.
28255         (atomic_exchange_acq): Likewise.
28256         (__arch_exchange_and_add_body): Likewise.
28257         (__arch_add_body): Likewise.
28258         (atomic_add_negative): Likewise.
28259         (atomic_add_zero): Likewise.
28260
28261 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28262
28263         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28264         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28265
28266 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28267
28268         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28269         Check __x86_64__ instead of __WORDSIZE.
28270
28271 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28272
28273         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28274
28275 2012-03-19  David S. Miller  <davem@davemloft.net>
28276
28277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28278
28279         * sysdeps/sparc/fpu/fenv_private.h: New file.
28280         * sysdeps/sparc/fpu/math_private.h: Use it.
28281         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28282         Remove.
28283         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28284         (libc_feholdexcept_setroundl): Remove.
28285         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28286         Remove.
28287         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28288         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28289
28290 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28291
28292         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28293         int64_t instead of long int.
28294         (INSERT_WORDS64): Likwise.
28295
28296 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28297
28298         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28299         _Unwind_GetCFA return to _Unwind_Ptr first.
28300
28301 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
28302
28303         [BZ #13629]
28304         * math/s_clog.c: Include <float.h>.
28305         (__clog): Scale large or subnormal inputs.
28306         * math/s_clogf.c: Likewise.
28307         * math/s_clogl.c: Likewise.
28308         * math/s_clog10.c: Include <float.h>.
28309         (M_LOG10_2): Define.
28310         (__clog10): Scale large or subnormal inputs.
28311         * math/s_clog10f.c: Likewise.
28312         * math/s_clog10l.c: Likewise.
28313         * math/libm-test.inc (clog_test): Add more tests.
28314         (clog10_test): Likewise.
28315         * sysdeps/i386/fpu/libm-test-ulps: Update.
28316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28317
28318         [BZ #11451]
28319         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28320         x and y.
28321         * math/libm-test.inc (atan2_test): Add another test.
28322
28323         * Makerules (common-objdir-compile): Remove.
28324         * sysdeps/unix/Makefile (config-generated): Do not add
28325         $(unix-generated) to variable.
28326         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28327         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28328         Remove rule.
28329         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28330         Likewise.
28331         [generic bits/local_lim.h] (before-compile): Do not append to
28332         variable.
28333         [generic bits/local_lim.h] (common-generated): Likewise.
28334         [generic sys/param.h] (before-compile): Do not append to variable.
28335         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28336         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28337         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28338         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28339         include.
28340         [generic sys/param.h] (sys/param.h-includes): Remove variable.
28341         [generic sys/param.h] (sys/param.h-includes): Remove rule.
28342         [generic sys/param.h] ($(addprefix
28343         $(common-objpfx),$(sys/param.h-includes))): Likewise.
28344         [generic sys/param.h] (common-generated): Do not append to
28345         variable.
28346         [generic sys/param.h] (sysdep_headers): Likewise.
28347         [generic bits/errno.h] (before-compile): Do not append to
28348         variable.
28349         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28350         rule.
28351         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28352         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28353         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28354         [generic bits/errno.h] (common-generated): Do not append to
28355         variable.
28356         [generic bits/ioctls.h] (before-compile): Do not append to
28357         variable.
28358         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28359         rule.
28360         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28361         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28362         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28363         rule.
28364         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28365         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28366         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28367         [generic bits/ioctls.h] (common-generated): Do not append to
28368         variable.
28369         [generic sys/syscall.h] (syscall.h): Remove variable.
28370         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28371         rule.
28372         [generic sys/syscall.h] (before-compile): Do not append to
28373         variable.
28374         [generic sys/syscall.h] (common-generated): Likewise.
28375         * sysdeps/unix/errnos-tmpl.c: Remove file.
28376         * sysdeps/unix/errnos.awk: Likewise.
28377         * sysdeps/unix/ioctls-tmpl.c: Likewise.
28378         * sysdeps/unix/ioctls.awk: Likewise.
28379         * sysdeps/unix/mk-local_lim.c: Likewise.
28380         * sysdeps/unix/snarf-ioctls: Likewise.
28381
28382 2012-03-19  Richard Henderson  <rth@twiddle.net>
28383
28384         * sysdeps/i386/fpu/fenv_private.h: New file.
28385         * sysdeps/i386/fpu/math_private.h: Use it.
28386         (math_opt_barrier, math_force_eval): Remove.
28387         (libc_feholdexcept_setround_53bit): Remove.
28388         (libc_feupdateenv_53bit): Remove.
28389         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28390         (math_opt_barrier, math_force_eval): Remove.
28391         (libc_feholdexcept): Remove.
28392         (libc_feholdexcept_setround): Remove.
28393         (libc_fetestexcept, libc_fesetenv): Remove.
28394         (libc_feupdateenv_test): Remove.
28395         (libc_feupdateenv, libc_feholdsetround): Remove.
28396         (libc_feresetround): Remove.
28397
28398         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28399         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28400
28401         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28402         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28403         (libc_feupdateenv_testl): New.
28404         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28405         (libc_feupdateenv_testf): New.
28406         (libc_feupdateenv): Use libc_feupdateenv_test.
28407         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28408         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28409
28410         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28411         (libc_feholdsetroundf, libc_feholdsetroundl): New.
28412         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28413         (libc_feresetround_noex): New.
28414         (libc_feresetround_noexf): New.
28415         (libc_feresetround_noexl): New.
28416         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28417         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28418         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28419         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28420         SET_RESTORE_ROUND.
28421         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28422         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28423         (__cos): Likewise.
28424         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28425         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28426         SET_RESTORE_ROUND_NOEX.
28427         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28428         SET_RESTORE_ROUND_NOEXF.
28429         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28430         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28431         (libc_feholdsetroundf): New.
28432         (libc_feresetround, libc_feresetroundf): New.
28433
28434         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28435         (libc_feholdexcept_setround_53bit): Convert from macro to function.
28436         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
28437
28438         * sysdeps/generic/math_private.h: Include <fenv.h>.
28439         (default_libc_feholdexcept): New.
28440         (default_libc_feholdexcept_setround): New.
28441         (default_libc_fesetenv, default_libc_feupdateenv): New.
28442         (libc_feholdexcept): Only define if undefined.
28443         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28444         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28445         (libc_feholdexcept_setroundl): Likewise.
28446         (libc_feholdexcept_setround_53bit): Likewise.
28447         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28448         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28449         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28450         (libc_feupdateenv_53bit): Likewise.
28451         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28452         (libc_feholdexcept): Convert from macro to inline function.
28453         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28454         (libc_fesetenv, libc_feupdateenv): Likewise.
28455
28456         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28457         not previously defined.
28458         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28459         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28460         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28461         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28462         * sysdeps/ieee754/flt-32/math_private.h: New file.
28463         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28464         math_private.h below SET_FLOAT_WORD.
28465         (__isnan, __isinf_ns, __finite): Remove.
28466         (__isnanf, __isinf_nsf, __finitef): Remove.
28467
28468 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
28469
28470         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28471
28472 2012-03-17  David S. Miller  <davem@davemloft.net>
28473
28474         [BZ #6471]
28475         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28476         for 2.16.
28477
28478 2012-03-16  David S. Miller  <davem@davemloft.net>
28479
28480         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28481         warnings.
28482
28483         [BZ #6471]
28484         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28485         properly.
28486         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28487         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28488         sysdep_routines when subdir is sysvipc.
28489         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28490         __getshmlba helper.
28491
28492         * sysdeps/sparc/fpu/libm-test/ulps: Update.
28493
28494 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28495
28496         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28497         [__LP64__].
28498
28499 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28500
28501         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28502         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28503         (__lround): Renamed to ...
28504         (__llround): This.  Replace long int with long long int.
28505         Define lround functions as aliases of llround functions.
28506         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28507
28508 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28509
28510         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28511         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
28512         adresses to uintptr_t.  Replace "long int" and "unsigned long
28513         int" with "greg_t" on va_arg.
28514
28515 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28516
28517         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28518         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28519
28520         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28521         Move e_machine check before EI_CLASS check.  Handle x32
28522         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28523         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28524         SKIP_EM_IA_64 and include
28525         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28526
28527         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28528         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28529         (add_system_dir): New macro.
28530
28531         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28532         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28533
28534 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28535
28536         [BZ #2551]
28537         [BZ #2552]
28538         [BZ #2553]
28539         [BZ #2554]
28540         [BZ #2562]
28541         [BZ #2563]
28542         [BZ #2565]
28543         [BZ #2566]
28544         [BZ #2576]
28545         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28546         (y0): Likewise.
28547         * math/w_j0f.c (j0f): Likewise.
28548         (y0f): Likewise.
28549         * math/w_j0l.c (__j0l): Likewise.
28550         (__y0l): Likewise.
28551         * math/w_j1.c (j1): Likewise.
28552         (y1): Likewise.
28553         * math/w_j1f.c (j1f): Likewise.
28554         (y1f): Likewise.
28555         * math/w_j1l.c (__j1l): Likewise.
28556         (__y1l): Likewise.
28557         * math/w_jn.c (jn): Likewise.
28558         (yn): Likewise.
28559         * math/w_jnf.c (jnf): Likewise.
28560         (ynf): Likewise.
28561         * math/w_jnl.c (__jnl): Likewise.
28562         (__ynl): Likewise.
28563         * math/libm-test.inc (j0_test): Add more tests.
28564         (j1_test): Likewise.
28565         (jn_test): Likewise.  Add trailing semicolon to existing test.
28566         (y0_test): Likewise.
28567         (y1_test): Likewise.
28568         * sysdeps/i386/fpu/libm-test-ulps: Update.
28569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28570
28571         [BZ #13851]
28572         [BZ #13854]
28573         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28574         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28575         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28576         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28577         (__tanl): Set errno for infinite argument.
28578         * sysdeps/i386/fpu/mptan.c: Remove.
28579         * sysdeps/i386/fpu/s_tan.S: Likewise.
28580         * sysdeps/i386/fpu/s_tanl.S: Likewise.
28581         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28582         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28583         * math/libm-test.inc (tan_test): Add more tests and enable more
28584         tests for double and long double.
28585         * sysdeps/i386/fpu/libm-test-ulps: Update.
28586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28587
28588 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
28589
28590         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28591         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28592
28593 2012-03-16  Roland McGrath  <roland@hack.frob.com>
28594
28595         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28596         * configure.in: Use it for both main tree and add-ons.
28597         * configure: Regenerated.
28598
28599 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28600
28601         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28602
28603 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28604
28605         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28606         in comment.
28607
28608         [BZ #13851]
28609         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28610         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28611         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28612         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28613         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28614         infinite argument.
28615         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28616         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28617         != 0 for prec == 2.
28618         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28619         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28620         * sysdeps/i386/fpu/s_cosl.S: Likewise.
28621         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28622         * sysdeps/i386/fpu/s_sinl.S: Likewise.
28623         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28624         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28625         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28626         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28627         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28628         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28629         * math/libm-test.inc (cos_test): Add more tests and enable more
28630         tests for long double.
28631         (sin_test): Likewise.
28632         (sincos_test): Likewise.
28633         * sysdeps/i386/fpu/libm-test-ulps: Update.
28634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28635
28636 2012-03-16  David S. Miller  <davem@davemloft.net>
28637
28638         * sysdeps/sparc/fpu/math_private.h: New file.
28639
28640 2012-03-15  David S. Miller  <davem@davemloft.net>
28641
28642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28643         file.
28644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28646         file.
28647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28648         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28649         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28650         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28651         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28652         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28653         sysdep routines.
28654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28655
28656         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28657         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28658
28659         * sysdeps/sparc/sparc-ifunc.h: New file.
28660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28661         sparc-ifunc.h
28662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28664         Likewise.
28665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28666         Likewise.
28667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28671         Likewise.
28672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28677         Likewise.
28678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28679         Likewise.
28680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28684         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28685         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28686         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28687         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28688         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28689         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28690         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28691         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28692         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28693         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28694         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28695         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28696         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28697         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28698         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28699         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28700         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28701         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28702         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28703         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28704
28705 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28706
28707         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28708         scaling.
28709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28710
28711 2012-03-15  Andreas Jaeger  <aj@suse.de>
28712
28713         [BZ #13852]
28714         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28715         ieee754/flt-32 implementation for sin, cos and sincos.
28716         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28717         * sysdeps/i386/fpu/s_cosf.S: Likewise.
28718         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28719         * sysdeps/i386/fpu/s_sinf.S: Likewise.
28720         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28721         ieee754/flt-32 implementation for tan.
28722
28723         * math/libm-test.inc (cos_test): Enable some large input tests for
28724         float as well
28725         (sin_test): Likewise.
28726         (sincos_test): Likewise.
28727         (tan_test): Add tests for large input.
28728
28729         * sysdeps/i386/fpu/libm-test-ulps: Update.
28730
28731 2012-03-15  Andreas Jaeger  <aj@suse.de>
28732
28733         [BZ #13658]
28734         * math/libm-test.inc (cos_test): Add more test cases.
28735         (sin_test): Likewise.
28736         (sincos_test): Likewise.
28737
28738 2012-03-15  Andreas Jaeger  <aj@suse.de>
28739
28740         [BZ #13837]
28741         * math/libm-test.inc (cos_test): Add a test case for large input
28742         value.
28743         (sin_test): Likewise.
28744         (sincos_test): Likewise.
28745
28746 2012-03-15  Andreas Jaeger  <aj@suse.de>,
28747         Joseph Myers  <joseph@codesourcery.com>
28748
28749         [BZ #13658]
28750         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28751         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28752         * sysdeps/i386/fpu/branred.c: Likewise.
28753         * sysdeps/i386/fpu/dosincos.c: Likewise.
28754         * sysdeps/i386/fpu/mpa.c: Likewise.
28755         * sysdeps/i386/fpu/s_cos.S: Likewise.
28756         * sysdeps/i386/fpu/s_sin.S: Likewise.
28757         * sysdeps/i386/fpu/s_sincos.S: Likewise.
28758         * sysdeps/i386/fpu/sincos32.c: Likewise.
28759
28760         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28761         Define.
28762         (libc_feupdateenv_53bit): Define.
28763         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28764         Define.
28765         (libc_feupdateenv_53bit): Define.
28766
28767         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28768         53 bit (without extend i386 double precision).
28769
28770         * math/libm-test.inc (sincos_test): Add tests for large input.
28771         (sin): Likewise.
28772         (cos): Likewise.
28773
28774         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28775
28776 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28777
28778         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28779
28780 2012-03-15  David S. Miller  <davem@davemloft.net>
28781
28782         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28783         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28784         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28785         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28789         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28790         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28791         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28792         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28793         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28794         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28795         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28796         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28798         file.
28799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28801         file.
28802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28804         file.
28805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28807         file.
28808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28809         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28810         fmin/fmax sysdep routines.
28811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28812
28813 2012-03-14  David S. Miller  <davem@davemloft.net>
28814
28815         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28816         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28817         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28818         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28819         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28820         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28821         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28822         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28823         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28824         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28825         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28826         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28827         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28828         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28829         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28830         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28831         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28832         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28833         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28834         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28835         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28836         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28837         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28838         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28839         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28840         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28841         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28842         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28843         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28844         routines.
28845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28846         file.
28847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28849         file.
28850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28852         file.
28853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28855         file.
28856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28858         file.
28859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28861         file.
28862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28863         file.
28864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28865         file.
28866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28867         file.
28868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28869         New file.
28870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28871         file.
28872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28873         file.
28874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28876         file.
28877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28879         file.
28880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28882         file.
28883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28885         VIS3 routines.
28886
28887         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28888         New file.
28889
28890         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28891
28892         * sysdeps/sparc/configure.in: New file.
28893         * sysdeps/sparc/configure: Generate.
28894         * configure.in (libc_cv_sparc_as_vis3): Substitute.
28895         * configure: Regenerate.
28896         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28897         * config.make.in (have-as-vis3): New.
28898         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28899         available use -Av9d instead of -Av9a.
28900         * sysdeps/sparc/sparc64/Makefile: Likewise.
28901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28903         New file.
28904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28905         file.
28906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28907         New file.
28908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28909         file.
28910         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28911         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28912         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28913         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28914         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28915
28916         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28917         fzeros/fnegs to load 0x80000000 into a float register instead of
28918         using the stack.
28919         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28920
28921 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28922
28923         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28924         bits/syscall.h.
28925         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28926         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28927         ($(inst_includedir)/bits/syscall.h): Remove rule.
28928         ($(objpfx)bits/syscall.d): Include instead of
28929         $(objpfx)syscall-list.d.
28930         (generated): Change syscall-list.h and syscall-list.d to
28931         bits/syscall.h and bits/syscall.d.
28932
28933 2012-03-14  Roland McGrath  <roland@hack.frob.com>
28934
28935         [BZ #13846]
28936         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28937
28938 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28939
28940         [BZ #13841]
28941         * math/s_csqrt.c: Include <float.h>.
28942         (__csqrt): Scale large or subnormal inputs.
28943         * math/s_csqrtf.c: Likewise.
28944         * math/s_csqrtl.c: Likewise.
28945         * math/libm-test.inc (csqrt_test): Add more tests.
28946         * sysdeps/i386/fpu/libm-test-ulps: Update.
28947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28948
28949         [BZ #13840]
28950         * math/libm-test.inc (hypot_test): Add more tests.
28951
28952 2012-03-13  David S. Miller  <davem@davemloft.net>
28953
28954         [BZ #13840]
28955         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28956         double-precision for the calculation instead of scaling.
28957
28958 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
28959
28960         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28961         manipulate bits before adding and subtracting TWO52[sx].
28962         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28963         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28964         Likewise.
28965         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28966
28967 2012-03-13  David S. Miller  <davem@davemloft.net>
28968
28969         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28970         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28971         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28972         rtld-global-offsets.h
28973         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28974
28975         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28976         large parameters.
28977
28978         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28979
28980         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28981         'err' in the ifdef scope in which it is actually used.
28982
28983         * nss/nss_db/db-init.c: Include string.h
28984
28985 2012-03-12  David S. Miller  <davem@davemloft.net>
28986
28987         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28988         masking out of the most significant byte of random value used.
28989         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28990         Fix coding style in previous change.
28991
28992         * sysdeps/unix/sysv/linux/kernel-features.h
28993         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28994         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28995         expression.
28996         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28997         later.
28998
28999 2012-03-11  David S. Miller  <davem@davemloft.net>
29000
29001         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29002         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29003         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29004         for 'resultvar' otherwise things get truncated on 64-bit.
29005
29006         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29007         Fix masking out of the most significant byte of random value used.
29008
29009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29010
29011 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
29012
29013         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29014
29015 2012-03-09  David S. Miller  <davem@davemloft.net>
29016
29017         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29018         variables with appropriate CPP guards.
29019         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29020         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
29021         on resulting framesize and the management of the outregs buffer for pltexit.
29022         Preserve floating point return values across _dl_call_pltexit call.
29023         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29024         framesize and the management of the outregs buffer for pltexit.
29025         Preserve floating point return values across _dl_call_pltexit
29026         call.
29027         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29028         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29029         (print_exit): Fix format string for return register value.
29030
29031 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
29032
29033         * sunrpc/Makefile (others): Add rpcgen.
29034         ($(objpfx)rpcgen): Remove special build rule and dependency on
29035         libc.
29036         * sunrpc/rpcgen.c: New file.
29037
29038 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
29039
29040         [BZ #13673]
29041         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29042         * stdio-common/bug-vfprintf-nargs.c: Likewise.
29043         * sysdeps/i386/crti.S: Likewise.
29044         * sysdeps/i386/crtn.S: Likewise.
29045         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29046         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29047         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29048         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29049         * sysdeps/sh/crti.S: Likewise.
29050         * sysdeps/sh/crtn.S: Likewise.
29051         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29052
29053         [BZ #13673]
29054         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29055         with URL.
29056         * locale/programs/locfile-kw.gperf: Likewise.
29057         * locale/programs/charmap-kw.h: Regenerated.
29058         * locale/programs/locfile-kw.h: Likewise.
29059
29060         [BZ #13673]
29061         * intl/plural.y: Replace FSF snail mail address with URL.
29062         * intl/plural.c: Regenerated.
29063
29064 2012-03-09  Richard Henderson  <rth@twiddle.net>
29065
29066         * include/math_private.h: Remove file.
29067         * math/math_private.h: Move file ...
29068         * sysdeps/generic/math_private.h: ... here.
29069
29070         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29071         * sysdeps/powerpc/fpu/math_private.h: Likewise.
29072         * sysdeps/x86_64/fpu/math_private.h: Likewise.
29073
29074         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29075         and <math_private.h>.
29076         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29077         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29078         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29079         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29080         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29081         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29082         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29083         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29084         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29085         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29086         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29087         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29088         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29089         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29090         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29091         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29092         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29093         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29094         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29095         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29096         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29097         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29098         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29099         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29100         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29101         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29102         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29103         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29104         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29105         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29106         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29107         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29108         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29109         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29110         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29111         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29112         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29113         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29114         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29115         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29116         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29117         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29118         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29119         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29120         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29121         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29122         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29123         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29124         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29125         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29126         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29127         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29128         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29129         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29130         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29131         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29132         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29133         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29134         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29135         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29136         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29137         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29138         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29139         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29140         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29141         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29142         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29143         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29144         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29145         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29146         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29147         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29148         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29149         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29150         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29151         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29152         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29153         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29154         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29155         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29156         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29157         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29158         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29159         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29160         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29161         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29162         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29163         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29164         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29165         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29166         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29167         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29168         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29169         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29170         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29171         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29172         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29173         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29174         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29175         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29176         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29177         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29178         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29179         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29180         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29181         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29182         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29183         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29184         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29185         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29186         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29187         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29188         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29189         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29190         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29191         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29192         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29193         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29194         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29195         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29196         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29197         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29198         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29199         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29200         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29201         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29202         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29203         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29204         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29205         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29206         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29207         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29208         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29209         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29210         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29211         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29212         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29213         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29214         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29215         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29216         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29217         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29218         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29219         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29220         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29221         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29222         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29223         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29224         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29225         * sysdeps/ieee754/k_standard.c: Likewise.
29226         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29227         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29228         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29229         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29230         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29231         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29232         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29233         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29234         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29235         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29236         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29237         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29238         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29239         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29240         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29241         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29242         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29243         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29244         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29245         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29246         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29247         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29248         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29249         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29250         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29251         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29252         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29253         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29254         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29255         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29256         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29257         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29258         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29259         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29260         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29261         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29262         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29263         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29264         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29265         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29266         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29267         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29268         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29269         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29270         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29271         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29272         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29273         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29274         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29275         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29276         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29277         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29278         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29279         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29280         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29281         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29282         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29283         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29284         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29285         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29286         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29287         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29288         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29289         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29290         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29291         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29292         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29293         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29294         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29295         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29296         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29297         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29298         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29299         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29300         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29301         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29302         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29303         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29304         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29305         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29306         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29307         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29308         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29309         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29310         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29311         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29312         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29313         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29314         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29315         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29316         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29317         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29318         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29319         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29320         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29321         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29322         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29323         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29324         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29325         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29326         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29327         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29328         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29329         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29330         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29331         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29332         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29333         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29334         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29335         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29336         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29337         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29338         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29339         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29340         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29341         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29342         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29343         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29344         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29345         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29346         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29347         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29348         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29349         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29350         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29351         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29352         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29353         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29354         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29355         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29356         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29357         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29358         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29359         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29360         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29361         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29362         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29363         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29364         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29365         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29366         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29367         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29368         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29369         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29370         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29371         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29372         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29373         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29374         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29375         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29376         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29377         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29378         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29379         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29380         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29381         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29382         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29383         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29384         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29385         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29386         * sysdeps/ieee754/s_lib_version.c: Likewise.
29387         * sysdeps/ieee754/s_matherr.c: Likewise.
29388         * sysdeps/ieee754/s_signgam.c: Likewise.
29389         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29390         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29391         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29392         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29393         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29394         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29395         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29396         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29397         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29398         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29399         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29400         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29401         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29402         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29403         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29404         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29405         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29406         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29407         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29408         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29409         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29410
29411 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29412
29413         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29414         * sunrpc/rpc_main.c: Likewise.
29415         * sunrpc/rpc_svcout.c: Likewise.
29416
29417 2012-03-09  David S. Miller  <davem@davemloft.net>
29418
29419         * include/math_private.h: New file.
29420
29421 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29422
29423         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29424         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29425         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29426         from <bits/socket_type.h>.
29427         (enum __socket_type): Don't define here.
29428         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29429         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29430         bits/socket_type.h.
29431
29432         [BZ #13566]
29433         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29434         checking __USE_GNU.
29435
29436         * Makerules ($(inst_includedir)/%.h): New rule.
29437         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29438         (install-others): Remove variable setting.
29439         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29440
29441 2012-03-08  Richard Henderson  <rth@twiddle.net>
29442
29443         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29444         from macro to inline function; merge with the
29445         !__LIBC_INTERNAL_MATH_INLINES version.
29446         (__ieee754_sqrtf): Likewise.
29447
29448         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29449         to inline function.
29450         (__rintf, __floor, __floorf): Likewise.
29451
29452         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29453         macro to inline function.
29454         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29455
29456         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29457         not <math/math_private.h>.
29458
29459 2012-03-08  David S. Miller  <davem@davemloft.net>
29460
29461         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29462         copyright year.
29463         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29464
29465 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
29466
29467         * resolv/gai_misc.c (handle_requests): Fix struct timespec
29468         normalization.
29469         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29470         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29471
29472 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
29473
29474         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
29475         be defined individually, they must be defined as a block.  Define
29476         S for printing a string instead of hidint the different by using a
29477         macro for adding the 'l'.
29478         * stdio-common/tst-fphex-wide.c: Adjust.
29479
29480 2012-03-07  Marek Polacek  <polacek@redhat.com>
29481
29482         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29483
29484 2012-03-08  Marek Polacek  <polacek@redhat.com>
29485
29486         [BZ #13806]
29487         * stdio-common/Makefile (tests): Add tst-fphex-wide.
29488         * stdio-common/tst-fphex.c: Define a few macros to make the
29489         test reusable.  Use them.
29490         * stdio-common/tst-fphex-wide.c: New file.
29491
29492 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
29493
29494         [BZ #6911]
29495         * manual/macros.texi (gnusystems): New macro.
29496         (nongnusystems): Likewise.
29497         (gnulinuxhurdsystems): Likewise.
29498         (gnuhurdsystems): Likewise..
29499         (gnulinuxsystems): Likewise.
29500         * manual/charset.texi: Use new macros or @theglibc{} to refer to
29501         variants of the GNU system, not "GNU system".
29502         * manual/conf.texi: Likewise.
29503         * manual/errno.texi: Likewise.  Update example of errno macro
29504         expansion.
29505         * manual/filesys.texi: Likewise.
29506         (getumask): Document as specific to GNU/Hurd.
29507         * manual/install.texi: Likewise.  Reword some references to
29508         GNU/Linux.
29509         * manual/intro.texi: Likewise.
29510         * manual/io.texi: Likewise.
29511         (File Name Portability): Detail which constraints are inapplicable
29512         to all GNU systems and which are only inapplicable to GNU/Hurd.
29513         * manual/job.texi: Likewise.
29514         * manual/llio.texi: Likewise.
29515         (O_NOCTTY): Document as present on GNU/Linux.
29516         * manual/maint.texi: Likewise.
29517         * manual/memory.texi: Likewise.
29518         * manual/pattern.texi: Likewise.
29519         * manual/pipe.texi: Likewise.
29520         * manual/process.texi: Likewise.
29521         * manual/resource.texi: Likewise.
29522         (RUSAGE_CHILDREN): Remove statement about specifying a particular
29523         child on GNU/Hurd.
29524         * manual/setjmp.texi: Likewise.
29525         * manual/signal.texi: Likewise.
29526         * manual/startup.texi: Likewise.
29527         * manual/stdio.texi: Likewise.
29528         * manual/terminal.texi: Likewise.
29529         (ONLCR): Document as POSIX.
29530         (OXTABS): Document availability on GNU/Linux as XTABS.
29531         (ONOEOT): Document availability separately from other bits.
29532         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29533         * manual/time.texi: Likewise.
29534         * manual/users.texi: Likewise.
29535         * INSTALL: Regenerated.
29536         * sysdeps/gnu/errlist.c: Regenerated.
29537
29538         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29539         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29540         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
29541         puts.
29542         * configure: Regenerated.
29543
29544 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
29545
29546         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29547         default includes instead of AC_HEADER_CHECK.
29548         * sysdeps/i386/configure: Regenerated.
29549
29550         [BZ #10716]
29551         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29552         * math/s_cacoshf.c (__cacoshf): Likewise.
29553         * math/s_cacoshl.c (__cacoshl): Likewise.
29554         * math/s_casinh.c (__casinh): Set signs of result from argument.
29555         * math/s_casinhf.c (__casinhf): Likewise.
29556         * math/s_casinhl.c (__casinhl): Likewise.
29557         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29558         (casinh_test): Add more tests.
29559         * sysdeps/i386/fpu/libm-test-ulps: Update.
29560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29561
29562 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
29563
29564         * po/zh_TW.po: Update from translation team.
29565
29566         * login/Makefile (distribute): Remove variable.
29567         * catgets/Makefile: Likewise.
29568         * mach/Makefile: Likewise.
29569         * malloc/Makefile: Likewise.
29570         * misc/Makefile: Likewise.
29571         * iconv/Makefile: Likewise.
29572         * nscd/Makefile: Likewise.
29573         * hurd/Makefile: Likewise.
29574         * manual/Makefile: Likewise.
29575         * locale/Makefile: Likewise.
29576         * intl/Makefile: Likewise.
29577         * conform/Makefile: Likewise.
29578         * nss/Makefile: Likewise.
29579         * time/Makefile: Likewise.
29580         * soft-fp/Makefile: Likewise.
29581         * dirent/Makefile: Likewise.
29582         * gmon/Makefile: Likewise.
29583         * po/Makefile: Likewise.
29584         * rt/Makefile: Likewise.
29585         * socket/Makefile: Likewise.
29586         * math/Makefile: Likewise.
29587         * signal/Makefile: Likewise.
29588         * debug/Makefile: Likewise.
29589         * elf/Makefile: Likewise.
29590         * timezone/Makefile: Likewise.
29591         * stdlib/Makefile: Likewise.
29592         * iconvdata/Makefile: Likewise.
29593         * sunrpc/Makefile: Likewise.
29594         * io/Makefile: Likewise.
29595         * argp/Makefile: Likewise.
29596         * inet/Makefile: Likewise.
29597         * hesiod/Makefile: Likewise.
29598         * grp/Makefile: Likewise.
29599         * csu/Makefile: Likewise.
29600         * wctype/Makefile: Likewise.
29601         * crypt/Makefile: Likewise.
29602         * libio/Makefile: Likewise.
29603         * string/Makefile: Likewise.
29604         * nis/Makefile: Likewise.
29605         * resolv/Makefile: Likewise.
29606         * stdio-common/Makefile: Likewise.
29607         * wcsmbs/Makefile: Likewise.
29608         * dlfcn/Makefile: Likewise.
29609         * posix/Makefile: Likewise.
29610
29611         [BZ #6959]
29612         * timezone/Makefile: Don't install timezone files, just the programs
29613         and scripts.
29614
29615 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
29616
29617         * nss/databases.def: Add missing gshadow entry.
29618
29619         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
29620
29621 2012-03-06  Marek Polacek  <polacek@redhat.com>
29622
29623         [BZ #13726]
29624         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29625         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29626         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29627         * stdio-common/tst-long-dbl-fphex.c: New file.
29628
29629 2012-03-06  David S. Miller  <davem@davemloft.net>
29630
29631         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29632         (set_obp_int): New function.
29633         (get_obp_int): New function.
29634         (__get_clockfreq_via_dev_openprom): Likewise.
29635         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29636         Avoid unused variable warnings on 'val' and use builtin_expect.
29637         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29638         __builtin_expect.
29639         (INLINE_CLONE_SYSCALL): Likewise.
29640
29641 2012-03-05  David S. Miller  <davem@davemloft.net>
29642
29643         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29644
29645 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
29646
29647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29648
29649         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29650         only for |x| >= 40.
29651         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29652
29653 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
29654
29655         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29656         Replace gettimeofday with __vdso_gettimeofday.
29657
29658         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29659         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29660         __vdso_clock_gettime and __vdso_getcpu.
29661
29662         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29663         time with __vdso_time.
29664
29665 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29666
29667         * manual/lang.texi (size_t): Note types to which size_t may be
29668         equivalent with the GNU C Library, but do not describe when
29669         differences between them are significant.
29670
29671 2012-03-05  Andreas Jaeger  <aj@suse.de>
29672
29673         * sysdeps/i386/fpu/libm-test-ulps: Update.
29674
29675 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29676
29677         [BZ #3976]
29678         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29679         (__ieee754_pow): Save and restore rounding mode and use
29680         round-to-nearest for main computations.
29681         * math/libm-test.inc (pow_test_tonearest): New function.
29682         (pow_test_towardzero): Likewise.
29683         (pow_test_downward): Likewise.
29684         (pow_test_upward): Likewise.
29685         (main): Call the new functions.
29686         * sysdeps/i386/fpu/libm-test-ulps: Update.
29687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29688
29689         [BZ #3976]
29690         * math/libm-test.inc (cosh_test_tonearest): New function.
29691         (cosh_test_towardzero): Likewise.
29692         (cosh_test_downward): Likewise.
29693         (cosh_test_upward): Likewise.
29694         (sinh_test_tonearest): Likewise.
29695         (sinh_test_towardzero): Likewise.
29696         (sinh_test_downward): Likewise.
29697         (sinh_test_upward): Likewise.
29698         (main): Call the new functions.
29699         * sysdeps/i386/fpu/libm-test-ulps: Update.
29700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29701
29702 2012-03-05  Tom de Vries  <tom@codesourcery.com>
29703
29704         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29705         default stack guard is set in last bytes.
29706         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29707
29708 2012-03-05  Kees Cook  <keescook@chromium.org>
29709
29710         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29711
29712         [BZ #13656]
29713         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29714         possibly allocate from heap instead of stack.
29715         * stdio-common/bug-vfprintf-nargs.c: New file.
29716         * stdio-common/Makefile (tests): Add nargs overflow test.
29717
29718 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
29719
29720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29721
29722 2012-03-03  Marek Polacek  <polacek@redhat.com>
29723
29724         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29725         * math/math_private.h: Likewise.
29726         * stdlib/tst-strtod.c: Likewise.
29727         * sysdeps/i386/i486/bits/atomic.h: Likewise.
29728         * sysdeps/x86_64/bits/atomic.h: Likewise.
29729
29730 2012-03-02  David S. Miller  <davem@davemloft.net>
29731
29732         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29733         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29736         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29737         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29738         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29739         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29740
29741 2012-03-02  Roland McGrath  <roland@hack.frob.com>
29742
29743         [BZ #13792]
29744         * manual/examples/README: New file, says the example source files
29745         can be used under GPL>=2.
29746         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29747         line containing just "*/".
29748         * manual/examples/add.c: Add copyright header (GPL>=2).
29749         * manual/examples/argp-ex1.c: Likewise.
29750         * manual/examples/argp-ex2.c: Likewise.
29751         * manual/examples/argp-ex3.c: Likewise.
29752         * manual/examples/argp-ex4.c: Likewise.
29753         * manual/examples/atexit.c: Likewise.
29754         * manual/examples/db.c: Likewise.
29755         * manual/examples/dir.c: Likewise.
29756         * manual/examples/dir2.c: Likewise.
29757         * manual/examples/execinfo.c: Likewise.
29758         * manual/examples/filecli.c: Likewise.
29759         * manual/examples/filesrv.c: Likewise.
29760         * manual/examples/fmtmsgexpl.c: Likewise.
29761         * manual/examples/genpass.c: Likewise.
29762         * manual/examples/inetcli.c: Likewise.
29763         * manual/examples/inetsrv.c: Likewise.
29764         * manual/examples/isockad.c: Likewise.
29765         * manual/examples/longopt.c: Likewise.
29766         * manual/examples/memopen.c: Likewise.
29767         * manual/examples/memstrm.c: Likewise.
29768         * manual/examples/mkfsock.c: Likewise.
29769         * manual/examples/mkisock.c: Likewise.
29770         * manual/examples/mygetpass.c: Likewise.
29771         * manual/examples/pipe.c: Likewise.
29772         * manual/examples/popen.c: Likewise.
29773         * manual/examples/rprintf.c: Likewise.
29774         * manual/examples/search.c: Likewise.
29775         * manual/examples/select.c: Likewise.
29776         * manual/examples/setjmp.c: Likewise.
29777         * manual/examples/sigh1.c: Likewise.
29778         * manual/examples/sigusr.c: Likewise.
29779         * manual/examples/stpcpy.c: Likewise.
29780         * manual/examples/strdupa.c: Likewise.
29781         * manual/examples/strftim.c: Likewise.
29782         * manual/examples/strncat.c: Likewise.
29783         * manual/examples/subopt.c: Likewise.
29784         * manual/examples/swapcontext.c: Likewise.
29785         * manual/examples/termios.c: Likewise.
29786         * manual/examples/testopt.c: Likewise.
29787         * manual/examples/testpass.c: Likewise.
29788         * manual/examples/timeval_subtract.c: Likewise.
29789
29790         [BZ #13792]
29791         * manual/time.texi (Elapsed Time): Move timeval_subtract example
29792         function to ...
29793         * manual/timeval_subtract.c.texi: ... here, new file.
29794
29795 2012-03-02  David S. Miller  <davem@davemloft.net>
29796
29797         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29798
29799 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
29800
29801         [BZ #3976]
29802         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29803         (__sin): Save and restore rounding mode and use round-to-nearest
29804         for all computations.
29805         (__cos): Save and restore rounding mode and use round-to-nearest
29806         for all computations.
29807         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29808         <fenv.h>.
29809         (tan): Save and restore rounding mode and use round-to-nearest for
29810         all computations.
29811         * math/libm-test.inc (cos_test_tonearest): New function.
29812         (cos_test_towardzero): Likewise.
29813         (cos_test_downward): Likewise.
29814         (cos_test_upward): Likewise.
29815         (sin_test_tonearest): Likewise.
29816         (sin_test_towardzero): Likewise.
29817         (sin_test_downward): Likewise.
29818         (sin_test_upward): Likewise.
29819         (tan_test_tonearest): Likewise.
29820         (tan_test_towardzero): Likewise.
29821         (tan_test_downward): Likewise.
29822         (tan_test_upward): Likewise.
29823         (main): Call the new functions.
29824         * sysdeps/i386/fpu/libm-test-ulps: Update.
29825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29826
29827         [BZ #10135]
29828         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29829         small n, then large n, before computing and testing k+n.
29830         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29831         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29832         Likewise.
29833         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29834         Likewise.
29835         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29836         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29837         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29838         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29839         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29840         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29841         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29842         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29843         * math/libm-test.inc (scalbn_test): Add more tests.
29844         (scalbln_test): Likewise.
29845
29846         * manual/filesys.texi (mode_t): Describe constraints on size and
29847         signedness, not exact equivalence to a particular type.
29848         (ino_t): Likewise.
29849         (ino64_t): Likewise.
29850         (dev_t): Likewise.
29851         (nlink_t): Likewise.
29852         (blkcnt_t): Likewise.
29853         (blkcnt64_t): Likewise.
29854         * manual/llio.texi (off_t): Likewise.
29855
29856         [BZ #3976]
29857         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29858         (__ieee754_exp): Save and restore rounding mode and use
29859         round-to-nearest for all computations.
29860         * math/libm-test.inc (exp_test_tonearest): New function.
29861         (exp_test_towardzero): Likewise.
29862         (exp_test_downward): Likewise.
29863         (exp_test_upward): Likewise.
29864         (main): Call the new functions.
29865         * sysdeps/i386/fpu/libm-test-ulps: Update.
29866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29867
29868 2012-03-01  Chris Demetriou  <cgd@google.com>
29869
29870         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29871         have predictable order.
29872
29873 2012-03-01  David S. Miller  <davem@davemloft.net>
29874
29875         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29876
29877         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29878         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29879         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29880         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29881
29882         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29883         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29884         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29885         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29886         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29887         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29888         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29889         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29890         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29891
29892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29893
29894         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29895         * sysdeps/sparc/fpu/libm-test-ulps: to here.
29896         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29897
29898         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29899         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29900         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29901         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29902         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29903         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29904         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29905         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29906         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29907         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29908         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29909         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29910         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29911         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29912         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29913         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29914         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29915         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29916         * sysdeps/sparc/elf/configure: Regenerated.
29917
29918 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
29919
29920         * configure.in (AS, LD): Require binutils 2.20 or later.
29921         * configure: Regenerated.
29922         * manual/install.texi (Tools for Compilation): Give binutils 2.20
29923         as required minimum version.
29924         * INSTALL: Regenerated.
29925
29926         [BZ #2541]
29927         [BZ #4108]
29928         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29929         before squaring exponent.
29930         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29931         bottom long double and 27 bits of top long double before squaring
29932         exponent.
29933         * math/libm-test.inc (erfc_test): Add more tests.
29934         * sysdeps/i386/fpu/libm-test-ulps: Update.
29935         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29937
29938 2012-03-01  Kai Tietz  <ktietz@redhat.com>
29939
29940         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29941         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29942         containing bit-fields.
29943         * soft-fp/extended.h (_FP_UNION_E): Likewise.
29944         * soft-fp/single.h (_FP_UNION_S): Likewise.
29945         * soft-fp/double.h (_FP_UNION_D): Likewise.
29946
29947 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29948
29949         [BZ #13786]
29950         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29951         not include ../strcmp.S.
29952         [USE_AS_STRNCASECMP_L]: Likewise.
29953         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29954         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29955         * sysdeps/i386/i686/multiarch/strncase_l-c.c
29956         (__strncasecmp_l_ia32): Define as alias to
29957         __strncasecmp_l_nonascii.
29958
29959         [BZ #5794]
29960         * math/libm-test.inc (expm1_test): Add test for bug 5794.
29961         * sysdeps/i386/fpu/libm-test-ulps: Update.
29962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29963
29964         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29966
29967 2012-02-29  Jeff Law  <law@redhat.com>
29968
29969         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29970         out of bounds read.
29971
29972 2012-02-29  Marek Polacek  <polacek@redhat.com>
29973
29974         [BZ #13706]
29975         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29976         * elf/Makefile: Add rules to run tst-unused-dep.out.
29977
29978 2012-02-28  David S. Miller  <davem@davemloft.net>
29979
29980         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29981         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29982         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29983         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29984         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29985         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29986
29987 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29988
29989         * math/libm-test.inc (llround_test): Move one test from
29990         lround_test.  Use TEST_f_L in moved test.
29991         (lround_test): Move misplaced test to llround_test.  Add testcase
29992         from bug 2561.
29993
29994 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
29995
29996         * sysdeps/x86_64/fpu/e_expf.S: New file.
29997         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29998
29999 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
30000
30001         [BZ #13637]
30002         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30003         of remain_len that may cause incomplete multi-byte character and
30004         false match.
30005         * posix/bug-regex33.c: New file.
30006         * posix/Makefile (tests): Add bug-regex33.
30007
30008 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
30009
30010         * manual/macros.texi: New file.
30011         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30012         * manual/libc.texinfo: Include macros.texi.
30013         * manual/creatute.texi: Likewise.
30014         * manual/install.texi: Likewise.
30015         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30016         @glibcadj{} in references to the GNU C Library.
30017         * manual/charset.texi: Likewise.
30018         * manual/conf.texi: Likewise.
30019         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
30020         when not using those macros.
30021         * manual/creature.texi: Likewise.
30022         * manual/crypt.texi: Likewise.
30023         * manual/errno.texi: Likewise.
30024         * manual/filesys.texi: Likewise.
30025         * manual/header.texi: Likewise.
30026         * manual/install.texi: Likewise.
30027         * manual/intro.texi: Likewise.
30028         * manual/io.texi: Likewise.
30029         * manual/job.texi: Likewise.
30030         * manual/lang.texi: Likewise.
30031         * manual/libc.texiinfo: Likewise.
30032         * manual/llio.texi: Likewise.
30033         * manual/locale.texi: Likewise.
30034         * manual/maint.texi: Likewise.
30035         * manual/math.texi: Likewise.
30036         * manual/memory.texi: Likewise.
30037         * manual/message.texi: Likewise.
30038         * manual/nss.texi: Likewise.
30039         * manual/pattern.texi: Likewise.
30040         * manual/process.texi: Likewise.
30041         * manual/resource.texi: Likewise.
30042         * manual/search.texi: Likewise.
30043         * manual/setjmp.texi: Likewise.
30044         * manual/signal.texi: Likewise.
30045         * manual/socket.texi: Likewise.
30046         * manual/startup.texi: Likewise.
30047         * manual/stdio.texi: Likewise.
30048         * manual/string.texi: Likewise.
30049         * manual/sysinfo.texi: Likewise.
30050         * manual/syslog.texi: Likewise.
30051         * manual/terminal.texi: Likewise.
30052         * manual/time.texi: Likewise.
30053         * manual/users.texi: Likewise.
30054         * INSTALL: Regenerated.
30055         * NOTES: Regenerated.
30056         * sysdeps/gnu/errlist.c: Regenerated.
30057
30058 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
30059
30060         * include/dirent.h: Include <dirstream.h> before
30061         <dirent/dirent.h>.
30062
30063 2012-02-28  David S. Miller  <davem@davemloft.net>
30064
30065         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30066         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30067         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30068         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30069
30070 2012-02-27  David S. Miller  <davem@davemloft.net>
30071
30072         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30073         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30074         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30075         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30076
30077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30078         frame pointer instead of stack pointer relative arg slot.
30079         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30080         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30081         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30082
30083 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
30084
30085         [BZ #3992]
30086         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30087
30088 2012-02-27  David S. Miller  <davem@davemloft.net>
30089
30090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30091         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30092         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30093         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30094         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30095         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30096         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30097         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30098
30099 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30100
30101         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30102         later.  Allow versions 5-9.
30103         * configure: Regenerated.
30104         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30105         required minimum version and 4.6 as recommended version.  Do not
30106         mention bugs in GCC 2.7 and 2.8.
30107         * INSTALL: Regenerated.
30108
30109 2012-02-27  David S. Miller  <davem@davemloft.net>
30110
30111         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30112         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30113         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30114         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30115         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30116         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30117         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30118         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30119
30120         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30121         manipulate bits before adding and subtracting TWO112[sx].
30122         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30123
30124 2012-02-27  Roland McGrath  <roland@hack.frob.com>
30125
30126         [BZ #13775]
30127         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30128         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30129         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30130         being in POSIX, because they are in 1003.1-2008.
30131
30132         * rt/tst-aio.c: Include <fcntl.h>.
30133         * rt/tst-aio7.c: Likewise.
30134         * rt/tst-aio64.c: Likewise.
30135
30136         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30137
30138 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30139
30140         * manual/install.texi (--with-headers): Describe headers as
30141         interface headers, not private headers.
30142         (Specific advice for GNU/Linux systems): Describe use of headers
30143         from "make headers_install", not private headers from older
30144         kernels.
30145         * INSTALL: Regenerated.
30146         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30147         Change to 2.6.19.
30148         * sysdeps/unix/sysv/linux/configure: Regenerated.
30149
30150         * manual/llio.texi (fclean): Remove documentation.
30151
30152         * manual/Makefile (libc-texi-generated): New variable.  Include
30153         version.texi.
30154         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30155         $(libc-texi-generated), not duplicated list of files.
30156         (version.texi, stamp-version): New rules.
30157         (realclean): Remove $(libc-texi-generated), not individual files
30158         from that list.  Do not remove dir-add.texinfo.
30159         * manual/libc.texinfo: Comment out uses of edition numbers and
30160         references to printed manual.  Remove last-updated dates.
30161         (EDITION): Comment out.
30162         (ISBN): Likewise.
30163         (VERSION, UPDATED): Remove.
30164         (version.texi): Include.
30165
30166 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
30167
30168         * sysdeps/posix/spawni.c: Include <signal.h>.
30169         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30170         * sysdeps/pthread/aio_fsync.c: Likewise.
30171
30172 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
30173
30174         * conform/Makefile (tests): Run only when not cross-compiling and
30175         when fast-check is not defined.
30176
30177         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30178         * conform/data/limits.h-data: Fixes for POSIX2008.
30179         * conform/run-conformtest.sh: Run all tests.
30180         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30181         headers.
30182         * include/bits/dlfcn.h: Likewise.
30183         * include/langinfo.h: Likewise.
30184         * include/monetary.h: Likewise.
30185         * include/sys/poll.h: Likewise.
30186
30187         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30188         for __USE_GNU.
30189         * posix/spawn.h: Define __need_sigset_t.
30190         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30191         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30192         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
30193         to get sigevent_t only.
30194         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30195         only for __USE_GNU.
30196         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30197         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30198         process_vm_writev only for __USE_GNU.
30199         * termios/termios.h: Declare tcgetsid also for POSIX2008.
30200
30201         * conform/Makefile: For now ignore errors from run-conformtest.
30202         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
30203         POSIX to avoid namespace pollution.  Don't prepend headers.
30204         * conform/data/aio.h-data: Fixes for POSIX testing.
30205         * conform/data/fcntl.h-data: Likewise.
30206         * conform/data/glob.h-data: Likewise.
30207         * conform/data/grp.h-data: Likewise.
30208         * conform/data/pthread.h-data: Likewise.
30209         * conform/data/pwd.h-data: Likewise.
30210         * conform/data/signal.h-data: Likewise.
30211         * conform/data/spawn.h-data: Likewise.
30212         * conform/data/stdio.h-data: Likewise.
30213         * conform/data/stdlib.h-data: Likewise.
30214         * conform/data/stropts.h-data: Likewise.
30215         * conform/data/sys/mman.h-data: Likewise.
30216         * conform/data/sys/stat.h-data: Likewise.
30217         * conform/data/sys/types.h-data: Likewise.
30218         * conform/data/sys/wait.h-data: Likewise.
30219         * conform/data/time.h-data: Likewise.
30220         * conform/data/unistd.h-data: Likewise.
30221         * conform/data/utime.h-data: Likewise.
30222
30223         * io/sys/stat.h: fchmod was always in POSIX.
30224         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30225         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30226         * rt/aio.h: Define __need_timespec before including <time.h>.
30227         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30228         struct.  Add forward declaration of pthread_attr_t and use it in
30229         sigevent.
30230         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30231         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30232         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30233         always remove CLK_TCK definition.
30234
30235 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
30236
30237         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30238
30239 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
30240
30241         * conform/run-conformtest.sh: New file.
30242         * conform/Makefile: Run run-conformtest for tests.
30243         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
30244         support.
30245
30246         * conform/data/uchar.h-data: New file.
30247         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30248         * conform/data/arpa/inet.h-data: Likewise.
30249         * conform/data/assert.h-data: Likewise.
30250         * conform/data/complex.h-data: Likewise.
30251         * conform/data/cpio.h-data: Likewise.
30252         * conform/data/ctype.h-data: Likewise.
30253         * conform/data/dirent.h-data: Likewise.
30254         * conform/data/dlfcn.h-data: Likewise.
30255         * conform/data/errno.h-data: Likewise.
30256         * conform/data/fcntl.h-data: Likewise.
30257         * conform/data/float.h-data: Likewise.
30258         * conform/data/fmtmsg.h-data: Likewise.
30259         * conform/data/fnmatch.h-data: Likewise.
30260         * conform/data/ftw.h-data: Likewise.
30261         * conform/data/glob.h-data: Likewise.
30262         * conform/data/grp.h-data: Likewise.
30263         * conform/data/iconv.h-data: Likewise.
30264         * conform/data/inttypes.h-data: Likewise.
30265         * conform/data/langinfo.h-data: Likewise.
30266         * conform/data/libgen.h-data: Likewise.
30267         * conform/data/limits.h-data: Likewise.
30268         * conform/data/locale.h-data: Likewise.
30269         * conform/data/math.h-data: Likewise.
30270         * conform/data/monetary.h-data: Likewise.
30271         * conform/data/mqueue.h-data: Likewise.
30272         * conform/data/ndbm.h-data: Likewise.
30273         * conform/data/net/if.h-data: Likewise.
30274         * conform/data/netdb.h-data: Likewise.
30275         * conform/data/netinet/in.h-data: Likewise.
30276         * conform/data/nl_types.h-data: Likewise.
30277         * conform/data/poll.h-data: Likewise.
30278         * conform/data/pthread.h-data: Likewise.
30279         * conform/data/pwd.h-data: Likewise.
30280         * conform/data/regex.h-data: Likewise.
30281         * conform/data/sched.h-data: Likewise.
30282         * conform/data/search.h-data: Likewise.
30283         * conform/data/semaphore.h-data: Likewise.
30284         * conform/data/setjmp.h-data: Likewise.
30285         * conform/data/signal.h-data: Likewise.
30286         * conform/data/spawn.h-data: Likewise.
30287         * conform/data/stdarg.h-data: Likewise.
30288         * conform/data/stdio.h-data: Likewise.
30289         * conform/data/stdlib.h-data: Likewise.
30290         * conform/data/string.h-data: Likewise.
30291         * conform/data/strings.h-data: Likewise.
30292         * conform/data/stropts.h-data: Likewise.
30293         * conform/data/sys/ipc.h-data: Likewise.
30294         * conform/data/sys/mman.h-data: Likewise.
30295         * conform/data/sys/msg.h-data: Likewise.
30296         * conform/data/sys/resource.h-data: Likewise.
30297         * conform/data/sys/select.h-data: Likewise.
30298         * conform/data/sys/sem.h-data: Likewise.
30299         * conform/data/sys/shm.h-data: Likewise.
30300         * conform/data/sys/socket.h-data: Likewise.
30301         * conform/data/sys/stat.h-data: Likewise.
30302         * conform/data/sys/statvfs.h-data: Likewise.
30303         * conform/data/sys/time.h-data: Likewise.
30304         * conform/data/sys/timeb.h-data: Likewise.
30305         * conform/data/sys/times.h-data: Likewise.
30306         * conform/data/sys/types.h-data: Likewise.
30307         * conform/data/sys/uio.h-data: Likewise.
30308         * conform/data/sys/un.h-data: Likewise.
30309         * conform/data/sys/utsname.h-data: Likewise.
30310         * conform/data/sys/wait.h-data: Likewise.
30311         * conform/data/syslog.h-data: Likewise.
30312         * conform/data/tar.h-data: Likewise.
30313         * conform/data/termios.h-data: Likewise.
30314         * conform/data/utime.h-data: Likewise.
30315         * conform/data/utmpx.h-data: Likewise.
30316         * conform/data/varargs.h-data: Likewise.
30317         * conform/data/wchar.h-data: Likewise.
30318         * conform/data/wctype.h-data: Likewise.
30319         * conform/data/wordexp.h-data: Likewise.
30320
30321         * include/stropts.h: New file.
30322         * include/uchar.h: New file.
30323         * include/aio.h: Changes to allow conformtest.pl to use the headers.
30324         * include/assert.h: Likewise.
30325         * include/ctype.h: Likewise.
30326         * include/dirent.h: Likewise.
30327         * include/dlfcn.h: Likewise.
30328         * include/fcntl.h: Likewise.
30329         * include/fnmatch.h: Likewise.
30330         * include/glob.h: Likewise.
30331         * include/grp.h: Likewise.
30332         * include/libio.h: Likewise.
30333         * include/locale.h: Likewise.
30334         * include/math.h: Likewise.
30335         * include/net/if.h: Likewise.
30336         * include/netdb.h: Likewise.
30337         * include/netinet/in.h: Likewise.
30338         * include/pthread.h: Likewise.
30339         * include/pwd.h: Likewise.
30340         * include/regex.h: Likewise.
30341         * include/sched.h: Likewise.
30342         * include/search.h: Likewise.
30343         * include/setjmp.h: Likewise.
30344         * include/signal.h: Likewise.
30345         * include/stdio.h: Likewise.
30346         * include/stdlib.h: Likewise.
30347         * include/string.h: Likewise.
30348         * include/sys/cdefs.h: Likewise.
30349         * include/sys/mman.h: Likewise.
30350         * include/sys/msg.h: Likewise.
30351         * include/sys/resource.h: Likewise.
30352         * include/sys/select.h: Likewise.
30353         * include/sys/socket.h: Likewise.
30354         * include/sys/stat.h: Likewise.
30355         * include/sys/statvfs.h: Likewise.
30356         * include/sys/time.h: Likewise.
30357         * include/sys/times.h: Likewise.
30358         * include/sys/uio.h: Likewise.
30359         * include/sys/utsname.h: Likewise.
30360         * include/sys/wait.h: Likewise.
30361         * include/termios.h: Likewise.
30362         * include/time.h: Likewise.
30363         * include/ulimit.h: Likewise.
30364         * include/unistd.h: Likewise.
30365         * include/utime.h: Likewise.
30366         * include/wchar.h: Likewise.
30367         * include/wctype.h: Likewise.
30368         * include/wordexp.h: Likewise.
30369
30370         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30371
30372         * time/time.h: TIME_UTC must be a macro.
30373         Make timespec_get available for ISO C11 only as well.
30374
30375 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
30376
30377         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30378         Reported by Peng Haitao <penght@cn.fujitsu.com>.
30379
30380 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30381
30382         * configure.in: Use -o not -a in test for unsupported multi-arch.
30383
30384 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30385
30386         * manual/texinfo.tex: Update to version 2012-01-19.16.
30387
30388 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30389
30390         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30391
30392 2012-02-24  Roland McGrath  <roland@hack.frob.com>
30393
30394         [BZ #13738]
30395         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30396         * manual/fdl-1.3.texi: New file.
30397         * manual/fdl-1.1.texi: File removed.
30398
30399         [BZ #13738]
30400         * manual/libc.texinfo (FDL_VERSION): New @set.
30401         Use it for mention of FDL in cover text.
30402         (Documentation License): Use it in @include file name.
30403
30404 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30405             Roland McGrath  <roland@hack.frob.com>
30406
30407         [BZ #5461]
30408         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30409         not LONG_LONG_MAX and LONG_LONG_MIN.
30410         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30411         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
30412         name.
30413         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30414
30415 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30416
30417         [BZ #2547]
30418         [BZ #11365]
30419         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30420         manipulate bits before adding and subtracting TWO23[sx].
30421         * math/libm-test.inc (nearbyint_test): Add more tests.
30422
30423 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30424
30425         [BZ #2548]
30426         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30427         bits before adding and subtracting TWO23[sx].
30428         * math/libm-test.inc (rint_test): Add more tests.
30429         (rint_test_tonearest): Likewise.
30430         (rint_test_towardzero): Likewise.
30431         (rint_test_downward): Likewise.
30432         (rint_test_upward: Likewise.
30433
30434 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30435
30436         [BZ #10110]
30437         * include/stdc-predef.h: New file.  Extracted from features.h.
30438         * include/features.h: Include stdc-predef.h.
30439         * Makefile (headers): Add stdc-predef.h.
30440         * CONFORMANCE (Compiler limitations): Update.
30441
30442 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30443
30444         * manual/libc.texinfo (VERSION, UPDATED): Revert.
30445
30446 2012-02-21  David S. Miller  <davem@davemloft.net>
30447
30448         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30449         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30450
30451 2012-02-20  David S. Miller  <davem@davemloft.net>
30452
30453         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30454         using a normal save/restore sequence, rather than allocating a
30455         dummy stack frame just to store a frame pointer and restore.
30456         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30457
30458 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30459
30460         * manual/install.texi: Fix stray word in line-wrapped comment.
30461
30462 2012-02-20  David S. Miller  <davem@davemloft.net>
30463
30464         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30465         both binutils and gcc support GOTDATA.
30466
30467         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30468         "rd %pc" in the PIC register setup sequences.
30469
30470         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30471         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30472         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30473         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30474         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30475         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30476         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30477         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30478         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30479         (SYSCALL_ERROR_HANDLER): Likewise.
30480         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30481         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30482         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30483         (SYSCALL_ERROR_HANDLER): Likewise.
30484
30485         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30486         (HAVE_GCC_GOTDATA): New.
30487         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30488         relocation support in both binutils and gcc.
30489         * sysdeps/sparc/elf/configure: Regenerate.
30490
30491         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30492         * sysdeps/sparc/sparc32/elf/configure: Delete.
30493         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30494         * sysdeps/sparc/sparc64/elf/configure: Delete.
30495         * sysdeps/sparc/elf/configure.in: New file.
30496         * sysdeps/sparc/elf/configure: Generate.
30497
30498         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30499         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30500         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30501         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30502         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30503
30504 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30505
30506         * manual/install.texi: Do not mention specific glibc version
30507         numbers.
30508         * manual/libc.texinfo (VERSION, UPDATED): Update.
30509         (@copying): Use @copyright{} and range of years.
30510
30511 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30512
30513         [BZ #13695]
30514         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30515         [crti.S not in sysdirs] (generated): Do not append.
30516         [crti.S not in sysdirs] (omit-deps): Likewise.
30517         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30518         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30519         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30520         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30521         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30522         Likewise.
30523         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30524         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30525         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30526         * csu/defs.awk: Remove file.
30527         * sysdeps/generic/initfini.c: Likewise.
30528         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30529         variable.
30530         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30531         Likewise.
30532
30533 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30534
30535         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30536         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30537         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30538         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30539         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30540         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30541         <bits/epoll.h>.
30542         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30543         (__EPOLL_PACKED): Define to empty if not defined by
30544         <bits/epoll.h>.
30545         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30546         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30547         bits/epoll.h.
30548
30549 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30550
30551         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30552         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30553         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30554         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30555         <bits/timerfd.h>.
30556         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30557         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30558         bits/timerfd.h.
30559
30560 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30561
30562         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30563         in C locale.
30564         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30565         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30566         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30568
30569 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
30570
30571         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30572         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30573
30574 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
30575
30576         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30577         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30578         defined.
30579         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30580         Likewise.
30581         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30582         entry for 2.16.
30583
30584 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
30585
30586         * math/w_acos.c: Use non-signaling floating-point comparisons.
30587         * math/w_acosf.c: Likewise.
30588         * math/w_acosh.c: Likewise.
30589         * math/w_acoshf.c: Likewise.
30590         * math/w_acoshl.c: Likewise.
30591         * math/w_acosl.c: Likewise.
30592         * math/w_asin.c: Likewise.
30593         * math/w_asinf.c: Likewise.
30594         * math/w_asinl.c: Likewise.
30595         * math/w_atanh.c: Likewise.
30596         * math/w_atanhf.c: Likewise.
30597         * math/w_atanhl.c: Likewise.
30598         * math/w_exp2.c: Likewise.
30599         * math/w_exp2f.c: Likewise.
30600         * math/w_exp2l.c: Likewise.
30601         * math/w_j0.c: Likewise.
30602         * math/w_j0f.c: Likewise.
30603         * math/w_j0l.c: Likewise.
30604         * math/w_j1.c: Likewise.
30605         * math/w_j1f.c: Likewise.
30606         * math/w_j1l.c: Likewise.
30607         * math/w_jn.c: Likewise.
30608         * math/w_jnf.c: Likewise.
30609         * math/w_log.c: Likewise.
30610         * math/w_log10.c: Likewise.
30611         * math/w_log10f.c: Likewise.
30612         * math/w_log10l.c: Likewise.
30613         * math/w_log2.c: Likewise.
30614         * math/w_log2f.c: Likewise.
30615         * math/w_log2l.c: Likewise.
30616         * math/w_logf.c: Likewise.
30617         * math/w_logl.c: Likewise.
30618         * math/w_sqrt.c: Likewise.
30619         * math/w_sqrtf.c: Likewise.
30620         * math/w_sqrtl.c: Likewise.
30621         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30622         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30623         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30624         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30625         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30626
30627 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30628
30629         [BZ #9739]
30630         * manual/string.texi (strnlen): Use correct parameter name in
30631         equivalent expression.
30632
30633 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30634
30635         [BZ #11174]
30636         * manual/users.texi (seteuid): Consistently use neweuid for
30637         argument name.
30638
30639 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30640
30641         [BZ #13704]
30642         * manual/nss.texi (Services in the NSS configuration): Correct
30643         list of services in example configuration file.
30644
30645 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
30646
30647         [BZ #11322]
30648         * manual/arith.texi: Remove statements about negative zero
30649         behaving identically to zero.
30650
30651 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30652
30653         [BZ #5993]
30654         * manual/install.texi: Do not document upgrading from libc5.
30655
30656 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30657
30658         [BZ #4596]
30659         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30660
30661 2012-02-18  David S. Miller  <davem@davemloft.net>
30662
30663         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30664         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30665         %o7 across the call.
30666         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30667         instead.
30668         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30669         SETUP_PIC_REG_LEAF.
30670         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30671         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30672         * sysdeps/sparc/crtn.S: Likewise.
30673
30674 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
30675
30676         * aout/Makefile: Remove.
30677
30678 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
30679
30680         [BZ #13058]
30681         * manual/examples/argp-ex1.c (main): Format definition in GNU
30682         style.
30683         * manual/examples/argp-ex2.c (main): Likewise.
30684         * manual/examples/argp-ex3.c (main): Likewise.
30685         * manual/examples/argp-ex4.c (main): Likewise.
30686         * manual/examples/longopt.c (main): Use new-style prototype
30687         definition.
30688         * manual/examples/strncat.c (main): Specify return type and use
30689         (void) for arguments.
30690         * manual/examples/subopt.c (main): Use char **argv argument.
30691
30692 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30693
30694         [BZ #5077]
30695         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30696         rounding modes.
30697
30698 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
30699
30700         [BZ #6907]
30701         * manual/string.texi (strchr): Change when strchrnul is
30702         recommended.
30703
30704 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
30705
30706         [BZ #174]
30707         * manual/locale.texi (setlocale): Document LOCPATH.
30708
30709 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30710
30711         [BZ #10210]
30712         * manual/process.texi (execle): Move @dots{} before last argument.
30713
30714 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
30715
30716         [BZ #12047]
30717         * manual/charset.texi (Generic Charset Conversion): Fix typo
30718         (LC_TYPE -> LC_CTYPE).
30719
30720 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
30721
30722         [BZ #5805]
30723         * manual/arith.texi (scalbn): Use @var{} on parameter names.
30724         (scalbnf): Likewise.
30725         (scalbnl): Likewise.
30726         (scalbln): Likewise.
30727         (scalblnf): Likewise.
30728         (scalblnl): Likewise.
30729         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30730         (vwarnx): Likewise.
30731         (verr): Likewise.
30732         (verrx): Likewise.
30733         * manual/filesys.texi (telldir): Use braces around return type.
30734         * manual/llio.texi (mmap): Add space after comma.
30735         (mmap64): Likewise.
30736         * manual/math.texi (jn): Use @var{} on parameter names.
30737         (jnf): Likewise.
30738         (jnl): Likewise.
30739         (yn): Likewise.
30740         (ynf): Likewise.
30741         (ynl): Likewise.
30742         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30743         line.
30744         * manual/resource.texi (ulimit): Use @dots{} instead of literal
30745         "...".
30746         (sched_get_priority_min): Remove semicolon on @deftypefun line.
30747         (sched_get_priority_max): Likewise.
30748         * manual/signal.texi (sigvec): Add space after comma.
30749         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30750         names.
30751         (if_indextoname): Likewise.
30752         (if_freenameindex): Likewise.
30753         (sendto): Use ',' instead of '.' in prototype.
30754         * manual/startup.texi (syscall): Use @dots{} instead of literal
30755         "...".
30756         * manual/stdio.texi (__fpending): Separate initial words of
30757         paragraph from @deftypefun line.
30758         * manual/syslog.texi (syslog): Use @dots{} instead of literal
30759         "...".
30760         (vsyslog): Use @var{} on parameter names.
30761         * manual/terminal.texi (stty): Use @var{} on parameter names.
30762         * manual/users.texi (getutmp): Use @var{} on parameter names.
30763         (getutmpx): Likewise.
30764
30765 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30766
30767         [BZ #6884]
30768         * manual/stdio.texi (fopen): Fix typos in description of
30769         ",ccs=STRING".
30770
30771 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
30772
30773         [BZ #4026]
30774         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30775         get clock_id definition.
30776
30777 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
30778
30779         [BZ #4822]
30780         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30781         (madvise): Cast every argument to void on its own.
30782
30783 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30784
30785         [BZ #9902]
30786         * manual/startup.texi (Exit Status): Fix typo.
30787
30788 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30789
30790         [BZ #10140]
30791         * manual/examples/argp-ex1.c: Include <stdlib.h>.
30792         * manual/examples/argp-ex2.c: Likewise.
30793         * manual/examples/argp-ex3.c: Likewise.
30794
30795 2012-02-16  Richard Henderson  <rth@redhat.com>
30796
30797         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30798         * sysdeps/s390/s390-32/initfini.c: Remove.
30799         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30800         * sysdeps/s390/s390-64/initfini.c: Remove.
30801
30802 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30803
30804         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30805         compiler output for sysdeps/generic/initfini.c.
30806         * sysdeps/sh/elf/initfini.c: Remove file.
30807
30808 2012-02-16  David S. Miller  <davem@davemloft.net>
30809
30810         [BZ #11494]
30811         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30812
30813         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30814         * sysdeps/sparc/crti.S: New file.
30815         * sysdeps/sparc/crtn.S: New file.
30816         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30817         * sysdeps/sparc/sparc64/Makefile: Likewise.
30818
30819 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
30820
30821         [BZ #3335]
30822         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30823
30824 2012-02-15  Roland McGrath  <roland@hack.frob.com>
30825
30826         [BZ #4822]
30827         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30828
30829         * mach/devstream.c (cookie_io_functions_t): Macro removed.
30830         (write, read, close): Likewise.
30831         Patch by Aurelien Jarno <aurelien@aurel32.net>.
30832
30833 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
30834
30835         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30836         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30837         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30838         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30839         <bits/signalfd.h>.
30840         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30841         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30842         bits/signalfd.h.
30843
30844 2012-02-14  Marek Polacek  <polacek@redhat.com>
30845
30846         * sysdeps/x86_64/crti.S: New file.
30847         * sysdeps/x86_64/crtn.S: New file.
30848         * sysdeps/x86_64/elf/initfini.c: Remove file.
30849
30850 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30851
30852         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30853         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30854         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30855         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30856         <bits/inotify.h>.
30857         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30858         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30859         bits/inotify.h.
30860
30861 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30862
30863         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30864         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30865         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30866         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30867         <bits/eventfd.h>.
30868         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30869         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30870         bits/eventfd.h.
30871
30872 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
30873
30874         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30875         __feraiseexcept instead of feraiseexcept.
30876
30877         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30878         nanosleep invocations.
30879         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30880         strings, and add error checking for a nanosleep invocations.
30881
30882 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
30883
30884         Replace FSF snail mail address with URLs, as per GNU coding standards.
30885         Most of the snail mail addresses were wrong anyway, and omitting
30886         them makes the source code easier to maintain.  Almost all of the
30887         changes are to license notices and to locale LC_IDENTIFICATION
30888         addresses, except for this one:
30889         * manual/libc.texinfo: In "Published by", give the FSF's URL,
30890         not its snail mail address.
30891
30892 2012-02-09  Richard Henderson  <rth@twiddle.net>
30893
30894         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30895         of kernel-features.h.
30896
30897         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30898
30899 2012-02-08  Marek Polacek  <polacek@redhat.com>
30900
30901         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30902         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30903         * sysdeps/gnu/_G_config.h: Likewise.
30904         * sysdeps/generic/_G_config.h: Likewise.
30905
30906 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
30907
30908         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30909         tests.
30910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30911
30912         * sysdeps/powerpc/powerpc32/crti.S: New file.
30913         * sysdeps/powerpc/powerpc32/crtn.S: New file.
30914         * sysdeps/powerpc/powerpc64/crti.S: New file.
30915         * sysdeps/powerpc/powerpc64/crtn.S: New file.
30916
30917         * Makeconfig (have-initfini): Don't set.
30918         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30919         * configure.in (nopic_initfini): Don't substitute.
30920         * config.h.in (HAVE_INITFINI): Don't #undef.
30921         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30922         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30923
30924 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
30925
30926         Support crti.S and crtn.S provided directly by architectures.
30927         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30928         [crti.S in sysdirs] (omit-deps): Likewise.
30929         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30930         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30931         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30932         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30933         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30934         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30935         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30936         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30937         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30938         compiler output for sysdeps/generic/initfini.c.
30939         * sysdeps/i386/elf/Makefile: Remove file.
30940         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30941
30942 2012-02-07  Marek Polacek  <polacek@redhat.com>
30943
30944         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30945         * sysdeps/gnu/_G_config.h: Likewise.
30946         * sysdeps/mach/hurd/_G_config.h: Likewise.
30947
30948 2012-02-07  Marek Polacek  <polacek@redhat.com>
30949
30950         * math/Makefile (tests): Add tst-CMPLX2.
30951         * math/tst-CMPLX2.c: New file.
30952
30953 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
30954
30955         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30956
30957         * math/libm-test.inc (jn_test): Add missing L suffix.
30958
30959 2012-02-06  Marek Polacek  <polacek@redhat.com>
30960
30961         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30962         * sysdeps/i386/fpu/e_powf.S: Likewise.
30963         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30964         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30965         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30966         * sysdeps/i386/fpu/e_pow.S: Likewise.
30967         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30968         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30969         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30970         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30971         * sysdeps/i386/fpu/e_log2.S: Likewise.
30972         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30973         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30974         * sysdeps/i386/fpu/e_powl.S: Likewise.
30975         * sysdeps/i386/fpu/s_log1p.S: Likewise.
30976         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30977         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30978         * sysdeps/i386/fpu/e_logl.S: Likewise.
30979         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30980         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30981         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30982         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30983         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30984         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30985         * sysdeps/i386/fpu/e_log.S: Likewise.
30986         * sysdeps/i386/fpu/s_cexp.S: Likewise.
30987         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30988         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30989         * sysdeps/i386/fpu/e_logf.S: Likewise.
30990         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30991         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30992         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30993         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30994         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30995         * sysdeps/i386/fpu/e_log10.S: Likewise.
30996         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30997         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30998         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30999         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31000         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31001         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31002         * sysdeps/i386/asm-syntax.h: Likewise.
31003         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31004         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31005         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31006         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31007         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31008         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31009         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31010         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31011         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31012         * sysdeps/powerpc/sysdep.h: Likewise.
31013         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31014         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31015
31016 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31017
31018         [BZ #411]
31019         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31020
31021 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31022
31023         * sysdeps/i386/sysdep.h: Include <features.h>.
31024         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31025         version.
31026
31027 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
31028
31029         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31030         Define.
31031         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31032         LOAD_PIC_REG_STR.
31033
31034 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31035
31036         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31037         (SETUP_PIC_REG): Use GET_PC_THUNK.
31038         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31039         macro.
31040
31041 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31042
31043         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31044         for non-PIC compilation.
31045         (SETUP_PIC_REG): Add .p2align directive.
31046         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31047         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31048         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31049         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31050         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31051         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31052         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31053         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31054         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31055         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31056         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31057         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31058         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31059         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31060         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31061         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31062         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31063         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31064         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31065         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31066         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31067         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31068         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31069         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31070         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31071         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31072         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31073         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31074         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31075         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31076         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31077         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31078         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31079         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31080         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31081         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31082         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31083         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31084         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31085         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31086         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31087
31088 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31089
31090         * math/tst-CMPLX.c: Include <stdio.h>.
31091
31092 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
31093
31094         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31095         float.
31096         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31097         * sysdeps/sparc/bits/mathdef.h: Likewise.
31098
31099 2012-01-31  Marek Polacek  <polacek@redhat.com>
31100
31101         * libio/libio.h: Don't define _PARAMS.
31102         * locale/programs/config.h: Don't define PARAMS.
31103         * stdlib/strtol_l.c: Likewise.
31104         (__strtol_l): Remove PARAMS from the prototype.
31105
31106 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
31107
31108         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
31109         names.  Just use the correct names.  Remove unnecessary wrapper
31110         functions.
31111         * malloc/arena.c: Likewise.
31112         * malloc/hooks.c: Likewise.
31113
31114         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31115         ARENA_TEST says not to.  Simplify test for creation of a new arena.
31116         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31117
31118 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
31119
31120         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31121         into tail calls.
31122         (update_get_addr): New function.
31123         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31124         GET_ADDR_MODULE parameter.
31125
31126 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31127
31128         * crypt/cert.c: Remove __STDC__ conditionals.
31129         * crypt/crypt-entry.c: Likewise.
31130         * crypt/crypt_util.c: Likewise.
31131         * libio/filedoalloc.c: Likewise.
31132         * libio/fileops.c: Likewise.
31133         * libio/genops.c: Likewise.
31134         * libio/iofclose.c: Likewise.
31135         * libio/iofdopen.c: Likewise.
31136         * libio/iofopen.c: Likewise.
31137         * libio/iofopen64.c: Likewise.
31138         * libio/iogetdelim.c: Likewise.
31139         * libio/iopopen.c: Likewise.
31140         * libio/obprintf.c: Likewise.
31141         * libio/oldfileops.c: Likewise.
31142         * libio/oldiofclose.c: Likewise.
31143         * libio/oldiofdopen.c: Likewise.
31144         * libio/oldiofopen.c: Likewise.
31145         * libio/oldiopopen.c: Likewise.
31146         * libio/wfiledoalloc.c: Likewise.
31147         * libio/wgenops.c: Likewise.
31148         * locale/programs/xmalloc.c: Likewise.
31149         * misc/syslog.c: Likewise.
31150         * stdio-common/xbug.c: Likewise.
31151         * string/memchr.c: Likewise.
31152         * string/memcmp.c: Likewise.
31153         * string/memrchr.c: Likewise.
31154         * string/rawmemchr.c: Likewise.
31155         * sysdeps/posix/getcwd.c: Likewise.
31156         * time/strftime_l.c: Likewise.
31157
31158 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31159
31160         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31161         * config.make.in (config-cflags-sse2avx): Define.
31162         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31163         Fix typo.
31164
31165 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
31166
31167         * scripts/config.guess: Update from upstream config git repository.
31168         * scripts/config.sub: Likewise.
31169
31170 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
31171
31172         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31173         (EM_NUM): Update.
31174         (R_TILEPRO_*, R_TILEGX_*): New macros.
31175
31176         * scripts/firstversions.awk: Fix bug in version range handling.
31177
31178         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31179
31180         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31181
31182         * include/sys/epoll.h: New file.
31183         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31184         libc_hidden_def.
31185
31186 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
31187
31188         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31189         Avoid unnecessary __WORDSIZE == 64 test.
31190         (fmaxf): Use VEX format if possible.
31191         (fmax): Likewise.
31192         (fminf): Likewise.
31193         (fmin): Likewise.
31194
31195         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31196         * math/math_private.h: Remove libc_fegetround* and
31197         libc_fesetround*.
31198         * sysdeps/i386/configure.in: Check for -msse2avx.
31199         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31200         also if SSE2AVX is defined.
31201         Remove libc_fegetround* and libc_fesetround*.
31202         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31203         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
31204         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31205         of HAS_YMM_USABLE.
31206         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31207         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31208         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31209         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31210         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31211
31212         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31213
31214 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31215
31216         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31217         size is not set.
31218         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31219
31220 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
31221
31222         [BZ #13618]
31223         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31224         relocation.
31225         * Makeconfig (libm): Define.
31226         * elf/Makefile: Add rules to build and run tst-relsort1.
31227         * elf/tst-relsort1.c: New file.
31228         * elf/tst-relsort1mod1.c: New file.
31229         * elf/tst-relsort1mod2.c: New file.
31230
31231 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
31232
31233         * math/s_ldexp.c: Remove __STDC__ conditionals.
31234         * math/s_ldexpf.c: Likewise.
31235         * math/s_ldexpl.c: Likewise.
31236         * math/s_nextafter.c: Likewise.
31237         * math/s_nexttowardf.c: Likewise.
31238         * math/s_significand.c: Likewise.
31239         * math/s_significandf.c: Likewise.
31240         * math/s_significandl.c: Likewise.
31241         * math/w_jnl.c: Likewise.
31242         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31243         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31244         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31245         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31246         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31247         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31248         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31249         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31250         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31251         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31252         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31253         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31254         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31255         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31256         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31257         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31258         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31259         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31260         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31261         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31262         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31263         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31264         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31265         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31266         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31267         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31268         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31269         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31270         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31271         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31272         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31273         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31274         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31275         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31276         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31277         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31278         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31279         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31280         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31281         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31282         * sysdeps/ieee754/k_standard.c: Likewise.
31283         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31284         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31285         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31286         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31287         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31288         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31289         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31290         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31291         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31292         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31293         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31294         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31295         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31296         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31297         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31298         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31299         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31300         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31301         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31302         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31303         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31304         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31305         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31306         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31307         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31308         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31309         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31310         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31311         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31312         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31313         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31314         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31315         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31316         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31317         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31318         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31319         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31320         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31321         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31322         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31323         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31324         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31325         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31326         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31327         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31328         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31329         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31330         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31331         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31332         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31333         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31334         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31335         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31336         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31337         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31338         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31339         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31340         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31341         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31342         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31343         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31344         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31345         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31346         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31347         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31348         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31349         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31350         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31351         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31352         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31353         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31354         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31355         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31356         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31357         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31358         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31359         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31360         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31361         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31362         * sysdeps/ieee754/s_matherr.c: Likewise.
31363         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31364         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31365         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31366         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31367
31368 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31369
31370         * crypt/md5.h: Remove __STDC__ conditionals.
31371         * libio/libioP.h: Likewise.
31372         * locale/programs/config.h: Likewise.
31373         * sysdeps/generic/sysdep.h: Likewise.
31374         * sysdeps/i386/asm-syntax.h: Likewise.
31375         * sysdeps/s390/asm-syntax.h: Likewise.
31376         * sysdeps/unix/sysdep.h: Likewise.
31377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31379
31380 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31381
31382         * libio/libio.h: Remove __STDC__ conditionals.
31383         * malloc/obstack.h: Likewise.
31384         * math/complex.h: Likewise.
31385         * math/math.h: Likewise.
31386         * sysdeps/generic/_G_config.h: Likewise.
31387         * sysdeps/gnu/_G_config.h: Likewise.
31388         * sysdeps/mach/hurd/_G_config.h: Likewise.
31389         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31390         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31391         * sysdeps/sparc/bits/mathdef.h: Likewise.
31392
31393 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
31394
31395         [BZ #13583]
31396         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31397         Clean up HAS_* macros.
31398         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31399         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31400         possible.
31401         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31402         HAS_AVX.
31403         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31404         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31405         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31406         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31407         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31408
31409 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
31410
31411         * elf/tst-unique3.cc (gets): Remove declaration.
31412         * elf/tst-unique3lib.cc (gets): Likewise.
31413         * elf/tst-unique3lib2.cc (gets): Likewise.
31414         * elf/tst-unique4.cc (gets): Likewise.
31415
31416 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
31417
31418         * include/stdio.h: Add C++ protection.  Add gets declarations and
31419         definitions.
31420         * debug/tst-chk1.c: Don't declare gets here.
31421         * stdio-common/tst-gets.c: Likewise.
31422
31423 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31424
31425         * posix/glob: Remove directory.
31426
31427 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31428
31429         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31430
31431 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
31432
31433         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31434         of the non-standard EPFNOSUPPORT.
31435
31436 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31437
31438         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31439         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31440         ANYWHERE set to 1 only on KERN_NO_SPACE error.
31441
31442 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
31443
31444         * wcsmbs/uchar.h: Test __STDC_VERSION__.
31445
31446 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
31447
31448         * nscd/aicache.c (addhstaiX): Do not cache negative results of
31449         transient errors.
31450         * nscd/grpcache.c (cache_addgr): Likewise.
31451         * nscd/hstcache.c (cache_addhst): Likewise.
31452         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31453         * nscd/pwdcache.c (cache_addpw): Likewise.
31454         * nscd/servicescache.c (cache_addserv): Likewise.
31455
31456 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
31457
31458         * malloc/malloc.c: Various cleanups.
31459         * malloc/hooks.c: Likewise.
31460
31461         * stdlib/Makefile (tests): Add bug-fmtmsg1.
31462         * stdlib/bug-fmtmsg1.c: New file.
31463
31464         * stdlib/fmtmsg.c (init): Add missing unlock.
31465         Patch by Peng Haitao <penght@cn.fujitsu.com>.
31466
31467 2012-01-12  Marek Polacek  <polacek@redhat.com>
31468
31469         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31470         and _GNU_SOURCE.
31471
31472 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
31473
31474         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31475         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31476         macro to ensure uniqueness of label name.
31477         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31478         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31479
31480 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
31481
31482         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31483
31484         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31485         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31486         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31487         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31488
31489 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
31490
31491         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31492
31493         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31494         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31495         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31496
31497         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31498
31499         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31500         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31501         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31502         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31503
31504         * math/bits/math-finite.h: Add ldexp support.
31505
31506 2012-01-10  Marek Polacek  <polacek@redhat.com>
31507
31508         * locale/programs/localedef.h (show_archive_content): Add noreturn
31509         attribute.
31510
31511 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
31512
31513         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31514
31515 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31516
31517         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31518
31519         * io/Makefile (headers): Add bits/poll2.h.
31520
31521 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
31522
31523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31524         typo #include statement.
31525
31526 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31527
31528         * include/sys/cdefs.h: Define __attribute_alloc_size.
31529         * catgets/gencat.c: Add alloc_size attribute and apply consistently
31530         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31531         * elf/pldd.c: Likewise.
31532         * iconv/iconv_charmap.c: Likewise.
31533         * iconv/iconvconfig.c: Likewise.
31534         * iconv/strtab.c: Likewise.
31535         * locale/programs/locale.c: Likewise.
31536         * locale/programs/localedef.h: Likewise.
31537         * locale/programs/simple-hash.c: Likewise.
31538         * nscd/nscd.h: Likewise.
31539         * nss/makedb.c: Likewise.
31540         * sysdeps/generic/ldconfig.h: Likewise.
31541         * locale/programs/localedef.c: Remove xmalloc prototype.
31542         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31543
31544 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31545
31546         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31547         appropriate.
31548
31549 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31550
31551         * math/Makefile (tests): Add tst-CMPLX.
31552         * math/tst-CMPLX.c: New file.
31553
31554         * math/complex.h (CMPLXL): Fix typo.
31555
31556         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31557         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31558         GLIBC_2.16.
31559         * debug/tst-chk1.c: Add poll and ppoll tests.
31560         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31561         * include/sys/poll.h: Add hidden proto for ppoll.
31562         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31563         * sysdeps/mach/hurd/ppoll.c: Likewise.
31564         * io/ppoll.c: Likewise.
31565         * debug/poll_chk.c: New file.
31566         * debug/ppoll_chk.c: New file.
31567         * include/bits/poll2.h: New file.
31568         * io/bits/poll2.h: New file.
31569
31570         [BZ #1350]
31571         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31572
31573         * configure.in: static is always set to yes.  Remove.
31574         * config.make.in: Don't set build-static.
31575         * Makeconfig: Remove use of build-static.
31576         * dlfcn/Makefile: Likewise.
31577         * elf/Makefile: Likewise.
31578         * math/Makefile: Likewise.
31579         * misc/Makefile: Likewise.
31580         * nptl/Makefile: Likewise.
31581         * sysdeps/mach/hurd/Makefile: Likewise.
31582
31583         * configure.in: PWD_P is not used anymore.
31584         * config.make.in: Remove PWD_P entry.
31585
31586         * configure.in: Remove last remnants of RANLIB.
31587         No need to check for signed size_t anymore.
31588         Don't set libc_commonpagesize and libc_relro_required here for Alpha
31589         and IA-64.
31590         Remove __builtin_expect test because we require at least gcc 3.4.
31591         * aclocal.m4: Likewise.
31592
31593         * wcsmbs/mbrtoc16.c: Implement using towc function.
31594         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31595         * wcsmbs/wcsmbsload.c: Likewise.
31596         * iconv/gconv_simple.c: Likewise.
31597         * iconv/gconv_int.h: Likewise.
31598         * iconv/gconv_builtin.h: Likewise.
31599         * iconv/iconv_prog.c: Remove CHAR16 handling.
31600
31601         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31602
31603         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31604
31605         * configure.in: Remove --with-elf and --enable-bounded options.
31606         Dont set base_machine for ia64.  More non-ELF conditions removed.
31607         Remove testing and setting of leading underscore information.
31608         * config.make.in (build-bounded): Set to no.
31609         * config.h.in: Remove NO_UNDERSCORES entry.
31610         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
31611         them.
31612         * csu/start.c: Remove !NO_UNDERSCORE code.
31613         * locale/localeinfo.h: Likewise.
31614         * sysdeps/generic/machine-gmon.h: Likewise.
31615         * sysdeps/generic/sysdep.h: Likewise.
31616         * sysdeps/i386/sysdep.h: Likewise.
31617         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31618         * sysdeps/mach/sysdep.h: Likewise.
31619         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31620         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31621         * sysdeps/sh/sysdep.h: Likewise.
31622         * sysdeps/sparc/sparc32/alloca.S: Likewise.
31623         * sysdeps/unix/i386/sysdep.S: Likewise.
31624         * sysdeps/unix/sparc/start.c: Likewise.
31625         * sysdeps/unix/sparc/sysdep.S: Likewise.
31626         * sysdeps/unix/sparc/sysdep.h: Likewise.
31627         * sysdeps/unix/start.c: Likewise.
31628         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31629         * sysdeps/x86_64/sysdep.h: Likewise.
31630
31631 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
31632
31633         [BZ #13553]
31634         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31635         for non-gcc.
31636         * argp/argp-fmtstream.h: Use const instead __const.
31637         * argp/argp.h: Likewise.
31638         * assert/assert.h: Likewise.
31639         * bits/fenv.h: Likewise.
31640         * bits/sched.h: Likewise.
31641         * bits/sigset.h: Likewise.
31642         * bits/sigthread.h: Likewise.
31643         * catgets/nl_types.h: Likewise.
31644         * conform/data/pthread.h-data: Likewise.
31645         * crypt/crypt-private.h: Likewise.
31646         * crypt/crypt.h: Likewise.
31647         * crypt/crypt_util.c: Likewise.
31648         * ctype/ctype.h: Likewise.
31649         * debug/execinfo.h: Likewise.
31650         * debug/mbsnrtowcs_chk.c: Likewise.
31651         * debug/mbsrtowcs_chk.c: Likewise.
31652         * debug/wcsnrtombs_chk.c: Likewise.
31653         * debug/wcsrtombs_chk.c: Likewise.
31654         * debug/wcstombs_chk.c: Likewise.
31655         * dirent/dirent.h: Likewise.
31656         * dlfcn/dlfcn.h: Likewise.
31657         * elf/neededtest4.c: Likewise.
31658         * grp/grp.h: Likewise.
31659         * gshadow/gshadow.h: Likewise.
31660         * iconv/gconv.h: Likewise.
31661         * iconv/gconv_int.h: Likewise.
31662         * iconv/gconv_simple.c: Likewise.
31663         * iconv/iconv.h: Likewise.
31664         * iconv/loop.c: Likewise.
31665         * iconv/skeleton.c: Likewise.
31666         * include/aio.h: Likewise.
31667         * include/aliases.h: Likewise.
31668         * include/argz.h: Likewise.
31669         * include/arpa/inet.h: Likewise.
31670         * include/assert.h: Likewise.
31671         * include/dirent.h: Likewise.
31672         * include/dlfcn.h: Likewise.
31673         * include/execinfo.h: Likewise.
31674         * include/fcntl.h: Likewise.
31675         * include/fenv.h: Likewise.
31676         * include/glob.h: Likewise.
31677         * include/grp.h: Likewise.
31678         * include/libintl.h: Likewise.
31679         * include/mntent.h: Likewise.
31680         * include/netdb.h: Likewise.
31681         * include/pwd.h: Likewise.
31682         * include/rpc/netdb.h: Likewise.
31683         * include/sched.h: Likewise.
31684         * include/search.h: Likewise.
31685         * include/shadow.h: Likewise.
31686         * include/signal.h: Likewise.
31687         * include/stdio.h: Likewise.
31688         * include/stdlib.h: Likewise.
31689         * include/string.h: Likewise.
31690         * include/sys/socket.h: Likewise.
31691         * include/sys/stat.h: Likewise.
31692         * include/sys/statfs.h: Likewise.
31693         * include/sys/statvfs.h: Likewise.
31694         * include/sys/syslog.h: Likewise.
31695         * include/sys/time.h: Likewise.
31696         * include/sys/uio.h: Likewise.
31697         * include/time.h: Likewise.
31698         * include/unistd.h: Likewise.
31699         * include/utmp.h: Likewise.
31700         * include/wchar.h: Likewise.
31701         * include/wctype.h: Likewise.
31702         * inet/aliases.h: Likewise.
31703         * inet/arpa/inet.h: Likewise.
31704         * inet/netinet/ether.h: Likewise.
31705         * inet/netinet/in.h: Likewise.
31706         * intl/libintl.h: Likewise.
31707         * io/bits/fcntl2.h: Likewise.
31708         * io/fcntl.h: Likewise.
31709         * io/ftw.h: Likewise.
31710         * io/sys/poll.h: Likewise.
31711         * io/sys/stat.h: Likewise.
31712         * io/sys/statfs.h: Likewise.
31713         * io/sys/statvfs.h: Likewise.
31714         * io/utime.h: Likewise.
31715         * libio/bits/stdio.h: Likewise.
31716         * libio/bits/stdio2.h: Likewise.
31717         * libio/libio.h: Likewise.
31718         * libio/libioP.h: Likewise.
31719         * libio/stdio.h: Likewise.
31720         * locale/lc-ctype.c: Likewise.
31721         * locale/locale.h: Likewise.
31722         * login/utmp.h: Likewise.
31723         * malloc/arena.c: Likewise.
31724         * malloc/malloc.c: Likewise.
31725         * malloc/malloc.h: Likewise.
31726         * malloc/mcheck.c: Likewise.
31727         * malloc/mtrace.c: Likewise.
31728         * math/bits/mathcalls.h: Likewise.
31729         * math/fenv.h: Likewise.
31730         * math/math_private.h: Likewise.
31731         * misc/bits/error.h: Likewise.
31732         * misc/bits/syslog.h: Likewise.
31733         * misc/err.h: Likewise.
31734         * misc/error.h: Likewise.
31735         * misc/fstab.h: Likewise.
31736         * misc/mntent.h: Likewise.
31737         * misc/regexp.h: Likewise.
31738         * misc/search.h: Likewise.
31739         * misc/sgtty.h: Likewise.
31740         * misc/sys/mman.h: Likewise.
31741         * misc/sys/syslog.h: Likewise.
31742         * misc/sys/uio.h: Likewise.
31743         * misc/sys/xattr.h: Likewise.
31744         * misc/ttyent.h: Likewise.
31745         * nis/rpcsvc/ypclnt.h: Likewise.
31746         * nss/nss.h: Likewise.
31747         * posix/bits/unistd.h: Likewise.
31748         * posix/fnmatch.h: Likewise.
31749         * posix/glob.h: Likewise.
31750         * posix/sched.h: Likewise.
31751         * posix/spawn.h: Likewise.
31752         * posix/sys/wait.h: Likewise.
31753         * posix/unistd.h: Likewise.
31754         * posix/wordexp.h: Likewise.
31755         * pwd/pwd.h: Likewise.
31756         * resolv/netdb.h: Likewise.
31757         * resource/sys/resource.h: Likewise.
31758         * rt/aio.h: Likewise.
31759         * rt/bits/mqueue2.h: Likewise.
31760         * rt/mqueue.h: Likewise.
31761         * shadow/shadow.h: Likewise.
31762         * signal/signal.h: Likewise.
31763         * socket/send.c: Likewise.
31764         * socket/sendto.c: Likewise.
31765         * socket/sys/socket.h: Likewise.
31766         * stdio-common/printf.h: Likewise.
31767         * stdlib/bits/stdlib.h: Likewise.
31768         * stdlib/fmtmsg.h: Likewise.
31769         * stdlib/monetary.h: Likewise.
31770         * stdlib/stdlib.h: Likewise.
31771         * stdlib/ucontext.h: Likewise.
31772         * streams/stropts.h: Likewise.
31773         * string/argz.h: Likewise.
31774         * string/bits/string2.h: Likewise.
31775         * string/string.h: Likewise.
31776         * string/strings.h: Likewise.
31777         * sunrpc/rpc/auth.h: Likewise.
31778         * sunrpc/rpc/auth_des.h: Likewise.
31779         * sunrpc/rpc/clnt.h: Likewise.
31780         * sunrpc/rpc/netdb.h: Likewise.
31781         * sunrpc/rpc/pmap_clnt.h: Likewise.
31782         * sunrpc/rpc/xdr.h: Likewise.
31783         * sysdeps/generic/inttypes.h: Likewise.
31784         * sysdeps/generic/net/if.h: Likewise.
31785         * sysdeps/generic/sys/swap.h: Likewise.
31786         * sysdeps/gnu/net/if.h: Likewise.
31787         * sysdeps/gnu/utmpx.h: Likewise.
31788         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31789         * sysdeps/i386/i486/bits/string.h: Likewise.
31790         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31791         * sysdeps/s390/bits/string.h: Likewise.
31792         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31793         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31794         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31795         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31796         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31797         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31798         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31799         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31800         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31801         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31802         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31803         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31804         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31805         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31806         * sysdeps/unix/sysv/linux/readv.c: Likewise.
31807         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31808         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31809         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31810         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31811         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31812         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31813         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31814         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31815         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31816         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31817         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31818         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31819         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31820         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31821         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31822         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31823         * sysvipc/sys/ipc.h: Likewise.
31824         * sysvipc/sys/msg.h: Likewise.
31825         * sysvipc/sys/sem.h: Likewise.
31826         * sysvipc/sys/shm.h: Likewise.
31827         * termios/termios.h: Likewise.
31828         * time/sys/time.h: Likewise.
31829         * time/time.h: Likewise.
31830         * wcsmbs/bits/wchar2.h: Likewise.
31831         * wcsmbs/uchar.h: Likewise.
31832         * wcsmbs/wchar.h: Likewise.
31833         * wctype/wctype.h: Likewise.
31834
31835         [BZ #13551]
31836         * Makeconfig: Remove all but ELF support including AIX support.
31837         * Makerules: Likewise.
31838         * config.h.in: Likewise.
31839         * config.make.in: Likewise.
31840         * configure: Likewise.
31841         * configure.in: Likewise.
31842         * csu/Makefile: Likewise.
31843         * csu/version.c: Likewise.
31844         * debug/Makefile: Likewise.
31845         * dlfcn/Makefile: Likewise.
31846         * elf/Makefile: Likewise.
31847         * extra-lib.mk: Likewise.
31848         * iconv/Makefile: Likewise.
31849         * include/libc-symbols.h: Likewise.
31850         * include/shlib-compat.h: Likewise.
31851         * resolv/Makefile: Likewise.
31852         * resolv/res_libc.c: Likewise.
31853         * rt/Makefile: Likewise.
31854         * sysdeps/i386/asm-syntax.h: Likewise.
31855         * sysdeps/i386/sysdep.h: Likewise.
31856         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31857         * sysdeps/mach/sysdep.h: Likewise.
31858         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31859         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31860         * sysdeps/s390/asm-syntax.h: Likewise.
31861         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31862         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31863         * sysdeps/sh/sysdep.h: Likewise.
31864         * sysdeps/unix/sparc/sysdep.h: Likewise.
31865         * sysdeps/wordsize-32/divdi3.c: Likewise.
31866         * sysdeps/x86_64/sysdep.h: Likewise.
31867
31868         * argp/Versions: Remove _argp_unlock_xxx.
31869
31870         [BZ #13559]
31871         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
31872         * abilist/libBrokenLocale.abilist: Likewise.
31873         * abilist/libanl.abilist: Likewise.
31874         * abilist/libc.abilist: Likewise.
31875         * abilist/libcrypt.abilist: Likewise.
31876         * abilist/libdl.abilist: Likewise.
31877         * abilist/libm.abilist: Likewise.
31878         * abilist/libnsl.abilist: Likewise.
31879         * abilist/libpthread.abilist: Likewise.
31880         * abilist/libresolv.abilist: Likewise.
31881         * abilist/librt.abilist: Likewise.
31882         * abilist/libthread_db.abilist: Likewise.
31883         * abilist/libutil.abilist: Likewise.
31884         * abilist/libnss_db.abilist: New file.
31885
31886         * scripts/abilist.awk: Add support for indirect functions.
31887
31888         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31889
31890         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31891
31892         * shlib-versions: Remove entries for ports architectures.
31893
31894         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
31895         files in ports.
31896         * elf/stackguard-macros.h: Remove support for IA-64.
31897         * elf/tst-auditmod1.c: Likewise.
31898         * sysdeps/generic/ldsodefs.h: Likewise.
31899
31900         * sysdeps/unix/sysv/linux/configure.in: Ports should define
31901         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31902         configure files.
31903
31904         [BZ #13552]
31905         * configure.in: Remove --enable-omitfp support.
31906         * FAQ.in: Adjust.
31907         * config.make.in: Likewise.
31908         * Makeconfig: Likewise.
31909         * manual/install.texi: Likewise.
31910
31911         In case anyone cares, the IA-64 architecture could move to ports.
31912         * sysdeps/ia64/*: Removed.
31913         * sysdeps/unix/sysv/linux/ia64/*: Removed.
31914         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31915
31916         [BZ #13555]
31917         * configure.in: Remove entries for unsupported architectures.
31918
31919         [BZ #13533]
31920         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31921         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
31922         routines.
31923         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31924         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31925         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
31926         fall back to using wcrtomb.
31927         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31928         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
31929         renaming.
31930         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31931         * wcsmbs/tst-c16c32-1.c: New file.
31932
31933         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31934         local variable.
31935
31936         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31937
31938         * elf/tst-unique3.cc: Add explicit declaration of gets.
31939         * elf/tst-unique3lib.cc: Likewise.
31940         * elf/tst-unique3lib2.cc: Likewise.
31941         * elf/tst-unique4.cc: Likewise.
31942
31943         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31944
31945 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
31946
31947         [BZ #13566]
31948         * assert/assert.h (static_assert): Don't define for C++.
31949         * libio/stdio.h (gets): Do declare for C++ <= C++11.
31950         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31951
31952 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
31953
31954         * iconv/loop.c (single loop): Fix assertion in storing of
31955         remaining bytes.
31956
31957         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31958
31959 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
31960
31961         * posix/getconf.c: Update copyright year.
31962         * nss/getent.c: Likewise.
31963         * nss/makedb.c: Likewise.
31964         * iconv/iconvconfig.c: Likewise.
31965         * iconv/iconv_prog.c: Likewise.
31966         * elf/ldconfig.c: Likewise.
31967         * elf/pldd.c: Likewise.
31968         * elf/sotruss.ksh: Likewise.
31969         * catgets/gencat.c: Likewise.
31970         * csu/version.c: Likewise.
31971         * elf/ldd.bash.in: Likewise.
31972         * elf/sprof.c (print_version): Likewise.
31973         * locale/programs/locale.c: Likewise.
31974         * locale/programs/localedef.c: Likewise.
31975         * login/programs/pt_chown.c: Likewise.
31976         * nscd/nscd.c (print_version): Likewise.
31977         * debug/xtrace.sh: Likewise.
31978         * malloc/memusage.sh: Likewise.
31979         * malloc/mtrace.pl: Likewise.
31980         * debug/catchsegv.sh: Likewise.
31981
31982 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
31983
31984         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31985         pure attribute.
31986
31987 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
31988
31989         [BZ #13533]
31990         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31991         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31992         transformations.
31993         * iconv/gconv_int.h: Likewise.
31994         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31995         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31996         from libc for GLIBC_2.16.
31997         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31998         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31999         * wcsmbs/uchar.h: Really define mbstate_t.
32000         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32001         * wcsmbs/c16rtomb.c: New file.
32002         * wcsmbs/mbrtoc16.c: New file.
32003         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32004         for C/POSIX locale.
32005         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32006         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32007
32008         * wcsmbs/wchar.h: Add missing __restrict.
32009
32010 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32011
32012         [BZ #13532]
32013         * time/Makefile (routines): Add timespec_get.
32014         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32015         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
32016         timespec for ISO C11.
32017         * time/timespec_get.c: New file.
32018         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32019         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32020
32021         [BZ #13531]
32022         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32023         * stdlib/stdlib.h: Declare aligned_alloc.
32024         * Versions.def: Add GLIBC_2.16 for libc.
32025         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32026
32027         [BZ 13527]
32028         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32029         ISO C11.
32030
32031         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32032         code.
32033
32034         [BZ #13528]
32035         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32036
32037         [BZ #13529]
32038         * assert/assert.h (static_assert): Define.
32039
32040         * version.h: Update for 2.16 development version.
32041
32042         [BZ #13526]
32043         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32044         _ISOC11_SOURCE.
32045
32046         * version.h (RELEASE): Bump for 2.15 release.
32047         * include/features.h (__GLIBC_MINOR__): Bump to 15.
32048
32049         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32050         Patch by Marek Polacek <mpolacek@redhat.com>.
32051
32052         * bits/byteswap.h: Protect long long constants with __extension__.
32053         * sysdeps/i386/bits/byteswap.h: Likewise.
32054         * sysdeps/ia64/bits/byteswap.h: Likewise.
32055         * sysdeps/s390/bits/byteswap.h: Likewise.
32056         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32057
32058 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32059
32060         [BZ #13540]
32061         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32062         destination buffer.
32063         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32064
32065 2011-12-23  Marek Polacek  <polacek@redhat.com>
32066
32067         * elf/dl-addr.c (determine_info): Add inline keyword.
32068         * elf/tst-auditmod4b.c (check_avx): Likewise.
32069         * elf/tst-auditmod6b.c (check_avx): Likewise.
32070         * elf/tst-auditmod6c.c (check_avx): Likewise.
32071         * elf/tst-auditmod7b.c (check_avx): Likewise.
32072
32073 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32074
32075         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32076         !__SSE_MATH__.
32077
32078 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32079
32080         [BZ #13540]
32081         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32082         processing for last bytes.
32083
32084 2011-08-06  Bruno Haible  <bruno@clisp.org>
32085
32086         [BZ #13061]
32087         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32088         U+0385, not to U+1FEE.
32089
32090         [BZ #13062]
32091         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32092         entry for U+00A5 U+0301.
32093
32094 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32095
32096         [BZ #13166]
32097         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32098         buffer for the output is too small.
32099
32100         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32101         optimization.
32102
32103         [BZ #13185]
32104         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32105         SSE flags if possible.
32106
32107 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32108
32109         [BZ #13540]
32110         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32111         processing for last bytes.
32112
32113 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
32114
32115         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32116         (syscall-list-default-options, syscall-list-default-condition)
32117         (syscall-list-includes): Define.
32118         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32119         list of ABIs and options and #if conditions for each ABI.  Do not
32120         handle common syscalls between ABIs specially.
32121         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32122         Remove.
32123         (syscall-list-variants, syscall-list-32bit-options)
32124         (syscall-list-32bit-condition, syscall-list-64bit-options)
32125         (syscall-list-64bit-condition): Define.
32126         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32127         (syscall-list-variants, syscall-list-32bit-options)
32128         (syscall-list-32bit-condition, syscall-list-64bit-options)
32129         (syscall-list-64bit-condition): Define.
32130         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32131         Remove.
32132         (syscall-list-variants, syscall-list-32bit-options)
32133         (syscall-list-32bit-condition, syscall-list-64bit-options)
32134         (syscall-list-64bit-condition): Define.
32135         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32136         Remove.
32137         (syscall-list-variants, syscall-list-32bit-options)
32138         (syscall-list-32bit-condition, syscall-list-64bit-options)
32139         (syscall-list-64bit-condition): Define.
32140
32141 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32142
32143         * locale/iso-639.def: Add brx entry.
32144
32145         [BZ #13328]
32146         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32147         Proposed by Mariusz_Cukr <marcukr@op.pl>.
32148
32149         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32150         __feraiseexcept_renamed.
32151
32152 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32153
32154         [BZ #13538]
32155         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32156         EPOLLET with unsigned values.
32157         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32158         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32159
32160         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32161         to large cancellation.
32162         * math/s_cacoshf.c: Likewise.
32163         * math/s_cacoshl.c: Likewise.
32164
32165 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
32166
32167         [BZ #13305]
32168         [BZ #12786]
32169         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32170         * math/s_cacoshf.c: Likewise.
32171         * math/s_cacoshl.c: Likewise.
32172
32173 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32174
32175         [BZ #13439]
32176         * iconv/gconv.h: Define __GCONV_SWAP.
32177         * iconvdata/unicode.c: The swap bit must be stored in __flags.
32178         * iconvdata/utf-16.c: Likewise.
32179         * iconvdata/utf-32.c: Likewise.
32180
32181 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
32182
32183         [BZ #13524]
32184         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32185         numerator after shifting it by one limb.
32186
32187 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
32188
32189         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32190         under [__USE_EXTERN_INLINES].
32191
32192 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32193
32194         [BZ #13446]
32195         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32196
32197 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32198
32199         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32200         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32201         optimized code.
32202         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32203         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32204         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32205         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32206         for strncasecmp/strncasecmp_l compilation.
32207         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32208         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32209
32210 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
32211
32212         [BZ #13484]
32213         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32214         of __asm__.
32215
32216 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32217
32218         [BZ #13506]
32219         * time/tzfile.c (__tzfile_read): Check values from file header.
32220
32221 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32222
32223         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32224         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32225         * powerpc/powerpc32/dl-start.S: Likewise.
32226         * powerpc/powerpc32/elf/start.S: Likewise.
32227         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32228         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32229         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32230         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32231         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32232         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32233         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32234         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32235         * powerpc/powerpc32/fpu/s_round.S: Likewise.
32236         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32237         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32238         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32239         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32240         * powerpc/powerpc32/memset.S: Likewise.
32241         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32242         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32243         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32244         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32245         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32246         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32247         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32248         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32249         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32250         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32251         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32252         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32253         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32254
32255 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32256
32257         * math/libm-test.inc: Added more nearbyint tests.
32258         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32259         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32260         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32261         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32262
32263 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
32264
32265         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32266         FD_CLOEXEC.
32267
32268 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32269
32270         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32271         Add wcscpy-ssse3 wcscpy-c.
32272         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32273         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32274         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32275         * sysdeps/x86_64/wcschr.S: New file.
32276         * sysdeps/x86_64/wcsrchr.S: New file.
32277         * string/test-strcmp.c: Remove checking of wcscmp function for
32278         wrong alignments.
32279         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32280         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32281         wcsrchr-sse2 wcsrchr-c.
32282         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32283         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32284         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32285         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32286         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32287         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32288         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32289         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32290         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32291         * wcsmbc/wcschr.c (WCSCHR): New macro.
32292
32293 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32294
32295         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32296         * wcsmbs/test-wcsrchr.c: New file.
32297         * string/test-strrchr.c: Add wcsrchr support.
32298         (WIDE): New macro.
32299         * wcsmbs/test-wcscpy.c: New file.
32300         * string/test-strcpy.c: Add wcscpy support.
32301         (WIDE): New macro.
32302
32303 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
32304
32305         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32306         the inner loop.
32307
32308 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
32309
32310         [BZ #13472]
32311         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32312
32313 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
32314
32315         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32316         Minor optimizations.
32317
32318         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32319         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32320         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32321
32322 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
32323
32324         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32325         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32326         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32327         for gcc to avoid warnings.
32328         * inet/Makefile (tests): Add tst-checks.
32329         * inet/tst-checks.c: New file.
32330
32331         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32332         warning.
32333
32334         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32335         __wmemcmp_sse2.
32336
32337         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32338         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32339
32340         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32341
32342 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
32343
32344         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32345         problem.
32346
32347         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32348
32349 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
32350
32351         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32352         conditional on GCC version.
32353         (__arch_compare_and_exchange_val_8_acq)
32354         (__arch_compare_and_exchange_val_16_acq)
32355         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32356         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32357         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32358
32359 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
32360
32361         * sysdeps/sh/backtrace.c: New file.
32362
32363 2011-12-02  Andreas Schwab  <schwab@redhat.com>
32364
32365         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
32366         parenthesis.
32367
32368 2011-12-01  Andreas Schwab  <schwab@redhat.com>
32369
32370         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32371         falling back to utime.
32372
32373 2011-11-30  Andreas Schwab  <schwab@redhat.com>
32374
32375         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32376         expectations for float.
32377
32378 2011-11-29  Andreas Schwab  <schwab@redhat.com>
32379
32380         * locale/weight.h (findidx): Add parameter len.
32381         * locale/weightwc.h (findidx): Likewise.
32382         * posix/fnmatch_loop.c (FCT): Adjust caller.
32383         * posix/regcomp.c (build_equiv_class): Likewise.
32384         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32385         * posix/regexec.c (check_node_accept_bytes): Likewise.
32386         * string/strcoll_l.c (STRCOLL): Likewise.
32387         * string/strxfrm_l.c (STRXFRM): Likewise.
32388
32389 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
32390
32391         * Makefile.in: Remove CVSOPT handling.
32392         * configure.in: Remove use of AC_REVISION.
32393         * iconvdata/Makefile (distribute): No need to filter out CVS.
32394         * scripts/list-sources.sh: Remove CVS, subversion and monotone
32395         handling.
32396
32397 2011-11-16  Andreas Schwab  <schwab@redhat.com>
32398
32399         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32400         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32401         [USE_AS_STRNCASECMP_L]: Likewise.
32402         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32403         NO_TLS_DIRECT_SEG_REFS.
32404         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32405         Fix argument offsets for non-PIC.
32406         [USE_AS_STRNCASECMP_L]: Likewise.
32407         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32408         NO_TLS_DIRECT_SEG_REFS.
32409
32410 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32411
32412         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32413         O_CLOEXEC.
32414         * locale/loadlocale.c (_nl_load_locale): Likewise.
32415
32416 2011-11-15  Andreas Schwab  <schwab@redhat.com>
32417
32418         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32419         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32420         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32421         (SYSCALL_GETTIME): Set errno on error.
32422
32423         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32424         count references to noai6ai_cached.
32425
32426 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32427
32428         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32429
32430         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32431         FD_CLOEXEC for /proc/self/maps.
32432
32433         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32434         FD_CLOEXEC for /proc/meminfo.
32435
32436         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32437         gai.conf.
32438
32439         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
32440         FD_CLOEXEC for given file.
32441
32442         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32443
32444         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32445         FD_CLOEXEC for /etc/hosts.
32446         (_gethtent): Likewise.
32447
32448         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32449
32450         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32451         cancellation and set FD_CLOEXEC for /etc/netgroup.
32452
32453         * nss/nss_files/files-key.c (search): Don't allow cancellation when
32454         reading /etc/publickey.
32455
32456         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32457         allow cancellation when reading /etc/group.
32458
32459         * nss/nss_files/files-alias.c (internal_setent): Don't allow
32460         cancellation.
32461         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
32462
32463         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32464         when using data file.
32465
32466         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32467
32468         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32469         (write_nis_obj): Use "c" and "e" in fopen.
32470
32471         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32472
32473         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32474
32475         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32476
32477         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32478
32479         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32480         locale.alias.
32481
32482         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32483
32484         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32485
32486         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32487
32488         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32489         file parsing and set FD_CLOEXEC.
32490
32491 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32492
32493         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32494
32495 2011-11-14  Andreas Schwab  <schwab@redhat.com>
32496
32497         * malloc/arena.c (arena_get2): Don't call reused_arena when
32498         _int_new_arena failed.
32499
32500 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32501
32502         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32503         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32504         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32505         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32506         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32507         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32508         to compile strcasecmp and strncasecmp.
32509         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32510         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32511
32512         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32513
32514 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
32515
32516         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32517         locale-defines.sym to gen-as-const-headers.
32518         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32519         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32520         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32521         to compile strcasecmp and strncasecmp.
32522         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32523         strcasecmp_l and strncasecmp_l.
32524         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32525         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32526         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32527         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32528         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32529         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32530         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32531         * sysdeps/i386/i686/multiarch/strncase.S: New file.
32532         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32533         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32534         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32535
32536 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
32537
32538         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32539         result of SYSDEP_GETTIME_CPU to retval.
32540         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32541         parameter list to macro.  Remove trailing semicolon.  Adjust users.
32542
32543         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32544         variable.
32545
32546         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32547         mantissa words.
32548         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32549
32550         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32551         from unused variable.
32552
32553         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32554         DWARF definitions.
32555         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32556         for assembling.
32557
32558         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32559         over namespaces.
32560
32561         * sunrpc/rpc_prot.c (rejected): Fix case value.
32562
32563         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32564         unsigned long long int to avoid warnings in shift.
32565
32566         * posix/regex_internal.c (re_string_reconstruct): Actually use result
32567         of use of trans.
32568         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32569         variable tmp.
32570
32571         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32572         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32573         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32574
32575         * nis/nis_table.c (nis_list): Use variable of correct type for
32576         result of __follow_path call.
32577
32578 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32579
32580         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32581         of math functions ceil, trunc, floor, round, and sqrt, when
32582         avaliable on the platform.
32583         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32584         name clash.
32585         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32586         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32587         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32588
32589 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
32590
32591         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32592         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32593
32594 2011-11-11  Roland McGrath  <roland@hack.frob.com>
32595
32596         * include/unistd.h: Fix __readlink return type.
32597         Reported by Chris Metcalf <cmetcalf@tilera.com>.
32598
32599 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
32600
32601         * stdlib/ucontext.h: Undo last change for makecontext.
32602
32603 2011-11-11  Andreas Schwab  <schwab@redhat.com>
32604
32605         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32606
32607         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32608         * setjmp/setjmp.h: Mark functions as non-leaf.
32609         * setjmp/bits/setjmp2.h: Likewise.
32610         * stdlib/ucontext.h: Likewise.
32611
32612 2011-11-10  Andreas Schwab  <schwab@redhat.com>
32613
32614         * malloc/arena.c (_int_new_arena): Don't increment narenas.
32615         (reused_arena): Don't check arena limit.
32616         (arena_get2): Atomically check arena limit.
32617
32618 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
32619
32620         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32621         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32622
32623         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32624         instructions.
32625
32626 2011-11-07  Andreas Schwab  <schwab@redhat.com>
32627
32628         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32629         handler when locking.
32630
32631         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32632         Fix size of allocated buffer.
32633
32634 2011-11-04  Andreas Schwab  <schwab@redhat.com>
32635
32636         [BZ #10103]
32637         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32638         declarations for long double functions.
32639         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32640
32641         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32642
32643 2011-11-03  Andreas Schwab  <schwab@redhat.com>
32644
32645         * nscd/nscd.c (main): Don't start AVC thread until credentials are
32646         installed.
32647
32648         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32649         is disabled.
32650
32651 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32652
32653         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32654
32655 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32656
32657         * include/alloca.h (stackinfo_alloca_round): Define.
32658         (extend_alloca): Use it.
32659         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32660         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32661         here.
32662
32663         * scripts/check-local-headers.sh: Ignore libaudit.h.
32664
32665         * nscd/Makefile (extra-objs): Make recursively expanded.
32666
32667 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
32668
32669         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32670         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32671
32672         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32673         * posix/tst-rfc3484-2.c: Likewise.
32674         * posix/tst-rfc3484-3.c: Likewise.
32675
32676         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32677         process_vm_writev.
32678         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32679         process_vm_writev.
32680         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32681         process_vm_writev from libc using GLIBC_2.15 version.
32682
32683         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32684
32685 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
32686
32687         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32688         stack usage.
32689
32690 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
32691
32692         [BZ #13367]
32693         * nss/getent.c (initgroups_keys): Show error message in case no group
32694         names are given.
32695
32696         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32697         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32698         __bump_nl_timestamp.
32699         * nscd/connections (nscd_init): When host database is served open
32700         netlink socket and request notification about configuration changes.
32701         (main_loop_poll): Track netlink file descriptor and bump timestamp
32702         in case data becomes available.
32703         (main_loop_epoll): Likewise.
32704         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32705         (database_pers_head): Add extra_data fileds.
32706         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32707         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32708         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32709         Adjust caller.
32710         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32711         in6ai data, call __free_in6ai.
32712         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32713         Add -DHAVE_NETLINK.
32714         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
32715         interface information.  Reuse previous data if netlink timestamp
32716         is not changed.
32717         (__bump_nl_timestamp): New function.
32718         (__free_in6ai): New function.
32719
32720 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
32721
32722         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32723         close_not_cancel_no_status here.
32724         (__check_pf): Reorganize code a bit to not call close twice if OOM.
32725
32726 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32727
32728         [BZ #13276]
32729         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32730         return value.
32731
32732         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32733         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32734         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32735
32736 2011-07-03  Andreas Jaeger  <aj@suse.de>
32737
32738         [BZ #10709]
32739         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32740         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32741         * math/libm-test.inc (sin_test): Add test case.
32742
32743 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32744
32745         [BZ #13337]
32746         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32747         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32748
32749         * elf/chroot_canon.c (chroot_canon): Cleanups.
32750
32751         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32752
32753         [BZ #13335]
32754         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32755         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32756
32757         * string/test-strchr.c: Make usable for strchrnul testing.
32758         * string/test-strchrnul.c: New file.
32759         * string/Makefile (strop-tests): Add strchrnul.
32760
32761         * po/it.po: Update from translation team.
32762         * po/es.po: Likewise.
32763
32764 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
32765
32766         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32767         the three constants needed as parameters.  Drop the others.
32768         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32769         __m128i_strloadu_tolower.
32770         Create and initialize variable zero and use it in all the places
32771         where _mm_setzero_si128 was used.
32772
32773         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32774         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32775         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32776         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32777         anymore.
32778         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32779         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32780         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32781         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32782         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32783         __mpranred, __mptan.
32784         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32785         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32786         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32787         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32788         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32789         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32790         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32791         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32792         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32793
32794 2011-10-28  Andreas Schwab  <schwab@redhat.com>
32795
32796         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32797         redefine if SHARED.
32798         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32799
32800         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32801         wide char related routines to wcsmbs subdir.
32802
32803 2011-10-27  Andreas Schwab  <schwab@redhat.com>
32804
32805         [BZ #13344]
32806         * misc/sys/cdefs.h (__THROWNL): Define.
32807         * posix/unistd.h: Use __THREADNL instead of __THREAD
32808         for memory synchronization functions.
32809
32810 2011-10-26  Roland McGrath  <roland@hack.frob.com>
32811
32812         [BZ #13349]
32813         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32814         doesn't exist.
32815         * manual/stdio.texi (Obstack Streams): Node removed.
32816
32817 2011-10-26  Andreas Schwab  <schwab@redhat.com>
32818
32819         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32820         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32821         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32822
32823         * math/math_private.h (math_force_eval): Allow non-addressable
32824         arguments.
32825         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32826
32827 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32828
32829         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32830         file is not needed.
32831
32832         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32833         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32834         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32835         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32836         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32837         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32838         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32839         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32840         Add AVX variants.
32841         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32842         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32843         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32844         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32845         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32846         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32847         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32848         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32849         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32850         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32851         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32852         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32853         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32854         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32855         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32856         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32857         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32858         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32859         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32860
32861         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32862         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
32863
32864         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32865         place.  Use VEX encoding when compiling for AVX.
32866
32867 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32868
32869         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32870         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32871
32872         * string/test-strchr.c (do_test): Don't generate NUL bytes.
32873
32874 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32875
32876         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32877         useless if() expression.
32878         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32879         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32880         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32881         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32882         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32883         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32884         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32885         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32886         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32887         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32888         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32889         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32890         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32891         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32892         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32893         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32894         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32895         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32896         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32897
32898         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32899
32900 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32901
32902         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32903         condition.
32904         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32905
32906 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32907
32908         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32909         .text section.  Avoid duplicate constants.
32910         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32911         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32912         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32913         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32914         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32915         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32916         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32917         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32918         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32919         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32920         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32921         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32922         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32923         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32924         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32925         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32926         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32927         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32928         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32929         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32930         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32931         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32932         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32933         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32934         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32935         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32936         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32937         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32938         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32939         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32940         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32941         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32942         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32943         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32944         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32945         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32946         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32947         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32948         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32949         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32950         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32951         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32952         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32953         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32954         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32955
32956 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
32957
32958         * sysdeps/x86_64/dla.h: Move to ...
32959         * sysdeps/x86_64/fpu/dla.h: ...here.
32960         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32961         situations.  Use __builtin_fma only for gcc 4.6 and up.
32962
32963         * config.make.in: Add have-mfma4 entry.
32964         * configure.in: Substitute libc_cv_cc_fma4.
32965         * math/Makefile (dbl-only-routines): Add sincostab.
32966         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32967         Use __sincostab not sincos.
32968         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32969         name is a macro.
32970         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32971         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32972         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32973         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
32974         using __copysign.
32975         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
32976         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
32977         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32978         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32979         and __inv.
32980         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32981         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32982         __copysign.
32983         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
32984         define aliases when function name is a macro.
32985         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32986         sysdeps/ieee754/dbl-64/sincos.tbl.
32987         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32988         fma4-enabled routines.
32989         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32990         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32991         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32992         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32993         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32994         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32995         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32996         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32997         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32998         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32999         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33000         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33001         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33002         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33003         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33004         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33005         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33006         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33007         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33008         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33009         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33010         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33011         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33012         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33013         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33014         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33015         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33016         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33017         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33018         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33019
33020         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33021         rename.
33022         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33023         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33024         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33025         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33026         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33027         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33028         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33029         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33030
33031 2011-10-24  Andreas Schwab  <schwab@redhat.com>
33032
33033         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33034
33035 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33036
33037         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33038
33039         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33040         prediction.
33041         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33042
33043         * string/strnlen.c: Don't define STRNLEN, reverse logic.
33044         Remove unused variable magic_bits.
33045         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33046
33047         * string/strnlen.c: Define and use STRNLEN macro.
33048         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33049         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33050         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33051         * wcsmbs/wcslen.c: Define and use WCSLEN.
33052         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33053         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33054         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33055         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33056         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33057         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33058         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33059
33060 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33061
33062         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33063         strnlen-sse2-no-bsf.
33064         Rename strlen-no-bsf to strlen-sse2-no-bsf.
33065         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33066         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33067         Add strnlen support.
33068         (USE_AS_STRNLEN): New macro.
33069         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33070         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33071         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33072         * sysdeps/x86_64/wcslen.S: New file.
33073
33074 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
33075
33076         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33077         XMM-moves are used for copying on small sizes.
33078
33079 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33080
33081         * wcsmbs/Makefile (strop-tests): Add wcschr.
33082         * wcsmbs/test-wcschr.c: New file.
33083         * string/test-strchr.c: Update.
33084         Add wcschr support.
33085         (WIDE): New macro.
33086
33087 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33088
33089         * wcsmbs/Makefile (strop-tests): Add wcslen.
33090         * wcsmbs/test-wcslen.c: New file.
33091         * string/test-strlen.c: Update.
33092         Add wcslen support.
33093         (WIDE): New macro.
33094
33095 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33096
33097         * po/it.po: Update from translation team.
33098
33099 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33100
33101         * sysdeps/x86_64/wcscmp.S: Update.
33102         Fix wrong comparison semantics.
33103         wcscmp shall use signed comparison not unsigned.
33104         Don't use substraction to avoid overflow bug.
33105         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33106         * wcsmbc/wcscmp.c: Likewise.
33107         * string/test-strcmp.c: Likewise.
33108         Add new tests to check cases with negative values.
33109
33110 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33111
33112         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33113         * sysdeps/x86_64/dla.h: ...here.  New file.
33114         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33115         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33116         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33117         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33118         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33119         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33120         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33121         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33122         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33123
33124 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
33125
33126         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33127         __ynl_finite aliases.
33128
33129 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33130
33131         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33132
33133         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33134         define DLA_FMA.
33135         [DLA_FMA] (EMULV): Use DLA_FMA.
33136         [DLA_FMA] (MUL12): Use EMULV.
33137         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33138         that are not needed.
33139         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33140         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33141         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33142         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33143         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33144         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33145         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33146
33147 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
33148
33149         * math/s_nan.c: Undef __nan.
33150         * math/s_nanf.c: Undef __nanf.
33151         * math/s_nanl.c: Undef __nanl.
33152         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33153         "math_private.h".
33154
33155 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33156
33157         * math/s_catan.c: Add branch predictions.
33158         * math/s_catanf.c: Likewise.
33159         * math/s_catanh.c: Likewise.
33160         * math/s_catanhf.c: Likewise.
33161         * math/s_catanhl.c: Likewise.
33162         * math/s_catanl.c: Likewise.
33163         * math/s_cexp.c: Likewise.
33164         * math/s_cexpf.c: Likewise.
33165         * math/s_cexpl.c: Likewise.
33166         * math/s_clog.c: Likewise.
33167         * math/s_clog10.c: Likewise.
33168         * math/s_clog10f.c: Likewise.
33169         * math/s_clog10l.c: Likewise.
33170         * math/s_clogf.c: Likewise.
33171         * math/s_clogl.c: Likewise.
33172         * math/s_csqrt.c: Likewise.
33173         * math/s_csqrtf.c: Likewise.
33174         * math/s_csqrtl.c: Likewise.
33175         * math/s_ctanf.c: Likewise.
33176         * math/s_ctanh.c: Likewise.
33177         * math/s_ctanhf.c: Likewise.
33178         * math/s_ctanhl.c: Likewise.
33179         * math/s_ctanl.c: Likewise.
33180
33181         * math/math_private.h: Define __nan, __nanf, __nanl.
33182         * math/s_cacosh.c: Include <math_private.h>.
33183         * math/s_cacoshl.c: Likewise.
33184         * math/s_casinh.c: Likewise.
33185         * math/s_casinhf.c: Likewise.
33186         * math/s_casinhl.c: Likewise.
33187         * math/s_ccos.c: Rely entire on ccosh.
33188         * math/s_ccosf.c: Rely entire on ccoshf.
33189         * math/s_ccosl.c: Rely entirely on ccoshl.
33190         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
33191         Remove tests for FE_INVALID.
33192         * math/s_ccoshf.c: Likewise.
33193         * math/s_ccoshl.c: Likewise.
33194         * math/s_csin.c: Likewise.
33195         * math/s_csinf.c: Likewise.
33196         * math/s_csinh.c Likewise.
33197         * math/s_csinhf.c: Likewise.
33198         * math/s_csinhl.c: Likewise.
33199         * math/s_csinl.c: Likewise.
33200         * math/s_ctan.c: Likewise.
33201         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33202         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33203         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33204
33205 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
33206
33207         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33208         compilation problems.
33209
33210         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33211         __builtin_expect.
33212
33213 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
33214
33215         * sysdeps/i386/configure.in: Test for -mfma4 option.
33216         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33217         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33218         COMMON_CPUID_INDEX_80000001.
33219         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33220         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33221         use it if FMA3 is not supported.
33222         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33223
33224         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33225         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33226
33227 2011-10-20  Andreas Schwab  <schwab@redhat.com>
33228
33229         [BZ #12892]
33230         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33231         it would create a cycle with a link time dependency.
33232
33233 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
33234
33235         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33236         instruction.
33237         * string/Makefile (strop-tests): Add rawmemchr.
33238         * string/test-rawmemchr.c: New file.
33239
33240         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33241         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
33242         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
33243         when compiling str{,n}casecmp and when AVX is available.  Hook up
33244         new optimized code in initializers.
33245
33246 2011-10-19  Andreas Schwab  <schwab@redhat.com>
33247
33248         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33249         __feraiseexcept instead of feraiseexcept.
33250
33251 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
33252
33253         * math/math_private.h: Define defaults for libc_fetestexcept and
33254         libc_feupdateenv.
33255         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33256         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33257         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33258         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33259         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33260         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33261         libc_fetestexcept and libc_feupdateenv.
33262
33263         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33264         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33265         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33266         * sysdeps/x86_64/fpu/math_private.h: Define special version of
33267         libc_feholdexcept_setround.
33268
33269         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33270         Add s_nearbyint-c and s_nearbyintf-c.
33271         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33272         nearbyintf inlines.
33273         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33274         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33275         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33276         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33277
33278         * math/math_private.h: Define defaults for libc_fegetround,
33279         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33280         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33281         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33282         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33283         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33284         standard functions.
33285         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33286         Remove comments and hacks for old compiler versions.
33287         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33288         libc_fegetround, libc_fesetround, libc_feholdexcept, and
33289         libc_feholdexceptl.
33290
33291 2011-10-18  Andreas Schwab  <schwab@redhat.com>
33292
33293         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33294         (__feraiseexcept_renamed): Add __NTH.
33295         (feraiseexcept): Add __NTH.  Rename local variables to fix
33296         namespace violations.
33297
33298 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
33299
33300         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33301
33302         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33303
33304         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33305         recently added interfaces.
33306         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33307
33308         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33309         about macro parameter expansion.
33310
33311         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33312         __NO_MATH_INLINES is defined.  Cleanups.
33313
33314         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33315         and __floorf is target has SSE4.1.
33316         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33317         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33318         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33319         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33320
33321         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33322         name.
33323         (floorf): Likewise.
33324
33325         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33326
33327 2011-10-17  Andreas Schwab  <schwab@redhat.com>
33328
33329         * misc/sys/cdefs.h: Fix last change.
33330
33331         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33332         database lookup.
33333
33334 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
33335
33336         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33337
33338         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33339         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33340         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33341         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33342         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33343         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33344         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33345         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33346         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33347         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33348         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33349         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33350         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33351         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33352         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33353         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33354         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33355         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33356         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33357         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33358         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33359         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33360
33361         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33362         ceil, ceilf, floor, floorf.
33363
33364         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33365         Perform IRELATIVE relocations last.
33366
33367         * elf/do-rel.h: Add another parameter nrelative, replacing the
33368         local variable with the same name.  Change name of the function
33369         to end in Rel or Rela (uppercase).
33370         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33371         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
33372         elf_dynamic_do_##reloc function.
33373
33374 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33375
33376         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33377         is sufficient, at least on modern CPUs.
33378
33379         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33380
33381         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33382         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33383
33384         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33385         __expl_finite.
33386         * math/bits/math-finite.h: Add entries for exp.
33387         * math/e_expl.c: Add __*_finite alias.
33388         * sysdeps/i386/fpu/e_exp.S: Likewise.
33389         * sysdeps/i386/fpu/e_expf.S: Likewise.
33390         * sysdeps/i386/fpu/e_expl.c: Likewise.
33391         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33392         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33393         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33394         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33395         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33396         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33397         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33398
33399         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33400         is sufficient, at least on modern CPUs.
33401
33402         * ctype/ctype-info.c (__ctype_init): Define.
33403         * include/ctype.h (__ctype_init): Declare.
33404         (__ctype_b_loc): The variable is always initialized.
33405         (__ctype_toupper_loc): Likewise.
33406         (__ctype_tolower_loc): Likewise.
33407         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33408         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33409
33410 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
33411
33412         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33413
33414         * configure.in: Also look in $cxxmachine/include for C++ system
33415         headers.
33416
33417 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33418
33419         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33420         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33421         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33422         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
33423         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33424         (USE_AS_WMEMCMP): New macro.
33425         Fixing indents.
33426         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33427         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33428         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33429         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33430         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33431         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33432         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33433         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33434         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33435         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33436         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33437         (USE_AS_WMEMCMP): New macro.
33438         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33439         * sysdeps/string/test-memcmp.c: Update.
33440         Fix simple_wmemcmp.
33441         Add new tests.
33442         * wcsmbs/wmemcmp.c: Update.
33443         (WMEMCMP): New macro.
33444         Fix overflow bug.
33445
33446 2011-10-12  Andreas Jaeger  <aj@suse.de>
33447
33448         [BZ #13268]
33449         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33450
33451 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33452
33453         * libio/iofwide.c (do_length): Avoid warning.
33454
33455         * ctype/ctype.h (__isctype_f): Add missing __THROW.
33456
33457 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
33458
33459         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33460
33461         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33462         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33463         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33464         * sysdeps/i386/i686/fpu/e_log.S: New file.
33465         * sysdeps/i386/i686/fpu/e_logf.S: New file.
33466         * sysdeps/i386/i686/fpu/e_logl.S: New file.
33467
33468         * ctype/ctype.h: Add support for inlined isXXX functions when
33469         compiling C++ code.
33470
33471 2011-10-14  Andreas Schwab  <schwab@redhat.com>
33472
33473         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33474
33475         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33476
33477 2011-10-13  Roland McGrath  <roland@hack.frob.com>
33478
33479         [BZ #13291]
33480         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33481
33482 2011-10-13  Andreas Schwab  <schwab@redhat.com>
33483
33484         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33485         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33486         feraiseexcept.
33487
33488         * sysdeps/x86_64/memrchr.S: Check for zero size.
33489
33490         * string/stratcliff.c: Add memrchr tests.
33491
33492 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33493
33494         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33495         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33496         rawmemchr-sse2 rawmemchr-sse2-bsf.
33497         * sysdeps/i386/i686/multiarch/memchr.S: New file.
33498         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33499         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33500         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33501         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33502         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33503         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33504         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33505         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33506         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33507         * string/memrchr.c (MEMRCHR): New macro.
33508
33509 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
33510
33511         Add integration with gcc's -ffinite-math-only and optimize wrapper
33512         functions in libm.
33513         * Versions.def: Define GLIBC_2.15 version for libm.
33514         * math/Makefile (headers): Add bits/math-finite.h.
33515         * math/bits/math-finite.h: New file.
33516         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33517         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33518         * math/e_acoshl.c: Add __*_finite alias.
33519         * math/e_acosl.c: Likewise.
33520         * math/e_asinl.c: Likewise.
33521         * math/e_atan2l.c: Likewise.
33522         * math/e_atanhl.c: Likewise.
33523         * math/e_coshl.c: Likewise.
33524         * math/e_exp10.c: Likewise.
33525         * math/e_exp10f.c: Likewise.
33526         * math/e_exp10l.c: Likewise.
33527         * math/e_exp2l.c: Likewise.
33528         * math/e_fmodl.c: Likewise.
33529         * math/e_gammal_r.c: Likewise.
33530         * math/e_hypotl.c: Likewise.
33531         * math/e_j0l.c: Likewise.
33532         * math/e_j1l.c: Likewise.
33533         * math/e_jnl.c: Likewise.
33534         * math/e_lgammal_r.c: Likewise.
33535         * math/e_log10l.c: Likewise.
33536         * math/e_log2l.c: Likewise.
33537         * math/e_logl.c: Likewise.
33538         * math/e_powl.c: Likewise.
33539         * math/e_sinhl.c: Likewise.
33540         * math/e_sqrtl.c: Likewise.
33541         * math/e_scalb.c: Completely rewritten and optimized.
33542         * math/e_scalbf.c: Likewise.
33543         * math/e_scalbl.c: Likewise.
33544         * math/w_acos.c: Likewise.
33545         * math/w_acosf.c: Likewise.
33546         * math/w_acosl.c: Likewise.
33547         * math/w_acosh.c: Likewise.
33548         * math/w_acoshf.c: Likewise.
33549         * math/w_acoshl.c: Likewise.
33550         * math/w_asin.c: Likewise.
33551         * math/w_asinf.c: Likewise.
33552         * math/w_asinl.c: Likewise.
33553         * math/w_atan2.c: Likewise.
33554         * math/w_atan2f.c: Likewise.
33555         * math/w_atan2l.c: Likewise.
33556         * math/w_atanh.c: Likewise.
33557         * math/w_atanhf.c: Likewise.
33558         * math/w_atanhl.c: Likewise.
33559         * math/w_exp10.c: Likewise.
33560         * math/w_exp10f.c: Likewise.
33561         * math/w_exp10l.c: Likewise.
33562         * math/w_fmod.c: Likewise.
33563         * math/w_fmodf.c: Likewise.
33564         * math/w_fmodl.c: Likewise.
33565         * math/w_j0.c: Likewise.
33566         * math/w_j0f.c: Likewise.
33567         * math/w_j0l.c: Likewise.
33568         * math/w_j1.c: Likewise.
33569         * math/w_j1f.c: Likewise.
33570         * math/w_j1l.c: Likewise.
33571         * math/w_jn.c: Likewise.
33572         * math/w_jnf.c: Likewise.
33573         * math/w_log.c: Likewise.
33574         * math/w_logf.c: Likewise.
33575         * math/w_logl.c: Likewise.
33576         * math/w_log10.c: Likewise.
33577         * math/w_log10f.c: Likewise.
33578         * math/w_log10l.c: Likewise.
33579         * math/w_log2.c: Likewise.
33580         * math/w_log2f.c: Likewise.
33581         * math/w_log2l.c: Likewise.
33582         * math/w_pow.c: Likewise.
33583         * math/w_powf.c: Likewise.
33584         * math/w_powl.c: Likewise.
33585         * math/w_remainder.c: Likewise.
33586         * math/w_remainderf.c: Likewise.
33587         * math/w_remainderl.c: Likewise.
33588         * math/w_scalb.c: Likewise.
33589         * math/w_scalbf.c: Likewise.
33590         * math/w_scalbl.c: Likewise.
33591         * math/w_sqrt.c: Likewise.
33592         * math/w_sqrtf.c: Likewise.
33593         * math/w_sqrtl.c: Likewise.
33594         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33595         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
33596         used.
33597         * math/math_private.h: Declare __kernel_standard_f.
33598         * math/w_cosh.c: Remove cruft and optimize a bit.
33599         * math/w_coshf.c: Likewise.
33600         * math/w_coshl.c: Likewise.
33601         * math/w_exp2.c: Likewise.
33602         * math/w_exp2f.c: Likewise.
33603         * math/w_exp2l.c: Likewise.
33604         * math/w_hypot.c: Likewise.
33605         * math/w_hypotf.c: Likewise.
33606         * math/w_hypotl.c: Likewise.
33607         * math/w_lgamma.c: Likewise.
33608         * math/w_lgamma_r.c: Likewise.
33609         * math/w_lgammaf.c: Likewise.
33610         * math/w_lgammaf_r.c: Likewise.
33611         * math/w_lgammal.c: Likewise.
33612         * math/w_lgammal_r.c: Likewise.
33613         * math/w_sinh.c: Likewise.
33614         * math/w_sinhf.c: Likewise.
33615         * math/w_sinhl.c: Likewise.
33616         * math/w_tgamma.c: Likewise.
33617         * math/w_tgammaf.c: Likewise.
33618         * math/w_tgammal.c: Likewise.
33619         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33620         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33621         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33622         Minor optimizations.  Pretty printing.  Remove cruft.
33623         * sysdeps/i386/fpu/e_acosf.S: Likewise.
33624         * sysdeps/i386/fpu/e_acosh.S: Likewise.
33625         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33626         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33627         * sysdeps/i386/fpu/e_acosl.c: Likewise.
33628         * sysdeps/i386/fpu/e_asin.S: Likewise.
33629         * sysdeps/i386/fpu/e_asinf.S: Likewise.
33630         * sysdeps/i386/fpu/e_atan2.S: Likewise.
33631         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33632         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33633         * sysdeps/i386/fpu/e_atanh.S: Likewise.
33634         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33635         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33636         * sysdeps/i386/fpu/e_exp10.S: Likewise.
33637         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33638         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33639         * sysdeps/i386/fpu/e_exp2.S: Likewise.
33640         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33641         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33642         * sysdeps/i386/fpu/e_fmod.S: Likewise.
33643         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33644         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33645         * sysdeps/i386/fpu/e_hypot.S: Likewise.
33646         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33647         * sysdeps/i386/fpu/e_log.S: Likewise.
33648         * sysdeps/i386/fpu/e_log10.S: Likewise.
33649         * sysdeps/i386/fpu/e_log10f.S: Likewise.
33650         * sysdeps/i386/fpu/e_log10l.S: Likewise.
33651         * sysdeps/i386/fpu/e_log2.S: Likewise.
33652         * sysdeps/i386/fpu/e_log2f.S: Likewise.
33653         * sysdeps/i386/fpu/e_log2l.S: Likewise.
33654         * sysdeps/i386/fpu/e_logf.S: Likewise.
33655         * sysdeps/i386/fpu/e_logl.S: Likewise.
33656         * sysdeps/i386/fpu/e_pow.S: Likewise.
33657         * sysdeps/i386/fpu/e_powf.S: Likewise.
33658         * sysdeps/i386/fpu/e_powl.S: Likewise.
33659         * sysdeps/i386/fpu/e_remainder.S: Likewise.
33660         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33661         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33662         * sysdeps/i386/fpu/e_scalb.S: Likewise.
33663         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33664         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33665         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33666         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33667         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33668         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33669         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33670         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33671         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33672         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33673         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33674         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33675         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33676         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33677         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33678         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33679         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33680         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33681         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33682         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33683         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33684         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33685         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33686         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33687         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33688         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33689         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33690         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33691         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33692         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33693         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33694         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33695         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33696         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33697         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33698         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33699         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33700         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33701         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33702         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33703         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33704         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33705         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33706         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33707         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33708         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33709         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33710         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33711         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33712         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33713         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33714         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33715         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33716         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33717         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33718         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33719         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33720         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33721         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33722         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33723         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33724         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33725         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33726         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33727         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33728         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33729         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33730         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33731         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33732         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33733         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33734         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33735         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33736         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33737         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33738         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33739         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33740         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33741         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33742         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33743         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33744         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33745         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33746         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33747         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33748         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33749         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33750         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33751         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33752         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33753         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33754         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33755         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33756         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33757         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33758         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33759         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33760         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33761         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33762         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33763         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33764         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33765         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33766         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33767         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33768         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33769         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33770         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33771         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33772         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33773         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33774         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33775         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33776         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33777         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33778         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
33779         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33780         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33781         (__isnanf): Likewise.
33782         (__isinf_ns): Likewise.
33783         (__isinf_nsf): Likewise.
33784         (__finite): Likewise.
33785         (__finitef): Likewise.
33786         (__ieee754_sqrt): Define as macro.
33787         (__ieee754_sqrtf): Define as macro.
33788         (__ieee754_sqrtl): Define as macro.
33789         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33790         inlined copy.
33791         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33792         __FINITE_MATH_ONLY__ consistent.
33793         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33794
33795 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
33796
33797         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33798         of rawmemchr.
33799
33800         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33801
33802 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
33803
33804         * po/ja.po: Update from translation team.
33805
33806 2011-10-08  Roland McGrath  <roland@hack.frob.com>
33807
33808         * locale/programs/locarchive.c (prepare_address_space): New function.
33809         (create_archive, enlarge_archive, open_archive): Use it.
33810
33811         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33812         inside [SHARED], where it is used.
33813
33814         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33815
33816         * nss/getent.c (netgroup_keys): Remove unused variable.
33817         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33818
33819 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
33820
33821         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33822         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33823         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33824         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33825         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33826         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33827         * math/Makefile (libm-calls): Add s_isinf_ns.
33828         * math/divtc3.c: Use __isinf_nsl instead of isinf.
33829         * math/multc3.c: Likewise.
33830         * math/s_casin.c: Likewise.
33831         * math/s_casinf.c: Likewise.
33832         * math/s_casinl.c: Likewise.
33833         * math/s_ccos.c: Likewise.
33834         * math/s_ccosf.c: Likewise.
33835         * math/s_ccosl.c: Likewise.
33836         * math/s_ctan.c: Likewise.
33837         * math/s_ctanf.c: Likewise.
33838         * math/s_ctanh.c: Likewise.
33839         * math/s_ctanhf.c: Likewise.
33840         * math/s_ctanhl.c: Likewise.
33841         * math/s_ctanl.c: Likewise.
33842         * math/w_fmod.c: Likewise.
33843         * math/w_fmodf.c: Likewise.
33844         * math/w_fmodl.c: Likewise.
33845         * math/w_remainder.c: Likewise.
33846         * math/w_remainderf.c: Likewise.
33847         * math/w_remainderl.c: Likewise.
33848         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33849         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33850         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33851         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33852         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33853         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33854         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33855         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33856
33857         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33858         of the number.
33859         * stdio-common/printf_fphex.c: Likewise.
33860         * stdio-common/printf_size.c: Likewise.
33861
33862         * math/e_exp10.c: Include math_private.h using <...> not "...".
33863         * math/e_exp10f.c: Likewise.
33864         * math/e_exp10l.c: Likewise.
33865         * math/e_exp2l.c: Likewise.
33866         * math/e_j0l.c: Likewise.
33867         * math/e_j1l.c: Likewise.
33868         * math/e_jnl.c: Likewise.
33869         * math/e_lgammal_r.c: Likewise.
33870         * math/e_rem_pio2l.c: Likewise.
33871         * math/e_scalb.c: Likewise.
33872         * math/e_scalbf.c: Likewise.
33873         * math/e_scalbl.c: Likewise.
33874         * math/k_cosl.c: Likewise.
33875         * math/k_sinl.c: Likewise.
33876         * math/k_tanl.c: Likewise.
33877         * math/s_cacoshf.c: Likewise.
33878         * math/s_catan.c: Likewise.
33879         * math/s_catanf.c: Likewise.
33880         * math/s_catanh.c: Likewise.
33881         * math/s_catanhf.c: Likewise.
33882         * math/s_catanhl.c: Likewise.
33883         * math/s_catanl.c: Likewise.
33884         * math/s_ccosh.c: Likewise.
33885         * math/s_ccoshf.c: Likewise.
33886         * math/s_ccoshl.c: Likewise.
33887         * math/s_cexp.c: Likewise.
33888         * math/s_cexpf.c: Likewise.
33889         * math/s_cexpl.c: Likewise.
33890         * math/s_clog.c: Likewise.
33891         * math/s_clog10.c: Likewise.
33892         * math/s_clog10f.c: Likewise.
33893         * math/s_clog10l.c: Likewise.
33894         * math/s_clogf.c: Likewise.
33895         * math/s_clogl.c: Likewise.
33896         * math/s_csin.c: Likewise.
33897         * math/s_csinf.c: Likewise.
33898         * math/s_csinh.c: Likewise.
33899         * math/s_csinhf.c: Likewise.
33900         * math/s_csinhl.c: Likewise.
33901         * math/s_csinl.c: Likewise.
33902         * math/s_csqrt.c: Likewise.
33903         * math/s_csqrtf.c: Likewise.
33904         * math/s_csqrtl.c: Likewise.
33905         * math/s_ctan.c: Likewise.
33906         * math/s_ctanf.c: Likewise.
33907         * math/s_ctanh.c: Likewise.
33908         * math/s_ctanhf.c: Likewise.
33909         * math/s_ctanhl.c: Likewise.
33910         * math/s_ctanl.c: Likewise.
33911         * math/s_ldexp.c: Likewise.
33912         * math/s_ldexpf.c: Likewise.
33913         * math/s_ldexpl.c: Likewise.
33914         * math/s_significand.c: Likewise.
33915         * math/s_significandf.c: Likewise.
33916         * math/s_significandl.c: Likewise.
33917         * math/w_acos.c: Likewise.
33918         * math/w_acosf.c: Likewise.
33919         * math/w_acosh.c: Likewise.
33920         * math/w_acoshf.c: Likewise.
33921         * math/w_acoshl.c: Likewise.
33922         * math/w_acosl.c: Likewise.
33923         * math/w_asin.c: Likewise.
33924         * math/w_asinf.c: Likewise.
33925         * math/w_asinl.c: Likewise.
33926         * math/w_atan2.c: Likewise.
33927         * math/w_atan2f.c: Likewise.
33928         * math/w_atan2l.c: Likewise.
33929         * math/w_atanh.c: Likewise.
33930         * math/w_atanhf.c: Likewise.
33931         * math/w_atanhl.c: Likewise.
33932         * math/w_cosh.c: Likewise.
33933         * math/w_coshf.c: Likewise.
33934         * math/w_coshl.c: Likewise.
33935         * math/w_dremf.c: Likewise.
33936         * math/w_exp10.c: Likewise.
33937         * math/w_exp10f.c: Likewise.
33938         * math/w_exp10l.c: Likewise.
33939         * math/w_exp2.c: Likewise.
33940         * math/w_exp2f.c: Likewise.
33941         * math/w_fmod.c: Likewise.
33942         * math/w_fmodf.c: Likewise.
33943         * math/w_fmodl.c: Likewise.
33944         * math/w_hypot.c: Likewise.
33945         * math/w_hypotf.c: Likewise.
33946         * math/w_hypotl.c: Likewise.
33947         * math/w_j0.c: Likewise.
33948         * math/w_j0f.c: Likewise.
33949         * math/w_j0l.c: Likewise.
33950         * math/w_j1.c: Likewise.
33951         * math/w_j1f.c: Likewise.
33952         * math/w_j1l.c: Likewise.
33953         * math/w_jn.c: Likewise.
33954         * math/w_jnf.c: Likewise.
33955         * math/w_jnl.c: Likewise.
33956         * math/w_lgamma.c: Likewise.
33957         * math/w_lgamma_r.c: Likewise.
33958         * math/w_lgammaf.c: Likewise.
33959         * math/w_lgammaf_r.c: Likewise.
33960         * math/w_lgammal.c: Likewise.
33961         * math/w_lgammal_r.c: Likewise.
33962         * math/w_log.c: Likewise.
33963         * math/w_log10.c: Likewise.
33964         * math/w_log10f.c: Likewise.
33965         * math/w_log10l.c: Likewise.
33966         * math/w_log2.c: Likewise.
33967         * math/w_log2f.c: Likewise.
33968         * math/w_log2l.c: Likewise.
33969         * math/w_logf.c: Likewise.
33970         * math/w_logl.c: Likewise.
33971         * math/w_pow.c: Likewise.
33972         * math/w_powf.c: Likewise.
33973         * math/w_powl.c: Likewise.
33974         * math/w_remainder.c: Likewise.
33975         * math/w_remainderf.c: Likewise.
33976         * math/w_remainderl.c: Likewise.
33977         * math/w_scalb.c: Likewise.
33978         * math/w_scalbf.c: Likewise.
33979         * math/w_scalbl.c: Likewise.
33980         * math/w_sinh.c: Likewise.
33981         * math/w_sinhf.c: Likewise.
33982         * math/w_sinhl.c: Likewise.
33983         * math/w_sqrt.c: Likewise.
33984         * math/w_sqrtf.c: Likewise.
33985         * math/w_sqrtl.c: Likewise.
33986         * math/w_tgamma.c: Likewise.
33987         * math/w_tgammaf.c: Likewise.
33988         * math/w_tgammal.c: Likewise.
33989
33990         * po/ja.po: Update from translation team.
33991
33992 2011-09-29  Andreas Jaeger  <aj@suse.de>
33993
33994         [BZ #13179]
33995         * sunrpc/netname.c (netname2host): Fix logic.
33996
33997         [BZ #6779]
33998         [BZ #6783]
33999         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34000         correctly.
34001         * math/w_remainder.c (__remainder): Likewise.
34002         * math/w_remainderf.c (__remainderf): Likewise.
34003         * math/libm-test.inc (remainder_test): Add test cases.
34004
34005 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34006
34007         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
34008         sdiv_qrnnd.
34009
34010 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34011
34012         * string/test-memcmp.c: Avoid unncessary #defines.
34013         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34014
34015 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34016
34017         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34018         Use new sse2 version for core i3 - i7 as it's faster
34019         than sse42 version.
34020         (bit_Prefer_PMINUB_for_stringop): New.
34021         * sysdeps/x86_64/rawmemchr.S: Update.
34022         Replace with faster SSE2 version.
34023         * sysdeps/x86_64/memrchr.S: New file.
34024         * sysdeps/x86_64/memchr.S: Update.
34025         Replace with faster SSE2 version.
34026
34027 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
34028
34029         * elf/dl-load.c (lose): Add cast to avoid warning.
34030
34031 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34032
34033         * po/ca.po: Update from translation team.
34034
34035         * inet/getnetgrent_r.c: Hook up nscd.
34036         * nscd/Makefile (routines): Add nscd_netgroup.
34037         (nscd-modules): Add netgroupcache.
34038         (CFLAGS-netgroupcache.c): Define.
34039         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34040         (cache_search): Add const to second parameter.
34041         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34042         INNETGR.
34043         (dbs): Add netgrdb entry.
34044         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34045         (verify_persistent_db): Handle netgrdb.
34046         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34047         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34048         GETFDNETGR.
34049         (netgroup_response_header): Define.
34050         (innetgroup_response_header): Define.
34051         (datahead): Add netgroup_response_header and innetgroup_response_header
34052         elements.
34053         * nscd/nscd.conf: Add entries for netgroup cache.
34054         * nscd/nscd.h (dbtype): Add netgrdb.
34055         (_PATH_NSCD_NETGROUP_DB): Define.
34056         (netgroup_iov_disabled): Declare.
34057         (xmalloc, xcalloc, xrealloc): Move declarations here.
34058         (cache_search): Adjust prototype.
34059         Add netgroup-related prototypes.
34060         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34061         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34062         (__nscd_innetgr): Declare.
34063         * nscd/selinux.c (perms): Use access_vector_t as element type and
34064         add netgroup-related initializers.
34065         * nscd/netgroupcache.c: New file.
34066         * nscd/nscd_netgroup.c: New file.
34067         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34068         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34069         For four parameters use innetgr.
34070         * nss/nss_files/files-init.c: Add definition and callback for netgr.
34071         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34072         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34073         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34074
34075         * nscd/connections.c (register_traced_file): Don't register file
34076         for disabled databases.
34077
34078 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
34079
34080         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34081
34082         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34083         from tree and freeing node.
34084
34085 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
34086
34087         * nss/nsswitch.c (__nss_database_lookup): Handle
34088         nss_parse_service_list out of memory case.
34089
34090 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
34091
34092         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34093         out of memory case.
34094
34095 2011-10-04  Andreas Schwab  <schwab@redhat.com>
34096
34097         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34098         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34099         pass it down.
34100         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34101         elf_machine_rela, elf_machine_lazy_rel.
34102         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34103         (ELF_DYNAMIC_DO_REL): Likewise.
34104         (ELF_DYNAMIC_DO_RELA): Likewise.
34105         (ELF_DYNAMIC_RELOCATE): Likewise.
34106         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34107         to ELF_DYNAMIC_DO_REL.
34108         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34109         (dl_main): In trace mode always set __RTLD_NOIFUNC.
34110         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34111         elf_machine_rela.
34112         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34113         skip_ifunc, don't call ifunc function if non-zero.
34114         (elf_machine_rela): Likewise.
34115         (elf_machine_lazy_rel): Likewise.
34116         (elf_machine_lazy_rela): Likewise.
34117         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34118         (elf_machine_lazy_rel): Likewise.
34119         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34120         Likewise.
34121         (elf_machine_lazy_rel): Likewise.
34122         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34123         Likewise.
34124         (elf_machine_lazy_rel): Likewise.
34125         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34126         (elf_machine_lazy_rel): Likewise.
34127         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34128         (elf_machine_lazy_rel): Likewise.
34129         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34130         (elf_machine_lazy_rel): Likewise.
34131         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34132         (elf_machine_lazy_rel): Likewise.
34133         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34134         (elf_machine_lazy_rel): Likewise.
34135         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34136         (elf_machine_lazy_rel): Likewise.
34137
34138 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
34139
34140         * nss/nss_files/files-init.c (_nss_files_init): Use static
34141         initialization for all the *_traced_file variables.
34142
34143 2011-09-28  Andreas Schwab  <schwab@redhat.com>
34144
34145         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34146
34147 2011-09-27  Roland McGrath  <roland@hack.frob.com>
34148
34149         [BZ #13226]
34150         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34151
34152 2011-09-27  Andreas Schwab  <schwab@redhat.com>
34153
34154         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34155         Reread the line before reparsing it.
34156
34157 2011-09-26  Andreas Schwab  <schwab@redhat.com>
34158
34159         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34160
34161 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
34162             Maxim Kuvyrkov  <maxim@codesourcery.com>
34163             Joseph Myers  <joseph@codesourcery.com>
34164
34165         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34166         if needed for __stack_chk_guard.
34167
34168 2011-09-19  Roland McGrath  <roland@hack.frob.com>
34169
34170         * sysdeps/posix/spawni.c (script_execute): Always define it.
34171         It will be optimized away if unused.
34172         (maybe_script_execute): New function.
34173         (__spawni): Call it.
34174
34175         * Makerules: Don't include tls.make.
34176         (config-tls): Always set to thread.
34177         * tls.make.c: File removed.
34178
34179 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
34180
34181         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34182         * config.make.in (CPPFLAGS-config): New substituted variable.
34183
34184 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34185
34186         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34187
34188         [BZ #13192]
34189         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34190         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34191
34192 2011-09-15  Roland McGrath  <roland@hack.frob.com>
34193
34194         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34195         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34196         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34197         (CALL_FAIL): Likewise.
34198         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34199         (CALL_FAIL): Macro removed.
34200         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34201
34202 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34203
34204         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34205         for __FINITE_MATH_ONLY__ == 1.
34206
34207 2011-09-15  Andreas Schwab  <schwab@redhat.com>
34208
34209         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34210         __ieee754_sqrt instead of sqrt.
34211         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34212         __ieee754_sqrtf instead of sqrtf.
34213         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34214         __floorf instead of floorf.
34215         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34216         __floorf, __truncf instead of floorf, truncf.
34217
34218 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
34219
34220         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34221
34222         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34223         __extern_always_inline.
34224         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34225         32-bit.
34226
34227 2011-09-14  Andreas Schwab  <schwab@redhat.com>
34228
34229         * elf/rtld.c (dl_main): Also relocate in dependency order when
34230         doing symbol dependency testing.
34231
34232 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
34233
34234         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34235         Always define `refsym'.
34236
34237 2011-09-13  Andreas Schwab  <schwab@redhat.com>
34238
34239         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34240         (__FD_ELT): Renamed from __FDELT.
34241         * misc/bits/select2.h (__FD_ELT): Likewise.
34242         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34243         __FD_MASK instead of __FDELT, __FDMASK.
34244         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34245         Likewise.
34246         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34247         Likewise.
34248
34249         * elf/Makefile (gen-ldd): Fix pattern.
34250
34251         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34252         (init_tls): Likewise.
34253
34254 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
34255
34256         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34257
34258 2011-09-12  Andreas Schwab  <schwab@redhat.com>
34259
34260         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34261         `struct cmsghdr *' instead of `void *'.
34262         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34263         Likewise.
34264
34265 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
34266
34267         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34268         if non-absolute.
34269         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34270         ldd_rewrite_script.
34271
34272 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
34273
34274         * configure.in: Remove --with-tls option.
34275         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34276         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34277         out in case it is missing.
34278         * sysdeps/ia64/elf/configure.in: Likewise.
34279         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34280         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34281         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34282         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34283         * sysdeps/sh/elf/configure.in: Likewise.
34284         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34285         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34286         * sysdeps/x86_64/elf/configure.in: Likewise.
34287         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34288         * sysdeps/mach/hurd/tls.h: Likewise.
34289
34290         [BZ #13067]
34291         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34292
34293         [BZ #13090]
34294         * configure.in: Fix use of AC_INIT.
34295
34296         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34297
34298 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
34299
34300         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34301         __set_errno.
34302         * malloc/hooks.c: Likewise.
34303
34304         [BZ #11929]
34305         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
34306         variables statically.
34307         (narenas): Initialize.
34308         (list_lock): Initialize.
34309         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
34310         initializtion of main_arena and list_lock.  Small cleanups.
34311         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34312         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
34313         Add initializers to main_arena and mp_.
34314         (malloc_state): Remove pagesize member.  Change all users to use
34315         GLRO(dl_pagesize).
34316
34317         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34318         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
34319         is always initialized.
34320
34321         * malloc/malloc.c: Removed unused configurations and dead code.
34322         * malloc/arena.c: Likewise.
34323         * malloc/hooks.c: Likewise.
34324         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34325
34326         * include/tls.h: Removed.  USE___THREAD must always be defined.
34327         * bits/libc-tsd.h: Don't handle !USE___THREAD.
34328         * elf/dl-libc.c: Likewise.
34329         * elf/dl-tsd.c: Likewise.
34330         * include/errno.h: Likewise.
34331         * include/netdb.h: Likewise.
34332         * include/resolv.h: Likewise.
34333         * inet/herrno-loc.c: Likewise.
34334         * inet/herrno.c: Likewise.
34335         * malloc/arena.c: Likewise.
34336         * malloc/hooks.c: Likewise.
34337         * malloc/malloc.c: Likewise.
34338         * resolv/res-state.c: Likewise.
34339         * resolv/res_libc.c: Likewise.
34340         * sysdeps/i386/dl-machine.h: Likewise.
34341         * sysdeps/ia64/dl-machine.h: Likewise.
34342         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34343         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34344         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34345         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34346         * sysdeps/sh/dl-machine.h: Likewise.
34347         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34348         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34349         * sysdeps/unix/i386/sysdep.S: Likewise.
34350         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34351         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34352         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34353         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34354         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34355         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34356         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34357         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34358         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34359         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34360         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34361         * sysdeps/x86_64/dl-machine.h: Likewise.
34362         * tls.make.c: Likewise.
34363
34364         * configure.in: Remove --with-__thread option.  Make tests for
34365         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34366         tls_model attribute fail if no support is available.  Remove
34367         USE_IN_LIBIO.
34368         * Makeconfig: Adjust for dropped configure option.  All features are
34369         now mandatory.
34370         * Makerules: Likewise.
34371         * Versions.def: Likewise.
34372         * argp/argp-fmtstream.c: Likewise.
34373         * argp/argp-fmtstream.h: Likewise.
34374         * argp/argp-help.c: Likewise.
34375         * assert/assert.c: Likewise.
34376         * config.h.in: Likewise.
34377         * config.make.in: Likewise.
34378         * configure: Likewise.
34379         * configure.in: Likewise.
34380         * csu/Versions: Likewise.
34381         * csu/init.c: Likewise.
34382         * elf/tst-audit2.c: Likewise.
34383         * elf/tst-tls10.c: Likewise.
34384         * elf/tst-tls10.h: Likewise.
34385         * elf/tst-tls11.c: Likewise.
34386         * elf/tst-tls12.c: Likewise.
34387         * elf/tst-tls14.c: Likewise.
34388         * elf/tst-tlsmod11.c: Likewise.
34389         * elf/tst-tlsmod12.c: Likewise.
34390         * elf/tst-tlsmod13.c: Likewise.
34391         * elf/tst-tlsmod13a.c: Likewise.
34392         * elf/tst-tlsmod14a.c: Likewise.
34393         * elf/tst-tlsmod15b.c: Likewise.
34394         * elf/tst-tlsmod16a.c: Likewise.
34395         * elf/tst-tlsmod16b.c: Likewise.
34396         * elf/tst-tlsmod7.c: Likewise.
34397         * elf/tst-tlsmod8.c: Likewise.
34398         * elf/tst-tlsmod9.c: Likewise.
34399         * gmon/gmon.c: Likewise.
34400         * grp/fgetgrent_r.c: Likewise.
34401         * grp/putgrent.c: Likewise.
34402         * hurd/fopenport.c: Likewise.
34403         * include/libc-symbols.h: Likewise.
34404         * include/tls.h: Likewise.
34405         * intl/gettextP.h: Likewise.
34406         * intl/loadinfo.h: Likewise.
34407         * locale/global-locale.c: Likewise.
34408         * locale/localeinfo.h: Likewise.
34409         * mach/devstream.c: Likewise.
34410         * malloc/arena.c: Likewise.
34411         * malloc/set-freeres.c: Likewise.
34412         * misc/err.c: Likewise.
34413         * misc/getttyent.c: Likewise.
34414         * misc/mntent_r.c: Likewise.
34415         * posix/getopt.c: Likewise.
34416         * posix/wordexp.c: Likewise.
34417         * pwd/fgetpwent_r.c: Likewise.
34418         * resolv/Versions: Likewise.
34419         * resolv/res_hconf.c: Likewise.
34420         * shadow/fgetspent_r.c: Likewise.
34421         * shadow/putspent.c: Likewise.
34422         * stdio-common/printf_fphex.c: Likewise.
34423         * stdio-common/tmpfile.c: Likewise.
34424         * stdlib/abort.c: Likewise.
34425         * stdlib/fmtmsg.c: Likewise.
34426         * sunrpc/auth_unix.c: Likewise.
34427         * sunrpc/clnt_perr.c: Likewise.
34428         * sunrpc/clnt_tcp.c: Likewise.
34429         * sunrpc/clnt_udp.c: Likewise.
34430         * sunrpc/clnt_unix.c: Likewise.
34431         * sunrpc/openchild.c: Likewise.
34432         * sunrpc/svc_simple.c: Likewise.
34433         * sunrpc/svc_tcp.c: Likewise.
34434         * sunrpc/svc_udp.c: Likewise.
34435         * sunrpc/svc_unix.c: Likewise.
34436         * sunrpc/xdr.c: Likewise.
34437         * sunrpc/xdr_array.c: Likewise.
34438         * sunrpc/xdr_rec.c: Likewise.
34439         * sunrpc/xdr_ref.c: Likewise.
34440         * sunrpc/xdr_stdio.c: Likewise.
34441
34442 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34443
34444         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34445
34446 2011-07-03  Andreas Jaeger  <aj@suse.de>
34447
34448         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34449         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34450         regenerate with gen-libm-tests.pl.
34451
34452 2010-05-12  Petr Baudis  <pasky@suse.cz>
34453
34454         [BZ #11589]
34455         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34456         around j0() zero points by switching to j1().
34457         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34458         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34459         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34460         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34461
34462 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34463
34464         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34465         instead of 0.
34466         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34467         instead of 0.
34468         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34469         Patch in part by Pavel Roskin <proski@gnu.org>.
34470
34471         [BZ #13138]
34472         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34473         realloc.
34474         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
34475         Free memory block if necessary.
34476
34477         [BZ #12847]
34478         * libio/genops.c (INTDEF): For string streams the _lock pointer can
34479         be NULL.  Don't lock in this case.
34480
34481 2011-09-09  Roland McGrath  <roland@hack.frob.com>
34482
34483         * elf/elf.h (ELFOSABI_GNU): New macro.
34484         (ELFOSABI_LINUX): Define to that.
34485
34486 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
34487
34488         * string/strncat.c (strncat): Undef the symbol in case it has been
34489         defined in bits/string.h.
34490
34491 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34492
34493         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34494
34495         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34496         link map.
34497
34498 2011-08-17  Andreas Jaeger  <aj@suse.de>
34499
34500         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34501
34502 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
34503             Ian Lance Taylor  <iant@google.com>
34504
34505         * math/libm-test.inc (lround_test): New testcase.
34506         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34507
34508 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
34509
34510         * Makefile: Remove support for automatic cvs check-ins.
34511         * Makerules: Likewise.
34512         * config.make.in: Likewise.
34513         * configure.in: Likewise.
34514         * intl/Makefile: Likewise.
34515         * locale/Makefile: Likewise.
34516         * po/Makefile: Likewise.
34517         * posix/Makefile: Likewise.
34518         * sysdeps/gnu/Makefile: Likewise.
34519         * sysdeps/mach/hurd/Makefile: Likewise.
34520         * sysdeps/sparc/sparc32/Makefile: Likewise.
34521
34522         [BZ #13118]
34523         * posix/Makefile (bug-regex32-ENV): Define.
34524         Patch by John Stanley <jpsinthemix@verizon.net>.
34525
34526         * misc/Makefile (headers): Add bits/select2.h.
34527         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34528         * misc/bits/select2.h: New file.
34529         * include/bits/select2.h: New file.
34530         * debug/Makefile (routines): Add fdelt_chk.
34531         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34532         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34533         FD_ISSET.
34534         * debug/fdelt_chk.c: New file.
34535
34536         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
34537         * wcsmbs/test-wmemcmp.c: Likewise.
34538         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34539         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34540
34541 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34542
34543         * string/Makefile (strop-tests): Add memcmp.
34544         * string/test-wmemcmp.c: New file.
34545         * string/test-memcmp.c: Add wmemcmp support.
34546
34547 2011-09-08  Roland McGrath  <roland@hack.frob.com>
34548
34549         [BZ #13153]
34550         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34551         2011-07-19 change.
34552
34553         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34554         garbage value in a __mach_port_mod_refs call in the cases of the
34555         task-self and thread-self ports.
34556
34557 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34558
34559         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34560
34561 2011-09-08  Andreas Schwab  <schwab@redhat.com>
34562
34563         * elf/dl-load.c (lose): Check for non-null L.
34564
34565 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34566
34567         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34568
34569         * elf/dl-libc.c (dlerror_run): Pass back error code from
34570         dl_catch_error.
34571
34572         [BZ #13123]
34573         * elf/dl-load.c (lose): Free l_origin if it is valid.
34574
34575         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34576         names.
34577         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34578         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34579         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34580         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34581         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34582         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34583
34584 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34585
34586         * sysdeps/powerpc/fpu/e_hypot.c: New file.
34587         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34588         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34589         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34590         * sysdeps/powerpc/fpu/k_cosf.c: New file.
34591         * sysdeps/powerpc/fpu/k_sinf.c: New file.
34592         * sysdeps/powerpc/fpu/s_cosf.c: New file.
34593         * sysdeps/powerpc/fpu/s_sinf.c: New file.
34594         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34595         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34596
34597 2011-08-15  Alan Modra  <amodra@gmail.com>
34598
34599         [BZ #13092]
34600         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34601         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34602         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
34603         ppc_mcount to static-only-routines.
34604         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34605         __mcount_internal.
34606         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34607         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
34608
34609 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
34610
34611         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34612         for finite and infinity parameters.
34613
34614 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
34615
34616         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34617         and add nop instructions for throughput optimization.
34618         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34619
34620 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
34621
34622         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34623         aligned copy for power7 with vector-scalar instructions.
34624         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34625
34626 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
34627
34628         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34629         AVX check.
34630
34631 2011-09-07  Andreas Schwab  <schwab@redhat.com>
34632
34633         [BZ #13144]
34634         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34635         last change.
34636
34637 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34638
34639         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34640         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34641         syscall wrapper around clock_gettime in __vdso_clock_gettime.
34642         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34643         clock_gettime.
34644
34645 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34646
34647         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34648         Forgot to demangle the pointer.
34649
34650         * sysdeps/i386/sysdep.h: Define atom_text_section.
34651         * sysdeps/x86_64/sysdep.h: Likewise.
34652         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34653         section with atom_text_section.
34654         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34655         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34656         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34657         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34658         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34659
34660         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34661         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34662         already be defined.  Change to take two parameters and don't assign
34663         result to variable.  Adjust all users.
34664         Define INTERNAL_GETTIME if not already defined.
34665         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34666         call.
34667         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34668         HAVE_CLOCK_GETTIME_VSYSCALL.
34669         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34670
34671         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34672         gettimeofday vsyscall, just use time.
34673
34674 2011-09-06  Andreas Schwab  <schwab@redhat.com>
34675
34676         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34677         <errno.h>.
34678
34679 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34680
34681         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34682         syscall on x86-64.
34683         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34684         syscall.
34685         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34686         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34687         syscall if possible.
34688
34689 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34690
34691         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34692         e_ident.  Don't pass to find_mapsXX.
34693         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34694
34695 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34696
34697         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34698         strchr-sse2-no-bsf strrchr-sse2-no-bsf
34699         * sysdeps/x86_64/multiarch/strchr.S: Update.
34700         Check bit_slow_BSF bit.
34701         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34702         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34703         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34704
34705 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34706
34707         [BZ #13134]
34708         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34709         before glibc 2.15.
34710         (tryshell): Define.
34711         (__spawni): Change last parameter to be flag.  Test
34712         SPAWN_XFLAGS_USE_PATH flag to use path or not.
34713         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34714         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34715         * posix/spawni.c: Likewise.
34716         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34717         * posix/spawnp.c: Likewise.  Change normal version to use
34718         SPAWN_XFLAGS_USE_PATH.
34719         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34720         SPAWN_XFLAGS_TRY_SHELL.
34721
34722         [BZ #13150]
34723         * posix/glob.h: Remove gcc 1.x support.
34724
34725         [BZ #13068]
34726         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34727
34728 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34729
34730         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34731         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34732         strrchr-sse2-bsf
34733         * sysdeps/i386/i686/multiarch/strchr.S: New file.
34734         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34735         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34736         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34737         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34738         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34739
34740 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34741
34742         * sysdeps/x86_64/wcscmp.S: New file.
34743
34744         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34745         wcscmp-c wcscmp-sse2
34746         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34747         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34748         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34749         * wcsmbs/wcscmp.c: Allow renaming.
34750
34751 2011-09-05  David S. Miller  <davem@davemloft.net>
34752
34753         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34754         stack slot, rather than the struct return pointer slot.
34755         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34756         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34757         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34758         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34759
34760 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34761
34762         * po/ja.po: Update from translation team.
34763
34764         [BZ #13144]
34765         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34766         kernel in 64-bit binaries.
34767
34768 2011-09-01  David S. Miller  <davem@davemloft.net>
34769
34770         * elf/elf.h (HWCAP_SPARC_*): Move to..
34771         * sysdeps/sparc/sysdep.h: this new file and add new values.
34772         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34773         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34774         _DL_HWCAP_COUNT to 24.
34775         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34776         entries.
34777         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34778         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34779         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34780         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34781         instead of magic constants.
34782         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34783
34784 2011-08-31  David S. Miller  <davem@davemloft.net>
34785
34786         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34787         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34788         Reimplement to do errno handling inline.
34789         (SYSCALL_ERROR_HANDLER): New macro.
34790         (__SYSCALL_STRING): Do not do errno handling in asm.
34791         (__CLONE_SYSCALL_STRING): Delete.
34792         (__INTERNAL_SYSCALL_STRING): Delete.
34793         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34794         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34795         (PSEUDO): Reimplement to do errno handling inline.
34796         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34797         (SYSCALL_ERROR_HANDLER): New macro.
34798         (__SYSCALL_STRING): Do not do errno handling in asm.
34799         (__CLONE_SYSCALL_STRING): Delete.
34800         (__INTERNAL_SYSCALL_STRING): Delete.
34801         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34802         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34803         i386.
34804         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34805         (inline_syscall*): Add 'err' argument.
34806         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34807         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34808         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34809         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34810
34811         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34812         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34813
34814 2011-08-30  Andreas Schwab  <schwab@redhat.com>
34815
34816         * elf/rtld.c (dl_main): Relocate objects in dependency order.
34817
34818 2011-08-29  Jiri Olsa <jolsa@redhat.com>
34819
34820         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34821         directive.
34822
34823 2011-08-24  David S. Miller  <davem@davemloft.net>
34824
34825         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34826
34827 2011-08-24  Andreas Schwab  <schwab@redhat.com>
34828
34829         * elf/Makefile: Add rules to build and run unload8 test.
34830         * elf/unload8.c: New file.
34831         * elf/unload8mod1.c: New file.
34832         * elf/unload8mod1x.c: New file.
34833         * elf/unload8mod2.c: New file.
34834         * elf/unload8mod3.c: New file.
34835
34836         * elf/dl-close.c (_dl_close_worker): Reset private search list if
34837         it wasn't used.
34838
34839 2011-08-23  David S. Miller  <davem@davemloft.net>
34840
34841         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34842         subtract stack bias.
34843         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34844         %sp not %fp in calculations.
34845         (_JMPBUF_UNWINDS_ADJ): Likewise.
34846
34847         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34848         (aio_suspend): Call it to force an exception region around the
34849         AIO_MISC_WAIT() invocation.
34850
34851 2011-08-23  Andreas Schwab  <schwab@redhat.com>
34852
34853         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34854         backslash.
34855
34856 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
34857
34858         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34859         protection macro.
34860         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34861         and <dl-machine.h>.
34862         (Elf64_FuncDesc): Remove.
34863
34864 2011-08-22  David S. Miller  <davem@davemloft.net>
34865
34866         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34867         sigaltstack check, add missing cfi directives.
34868         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34869         missing cfi directives, and sigaltstack handling.
34870
34871 2011-08-16  Andreas Schwab  <schwab@redhat.com>
34872
34873         [BZ #11724]
34874         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34875         object is seen twice.
34876         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34877
34878         * elf/Makefile (distribute): Add tst-initorder2.c.
34879         (tests): Add tst-initorder2.
34880         (modules-names): Add tst-initorder2a tst-initorder2b
34881         tst-initorder2c tst-initorder2d.  Add rules to build them.
34882         ($(objpfx)tst-initorder2.out): New rule.
34883         * elf/tst-initorder2.c: New file.
34884         * elf/tst-initorder2.exp: New file.
34885
34886 2011-08-22  Andreas Schwab  <schwab@redhat.com>
34887
34888         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34889
34890         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34891         dependencies back to end of function.
34892
34893         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34894         $(elfobjdir)/ld.so.
34895
34896 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
34897
34898         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34899         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34900         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34901         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34902         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34903         of __vdso_gettimeofday.
34904         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34905         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
34906         attribute_hidden.
34907         (_libc_vdso_platform_setup): Remove initialization of
34908         __vdso_gettimeofday and __vdso_time.
34909
34910 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34911
34912         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34913         and fgetc_unlocked.
34914         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34915         getc_unlocked.
34916
34917         * elf/dl-open.c (add_to_global): Report additions to the global scope
34918         for LD_DEBUG=scopes.
34919         (dl_open_worker): Also print scope of newly loaded dependencies.
34920         (_dl_show_scope): Indicate if there is no scope.
34921
34922         [BZ #13114]
34923         * stdio-common/Makefile (tests): Add bug24.
34924         * stdio-common/bug24.c: New file.
34925
34926 2011-08-19  Andreas Jaeger  <aj@suse.de>
34927
34928         [BZ #13114]
34929         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34930         non-existant file when using close-on-exec mode.
34931
34932 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34933
34934         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34935         the very first instruction.
34936
34937         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34938         the CFI state in the end.
34939         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34940         inclusion of dl-trampoline.h.
34941         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34942
34943 2011-08-19  Andreas Schwab  <schwab@redhat.com>
34944
34945         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34946         expectations for long double.
34947
34948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34949         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34950
34951 2011-08-14  David S. Miller  <davem@davemloft.net>
34952
34953         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34954         artificual limit depends upon the system page size.
34955
34956 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34957
34958         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34959         * resolv/Makefile: Define CFLAGS-libresolv.
34960
34961 2011-08-17  Andreas Schwab  <schwab@redhat.com>
34962
34963         * nss/makedb.c (compute_tables): Make variables used in nested
34964         function static.
34965
34966 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34967
34968         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34969         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34970         if buffer was too small.
34971
34972         * elf/pldd.c (main): Attach to all threads in the process.
34973         Rewrite /proc handling to use *at functions.
34974
34975 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
34976
34977         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34978         specifies first scope to show.
34979         (dl_open_worker): Update callers.  Move printing scope of new
34980         object to before the relocation.
34981         * elf/rtld.c (dl_main): Update _dl_show_scope call.
34982         * sysdeps/generic/ldsodefs.h: Update declaration.
34983
34984         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34985         string for the scope number.
34986
34987 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
34988
34989         * nscd/servicescache.c (cache_addserv): Make sure written is always
34990         initialized.
34991
34992 2011-08-14  Roland McGrath  <roland@hack.frob.com>
34993
34994         * sysdeps/i386/i486/bits/atomic.h
34995         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34996         statement expression, so as to suppress "set but not used" warning.
34997         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34998
34999         * string/strncat.c (STRNCAT): Use prototype definition.
35000
35001         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35002         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35003         -Iprograms here.
35004         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35005         (localedef-modules): Add localedef.
35006         (locale-modules): Add locale.
35007
35008         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35009         * elf/rtld.c (dl_main): Invert order of assignment in last change,
35010         to avoid a warning.
35011
35012 2011-08-14  David S. Miller  <davem@davemloft.net>
35013
35014         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35015         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35016
35017 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
35018
35019         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
35020         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35021         * elf/rtld.c (dl_main): Set l_name of vDSO.
35022         Call _dl_show_scope when DL_DEBUG_SCOPES.
35023         (process_dl_debug): Recognize scopes flag and also set it for all.
35024         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35025         Declare _dl_show_scope.
35026
35027         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35028         (do_dlopen): Pass caller_dlopen to dl_open.
35029         (__libc_dlopen_mode): Initialize caller_dlopen.
35030
35031         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35032         of libc.  Make tolower call locale-independent.  Optimize a bit by
35033         using isdigit instead of isalnum.
35034         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35035
35036 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
35037
35038         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35039         was a dependency or dynamically loaded.
35040
35041 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
35042
35043         * intl/l10nflist.c: Allow architecture-specific pop function.
35044         * sysdeps/x86_64/l10nflist.c: New file.
35045
35046         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35047         classification.
35048
35049 2011-08-10  Andreas Schwab  <schwab@redhat.com>
35050
35051         * include/dirent.h: Add libc_hidden_proto for scandirat and
35052         scandirat64.  Don't declare __scandirat64.
35053         * dirent/scandirat.c: Add libc_hidden_def.
35054         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35055         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35056
35057 2011-08-10  David S. Miller  <davem@davemloft.net>
35058
35059         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35060         enum.
35061         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35062         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35063         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35064
35065 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
35066
35067         * Versions.def [libc]: Add GLIBC_2.15.
35068         * dirent/Makefile (routines): Add scandirat and scandirat64.
35069         * dirent/Versions [libc]: Export scandirat and scandirat64 for
35070         GLIBC_2.15.
35071         * dirent/dirent.h: Declare scandirat and scandirat64.
35072         * dirent/scandirat.c: New file.
35073         * dirent/scandirat64.c: New file.
35074         * sysdeps/wordsize-64/scandirat.c: New file.
35075         * sysdeps/wordsize-64/scandirat64.c: New file.
35076         * dirent/opendir.c: Define opendirat.
35077         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
35078         using scandirat.
35079         * dirent/scandir64.c: Adjust for scandir.c change.
35080         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
35081         __scandirat64, and __scandir_cancel_handler.
35082         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
35083         additional parameter and use openat instead of open (outside of ld.so).
35084         Add new __opendir as wrapper around __opendirat.
35085         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35086         here without requiring old scandirat implementation.
35087
35088 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
35089
35090         * dirent/scandir.c (cancel_handler): Renamed to
35091         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
35092         defined.  Adjust users.
35093         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35094         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35095
35096 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
35097
35098         * string/test-string.h (IMPL): Use __STRING to expand name and then
35099         stringify it.
35100
35101         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
35102         of cleanups.
35103
35104 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35105
35106         * string/Makefile: Update.
35107         (strop-tests): Append strncat.
35108         * string/test-wcscmp.c: New file.
35109         New comprehensive test for wcscmp.
35110         * string/test-strcmp.c: Update.
35111         (WIDE): New define.
35112
35113 2011-07-22  Andreas Schwab  <schwab@redhat.com>
35114
35115         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35116         line.
35117
35118 2011-07-26  Andreas Schwab  <schwab@redhat.com>
35119
35120         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35121         encoding to ACE if AI_IDN.
35122
35123 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
35124
35125         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35126         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35127
35128 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35129
35130         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35131         Fix overflow bug in strncat.
35132         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35133
35134         * string/test-strncat.c: Update.
35135         Add new tests for checking overflow bugs.
35136
35137 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35138
35139         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35140         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35141         * sysdeps/i386/i686/multiarch/strcat.S: New file.
35142         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35143         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35144         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35145         * sysdeps/i386/i686/multiarch/strncat.S: New file.
35146         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35147         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35148
35149         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35150         (USE_AS_STRCAT): Define.
35151         Add strcat and strncat support.
35152         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35153
35154 2011-07-25  Andreas Schwab  <schwab@redhat.com>
35155
35156         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35157         __n bigger than INT_MAX+1.
35158         (__strncmp_g): Likewise.
35159
35160 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
35161
35162         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35163         * libio/stido.h: Likewise.
35164
35165         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35166         (AF_NFC): Define.
35167         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35168         (AF_NFC): Define.
35169
35170         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35171         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35172         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35173         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35174         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35175
35176         [BZ #13021]
35177         * scripts/test-installation.pl: Don't expect libnss_test1 to be
35178         installed.
35179
35180         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35181         typo.
35182         (_dl_x86_64_save_sse): Likewise.
35183
35184 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
35185
35186         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35187         OSXSAVE.
35188         (_dl_x86_64_save_sse): Likewise.
35189
35190         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35191
35192         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35193
35194 2011-07-21  Andreas Schwab  <schwab@redhat.com>
35195
35196         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35197         change.
35198         (_dl_x86_64_save_sse): Use correct AVX check.
35199
35200 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35201
35202         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35203         bug in strncpy/strncat.
35204         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35205
35206 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
35207
35208         * string/tester.c (test_strcat): Add tests for different alignments
35209         of source and destination.
35210         (test_strncat): Likewise.
35211
35212 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35213
35214         [BZ #12852]
35215         * posix/glob.c (glob): Check passed in values before using them in
35216         expressions to avoid some overflows.
35217         (glob_in_dir): Likewise.
35218
35219         [BZ #13007]
35220         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35221         check for AVX enablement so that we don't crash with old kernels and
35222         new hardware.
35223         * elf/tst-audit4.c: Add same checks here.
35224         * elf/tst-audit6.c: Likewise.
35225
35226         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35227
35228 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
35229
35230         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35231
35232 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35233
35234         * po/cs.po: Update from translation team.
35235         * po/bg.po: Likewise.
35236
35237 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
35238
35239         * misc/sys/cdefs.h: Add support for const attribute.
35240         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35241         to gnu_dev_{major,minor,makedev} functions.
35242
35243 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
35244
35245         * intl/dcigettext.c (get_output_charset): Add missing bracket.
35246
35247 2011-07-20  Andreas Schwab  <schwab@redhat.com>
35248
35249         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35250         strlen results.
35251
35252 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35253
35254         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35255         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35256         register in order to avoid conflicts with the soft frame pointer
35257         being held in r11 when necessary.
35258         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35259         (INTERNAL_VSYSCALL_NCS): Likewise.
35260
35261 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
35262
35263         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35264         * elf/dl-fini.c (_dl_fini): Adjust caller.
35265         * elf/dl-close.c (_dl_close_worker): Likewise.
35266         * sysdeps/generic/ldsodefs.h: Adjust declaration.
35267
35268 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35269
35270         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35271         "aux_cache->nlibs < 0".
35272
35273         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35274         in the reload-count case.
35275
35276 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35277
35278         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35279         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35280         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35281         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35282         * sysdeps/x86_64/multiarch/strcat.S: New file.
35283         * sysdeps/x86_64/multiarch/strncat.S: New file.
35284         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35285         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35286         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35287         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35288         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35289         (USE_AS_STRCAT): Define.
35290         Add strcat and strncat support.
35291         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35292         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35293         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35294         * string/strncat.c: Update.
35295         (USE_AS_STRNCAT): Define.
35296         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35297         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35298         and i7.
35299         * sysdeps/x86_64/multiarch/init-arch.h
35300         (bit_Prefer_PMINUB_for_stringop): New.
35301         (index_Prefer_PMINUB_for_stringop): Likewise.
35302         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35303         bit_Prefer_PMINUB_for_stringop.
35304
35305 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35306
35307         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35308         buffer64.
35309         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35310         of casting of buffer.
35311         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35312         buffer32 and buffer64.
35313         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35314         writes instead of casting of buffer.
35315         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35316         buffer32.
35317         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35318         casting of buffer.
35319
35320 2011-07-19  Andreas Schwab  <schwab@redhat.com>
35321
35322         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35323
35324 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35325
35326         * nscd/nscd.c (termination_handler): Don't do anything for a database
35327         if it has not yet been initialized.
35328
35329 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35330
35331         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35332
35333 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35334
35335         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35336
35337 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35338
35339         * po/nl.po: Update from translation team.
35340         * po/sv.po: Likewise.
35341
35342 2011-07-16  Roland McGrath  <roland@hack.frob.com>
35343
35344         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35345         now disallowed by GCC.
35346
35347         * configure.in (use-default-link): Default to yes if a test -shared
35348         link meets our qualifications.
35349         * configure: Regenerated.
35350
35351         * config.make.in (output-format): New variable.
35352         * configure.in: Check for ld --print-output-format support.
35353         * configure: Regenerated.
35354         * Makerules ($(common-objpfx)format.lds)
35355         [$(output-format) != unknown]: Just use $(output-format),
35356         instead of the linker-script munging.
35357
35358 2011-07-14  Roland McGrath  <roland@hack.frob.com>
35359
35360         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35361         of $(common-objpfx)shlib.lds.
35362         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35363
35364         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35365         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35366
35367         * configure.in (-z relro check): Adjust test code to add a large
35368         writable data section after it.
35369         * configure: Regenerated.
35370
35371 2011-07-11  Roland McGrath  <roland@hack.frob.com>
35372
35373         * configure.in (-z relro check): Fix test code to make the variable
35374         truly const.
35375         * configure: Regenerated.
35376
35377 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
35378
35379         * nscd/nscd.h (struct traced_file): Define.
35380         (struct database_dyn): Remove inotify_descr, reset_res, and filename
35381         elements.  Add traced_files.
35382         (inotify_fd): Declare.
35383         (register_traced_file): Declare.
35384         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35385         (inotify_fd): Export.
35386         (resolv_conf_descr): Remove.
35387         (nscd_init): Move inotify descriptor creation to main.
35388         Don't register files for notification here.
35389         (register_traced_file): New function.
35390         (invalidate_cache): Don't use reset_res to determine whether to call
35391         res_init, go through the list of registered files.
35392         (main_loop_poll): The inotify descriptors are now stored in the
35393         structures for the traced files.
35394         (main_loop_epoll): Likewise
35395         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
35396         to __nss_disable_nscd.
35397         * nscd/cache.c (prune_cache): There is no single inotify descriptor
35398         for a database anymore.  Check the records for all the registered
35399         files instead.
35400         * nss/Makefile (libnss_files-routines): Add files-init.
35401         (libnss_db-routines): Add db-init.
35402         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35403         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35404         * nss/nss_db/db-init.c: New file.
35405         * nss/nss_files/files-init.c: New file.
35406         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
35407         __nss_lookup_function.
35408         (__nss_lookup_function): Call nss_load_library.
35409         (nss_load_all_libraries): New function.
35410         (__nss_disable_nscd): Take parameter with callback function for files
35411         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
35412         used for the cached services.
35413         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35414         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35415         options for features to all the files in nscd.
35416
35417         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35418
35419 2011-07-10  Roland McGrath  <roland@hack.frob.com>
35420
35421         * csu/elf-init.c (__libc_csu_init): Comment typo.
35422
35423 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
35424
35425         * po/pl.po: Update from translation team.
35426         * po/ja.po: Likewise.
35427         * po/ru.po: Likewise.
35428         * po/ko.po: Likewise.
35429         * po/fr.po: Likewise.
35430
35431 2011-07-09  Roland McGrath  <roland@hack.frob.com>
35432
35433         * configure.in (.ctors/.dtors header and trailer check):
35434         Use an empirical test on a built program.
35435         * configure: Regenerated.
35436
35437         * configure.in (-z relro check): Use an empirical test on a built DSO.
35438         Detect, but do not require, on ia64.
35439         * configure: Regenerated.
35440
35441         * configure.in (READELF): Find it with AC_CHECK_TOOL.
35442         Update tests that use readelf to use $READELF instead.
35443         * configure: Regenerated.
35444
35445 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
35446
35447         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35448         if the result is not used.
35449
35450 2011-07-05  Andreas Jaeger  <aj@suse.de>
35451
35452         [BZ#9696]
35453         * stdlib/tst-strtod.c: Add testcase.
35454
35455 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
35456
35457         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35458         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35459         The latter has a higher limit.  Take additional parameter to pass to
35460         the new function.
35461         (__pathconf): Pass file to __statfs_link_max.
35462         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35463         __statfs_link_max.
35464         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35465         __statfs_link_max.
35466
35467         [BZ #12868]
35468         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35469         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35470         Handle Lustre.
35471         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35472         (__statfs_filesize_max): Likewise.
35473         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35474
35475 2011-07-05  Andreas Jaeger  <aj@suse.de>
35476
35477         * resolv/res_comp.c (dn_skipname): Remove unused variable.
35478
35479 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
35480
35481         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35482         `status' variable.
35483         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35484         Likewise.
35485
35486 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
35487
35488         * Makefile (strop-tests): Add strncat.
35489         * string/test-strncat.c: New file.
35490
35491 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
35492
35493         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35494
35495 2011-06-21  Andreas Jaeger  <aj@suse.de>
35496
35497         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35498         Copy rule from iconvdata/Makefile.
35499
35500 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35501
35502         [BZ #12922]
35503         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35504         but no long options are defined, just return 'W'.
35505
35506 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
35507
35508         [BZ #9696]
35509         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35510
35511 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35512
35513         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35514         netgroups to read.
35515         (innetgr): Likewise.
35516
35517 2011-07-05  Roland McGrath  <roland@hack.frob.com>
35518
35519         * config.make.in (install_root): Default to $(DESTDIR).
35520
35521 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
35522
35523         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35524
35525 2011-07-02  Roland McGrath  <roland@hack.frob.com>
35526
35527         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35528
35529         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35530         containing directory rather than embedding absolute directory names.
35531
35532         * scripts/check-local-headers.sh: Rewritten using awk.
35533         Match by word, not by line.  Print error messages for matches.
35534         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35535
35536         * Makerules [shlib-lds-flags empty]:
35537         ($(common-objpfx)libc_pic.opts): New target.
35538         ($(common-objpfx)libc_pic.os.clean): New target.
35539         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35540
35541         * config.make.in (OBJCOPY): New variable.
35542         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35543         * configure: Regenerated.
35544
35545         * config.make.in (use-default-link): New variable.
35546         * configure.in (use_default_link): Grok --with-default-link to set it.
35547         * configure: Regenerated.
35548         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35549         (shlib-lds, shlib-lds-flags): Define to empty.
35550
35551         * Makerules (shlib-lds): New variable.
35552         (shlib-lds-flags): New variable.
35553         (build-shlib, build-moduile, build-module-asneeded): Use it.
35554         ($(common-objpfx)libc.so): Use $(shlib-lds).
35555         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35556         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35557
35558         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35559         DT_FLAGS/DT_FLAGS_1 with zero flags.
35560
35561         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35562         linker script munging.
35563
35564 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
35565
35566         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35567         as 128-bit value.
35568         * crypt/sha512.c (sha512_process_block): Perform total addition using
35569         128-bit if possible.
35570         (__sha512_finish_ctx): Likewise.
35571         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35572         as 64-bit value.
35573         * crypt/sha256.c (SWAP64): Define.
35574         (sha256_process_block): Perform total addition using 64-bit if
35575         possible.
35576         (__sha256_finish_ctx): Likewise.
35577
35578 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
35579
35580         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
35581         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35582         * nscd/hstcache.c (cache_addhst): Likewise.
35583         * nscd/grpcache.c (cache_addgr): Likewise.
35584         * nscd/aicache.c (addhstaiX): Likewise
35585         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35586
35587 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
35588
35589         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35590         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35591         * nscd/hstcache.c (cache_addhst): Likewise.
35592         * nscd/grpcache.c (cache_addgr): Likewise.
35593         * nscd/aicache.c (addhstaiX): Likewise
35594
35595 2011-07-01  Andreas Schwab  <schwab@redhat.com>
35596
35597         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35598         domain only when needed.
35599
35600 2011-06-30  Andreas Schwab  <schwab@redhat.com>
35601
35602         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35603         is always restored.
35604
35605 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
35606
35607         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35608         are re-adding the entry.
35609         * nscd/servicescache.c (cache_addserv): Likewise.
35610
35611 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
35612
35613         * sysdeps/generic/dl-irel.h: fix protection against multiple
35614         inclusions.
35615         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35616
35617 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
35618
35619         [BZ #12935]
35620         * malloc/memusage.sh: Fix quoting in message.
35621         * debug/xtrace.sh: Likewise.
35622
35623         * configure.in: Remove support for --experimental-malloc option, make
35624         it the default.
35625         * config.make.in: Likewise.
35626         * malloc/Makefile: Likewise.
35627
35628 2011-06-27  Andreas Schwab  <schwab@redhat.com>
35629
35630         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35631         two-byte characters.
35632
35633 2011-06-27  Roland McGrath  <roland@hack.frob.com>
35634
35635         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35636         AC_CACHE_CHECK invocation.
35637         * configure: Regenerated.
35638
35639         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35640
35641 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
35642
35643         [BZ #12350]
35644         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
35645         bit from old_res_options.
35646
35647         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35648
35649         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35650         value type for setfct.
35651
35652 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
35653
35654         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35655         __gettimeofday instead of gettimeofday.
35656
35657 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
35658
35659         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35660
35661 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35662
35663         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35664
35665         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35666         info.
35667
35668 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35669
35670         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35671         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35672         strcpy-sse2-unaligned strncpy-sse2-unaligned
35673         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35674         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35675         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35676         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35677         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35678         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35679         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35680         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35681         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35682         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35683         (STRCPY): Support SSE2 and SSSE3 versions.
35684
35685 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
35686
35687         [BZ #12874]
35688         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35689         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35690         kernels which artificially limit size of requests.
35691
35692 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35693
35694         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35695         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35696         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35697         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35698         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35699         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35700         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35701         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35702         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35703         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35704         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35705         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35706         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35707         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35708         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35709         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35710         Enable unaligned load optimization for Intel Core i3, i5 and i7
35711         processors.
35712         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35713         Define.
35714         (index_Fast_Unaligned_Load): Define.
35715         (HAS_FAST_UNALIGNED_LOAD): Define.
35716
35717 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
35718
35719         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35720
35721 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35722
35723         [BZ #12907]
35724         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35725         until it is clear that the information is realy needed.
35726         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35727
35728 2011-06-22  Andreas Schwab  <schwab@redhat.com>
35729
35730         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35731
35732 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35733
35734         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35735         /sys/devices/system/cpu/online if it is usable.
35736
35737         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35738         reading the information from the /proc filesystem to once a second.
35739
35740 2011-06-21  Andreas Jaeger  <aj@suse.de>
35741
35742         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35743         NULL after inclusion of kernel headers.
35744
35745 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
35746
35747         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35748         calls to internal_setent.
35749
35750         [BZ #12885]
35751         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35752         addresses using gethostbyname4_r ignore IPv4 addresses.
35753
35754         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35755         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
35756
35757         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35758
35759 2011-06-20  David S. Miller  <davem@davemloft.net>
35760
35761         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35762         inclusions.
35763         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35764
35765         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35766         (elf_irel): Use it.
35767         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35768         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35769         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35770         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35771         * sysdeps/x86_64/dl-irel.h: Likewise.
35772
35773         * elf/dl-runtime.c: Use elf_ifunc_invoke.
35774         * elf/dl-sym.c: Likewise.
35775
35776 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35777
35778         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
35779         need to dereference resplen2.
35780
35781 2011-06-14  Andreas Schwab  <schwab@redhat.com>
35782
35783         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35784
35785 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35786
35787         * Makeconfig: Define vardbdir and inst_vardbdir.
35788         * nss/Makefile: Add rules to install db-Makefile.
35789
35790         * nss/nss_db/db-XXX.c: Cleanup.
35791
35792         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35793         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35794         GLIBC_PRIVATE.
35795         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35796         * nss/makedb.c: Implement -g option to specify that value strings
35797         are generated and should not be added to table iterated over for
35798         get*ent calls.
35799         * nss/nss_db/db-initgroups.c: New file.
35800
35801         * nss/getent.c: Add support for initgroups lookups through getgrouplist
35802         interface.
35803
35804         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35805         (internal_getgrouplist): Adjust to name change.
35806         Update use_initgroups_entry if this is not the first call.
35807         * nss/databases.def: Add initgroups entry.
35808
35809         * nss/makedb.c (compute_tables): Check result of multiple hash table
35810         sizes to minimize maximum chain length.
35811
35812 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
35813
35814         * Versions.def: Add entry for libnss_db.
35815         * shlib-versions: Likewise.
35816         * nss/Makefile: Add rules to build libnss_db.
35817         * nss/Versions: Add libnss_db information.  Organize libnss_files
35818         entries better.
35819         * nss/db-Makefile: Add gshadow support.  Change rules for the new
35820         makedb progra.  Some minor improvements to generate smaller files.
35821         * nss/nss_db/nss_db.h: Move NSS database header data structures to
35822         here from...
35823         * nss/makedb.c: ...here.
35824         Improve database format to be smaller and require less memory at
35825         runtime.
35826         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
35827         db anymore.
35828         * nss/nss_db/db-netgrp.c: Likewise.
35829         * nss/nss_db/db-open.c: Likewise.
35830         * nss/nss_files/flies-XXX.x: Adjust comments.
35831         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35832         * nss/nss_files/files-grp.c: Likewise.
35833         * nss/nss_files/files-hosts.c: Likewise.
35834         * nss/nss_files/files-network.c: Likewise.
35835         * nss/nss_files/files-proto.c: Likewise.
35836         * nss/nss_files/files-pwd.c: Likewise.
35837         * nss/nss_files/files-rpc.c: Likewise.
35838         * nss/nss_files/files-service.c: Likewise.
35839         * nss/nss_files/files-sgrp.c: Likewise.
35840         * nss/nss_files/files-spwd.c: Likewise.
35841         * nss/nss_db/db-alias.c: Removed.
35842         * nss/nss_db/dummy-db.h: Removed.
35843
35844 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
35845
35846         * nss/makedb.c: Rewritten to not use database library.
35847         * nss/Makefile: Update to build new makedb program.
35848
35849 2011-06-14  Andreas Jaeger  <aj@suse.de>
35850
35851         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35852         memset declaration.
35853
35854 2011-06-10  Andreas Schwab  <schwab@redhat.com>
35855
35856         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35857         tmpbuf.
35858
35859 2011-06-10  Roland McGrath  <roland@hack.frob.com>
35860
35861         * Makerules (shlib.lds): Fail if the linker script comes out empty.
35862         * elf/Makefile ($(objpfx)ld.so): Likewise.
35863
35864         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35865         Don't list ld.so twice in dependencies.
35866
35867         * posix/bug-regex31.c: Include <stdlib.h>.
35868
35869         * nscd/hstcache.c (cache_addhst): Remove unused variable.
35870
35871         * nis/nss_compat/compat-spwd.c
35872         (getspent_next_nss_netgr): Remove unused variable.
35873         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35874
35875         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35876         nonmembers" output to use the right array.
35877
35878         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35879
35880         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35881
35882         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35883         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35884         * catgets/gencat.c (read_input_file): Likewise.
35885         * locale/programs/locarchive.c (enlarge_archive): Likewise.
35886
35887         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35888         variable definition inside #if's controlling its use.
35889
35890         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35891
35892         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35893
35894         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35895
35896         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35897         unreachable code.
35898
35899         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35900
35901         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35902         * configure: Regenerated.
35903
35904         * Makerules: Revert last change.
35905         * elf/Makefile: Likewise.
35906
35907 2011-06-09  Roland McGrath  <roland@hack.frob.com>
35908
35909         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35910         * elf/Makefile ($(objpfx)librtld.os): Likewise.
35911         (reloc-link): Likewise.
35912
35913 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
35914
35915         * elf/Makefile: Add rules to build pldd.
35916         * elf/pldd.c: New file.
35917         * elf/pldd-xx.c: New file.
35918
35919 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
35920
35921         * version.h: Update for 2.15 development version.
35922
35923 2011-06-07  David S. Miller  <davem@davemloft.net>
35924
35925         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35926         ifuncs.
35927         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35928         elf_machine_lazy_rel): Likewise.
35929         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35930         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35931         elf_machine_lazy_rel): Likewise.
35932         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35933         dl_hwcap via passed in argument.
35934         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35935         Likewise.
35936
35937 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35938
35939         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
35940
35941 2011-06-06  Roland McGrath  <roland@hack.frob.com>
35942
35943         [BZ #12849]
35944         * manual/fdl-1.1.texi: New file, verbatim from:
35945         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35946         * manual/lgpl-2.1.texi: New file, verbatim from:
35947         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35948         * manual/Makefile (licenses): New variable, list those new file names.
35949         (texis): Use it.
35950         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35951
35952         * manual/fdl.texi: File removed.
35953         * manual/lesser.texi: File removed.
35954         * manual/libc.texinfo (Copying, Documentation License):
35955         Use new @include file names, put @appendix directive before @include.
35956
35957 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
35958
35959         [BZ #12841]
35960         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35961         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35962         (mq_open): Add __NTH.
35963
35964 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
35965
35966         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35967         Assume Intel Core i3/i5/i7 processor if AVX is available.
35968
35969 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35970
35971         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35972         typo.
35973
35974 2011-05-31  Andreas Schwab  <schwab@redhat.com>
35975
35976         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35977         memory.  Use alloca_account.  Fix memory leak when retrying.
35978
35979 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35980
35981         * version.h (RELEASE): Bump for 2.14 release.
35982         * include/features.h (__GLIBC_MINOR__): Bump to 14.
35983
35984         * config.make.in (RANLIB): Remove entry.
35985
35986 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
35987
35988         * po/Makefile (po-sed-cmd): Add ksh to extensions.
35989         (libc.pot): Work around missing support for .ksh extension in xgettext.
35990
35991         [BZ #12684]
35992         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35993         if both request failed.
35994         (send_dg): In case of server errors clear resplen or *resplen2.
35995
35996         [BZ #12454]
35997         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35998         when there are multiple maps.
35999         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36000         (_dl_fini): Remove test here.
36001
36002         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36003
36004 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
36005
36006         [BZ #12350]
36007         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36008         bit from old_res_options.
36009         (gaih_inet): Likewise.
36010
36011         [BZ #11099]
36012         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
36013         as signed.
36014
36015         * resolv/res_init.c (res_setoptions): Make the code more compact.
36016
36017         [BZ #11558]
36018         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36019         set RES_USEVC.
36020
36021         [BZ #11634]
36022         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36023
36024         * malloc/malloc.h: Mark malloc hook variables as deprecated.
36025
36026         [BZ #11781]
36027         * malloc/malloc.h: Declare malloc hook variables as volatile.
36028
36029         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36030         in last patch.
36031
36032         [BZ #11799]
36033         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
36034         raise in the comment.
36035         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36036         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36037         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36038
36039 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
36040
36041         [BZ #12811]
36042         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36043         grow the buffers more if it already has to be sufficient.
36044         (build_wcs_upper_buffer): Likewise.
36045         * posix/regexec.c (check_matching): Likewise.
36046         (clean_state_log_if_needed): Likewise.
36047         (extend_buffers): Don't enlarge buffers beyond size of the input
36048         buffer.
36049         Patches mostly by Emil Wojak <emil@wojak.eu>.
36050         * posix/bug-regex32.c: New file.
36051         * posix/Makefile (tests): Add bug-regex32.
36052
36053         * locale/findlocale.c (_nl_find_locale): Return right away if
36054         _nl_explode_name failed.
36055         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36056
36057         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36058
36059         * debug/xtrace.sh: Unify messages.
36060         * malloc/memusage.sh: Likewise.
36061
36062         [BZ #12813]
36063         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36064         time symbol from vDSO.  Substitute with vsyscall if not available.
36065         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36066         __vdso_time.
36067
36068         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36069         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36070         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36071         Add sendmmsg and internal_sendmmsg.
36072         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36073         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36074         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36075
36076         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36077         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36078         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36079
36080 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
36081
36082         [BZ #12813]
36083         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36084         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
36085         available.
36086         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36087         __vdso_getcpu.
36088
36089         [BZ #12814]
36090         * iconvdata/Makefile (tests): Add bug-iconv9.
36091         * iconvdata/bug-iconv9.c: New file.
36092
36093 2011-05-27  Andreas Schwab  <schwab@redhat.com>
36094
36095         [BZ #12814]
36096         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36097
36098 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
36099
36100         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36101         (struct user_regs_struct): Change intcs field back to cs.
36102
36103 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
36104
36105         * po/ja.po: Update from translation team.
36106
36107 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
36108
36109         [BZ #12795]
36110         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36111         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36112
36113 2011-05-20  Andreas Schwab  <schwab@redhat.com>
36114
36115         * stdlib/longlong.h: Update from GCC.
36116
36117 2011-05-23  Andreas Schwab  <schwab@redhat.com>
36118
36119         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36120         parameter name.
36121         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36122         Add parameter name.
36123         (__sysconf): Pass it down.
36124
36125 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
36126
36127         [BZ #12671]
36128         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36129         some situations.
36130         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36131         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36132         add in in __libc_use_alloca calls.  Adjust callers.
36133         (glob): Use malloc in some situations.
36134
36135         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36136         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36137         pltexit.
36138
36139 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
36140
36141         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36142         and CLOCK_BOOTTIME_ALARM.
36143
36144         [BZ #12782]
36145         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36146         is returned.
36147
36148         * string/_strerror.c (__strerror_r): Print negative errors as signed
36149         numbers.
36150
36151         [BZ #12777]
36152         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36153         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36154         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36155
36156         * configure.in: Fix typo in redirection and correct removal of test
36157         files in two cases.
36158
36159         [BZ #12788]
36160         * locale/setlocale.c (new_composite_name): Fix test to check for
36161         identical name of all categories.
36162
36163         [BZ #12792]
36164         * libio/filedoalloc.c (local_isatty): New function.
36165         (_IO_file_doallocate): Use local_isatty.
36166         * stdio-common/perror.c (perror): In case a new stream is used
36167         forward the stream error.
36168         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36169         error flag.
36170
36171 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
36172
36173         [BZ #11869]
36174         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36175         alloca.
36176         * include/alloca.h (extend_alloca_account): Define.
36177
36178         [BZ #11857]
36179         * posix/regex.h: Fix comments with documentation of user-accessible
36180         fields after compilation and describe correct free'ing of pattern
36181         after re_compile_pattern.
36182         Patch by Reuben Thomas <rrt@sc3d.org>.
36183
36184 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
36185
36186         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36187         and -mno-altivec to prevent the compiler from using Altivec and/or
36188         VSX instructions when the corresponding registers are not available.
36189
36190 2011-05-19  Andreas Schwab  <schwab@redhat.com>
36191
36192         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36193
36194 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
36195
36196         * libio/freopen.c (freopen): Use __dup2, not dup2.
36197         * libio/freopen64.c (freopen64): Likewise.
36198
36199 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36200
36201         [BZ #12775]
36202         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36203         * math/Makefile (tests): Add test-powl.
36204         (CFLAGS-test-powl.c): Define.
36205         * math/test-powl.c: New file.
36206
36207 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36208
36209         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36210
36211 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
36212
36213         [BZ #11837]
36214         * iconvdata/gb18030.c: Update to GB18020-2005.
36215
36216 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
36217
36218         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36219         RE_SYNTAX_POSIX_AWK): Update to match recent development.
36220         Patch by Aharon Robbins <arnold@skeeve.com>.
36221
36222         [BZ #11892]
36223         * stdlib/putenv.c (putenv): Don't always create copy of the variable
36224         on the stack.
36225
36226         [BZ #11895]
36227         * misc/pselect.c (__pselect): Handle timeout value errors hidden
36228         through underflows.
36229
36230         [BZ #12766]
36231         * misc/error.c (error_at_line): Ensure file_name and old_file_name
36232         point to strings before performing equality test for error_one_per_line
36233         mode.
36234
36235         [BZ #11697]
36236         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36237
36238         [BZ #11820]
36239         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36240         (struct user_fpregs_struct): Avoid __uint*_t types.
36241
36242         [BZ #6420]
36243         * malloc/mtrace.c (tr_where): Add additional parameter to point to
36244         symbol info.  Use it instead of calling _dl_addr locally.
36245         (lock_and_info): New function.
36246         (tr_freehook): Call lock_and_info and pass symbol info as additional
36247         parameter to tr_where.
36248         (tr_mallochook): Likewise.
36249         (tr_reallochook): Likewise.
36250         (tr_memalignhook): Likewise.
36251
36252         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
36253         used and couldn't be at all thread-safe.
36254
36255 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
36256
36257         * libio/freopen.c (freopen): Don't close old file descriptor
36258         before the new one is opened.  Instead dup the new file descriptor
36259         to the old one after the new stream is created.
36260         * libio/freopen64.c (freopen64): Likewise.
36261         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36262         * libio/fileops.c (_IO_new_file_close_it): Handle new
36263         _IO_FLAGS2_NOCLOSE flag.
36264         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36265         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36266         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36267         _IO_FLAGS2_NOCLOSE flag.
36268         * include/unistd.h: Add hidden_proto for dup3.
36269         Define __have_dup3.
36270         * io/dup3.c: Define hidden symbol.
36271         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36272
36273         [BZ #7101]
36274         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36275         when an incomplete long option is used.
36276         * posix/tst-getopt_long1.c: New file.
36277         * posix/Makefile (tests): Add tst-getopt_long1.
36278
36279         [BZ #10138]
36280         * scripts/config.guess: Update from autoconf-2.68.
36281         * scripts/config.sub: Likewise.
36282
36283         [BZ #10157]
36284         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36285         tests into ...
36286         (has_cpuclock): ...this.  New function.
36287         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36288         macro here based on has_cpuclock code.
36289
36290         [BZ #10149]
36291         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36292         First byte (not low byte) is now always NUL.
36293         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36294
36295         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36296         Use non-cancelable interfaces.
36297
36298         [BZ #9809]
36299         * locale/iso-639.def: Add entry for Sorani.
36300
36301         [BZ #11901]
36302         * include/stdlib.h: Move include protection to the right place.
36303         Define abort_msg_s.  Declare __abort_msg with it.
36304         * stdlib/abort.c (__abort_msg): Adjust type.
36305         * assert/assert.c (__assert_fail_base): New function.  Majority
36306         of code from __assert_fail.  Allocate memory for __abort_msg with
36307         mmap.
36308         (__assert_fail): Now call __assert_fail_base.
36309         * assert/assert-perr.c: Remove bulk of implementation.  Use
36310         __assert_fail_base.
36311         * include/assert.hL Declare __assert_fail_base.
36312         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36313         mmap.
36314         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36315
36316 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
36317
36318         [BZ #11952]
36319         [BZ #12453]
36320         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36321         until all modules are registered in the DTV.
36322         * elf/Makefile: Add rules to build and run tst-tls19.
36323         * elf/tst-tls19.c: New file.
36324         * elf/tst-tls19mod1.c: New file.
36325         * elf/tst-tls19mod2.c: New file.
36326         * elf/tst-tls19mod3.c: New file.
36327         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36328
36329         [BZ #12083]
36330         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36331         correctly.
36332
36333         [BZ #12601]
36334         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36335         two-byte sequence errors.
36336         * iconvdata/Makefile (tests): Add bug-iconv8.
36337         * iconvdata/bug-iconv8.c: New file.
36338
36339         [BZ #12626]
36340         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36341         buf2 definition.
36342
36343         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36344
36345         [BZ #12432]
36346         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36347         (dummy_getcfa): New function.
36348         (init): Get _Unwind_GetCFA address, use dummy if not found.
36349         (backtrace_helper): In recursion check, also check whether CFA changes.
36350         (__backtrace): Completely initialize arg.
36351
36352         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36353         storing incomplete byte sequence in state object.  Avoid testing for
36354         guaranteed too small input if we know there is enough data available.
36355
36356 2011-05-11  Andreas Schwab  <schwab@redhat.com>
36357
36358         * Makeconfig (+link-pie): Indent.
36359         * Rules (binaries-pie): Define if $(have-fpie) and
36360         $(build-shared).
36361         (binaries-shared): Also filter out $(binaries-pie).
36362         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36363         * nscd/Makefile (others-pie): Add nscd.
36364         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36365         ($(objpfx)nscd): Remove command override.
36366         * login/Makefile (others-pie): Add pt_chown.
36367         ($(objpfx)pt_chown): Remove command override.
36368         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36369         remove command overrides.
36370
36371 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
36372
36373         * libio/tst_putwc.c: Fix error messages.
36374
36375         [BZ #12724]
36376         * libio/fileops.c (_IO_new_file_close_it): Always flush when
36377         currently writing and seek to current position when not.
36378         * libio/Makefile (tests): Add bug-fclose1.
36379         * libio/bug-fclose1.c: New file.
36380
36381 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
36382
36383         [BZ #12511]
36384         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36385         don't set DF_1_NODELETE here.
36386         (do_lookup_x): When entering new entry test for copy relocation
36387         and if necessary set DF_1_NODELETE flag.
36388         * elf/tst-unique4.cc: New file.
36389         * elf/tst-unique4.h: New file.
36390         * elf/tst-unique4lib.cc: New file.
36391         * elf/Makefile: Add rules to build and run tst-unique4.
36392         Patch by Piotr Bury <pbury@goahead.com>.
36393
36394 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
36395
36396         [BZ #12052]
36397         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36398
36399         [BZ #12625]
36400         * misc/mntent_r.c (addmntent): Flush the stream after the output
36401
36402         [BZ #12393]
36403         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36404         (is_trusted_path_normalize): Skip initial colon.  Append slash
36405         to empty buffer.  Duplicate is_trusted_path code but allow
36406         constructed patch to be prefix.
36407         (is_dst): Allow $ORIGIN followed by /.
36408         (_dl_dst_substitute): Correct clearing of check_for_trusted.
36409         Correct testing of result of is_trusted_path_normalize
36410         (decompose_rpath): Fix warning.
36411
36412 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
36413
36414         [BZ #11257]
36415         * grp/initgroups.c (internal_getgrouplist): When we found the service
36416         list through the initgroups entry in nsswitch.conf do not always
36417         continue on a successful lookup.  Don't always use the
36418         __nss_group_database value if it is set.
36419         * nss/nsswitch.conf (initgroups): Change action for successful db
36420         lookup to continue for compatibility.
36421
36422 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
36423
36424         [BZ #11532]
36425         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36426         and CP774 modules.
36427         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36428         and CP774 modules.
36429         * iconvdata/tst-tables.sh: Likewise.
36430         * iconvdata/cp770.c: New file.
36431         * iconvdata/cp771.c: New file.
36432         * iconvdata/cp772.c: New file.
36433         * iconvdata/cp773.c: New file.
36434         * iconvdata/cp774.c: New file.
36435         * iconvdata/testdata/CP770: New file.
36436         * iconvdata/testdata/CP770..UTF8: New file.
36437         * iconvdata/testdata/CP771: New file.
36438         * iconvdata/testdata/CP771..UTF8: New file.
36439         * iconvdata/testdata/CP772: New file.
36440         * iconvdata/testdata/CP772..UTF8: New file.
36441         * iconvdata/testdata/CP773: New file.
36442         * iconvdata/testdata/CP773..UTF8: New file.
36443         * iconvdata/testdata/CP774: New file.
36444         * iconvdata/testdata/CP774..UTF8: New file.
36445
36446         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36447         END CHARMAP line.
36448         * iconvdata/gen-8bit-gap.sh: Likewise.
36449         * iconvdata/gen-8bit.sh: Likewise.
36450
36451         * locale/iso-639.def: Add ary entry.
36452
36453         [BZ #11258]
36454         * locale/C-translit.h.in: Add U20A1 transliteration.
36455
36456         [BZ #12178]
36457         * locale/iso-639.def: Add wae entry.
36458         Patch by Kevin Bortis <bortis@translate-wae.ch>.
36459
36460         [BZ #12545]
36461         * locale/programs/localedef.c (construct_output_path): Use ssize_t
36462         for n.
36463
36464         [BZ #12711]
36465         * locale/C-translit.h.in: Add entry for U20B9.
36466         Patch by pravin.d.s@gmail.com.
36467
36468 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
36469
36470         [BZ #12713]
36471         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36472         ENAMETOOLONG use generic getcwd.
36473         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
36474         in rtld.  Use *stat64.
36475         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36476         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36477         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36478         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36479         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36480         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36481         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36482         __fstatat64 macros.
36483         * include/dirent.h: Add libc_hidden_proto for rewinddir.
36484         * dirent/rewinddir.c: Add libc_hidden_def.
36485         * sysdeps/mach/hurd/rewinddir.c: Likewise.
36486         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
36487
36488         * include/dirent.h (__alloc_dir): Add flags parameter.
36489         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36490         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36491         __alloc_dir.
36492         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
36493         from fdopendir if O_CLOEXEC is already set.
36494
36495 2011-03-15  Alan Modra  <amodra@gmail.com>
36496
36497         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36498         l_tls_firstbyte_offset non-zero.  Save padding offset in
36499         l_tls_firstbyte_offset for later use.
36500         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36501         freeing static tls block.
36502
36503 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
36504
36505         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36506         where #ifdef was intended.  The intent is to prevent ARG_MAX from
36507         being defined by the kernel headers.
36508
36509 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
36510
36511         [BZ #12734]
36512         * resolv/resolv.h: Define RES_NOTLDQUERY.
36513         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36514         no-tld-query and set RES_NOTLDQUERY.
36515         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36516         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36517         modern BIND to search name as TLD unless forbidden.
36518
36519 2011-05-07  Petr Baudis  <pasky@suse.cz>
36520             Ulrich Drepper  <drepper@gmail.com>
36521
36522         [BZ #12393]
36523         * elf/dl-load.c (fillin_rpath): Move trusted path check...
36524         (is_trusted_path): ...to here.
36525         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36526         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36527         using is_trusted_path_normalize() in setuid scripts.
36528
36529 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36530
36531         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36532         __BEGIN/__END_DECLS.
36533
36534 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
36535
36536         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36537         NSS_STATUS_NOTFOUND if no record was found.
36538
36539 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36540
36541         * sunrpc/Makefile (headers): Add rpc/netdb.h.
36542         (headers-not-in-tirpc): Remove rpc/netdb.h
36543         * resolv/netdb.h: Revert last change.
36544
36545 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36546
36547         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36548         circular dependency between libgcc.a and libc.a.
36549
36550 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36551
36552         * resolv/netdb.h: Don't include <rpc/netdb.h>.
36553         * nis/Makefile: Don't install rpcsvc/*.
36554         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36555         instead of <rpc/types.h>.
36556         (MAXHOSTNAMELEN): Define.
36557
36558 2011-05-03  Andreas Schwab  <schwab@redhat.com>
36559
36560         * elf/ldconfig.c (add_dir): Don't crash on empty path.
36561
36562 2011-04-28  Maciej Babinski  <mbabinski@google.com>
36563
36564         [BZ #12714]
36565         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36566         gethostbyname4_r when IPv6 results are possible.
36567
36568 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
36569
36570         [BZ #12723]
36571         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36572         _PC_PIPE_BUF handling.
36573
36574 2011-04-30  Bruno Haible  <bruno@clisp.org>
36575
36576         [BZ #12717]
36577         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36578         * resolv/netdb.h (getnameinfo): Change type of flags parameter
36579         to 'int'.
36580         * inet/getnameinfo.c (getnameinfo): Likewise.
36581
36582 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
36583
36584         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36585         to groups setting in database lookup.
36586         * nss/nsswitch.conf: Add initgroups entry.
36587
36588 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
36589
36590         [BZ #12685]
36591         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36592         mode string.
36593         Patch by Eric Blake <eblake@redhat.com>.
36594
36595 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
36596
36597         * sunrpc/Makefile (need-export-routines): Add svc_run.
36598         (routines): Remove svc_run.
36599         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36600         * sunrpc/clnt_perr.c (clnt_perrno): Export.
36601         * sunrpc/svc_run.c (svc_run): Likewise.
36602         * sunrpc/svc_udp.c (svcudp_create): Likewise.
36603
36604 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
36605
36606         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36607         problem in reallocation in last patch.
36608
36609 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
36610
36611         * sunrpc/Makefile: Move inclusion of Rules.
36612
36613 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36614
36615         * nss/nss_files/files-initgroups.c: New file.
36616         * nss/Makefile (libnss_files-routines): Add files-initgroups.
36617         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36618         _nss_files_initgroups_dyn.
36619
36620 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
36621
36622         * elf/elf.h (R_ARM_IRELATIVE): Define.
36623
36624 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36625
36626         * po/ru.po: Update from translation team.
36627
36628 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36629
36630         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36631         dependencies.
36632
36633 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
36634
36635         [BZ #12653]
36636         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36637         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36638         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36639         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36640         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36641
36642 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
36643
36644         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36645         differing bytes.
36646         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36647         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36648         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36649
36650 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36651
36652         [BZ #12420]
36653         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36654         storing it.
36655         * stdlib/bug-getcontext.c: New file.
36656         * stdlib/Makefile: Add rules to build and run bug-getcontext.
36657
36658 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36659
36660         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36661         instructions into .machine "z9-109".
36662         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36663         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36664
36665 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36666
36667         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36668         between environment variables and auxiliary vector.
36669
36670 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
36671
36672         * Makefile: Add rules to build linkobj/libc.so.
36673         * include/libc-symbols.h: Define libc_hidden_nolink.
36674         * include/rpc/auth.h: Mark functions which are to be hidden.
36675         * include/rpc/auth_des.h: Likewise.
36676         * include/rpc/auth_unix.h: Likewise.
36677         * include/rpc/clnt.h: Likewise.
36678         * include/rpc/des_crypt.h: Likewise.
36679         * include/rpc/key_prot.h: Likewise.
36680         * include/rpc/pmap_clnt.h: Likewise.
36681         * include/rpc/pmap_prot.h: Likewise.
36682         * include/rpc/pmap_rmt.h: Likewise.
36683         * include/rpc/rpc_msg.h: Likewise.
36684         * include/rpc/svc.h: Likewise.
36685         * include/rpc/svc_auth.h: Likewise.
36686         * include/rpc/xdr.h: Likewise.
36687         * nis/Makefile: Link all DSOs against linkobj/libc.so.
36688         * nss/Makefile: Likewise.
36689         * sunrpc/Makefile: Don't install headers.  Build library with normal
36690         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
36691         * sunrpc/auth_des.c: Hide exported symbols by default, export some
36692         for the compat linking library.  Remove use of INTDEF/INTUSE.
36693         * sunrpc/auth_none.c: Likewise.
36694         * sunrpc/auth_unix.c: Likewise.
36695         * sunrpc/authdes_prot.c: Likewise.
36696         * sunrpc/authuxprot.c: Likewise.
36697         * sunrpc/clnt_gen.c: Likewise.
36698         * sunrpc/clnt_perr.c: Likewise.
36699         * sunrpc/clnt_raw.c: Likewise.
36700         * sunrpc/clnt_simp.c: Likewise.
36701         * sunrpc/clnt_tcp.c: Likewise.
36702         * sunrpc/clnt_udp.c: Likewise.
36703         * sunrpc/clnt_unix.c: Likewise.
36704         * sunrpc/des_crypt.c: Likewise.
36705         * sunrpc/des_soft.c: Likewise.
36706         * sunrpc/get_myaddr.c: Likewise.
36707         * sunrpc/key_call.c: Likewise.
36708         * sunrpc/key_prot.c: Likewise.
36709         * sunrpc/netname.c: Likewise.
36710         * sunrpc/pm_getmaps.c: Likewise.
36711         * sunrpc/pm_getport.c: Likewise.
36712         * sunrpc/pmap_clnt.c: Likewise.
36713         * sunrpc/pmap_prot.c: Likewise.
36714         * sunrpc/pmap_prot2.c: Likewise.
36715         * sunrpc/pmap_rmt.c: Likewise.
36716         * sunrpc/publickey.c: Likewise.
36717         * sunrpc/rpc_cmsg.c: Likewise.
36718         * sunrpc/rpc_common.c: Likewise.
36719         * sunrpc/rpc_dtable.c: Likewise.
36720         * sunrpc/rpc_prot.c: Likewise.
36721         * sunrpc/rpc_thread.c: Likewise.
36722         * sunrpc/rtime.c: Likewise.
36723         * sunrpc/svc.c: Likewise.
36724         * sunrpc/svc_auth.c: Likewise.
36725         * sunrpc/svc_authux.c: Likewise.
36726         * sunrpc/svc_raw.c: Likewise.
36727         * sunrpc/svc_run.c: Likewise.
36728         * sunrpc/svc_simple.c: Likewise.
36729         * sunrpc/svc_tcp.c: Likewise.
36730         * sunrpc/svc_udp.c: Likewise.
36731         * sunrpc/svc_unix.c: Likewise.
36732         * sunrpc/svcauth_des.c: Likewise.
36733         * sunrpc/xcrypt.c: Likewise.
36734         * sunrpc/xdr.c: Likewise.
36735         * sunrpc/xdr_array.c: Likewise.
36736         * sunrpc/xdr_float.c: Likewise.
36737         * sunrpc/xdr_intXX_t.c: Likewise.
36738         * sunrpc/xdr_mem.c: Likewise.
36739         * sunrpc/xdr_rec.c: Likewise.
36740         * sunrpc/xdr_ref.c: Likewise.
36741         * sunrpc/xdr_sizeof.c: Likewise.
36742         * sunrpc/xdr_stdio.c: Likewise.
36743
36744 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
36745
36746         [BZ #12650]
36747         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36748         * sysdeps/ia64/dl-tls.h: Likewise.
36749         * sysdeps/powerpc/dl-tls.h: Likewise.
36750         * sysdeps/s390/dl-tls.h: Likewise.
36751         * sysdeps/sh/dl-tls.h: Likewise.
36752         * sysdeps/sparc/dl-tls.h: Likewise.
36753         * sysdeps/x86_64/dl-tls.h: Likewise.
36754         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36755
36756 2011-03-14  Andreas Schwab  <schwab@redhat.com>
36757
36758         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36759         rpath element also skip the following colon.
36760         (expand_dynamic_string_token): Add is_path parameter and pass
36761         down to DL_DST_REQUIRED and _dl_dst_substitute.
36762         (decompose_rpath): Call expand_dynamic_string_token with
36763         non-zero is_path.  Ignore empty rpaths.
36764         (_dl_map_object_from_fd): Call expand_dynamic_string_token
36765         with zero is_path.
36766
36767 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
36768
36769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36770         Make cancelable.
36771
36772 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
36773
36774         [BZ #12655]
36775         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36776         Patch by Filipe David Manana <fdmanana@apache.org>.
36777
36778 2011-04-07  Andreas Schwab  <schwab@redhat.com>
36779
36780         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36781         Maintain aligned stack.
36782         (CHECK_RSP): Remove unused macro.
36783
36784 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
36785
36786         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36787         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36788
36789 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
36790
36791         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36792
36793         * include/features.h: Mention __USE_XOPEN2K8 in comment.
36794
36795 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
36796
36797         [BZ #12518]
36798         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36799         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36800         * sysdeps/x86_64/memmove.c: New file.
36801         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36802         (memcpy): Renamed to ...
36803         (__new_memcpy): This.
36804         (memcpy): Provide GLIBC_2_14 memcpy.
36805         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36806         (memcpy): Provide GLIBC_2_2_5 memcpy.
36807
36808 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36809
36810         [BZ #12631]
36811         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36812
36813 2011-03-30  Andreas Schwab  <schwab@redhat.com>
36814
36815         * misc/syncfs.c: New file.
36816         * misc/Makefile (routines): Add syncfs.
36817         * posix/unistd.h: Declare syncfs.
36818         * sysdeps/unix/syscalls.list: Add syncfs.
36819
36820 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36821
36822         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36823         open_by_handle_at.
36824         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36825         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36826         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36827         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36828         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36829         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36830         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36831
36832 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36833
36834         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36835         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36836         * sysdeps/unix/sysv/linux/powerpc/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
36842         * io/Makefile: Compile fallocate.c, fallocate64.c, and
36843         sync_file_range.c with -fexceptions.
36844         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36845         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36846         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36847         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36848         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36849         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36850         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36851         sync_file_range as cancellation point
36852         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
36853         now a wrapper around __call_sync_file_range with cancellation handling.
36854         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36855         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
36856         function name to __call_sync_file_range.
36857         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36858         Add call_sync_file_range.
36859
36860 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36861
36862         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36863         bits/timex.h.
36864
36865 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36866
36867         * iconv/iconv.h: Fix typo in comment.
36868         * io/fcntl.h: Likewise.
36869         * libio/stdio.h: Likewise.
36870         * posix/spawn.h: Likewise.
36871         * posix/unistd.h: Likewise.
36872         * stdlib/stdlib.h: Likewise.
36873         * time/time.h: Likewise.
36874         * wcsmbs/wchar.h: Likewise.
36875
36876         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36877         open_by_handle): Add.
36878         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36879         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
36880         Augment a few comments.
36881         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36882         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36883         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36884         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36885         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36886         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36887         open_by_handle.
36888
36889         * io/fcntl.h (AT_EMPTY_PATH): Define.
36890
36891 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
36892
36893         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36894         * sysdeps/unix/sysv/linux/bits/time.h: New file.
36895         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36896         to...
36897         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
36898         * Versions.def: Add GLIBC_2.14.
36899         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36900         Export.
36901
36902 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
36903
36904         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36905         round counter.
36906         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36907
36908 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36909
36910         [BZ #12597]
36911         * string/test-strncmp.c (do_page_test): New function.
36912         (check2): Likewise.
36913         (test_main): Call check2.
36914         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36915
36916 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
36917
36918         [BZ #12587]
36919         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36920         Handle cache information in CPU leaf 4.
36921         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36922
36923 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
36924
36925         [BZ #12583]
36926         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36927         character representation.
36928         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36929
36930 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
36931
36932         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36933         END(__isnan) to END(__isnanf) to match function entry point/label
36934         EALIGN(__isnanf,...).
36935
36936 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
36937
36938         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36939
36940 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
36941
36942         [BZ #12510]
36943         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36944         copy from the symbol referenced in the relocation to initialize the
36945         used variable.
36946         Patch by Piotr Bury <pbury@goahead.com>.
36947         * elf/Makefile: Add rules to build and tst-unique3.
36948         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36949         * elf/tst-unique3.cc: New file.
36950         * elf/tst-unique3.h: New file.
36951         * elf/tst-unique3lib.cc: New file.
36952         * elf/tst-unique3lib2.cc: New file.
36953
36954         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36955
36956 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
36957
36958         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36959         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
36960         to _start.
36961
36962 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
36963
36964         * elf/dl-load.c (_dl_map_object): If we are looking for the first
36965         to-be-loaded object along a path to loader is ld.so.
36966
36967 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36968             Ulrich Drepper  <drepper@gmail.com>
36969
36970         * sysdeps/x86_64/memset.S: After aligning destination, code
36971         branches to different locations depending on the value of
36972         misalignment, when multiarch is enabled. Fix this.
36973
36974 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36975
36976         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36977         Set _x86_64_preferred_memory_instruction for AMD processsors.
36978         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36979         Set bit_Prefer_SSE_for_memop for AMD processors.
36980
36981 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
36982
36983         * libio/fmemopen.c (fmemopen): Optimize a bit.
36984
36985 2011-03-03  Andreas Schwab  <schwab@redhat.com>
36986
36987         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36988
36989 2011-03-03  Roland McGrath  <roland@redhat.com>
36990
36991         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36992
36993 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
36994
36995         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36996         __bzero_ultra1 instead of __memset_ultra1.
36997
36998 2011-02-23  Andreas Schwab  <schwab@redhat.com>
36999             Ulrich Drepper  <drepper@gmail.com>
37000
37001         [BZ #12509]
37002         * include/link.h (struct link_map): Add l_orig_initfini.
37003         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37004         returning unsuccessfully.
37005         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37006         close of a file loaded at startup, restore the original l_initfini
37007         list.
37008         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37009         list, store the pointer.
37010         * elf/Makefile ($(objpfx)noload-mem): New rule.
37011         (noload-ENV): Define.
37012         (tests): Add $(objpfx)noload-mem.
37013         * elf/noload.c: Include <memcheck.h>.
37014         (main): Call mtrace.  Close all opened handles.
37015
37016 2011-02-17  Andreas Schwab  <schwab@redhat.com>
37017
37018         [BZ #12454]
37019         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37020         dependencies are missing.
37021
37022 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37023
37024         Fix __if_freereq crash: Unlike the generic version which uses free,
37025         Hurd needs munmap.
37026         * sysdeps/mach/hurd/ifreq.h: New file.
37027
37028 2011-01-27  Petr Baudis  <pasky@suse.cz>
37029             Ulrich Drepper  <drepper@gmail.com>
37030
37031         [BZ 12445]#
37032         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37033         to extend_alloca().
37034         * stdio-common/bug23.c: New file.
37035         * stdio-common/Makefile (tests): Add bug23.
37036
37037 2010-09-28  Andreas Schwab  <schwab@redhat.com>
37038             Ulrich Drepper  <drepper@gmail.com>
37039
37040         [BZ #12489]
37041         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37042         before performing relro protection.  At old place add assertion
37043         to make sure nothing changed.
37044
37045 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
37046             Glauber de Oliveira Costa  <glommer@gmail.com>
37047
37048         * elf/elf.h: Add new ARM TLS relocs.
37049
37050 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
37051
37052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37053         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37054         cast from r3.
37055         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
37056         'tests' variable.
37057         * sysdeps/wordsize-64/tst-writev.c: New file.
37058
37059 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
37060
37061         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37062         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37063         insns in _dl_start to prevent a TOC reference before relocs are
37064         resolved.
37065
37066 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
37067
37068         [BZ #12469]
37069         * Makeconfig: Remove RANLIB definition.
37070         * Makerules: Don't use RANLIB.
37071         * aclocal.m4: Remove ranlib test.
37072         * configure.in: No need to check for ranlib.
37073         * elf/rtld-Rules: Don't use RANLIB.
37074
37075 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37076
37077         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37078         protection macro.
37079         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37080         inclusion protection macro.
37081
37082         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37083         SIGRTMIN and SIGRTMAX and print information in that case only when
37084         SIGRTMIN is defined.
37085
37086 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
37087
37088         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37089         arginfo fn returning -1.
37090
37091         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37092         and thousands string is zero terminated.
37093
37094 2011-02-03  Andreas Schwab  <schwab@redhat.com>
37095
37096         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37097         sysdeps/unix/sysv/linux/bits/socket.h.
37098
37099 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37100
37101         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37102         (__CPU_COUNT): Remove old macros.
37103         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37104         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37105         (__CPU_ALLOC, __CPU_FREE): Add macros.
37106         (__sched_cpualloc, __sched_cpufree): Add declarations.
37107
37108 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
37109
37110         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37111         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37112         * nscd/aicache.c (addhstaiX): Return timeout of added value.
37113         (readdhstai): Return value of addhstaiX call.
37114         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37115         (addgrbyX): Return value returned by cache_addgr.
37116         (readdgrbyname): Return value returned by addgrbyX.
37117         (readdgrbygid): Likewise.
37118         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37119         (addpwbyX): Return value returned by cache_addpw.
37120         (readdpwbyname): Return value returned by addhstbyX.
37121         (readdpwbyuid): Likewise.
37122         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37123         (addservbyX): Return value returned by cache_addserv.
37124         (readdservbyname): Return value returned by addservbyX:
37125         (readdservbyport): Likewise.
37126         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37127         (addhstbyX): Return value returned by cache_addhst.
37128         (readdhstbyname): Return value returned by addhstbyX.
37129         (readdhstbyaddr): Likewise.
37130         (readdhstbynamev6): Likewise.
37131         (readdhstbyaddrv6): Likewise.
37132         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37133         (readdinitgroups): Return value returned by addinitgroupsX.
37134         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37135         (prune_cache): Keep track of timeout value of re-added entries.
37136         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37137         * nscd/nscd.h: Adjust prototypes of readd* functions.
37138
37139 2011-02-04  Roland McGrath  <roland@redhat.com>
37140
37141         * nis/nis_server.c (nis_servstate): Use the right name for 0.
37142         (nis_stats): Likewise.
37143         * nis/nis_modify.c (nis_modify): Likewise.
37144         * nis/nis_remove.c (nis_remove): Likewise.
37145         * nis/nis_add.c (nis_add): Likewise.
37146
37147         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37148
37149         * posix/fnmatch_loop.c: Add some consts.
37150
37151         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37152
37153 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
37154
37155         [BZ #12460]
37156         * config.make.in (config-cflags-novzeroupper): Define.
37157         * configure.in: Substitute libc_cv_cc_novzeroupper.
37158         * elf/Makefile (AVX-CFLAGS): Define.
37159         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37160         (CFLAGS-tst-auditmod4a.c): Likewise.
37161         (CFLAGS-tst-auditmod4b.c): Likewise.
37162         (CFLAGS-tst-auditmod6b.c): Likewise.
37163         (CFLAGS-tst-auditmod6c.c): Likewise.
37164         (CFLAGS-tst-auditmod7b.c): Likewise.
37165         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37166
37167 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
37168
37169         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37170         function to the callback.
37171         Patch partly by Jiri Olsa <jolsa@redhat.com>.
37172
37173 2011-02-02  Andreas Schwab  <schwab@redhat.com>
37174
37175         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37176         of errno.
37177
37178 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
37179
37180         [BZ #11724]
37181         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37182         of constructors.
37183         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37184         of destructors.
37185         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37186
37187         [BZ #11724]
37188         * elf/Makefile: Add rules to build and run new test.
37189         * elf/tst-initorder.c: New file.
37190         * elf/tst-initorder.exp: New file.
37191         * elf/tst-initordera1.c: New file.
37192         * elf/tst-initordera2.c: New file.
37193         * elf/tst-initordera3.c: New file.
37194         * elf/tst-initordera4.c: New file.
37195         * elf/tst-initorderb1.c: New file.
37196         * elf/tst-initorderb2.c: New file.
37197         * elf/tst-order-a1.c: New file.
37198         * elf/tst-order-a2.c: New file.
37199         * elf/tst-order-a3.c: New file.
37200         * elf/tst-order-a4.c: New file.
37201         * elf/tst-order-b1.c: New file.
37202         * elf/tst-order-b2.c: New file.
37203         * elf/tst-order-main.c: New file.
37204         New test case by George Gensure <werkt0@gmail.com>.
37205
37206 2010-10-01  Andreas Schwab  <schwab@redhat.com>
37207
37208         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37209         decoding ACE if AI_CANONIDN.
37210
37211 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
37212
37213         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37214
37215 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
37216
37217         * version.h (RELEASE): Bump for 2.13 release.
37218         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37219
37220         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37221
37222         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37223         MADV_NOHUGEPAGE.
37224         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37225         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37226         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37227         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37228         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37229         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37230
37231         * posix/getconf.c: Update copyright year.
37232         * catgets/gencat.c: Likewise.
37233         * csu/version.c: Likewise.
37234         * debug/catchsegv.sh: Likewise.
37235         * debug/xtrace.sh: Likewise.
37236         * elf/ldconfig.c: Likewise.
37237         * elf/ldd.bash.in: Likewise.
37238         * elf/sprof.c (print_version): Likewise.
37239         * iconv/iconv_prog.c: Likewise.
37240         * iconv/iconvconfig.c: Likewise.
37241         * locale/programs/locale.c: Likewise.
37242         * locale/programs/localedef.c: Likewise.
37243         * malloc/memusage.sh: Likewise.
37244         * malloc/mtrace.pl: Likewise.
37245         * nscd/nscd.c (print_version): Likewise.
37246         * nss/getent.c: Likewise.
37247
37248         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37249         PF_CAIF, and PF_ALG.
37250         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37251
37252 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
37253
37254         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37255         (modules-names): Use them.
37256         (ifunc-test-modules, ifunc-pie-tests): Define.
37257         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37258         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37259         (test-extras): Likewise.
37260         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37261         $(compile-command.c).
37262         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37263         (all-built-dso): Define.
37264         (check-textrel.out, check-execstack.out): Depend on it.
37265
37266         * configure.in: Don't override --enable-multi-arch.
37267
37268 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
37269
37270         [BZ #6812]
37271         * nscd/hstcache.c (tryagain): Define.
37272         (cache_addhst): Return tryagain not notfound for temporary errors.
37273         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37274         failed.
37275
37276 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
37277
37278         [BZ #10563]
37279         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37280         to make the syscall.
37281         * sysdeps/unix/sysv/linux/setgroups.c: New file.
37282
37283         [BZ #12378]
37284         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37285         and fall back to matching as normal character if the string ends before
37286         the matching ']' is found.  This is what POSIX requires.
37287         * posix/testfnm.c: Adjust test result.
37288         * posix/globtest.sh: Adjust test result.  Add new test.
37289         * posix/tst-fnmatch.input: Likewise.
37290         * posix/tst-fnmatch2.c: Add new test.
37291
37292 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
37293
37294         * elf/Makefile (check-execstack): Revert last change.  Depend on
37295         check-execstack.h.
37296         (check-execstack.h): New target.
37297         (generated): Add check-execstack.h.
37298         * elf/check-execstack.c: Include "check-execstack.h".
37299         (main): Revert last change.
37300         (handle_file): Return zero if GNU_STACK is absent and
37301         DEFAULT_STACK_PERMS doesn't include PF_X.
37302
37303 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
37304
37305         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37306         in child fails because the descriptor is already closed.
37307         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37308         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37309         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37310
37311         [BZ #12397]
37312         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37313         syscall.
37314
37315         [BZ #10484]
37316         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37317         temporary buffer used to handle multi lookups locally.
37318         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37319
37320 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37321
37322         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37323         loader is ld.so.
37324
37325 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
37326
37327         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37328         alignment for SSE2.
37329
37330 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37331
37332         [BZ #12394]
37333         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37334         characters.  When rounding increased number of integer digits recompute
37335         number of groups.
37336         * stdio-common/tst-grouping.c: New file.
37337         * stdio-common/Makefile: Add rules to build and run tst-grouping.
37338
37339 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
37340
37341         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37342         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
37343
37344         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37345         void.
37346         * bits/select.h: Likewise.
37347
37348 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
37349
37350         * po/ja.po: Update from translation team.
37351
37352 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
37353
37354         [BZ #11155]
37355         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37356         implementation just like for lxstat, fxstatat, et al.
37357
37358 2010-12-27  Jim Meyering  <meyering@redhat.com>
37359
37360         [BZ #12348]
37361         * posix/regexec.c (build_trtable): Return failure indication upon
37362         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
37363
37364 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
37365
37366         [BZ #12201]
37367         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37368         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37369         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37370         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37371
37372         [BZ #12207]
37373         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37374
37375         [BZ #12204]
37376         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37377         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37378
37379 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
37380
37381         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37382         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37383         script has SORT_BY_INIT_PRIORITY.
37384         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37385         NO_CTORS_DTORS_SECTIONS is defined.
37386         * elf/soinit.c: Likewise.
37387         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37388         NO_CTORS_DTORS_SECTIONS is defined.
37389         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37390         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37391         * sysdeps/sh/init-first.c: Likewise.
37392         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37393
37394 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
37395
37396         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37397         always use the slow path.
37398
37399 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
37400
37401         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37402         similar rule which adds the sysdep directories to the header search in
37403         order to pick up the correct platform stackinfo.h.
37404         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37405         perform test if it is, otherwise return successfully without testing.
37406         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37407         DEFAULT_STACK_PERMS define in stackinfo.h.
37408         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37409         defined in stackinfo.h.
37410         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37411         DEFAULT_STACK_PERMS defined in stackinfo.h.
37412         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37413         * sysdeps/ia64/stackinfo.h: Likewise.
37414         * sysdeps/s390/stackinfo.h: Likewise.
37415         * sysdeps/sh/stackinfo.h: Likewise.
37416         * sysdeps/sparc/stackinfo.h: Likewise.
37417         * sysdeps/x86_64/stackinfo.h: Likewise.
37418         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37419         PF_X for powerpc64.  Retain PF_X for powerpc32.
37420
37421 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
37422
37423         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37424         accurately.
37425         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37426         GETDENTS_64BIT_ALIGNED.
37427
37428 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
37429
37430         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37431
37432 2010-12-10  Andreas Schwab  <schwab@redhat.com>
37433
37434         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37435         _GNU_SOURCE.
37436
37437         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37438         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37439         Remove __restrict.
37440         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37441         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37442
37443 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
37444
37445         [BZ #11655]
37446         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37447         are initialized.
37448
37449 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
37450
37451         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37452
37453 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
37454
37455         * po/it.po: Update from translation team.
37456
37457 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
37458
37459         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37460         unused codes.
37461
37462 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
37463
37464         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37465
37466 2010-11-24  Andreas Schwab  <schwab@redhat.com>
37467
37468         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37469         specially.
37470         (gaih_getanswer_slice): Likewise.
37471
37472 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
37473
37474         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37475
37476 2010-05-31  Petr Baudis  <pasky@suse.cz>
37477
37478         [BZ #11149]
37479         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37480         silently even in the chroot mode.
37481
37482 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
37483
37484         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37485         last patch a bit.  Pretty printing
37486
37487 2010-05-31  Petr Baudis <pasky@suse.cz>
37488
37489         [BZ #10085]
37490         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37491         initialization of skip_initgroups_dyn.
37492
37493 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
37494
37495         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37496         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37497
37498 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
37499
37500         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37501
37502 2010-11-11  Andreas Schwab  <schwab@redhat.com>
37503
37504         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37505         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37506         (tst-fnmatch-ENV): Set MALLOC_TRACE.
37507         ($(objpfx)tst-fnmatch-mem): New rule.
37508         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37509         * posix/tst-fnmatch.c (main): Call mtrace.
37510
37511 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
37512
37513         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37514         Support Intel processor model 6 and model 0x2c.
37515
37516 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
37517
37518         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37519           signed comparison.
37520
37521 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
37522
37523         [BZ #12205]
37524         * string/test-strncasecmp.c (check_result): New function.
37525         (do_one_test): Use it.
37526         (check1): New function.
37527         (test_main): Use it.
37528         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37529         Support strcasecmp and strncasecmp.
37530
37531 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
37532
37533         [BZ #12194]
37534         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37535         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37536
37537 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
37538
37539         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37540         IFUNC support.
37541         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37542         memset-x86-64.
37543         * sysdeps/x86_64/multiarch/bzero.S: New file.
37544         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37545         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37546         * sysdeps/x86_64/multiarch/memset.S: New file.
37547         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37548         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37549         Set bit_Prefer_SSE_for_memop for Intel processors.
37550         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37551         Define.
37552         (index_Prefer_SSE_for_memop): Define.
37553         (HAS_PREFER_SSE_FOR_MEMOP): Define.
37554
37555 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
37556
37557         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37558         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37559
37560 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
37561
37562         [BZ #12191]
37563         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37564         (__x86_64_raw_data_cache_size_half): Likewise.
37565         (__x86_64_raw_shared_cache_size): Likewise.
37566         (__x86_64_raw_shared_cache_size_half): Likewise.
37567
37568         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37569         (__x86_64_raw_data_cache_size_half): Likewise.
37570         (__x86_64_raw_shared_cache_size): Likewise.
37571         (__x86_64_raw_shared_cache_size_half): Likewise.
37572         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37573         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37574         and __x86_64_raw_shared_cache_size_half.  Round
37575         __x86_64_data_cache_size_half, __x86_64_data_cache_size
37576         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37577         to multiple of 256 bytes.
37578
37579 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
37580
37581         [BZ #12167]
37582         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37583         of inacessible symlinks.  Verify result of symlink before returning it.
37584         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37585         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37586
37587 2010-10-28  Erich Ritz  <erichritz@gmail.com>
37588
37589         * math/math.h (isinf): Fix typo in comment.
37590
37591 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
37592
37593         * po/da.po: Update from translation team.
37594
37595 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
37596
37597         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37598         is added to the list.
37599
37600 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37601             Ulrich Drepper  <drepper@gmail.com>
37602
37603         * elf/dl-object.c (_dl_new_object): Don't append the new object to
37604         the global list here.  Move code to...
37605         (_dl_add_to_namespace_list): ...here.  New function.
37606         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37607         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37608         * elf/dl-load.c (lose): Don't remove the element from the list.
37609         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37610         (_dl_map_object): Likewise.
37611
37612 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
37613
37614         [BZ #12159]
37615         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37616         into all bytes of SSE register.
37617         Patch by Richard Li <richardpku@gmail.com>.
37618
37619 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
37620
37621         [BZ #12140]
37622         * malloc/malloc.c (_int_free): Fill correct number of bytes when
37623         perturbing.
37624
37625 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
37626
37627         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37628         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37629         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37630         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37632         submachine.
37633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37634
37635 2010-10-22  Andreas Schwab  <schwab@redhat.com>
37636
37637         * include/dlfcn.h (__RTLD_SECURE): Define.
37638         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
37639         mode & __RTLD_SECURE instead.
37640         (open_path): Rename preloaded parameter to secure.
37641         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37642         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37643         * elf/dl-deps.c (openaux): Likewise.
37644         * elf/rtld.c (struct map_args): Remove is_preloaded.
37645         (map_doit): Don't use it.
37646         (dl_main): Likewise.
37647         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37648         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37649
37650 2010-09-09  Andreas Schwab  <schwab@redhat.com>
37651
37652         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37653         (sysd-rules-targets): Remove duplicates.
37654         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37655         rtld-%.$o dependency.
37656
37657 2010-10-18  Andreas Schwab  <schwab@redhat.com>
37658
37659         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37660         _dl_map_object do it.
37661
37662 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
37663
37664         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37665         fast fma builtins, define the macros in the C99 standard.
37666         (FP_FAST_FMAF): Likewise.
37667         (FP_FAST_FMAL): Likewise.
37668         * sysdeps/x86_64/bits/mathdef.h: Likewise.
37669
37670         * bits/mathdef.h: Update copyright year.
37671         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37672
37673 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
37674
37675         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37676         builtins, define the macros in the C99 standard.
37677         (FP_FAST_FMAF): Likewise.
37678         (FP_FAST_FMAL): Likewise.
37679         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37680         multiply/add.
37681         (FP_FAST_FMAF): Likewise.
37682
37683 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
37684
37685         [BZ #3268]
37686         * math/libm-test.inc (fma_test): Some new testcases.
37687         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37688         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37689         y and infinite z.  Do multiplication by C already in long double.
37690         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37691         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37692         y and infinite z.  Do bitwise or of inexact bit into u.d.
37693         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37694         * sysdeps/i386/fpu/s_fmaf.S: Removed.
37695         * sysdeps/i386/fpu/s_fma.S: Removed.
37696         * sysdeps/i386/fpu/s_fmal.S: Removed.
37697
37698 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
37699
37700         [BZ #3268]
37701         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37702         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37703         computation is not scheduled after fetestexcept.  Fix value
37704         of minimum denormal long double.
37705
37706 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
37707
37708         [BZ #3268]
37709         * math/libm-test.inc (fma_test): Add some more tests.
37710         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37711         correctly.
37712
37713 2010-10-15  Andreas Schwab  <schwab@redhat.com>
37714
37715         * scripts/data/localplt-s390-linux-gnu.data: New file.
37716         * scripts/data/localplt-s390x-linux-gnu.data: New file.
37717
37718 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
37719
37720         [BZ #3268]
37721         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37722         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37723         instead of dbl-64.
37724         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37725         inlines.
37726         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37727         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37728         if one of x and y is very large and the other is subnormal.
37729         * sysdeps/s390/fpu/s_fmaf.c: New file.
37730         * sysdeps/s390/fpu/s_fma.c: New file.
37731         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37732         * sysdeps/powerpc/fpu/s_fma.S: New file.
37733         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37734         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37735         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37736
37737 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
37738
37739         [BZ #3268]
37740         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37741         fma tests.
37742         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37743         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37744         * sysdeps/i386/i686/multiarch/s_fma.c: Include
37745         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37746         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37747         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37748         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37749
37750 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
37751
37752         [BZ #12078]
37753         * posix/regcomp.c (parse_branch): One more memory leak plugged.
37754         * posix/bug-regex31.input: Add test case.
37755
37756 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37757
37758         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37759         * posix/bug-regex31.input: New file.
37760
37761         [BZ #12078]
37762         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37763         (parse_sub_exp): Fix last change, use postorder.
37764
37765         * posix/bug-regex31.c: New file.
37766         * posix/Makefile: Add rules to build and run bug-regex31.
37767
37768         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37769
37770         [BZ #12078]
37771         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37772
37773         [BZ #12108]
37774         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37775         to have entries in sys_siglist.
37776
37777         [BZ #12093]
37778         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37779         be NULL.
37780
37781 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
37782
37783         [BZ #3268]
37784         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37785         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37786         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37787         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37788         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37789         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37790         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37791         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37792         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37793         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37794         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37795         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37796         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37797         * math/ftestexcept.c (fetestexcept): Likewise.
37798         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37799         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37800         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37801         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37802         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37803         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37804         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37805
37806 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37807
37808         [BZ #12107]
37809         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37810         newline.
37811
37812 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
37813
37814         * string/bug-strstr1.c: New file.
37815         * string/Makefile: Add rules to build and run bug-strstr1.
37816
37817 2010-10-05  Eric Blake  <eblake@redhat.com>
37818
37819         [BZ #12092]
37820         * string/str-two-way.h (two_way_long_needle): Always clear memory
37821         when skipping input due to the shift table.
37822
37823 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
37824
37825         [BZ #12005]
37826         * malloc/mcheck.c: Handle large requests.
37827
37828         [BZ #12077]
37829         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37830         for strncmp and strncasecmp.
37831         * string/stratcliff.c: Add tests for strcmp and strncmp.
37832         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37833
37834 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37835
37836         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37837         __set_fpscr.
37838
37839 2010-09-30  Andreas Jaeger  <aj@suse.de>
37840
37841         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37842         (CGROUP_SUPER_MAGIC): Define.
37843         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37844         Handle btrfs and cgroup file systems.
37845         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37846         Likewise.
37847
37848 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
37849
37850         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37851         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37852
37853 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37854
37855         [BZ #12067]
37856         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37857         trying to locate the ELF header.
37858
37859 2010-09-27  Andreas Schwab  <schwab@redhat.com>
37860
37861         [BZ #11611]
37862         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37863         Mask out sign-bit copies when constructing f_fsid.
37864
37865 2010-09-24  Petr Baudis <pasky@suse.cz>
37866
37867         * debug/stack_chk_fail_local.c: Add missing licence exception.
37868         * debug/warning-nop.c: Likewise.
37869
37870 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
37871
37872         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37873         implementing getdents64 using getdents syscall, set d_type if
37874         __ASSUME_GETDENTS32_D_TYPE.
37875
37876 2010-09-16  Andreas Schwab  <schwab@redhat.com>
37877
37878         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37879         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37880
37881 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
37882
37883         [BZ #12037]
37884         * posix/unistd.h: Undo change of feature selection for ftruncate from
37885         2010-01-11.
37886
37887 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
37888
37889         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37890         detection.
37891
37892 2010-09-20  Andreas Schwab  <schwab@redhat.com>
37893
37894         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37895         fanotify_mark.
37896         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37897
37898 2010-09-14  Andreas Schwab  <schwab@redhat.com>
37899
37900         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37901         variables after CHECK_SP call.
37902         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37903
37904 2010-09-13  Andreas Schwab  <schwab@redhat.com>
37905             Ulrich Drepper  <drepper@redhat.com>
37906
37907         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37908         re-relocationg ld.so.
37909         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37910         _dl_init_paths call.
37911         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
37912         here anymore.
37913
37914 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
37915
37916         * resolv/res_init.c (__res_vinit): Count the default server we added.
37917
37918 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
37919             Ulrich Drepper  <drepper@redhat.com>
37920
37921         [BZ #11968]
37922         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37923         (____longjmp_chk): Use %ebx for saving value across system call.
37924         Add unwind info.
37925
37926 2010-09-06  Andreas Schwab  <schwab@redhat.com>
37927
37928         * manual/Makefile: Don't mix pattern rules with normal rules.
37929
37930 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37931
37932         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37933         operation.
37934         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37935         * libio/iofopncook.c (_IO_cookie_init): Likewise.
37936         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37937         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37938         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37939         Likewise.
37940
37941 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
37942
37943         [BZ #11979]
37944         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37945         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37946
37947 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
37948
37949         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37950         * sysdeps/x86_64/addmul_1.S: Likewise.
37951         * sysdeps/x86_64/lshift.S: Likewise.
37952         * sysdeps/x86_64/mul_1.S: Likewise.
37953         * sysdeps/x86_64/rshift.S: Likewise.
37954         * sysdeps/x86_64/sub_n.S: Likewise.
37955         * sysdeps/x86_64/submul_1.S: Likewise.
37956
37957 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37958
37959         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37960         Define __sched_param instead of SCHED_* and sched_param when
37961         <bits/sched.h> is included with __need_schedparam defined.
37962         * bits/sched.h [__need_schedparam]
37963         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37964         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37965         (__defined_schedparam): Define to 1.
37966         (__sched_param): New structure, identical to sched_param.
37967         (__need_schedparam): Undefine.
37968
37969 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
37970
37971         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37972         (epoll_create1): Declare.
37973
37974         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37975
37976 2010-08-31  Andreas Schwab  <schwab@redhat.com>
37977
37978         [BZ #7066]
37979         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37980         shifting retval into place.
37981
37982 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
37983
37984         * nis/rpcsvc/nis.h: Update copyright notice.
37985         * nis/rpcsvc/nis.x: Likewise.
37986         * nis/rpcsvc/nis_callback.h: Likewise.
37987         * nis/rpcsvc/nis_callback.x: Likewise.
37988         * nis/rpcsvc/nis_object.x: Likewise.
37989         * nis/rpcsvc/nis_tags.h: Likewise.
37990         * nis/rpcsvc/yp.h: Likewise.
37991         * nis/rpcsvc/yp.x: Likewise.
37992         * nis/rpcsvc/ypupd.h: Likewise.
37993         * nis/yp_xdr.c: Likewise.
37994         * nis/ypupdate_xdr.c: Likewise.
37995
37996         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
37997         mainly the body of pmap_getport.  Add parameters to specify timeouts.
37998         (pmap_getport): Use __libc_rpc_getport.
37999         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38000         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38001         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38002
38003 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
38004
38005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38006         fanotify_mark.
38007
38008 2010-08-27  Roland McGrath  <roland@redhat.com>
38009
38010         * sysdeps/i386/i686/multiarch/Makefile
38011         (CFLAGS-varshift.c): New variable.
38012
38013 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
38014
38015         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38016         * sysdeps/i386/i686/multiarch/varshift.c: New file.
38017
38018         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38019
38020         * sysdeps/x86_64/strlen.S: Minimal code improvement.
38021
38022 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
38023
38024         * sysdeps/x86_64/strlen.S: Unroll the loop.
38025         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38026         strlen-sse2 strlen-sse2-bsf.
38027         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38028         __strlen_no_bsf if bit_Slow_BSF is set.
38029         (__strlen_sse42): Removed.
38030         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38031         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38032
38033 2010-08-25  Roland McGrath  <roland@redhat.com>
38034
38035         * sysdeps/x86_64/multiarch/varshift.S: File removed.
38036         * sysdeps/x86_64/multiarch/varshift.c: New file.
38037         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38038         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38039         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38040         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38041
38042 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
38043
38044         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38045         strlen-sse2 strlen-sse2-bsf.
38046         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38047         __strlen_sse2_bsf if bit_Slow_BSF is unset.
38048         (__strlen_sse2): Removed.
38049         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38050         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38051         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38052         bit_Slow_BSF for Atom.
38053         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38054         (index_Slow_BSF): Define.
38055         (HAS_SLOW_BSF): Define.
38056
38057 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
38058
38059         [BZ #10851]
38060         * resolv/res_init.c (__res_vinit): When no server address at all
38061         is given default to loopback.
38062
38063 2010-08-24  Roland McGrath  <roland@redhat.com>
38064
38065         * configure.in: Remove config-name.h generation.
38066         * configure: Regenerated.
38067         * config-name.in: File removed.
38068         * scripts/config-uname.sh: New file.
38069         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38070         ($(objdir)config-name.h): New target.
38071
38072         * sunrpc/rpc_parse.h: Avoid nested comment.
38073
38074 2010-08-24  Richard Henderson  <rth@redhat.com>
38075             Ulrich Drepper  <drepper@redhat.com>
38076             H.J. Lu  <hongjiu.lu@intel.com>
38077
38078         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38079         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38080         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38081         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
38082         _mm_alignr_epi8 with _mm_loadu_si128.
38083         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38084         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38085         (__m128i_shift_right): Removed.
38086         * sysdeps/i386/i686/multiarch/varshift.h: New file.
38087         * sysdeps/i386/i686/multiarch/varshift.S: New file.
38088         * sysdeps/x86_64/multiarch/varshift.h: New file.
38089         * sysdeps/x86_64/multiarch/varshift.S: New file.
38090
38091 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
38092
38093         * configure.in: Move assembler checks to before sysdep dir checking.
38094
38095 2010-08-20  Petr Baudis  <pasky@suse.cz>
38096
38097         * LICENSES: Sync the sunrpc license.
38098
38099 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
38100
38101         * sunrpc/auth_des.c: Update copyright notice once again.
38102         * sunrpc/auth_none.c: Likewise.
38103         * sunrpc/auth_unix.c: Likewise.
38104         * sunrpc/authdes_prot.c: Likewise.
38105         * sunrpc/authuxprot.c: Likewise.
38106         * sunrpc/bindrsvprt.c: Likewise.
38107         * sunrpc/clnt_gen.c: Likewise.
38108         * sunrpc/clnt_perr.c: Likewise.
38109         * sunrpc/clnt_raw.c: Likewise.
38110         * sunrpc/clnt_simp.c: Likewise.
38111         * sunrpc/clnt_tcp.c: Likewise.
38112         * sunrpc/clnt_udp.c: Likewise.
38113         * sunrpc/clnt_unix.c: Likewise.
38114         * sunrpc/des_crypt.c: Likewise.
38115         * sunrpc/des_soft.c: Likewise.
38116         * sunrpc/get_myaddr.c: Likewise.
38117         * sunrpc/getrpcport.c: Likewise.
38118         * sunrpc/key_call.c: Likewise.
38119         * sunrpc/key_prot.c: Likewise.
38120         * sunrpc/openchild.c: Likewise.
38121         * sunrpc/pm_getmaps.c: Likewise.
38122         * sunrpc/pm_getport.c: Likewise.
38123         * sunrpc/pmap_clnt.c: Likewise.
38124         * sunrpc/pmap_prot.c: Likewise.
38125         * sunrpc/pmap_prot2.c: Likewise.
38126         * sunrpc/pmap_rmt.c: Likewise.
38127         * sunrpc/rpc/auth.h: Likewise.
38128         * sunrpc/rpc/auth_unix.h: Likewise.
38129         * sunrpc/rpc/clnt.h: Likewise.
38130         * sunrpc/rpc/des_crypt.h: Likewise.
38131         * sunrpc/rpc/key_prot.h: Likewise.
38132         * sunrpc/rpc/netdb.h: Likewise.
38133         * sunrpc/rpc/pmap_clnt.h: Likewise.
38134         * sunrpc/rpc/pmap_prot.h: Likewise.
38135         * sunrpc/rpc/pmap_rmt.h: Likewise.
38136         * sunrpc/rpc/rpc.h: Likewise.
38137         * sunrpc/rpc/rpc_des.h: Likewise.
38138         * sunrpc/rpc/rpc_msg.h: Likewise.
38139         * sunrpc/rpc/svc.h: Likewise.
38140         * sunrpc/rpc/svc_auth.h: Likewise.
38141         * sunrpc/rpc/types.h: Likewise.
38142         * sunrpc/rpc/xdr.h: Likewise.
38143         * sunrpc/rpc_clntout.c: Likewise.
38144         * sunrpc/rpc_cmsg.c: Likewise.
38145         * sunrpc/rpc_common.c: Likewise.
38146         * sunrpc/rpc_cout.c: Likewise.
38147         * sunrpc/rpc_dtable.c: Likewise.
38148         * sunrpc/rpc_hout.c: Likewise.
38149         * sunrpc/rpc_main.c: Likewise.
38150         * sunrpc/rpc_parse.c: Likewise.
38151         * sunrpc/rpc_parse.h: Likewise.
38152         * sunrpc/rpc_prot.c: Likewise.
38153         * sunrpc/rpc_sample.c: Likewise.
38154         * sunrpc/rpc_scan.c: Likewise.
38155         * sunrpc/rpc_scan.h: Likewise.
38156         * sunrpc/rpc_svcout.c: Likewise.
38157         * sunrpc/rpc_tblout.c: Likewise.
38158         * sunrpc/rpc_util.c: Likewise.
38159         * sunrpc/rpc_util.h: Likewise.
38160         * sunrpc/rpcinfo.c: Likewise.
38161         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38162         * sunrpc/rpcsvc/key_prot.x: Likewise.
38163         * sunrpc/rpcsvc/klm_prot.x: Likewise.
38164         * sunrpc/rpcsvc/mount.x: Likewise.
38165         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38166         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38167         * sunrpc/rpcsvc/rex.x: Likewise.
38168         * sunrpc/rpcsvc/rstat.x: Likewise.
38169         * sunrpc/rpcsvc/rusers.x: Likewise.
38170         * sunrpc/rpcsvc/sm_inter.x: Likewise.
38171         * sunrpc/rpcsvc/spray.x: Likewise.
38172         * sunrpc/rpcsvc/yppasswd.x: Likewise.
38173         * sunrpc/rtime.c: Likewise.
38174         * sunrpc/svc.c: Likewise.
38175         * sunrpc/svc_auth.c: Likewise.
38176         * sunrpc/svc_authux.c: Likewise.
38177         * sunrpc/svc_raw.c: Likewise.
38178         * sunrpc/svc_run.c: Likewise.
38179         * sunrpc/svc_simple.c: Likewise.
38180         * sunrpc/svc_tcp.c: Likewise.
38181         * sunrpc/svc_udp.c: Likewise.
38182         * sunrpc/svc_unix.c: Likewise.
38183         * sunrpc/svcauth_des.c: Likewise.
38184         * sunrpc/xcrypt.c: Likewise.
38185         * sunrpc/xdr.c: Likewise.
38186         * sunrpc/xdr_array.c: Likewise.
38187         * sunrpc/xdr_float.c: Likewise.
38188         * sunrpc/xdr_mem.c: Likewise.
38189         * sunrpc/xdr_rec.c: Likewise.
38190         * sunrpc/xdr_ref.c: Likewise.
38191         * sunrpc/xdr_sizeof.c: Likewise.
38192         * sunrpc/xdr_stdio.c: Likewise.
38193
38194         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38195         handling.
38196
38197 2010-08-19  Andreas Schwab  <schwab@redhat.com>
38198
38199         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38200
38201 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
38202
38203         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38204         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38205         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38206         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38207         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38208         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38209         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38210         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38211         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38212         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38213         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38214         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38215         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38216         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38217
38218 2010-07-26  Anton Blanchard  <anton@samba.org>
38219
38220         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38221         * malloc/arena.c (heap_trim): Likewise.
38222
38223 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
38224
38225         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38226         here.  Not...
38227         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38228         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38229
38230 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
38231
38232         * sysdeps/i386/elf/Makefile: New file.
38233
38234 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38235
38236         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38237         from fanotify_init.
38238         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38239         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38240
38241 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
38242
38243         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38244         of strncasecmp_l.
38245         * sysdeps/multiarch/strcmp.S: Likewise.
38246
38247 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
38248
38249         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38250         strncase_l-nonascii.
38251         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38252         Add strncase_l-ssse3.
38253         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38254         * sysdeps/x86_64/strcmp.S: Likewise.
38255         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38256         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38257         * sysdeps/x86_64/strncase.S: New file.
38258         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38259         * sysdeps/x86_64/strncase_l.S: New file.
38260         * string/Makefile (strop-tests): Add strncasecmp.
38261         * string/test-strncasecmp.c: New file.
38262
38263         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38264         warning.
38265
38266         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38267         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38268
38269 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38270
38271         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38272
38273 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
38274
38275         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38276         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38277         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38278
38279 2010-05-01  Alan Modra  <amodra@gmail.com>
38280
38281         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38282         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38283         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38284         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38285         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38286         tidying.  Don't tail-call __sigjmp_save for static lib.
38287         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38288         save location.
38289         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38290         (CALL_MCOUNT): Add eh info, and nop after bl.
38291         (TAIL_CALL_SYSCALL_ERROR): New macro.
38292         (PSEUDO_RET): Use it.
38293         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38294         Correct save location of integer regs and cr.
38295         (_dl_profile_resolve): Correct cr save location.  Delete nops
38296         after bl when SHARED.  Reduce cfi size a little by better
38297         placement of cfi directives.
38298         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38299         make a stack frame.  Instead use parm save area as a temp.
38300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38301         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
38302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38303         Don't make a stack frame for parent, use parm save area.
38304         Increase child stack frame to 112 bytes.  Don't save unused reg,
38305         and adjust reg usage.  Set up cfi on error recovery and
38306         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38308         (__makecontext): Add dummy nop after jump to exit.
38309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38310         Use correct parm save area and cr save, reduce stack frame.
38311         Correct cfi for possible PSEUDO_RET frame setup.
38312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38313         Branch to local label emitted by PSEUDO_RET rather than
38314         __syscall_error.
38315
38316 2010-08-12  Andreas Schwab  <schwab@redhat.com>
38317
38318         [BZ #11904]
38319         * locale/programs/locale.c (print_assignment): New function.
38320         (show_locale_vars): Use it.
38321
38322 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
38323
38324         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38325         field.
38326         (struct statfs64): Likewise.
38327         (_STATFS_F_FLAGS): Define.
38328         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38329         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38330         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38331         (ST_VALID): Define locally.
38332         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38333         __statvfs_getflags, use the provided value.
38334         * sysdeps/unix/sysv/linux/kernel-features.h: Define
38335         __ASSUME_STATFS_F_FLAGS.
38336
38337         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38338
38339         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38340         Add sys/fanotify.h.
38341         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38342         fanotify_mask for GLIBC_2.13.
38343         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38344         fanotify_init and fanotify_mark.
38345         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38346         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38347
38348         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38349         Add prlimit.
38350         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38351         prlimit64 for GLIBC_2.13.
38352         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38353         prlimit64.
38354         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38355         syscall.
38356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38357         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38358         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38359         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38360         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
38361         add prlimit alias.
38362         * sysdeps/unix/sysv/linux/prlimit.c: New file.
38363
38364         [BZ #11903]
38365         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38366         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38367
38368         * nss/Makefile: Add rules to build and run tst-nss-test1.
38369         * shlib-versions: Add entry for libnss_test1.
38370         * nss/nss_test1.c: New file.
38371         * nss/tst-nss-test1.c: New file.
38372
38373         * nss/nsswitch.c (__nss_database_custom): Define new variable.
38374         (__nss_configure_lookup): Set appropriate entry in
38375         __nss_configure_lookup to true.
38376         * nss/nsswitch.h: Define enum with indeces of databases in
38377         databases and __nss_database_custom arrays.  Declare
38378         __nss_database_custom.
38379         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38380         to avoid using nscd when custom rules are installed.
38381         * nss/getXXbyYY_r.c: Likewise.
38382         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38383
38384         * nss/nss_files/files-parse.c: Whitespace fixes.
38385
38386 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
38387
38388         [BZ #11883]
38389         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38390         * posix/fnmatch_loop.c: Likewise.
38391
38392 2010-07-17  Andi Kleen  <ak@linux.intel.com>
38393
38394         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38395         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38396         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38397         * Versions.def [GLIBC_2.13]: Add.
38398
38399 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
38400
38401         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38402         Also fail if tpwd after pwuid call is NULL.
38403
38404 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38405
38406         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38407         when converting to ms.
38408
38409 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38410
38411         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38412         EOPNOTSUPP errors with ENOTTY.
38413         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38414         EOPNOTSUPP errors with ENOTTY.
38415
38416 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
38417
38418         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38419         Add strcasecmp_l-ssse3.
38420         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38421         strcasecmp.
38422         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38423         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38424         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38425
38426 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
38427
38428         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38429
38430         * string/Makefile (strop-tests): Add strcasecmp.
38431         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38432         strcasecmp_l-nonascii.
38433         (gen-as-const-headers): Add locale-defines.sym.
38434         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38435         * sysdeps/x86_64/strcasecmp.S: New file.
38436         * sysdeps/x86_64/strcasecmp_l.S: New file.
38437         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38438         * sysdeps/x86_64/locale-defines.sym: New file.
38439         * string/test-strcasecmp.c: New file.
38440
38441         * string/test-strcasestr.c: Test both ends of the range of characters.
38442         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38443
38444 2010-07-29  Roland McGrath  <roland@redhat.com>
38445
38446         [BZ #11856]
38447         * manual/locale.texi (Yes-or-No Questions): Fix example code.
38448
38449 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
38450
38451         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38452         for ld.so.
38453
38454 2010-07-27  Andreas Schwab  <schwab@redhat.com>
38455
38456         * manual/memory.texi (Malloc Tunable Parameters): Document
38457         M_PERTURB.
38458
38459 2010-07-26  Roland McGrath  <roland@redhat.com>
38460
38461         [BZ #11840]
38462         * configure.in (-fgnu89-inline check): Set and substitute
38463         gnu89_inline, not libc_cv_gnu89_inline.
38464         * configure: Regenerated.
38465         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38466
38467 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
38468
38469         * string/test-strnlen.c: New file.
38470         * string/Makefile (strop-tests): Add strnlen.
38471         * string/tester.c (test_strnlen): Add a few more test cases.
38472         * string/tst-strlen.c: Better error reporting.
38473
38474         * sysdeps/x86_64/strnlen.S: New file.
38475
38476 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
38477
38478         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38479         lower-latency instructions.
38480
38481 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
38482
38483         * string/test-strcasestr.c: New file.
38484         * string/test-strstr.c: New file.
38485         * string/Makefile (strop-tests): Add strstr and strcasestr.
38486         * string/str-two-way.h: Don't undefine MAX.
38487         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38488
38489 2010-07-21  Andreas Schwab  <schwab@redhat.com>
38490
38491         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38492         strcasestr-nonascii.
38493         (CFLAGS-strcasestr-nonascii.c): Define.
38494         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38495         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38496         Remove unused attribute.
38497
38498 2010-07-20  Roland McGrath  <roland@redhat.com>
38499
38500         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38501         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
38502         ld.so.cache was broken.  With it, there is no way to disable dsocaps
38503         like LD_HWCAP_MASK can disable hwcaps.
38504
38505 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38506
38507         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38508
38509 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
38510
38511         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38512         call in strcasestr.
38513         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38514         __strcasestr_sse42_nonascii.
38515         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38516         strcasestr-nonascii.c.
38517         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38518
38519 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
38520
38521         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38522         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38523         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38524         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38525
38526 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
38527
38528         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38529         fcntl.
38530
38531 2010-07-06  Andreas Schwab  <schwab@redhat.com>
38532
38533         [BZ #11577]
38534         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38535         dl_signal_cerror.
38536
38537 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
38538
38539         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38540         _PC_PIPE_BUF using F_GETPIPE_SZ.
38541
38542 2010-07-05  Roland McGrath  <roland@redhat.com>
38543
38544         * manual/arith.texi (Rounding Functions): Fix rint description
38545         implicit in round description.
38546
38547 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
38548
38549         * elf/Makefile: Fix linking for a few tests to make recent linker
38550         happy.
38551
38552 2010-06-30  Andreas Schwab  <schwab@redhat.com>
38553
38554         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38555         $(common-objpfx)libc_nonshared.a.
38556
38557 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
38558
38559         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38560         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38561         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38562         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38563         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38564         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38565         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38566         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38581         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38582         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38583         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38584         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38585         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38586         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38587         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38588         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38589         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38590         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38591         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38592         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38607
38608 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
38609
38610         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38611         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
38612         * string/memmove.c (memmove): Renamed to ...
38613         (MEMMOVE): ...this.  Default to memmove.
38614         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38615         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38616         (END_CHK): Define.
38617         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38618         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38619         mempcpy-ssse3-back memmove-ssse3-back.
38620         * sysdeps/x86_64/multiarch/bcopy.S: New file .
38621         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38622         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38623         * sysdeps/x86_64/multiarch/memcpy.S: New file.
38624         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38625         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38626         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38627         * sysdeps/x86_64/multiarch/memmove.c: New file.
38628         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38629         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38630         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38631         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38632         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38633         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38634         Define.
38635         (index_Fast_Copy_Backward): Define.
38636         (HAS_ARCH_FEATURE): Define.
38637         (HAS_FAST_REP_STRING): Define.
38638         (HAS_FAST_COPY_BACKWARD): Define.
38639
38640 2010-06-21  Andreas Schwab  <schwab@redhat.com>
38641
38642         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38643         Restore proper fallback handling.
38644
38645 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
38646
38647         [BZ #11701]
38648         * posix/group_member.c (__group_member): Correct checking loop.
38649
38650         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38651         OOM in getpwuid_r correctly.  Return error number when the caller
38652         should return, otherwise -1.
38653         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38654         call returning > 0 value.
38655         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38656
38657 2010-06-07  Andreas Schwab  <schwab@redhat.com>
38658
38659         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38660         libc_nonshared.a from targets in modules-names.
38661
38662 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
38663
38664         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38665         requires it.
38666
38667 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
38668
38669         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38670         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38671         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38672         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38673
38674 2010-06-02  Andreas Schwab  <schwab@redhat.com>
38675
38676         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38677
38678 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
38679
38680         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38681         and F_GETPIPE_SZ.
38682         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38683         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38684         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38685         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38686         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38687         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38688
38689 2010-06-14  Roland McGrath  <roland@redhat.com>
38690
38691         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38692
38693 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
38694
38695         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38696         __REDIRECT followed by __THROW.
38697         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38698         * posix/getopt.h (getopt): Likewise.
38699
38700 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38701
38702         * hurd/lookup-at.c (__file_name_lookup_at): Accept
38703         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
38704         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38705         in AT_FLAGS.
38706         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38707         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38708
38709 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
38710
38711         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38712
38713 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
38714
38715         [BZ #11640]
38716         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38717         Properly check family and model.
38718
38719 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
38720
38721         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38722
38723 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
38724
38725         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38726
38727 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
38728
38729         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38730         symbol reference.
38731
38732 2010-05-19  Andreas Schwab  <schwab@redhat.com>
38733
38734         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38735         symbol reference.
38736
38737 2010-05-21  Andreas Schwab  <schwab@redhat.com>
38738
38739         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38740         and internal_recvmmsg.
38741         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38742         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38743         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38744         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38745
38746         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38747         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38748         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38749
38750 2010-05-20  Andreas Schwab  <schwab@redhat.com>
38751
38752         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38753
38754 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
38755
38756         POWER7 optimizations.
38757         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38758         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38759
38760 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
38761
38762         * version.h: Update for 2.13 development version.
38763
38764 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
38765
38766         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38767         exceptions.  Return 0.
38768
38769 2010-05-07  Roland McGrath  <roland@redhat.com>
38770
38771         * elf/ldconfig.c (main): Add a const.
38772
38773 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
38774
38775         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38776         (args_options): Add no-idn option.
38777         (ahosts_keys_int): Add idn_flags to ai_flags.
38778         (parse_option): Handle 'i' option to clear idn_flags.
38779
38780         * malloc/malloc.c (_int_free): Possible race in the most recently
38781         added check.  Only act on the data if no current modification
38782         happened.
38783
38784 See ChangeLog.17 for earlier changes.