Enable tests for x86_64, too, which currently are enabled only for x86.
[jlayton/glibc.git] / ChangeLog
1 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
2
3         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4         * math/test-misc.c (main) [__x86_64__]: Enable test for long
5         doubles.
6
7         * math/test-misc.c (main): Fix copy'n'pastos.
8         * misc/tst-efgcvt.c (special): Likewise.
9
10         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11         Remove declarations.
12
13 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14
15         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19
20 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21
22         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23         macro to return vdso values correctly in IFUNC implementations.
24         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25         Optimization by using IFUNC.
26
27 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28             Richard Henderson  <rth@redhat.com>
29             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30
31         * Makefile.in (bench): New target.
32         * NEWS: Mention the benchmark framework.
33         * Rules (bench): Likewise.
34         (binaries-bench): Generate binaries for functions to
35         benchmark.
36         * benchtests/Makefile: New makefile for benchmark tests.
37         * benchtests/bench-skeleton.c: New skeleton file for benchmark
38         programs.
39         * benchtests/exp-inputs: New input file for EXP function.
40         * benchtests/pow-inputs: New input file for POW function.
41         * scripts/bench.pl: New script to generate source files for
42         benchmark programs.
43
44 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45
46         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
47         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
48         computations on mantissa.  Use macros for rounding and
49         division.
50         (denorm): Likewise.
51         (__dbl_mp): Likewise.
52         (add_magnitudes): Likewise.
53         (sub_magnitudes): Likewise.
54         (__mul): Likewise.
55         (__sqr): Likewise.
56         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
57         powers of two in terms of TWOPOW macro.
58         (mp_no): Make type of mantissa as MANTISSA_T.
59         [!RADIXI]: Define RADIXI.
60         [!TWO52]: Define TWO52.
61         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
62
63         * manual/nptl.texi (cindex): Modify threads to pthreads.
64
65 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
66
67         * sysdeps/x86_64/preconfigure: Regenerated.
68
69 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
70
71         [BZ #14155]
72         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
73         0x1p28 and above.
74         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
75         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
76         0x1p28 and above.
77         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
78         * math/libm-test.inc (j0_test): Do not allow one spurious
79         underflow exception.
80         (y1_test): Likewise.
81
82 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
83
84         * manual/Makefile (chapters): Add nptl.
85         * manual/debug.texi (Debugging Support): Add link to Threads
86         chapter.
87         * manual/nptl.texi: New file.
88
89         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
90
91 2013-03-14  Petr Baudis  <pasky@ucw.cz>
92
93         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
94         for non-NULL pointer before the memory validity test. Pointed
95         out by Holger Brunck <holger.brunck@keymile.com>.
96
97 2013-03-13  Andreas Schwab  <schwab@suse.de>
98
99         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
100         instead of .os.
101
102 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
103
104         * timezone/zic.c: Update from tzcode 2013b.
105
106 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
107
108         * manual/install.texi (Configuring and compiling):
109         Mention i686 and i586.
110         * INSTALL: Regenerate.
111
112 2013-03-12  Roland McGrath  <roland@hack.frob.com>
113
114         * sysdeps/init_array/elf-init.c: New file.
115         * csu/elf-init.c
116         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
117         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
118
119         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
120         __gmon_start__ as global, but as static with a .preinit_array pointer.
121         * sysdeps/init_array/gmon-start.c: New file.  Use that.
122         * sysdeps/init_array/crti.S: New file, empty except for comments.
123         * sysdeps/init_array/crtn.S: Likewise.
124
125 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
126
127         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
128         definining bcopy.
129         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
130         Remove Prefer_SSE_for_memop.
131         * sysdeps/x86_64/multiarch/init-arch.h: Remove
132         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
133         HAS_PREFER_SSE_FOR_MEMOP.
134         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
135         memset-x86-64.
136         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
137         Remove bzero, memset ifunc support.
138         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
139         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
140         * sysdeps/x86_64/multiarch/memset.S: Likewise.
141         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
142
143 2013-03-11  Andreas Schwab  <schwab@suse.de>
144
145         [BZ #15234]
146         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
147         by SHLIB_COMPAT.
148         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
149         (GLIBC_2.16): Remove pthread_atfork.
150
151 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
152
153         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
154         (ptestcases.h): Likewise.
155
156 2013-03-08  Roland McGrath  <roland@hack.frob.com>
157
158         * Makeconfig ($(common-objpfx)config.status): Depend on
159         sysdeps/*/preconfigure{,.in} too.
160
161 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
162
163         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
164         (__free_hook): Use void * instead of __malloc_ptr_t.
165         (__malloc_hook): Likewise.
166         (__realloc_hook): Likewise.
167         (__memalign_hook): Likewise.
168         (__after_morecore_hook): Likewise.
169         * malloc/arena.c (save_malloc_hook): Likewise.
170         (save_free_hook): Likewise.
171         * malloc/hooks.c (malloc_hook_ini): Likewise.
172         (realloc_hook_ini): Likewise.
173         (memalign_hook_ini): Likewise.
174         * malloc/malloc.c (malloc_hook_ini): Likewise.
175         (realloc_hook_ini): Likewise.
176         (memalign_hook_ini): Likewise.
177         (__free_hook): Likewise.
178         (__malloc_hook): Likewise.
179         (__realloc_hook): Likewise.
180         (__memalign_hook): Likewise.
181         (__libc_malloc): Likewise.
182         (__libc_free): Likewise.
183         (__libc_realloc): Likewise.
184         (__libc_memalign): Likewise.
185         (__libc_valloc): Likewise.
186         (__libc_pvalloc): Likewise.
187         (__libc_calloc): Likewise.
188         (__posix_memalign): Likewise.
189         * malloc/morecore.c (__sbrk): Likewise.
190         (__default_morecore): Likewise.
191
192         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
193
194         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
195         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
196         __malloc_ptrdiff_t.
197
198         * malloc/malloc.h (__malloc_size_t): Remove macro.
199         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
200         __malloc_size_t.
201         (old_memalign_hook): Likewise.
202         (old_realloc_hook): Likewise.
203         (struct hdr): Likewise.
204         (flood): Likewise.
205         (mallochook): Likewise.
206         (memalignhook): Likewise.
207         (reallochook): Likewise.
208         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
209         (tr_old_realloc_hook): Likewise.
210         (tr_old_memalign_hook): Likewise.
211         (tr_mallochook): Likewise.
212         (tr_reallochook): Likewise.
213         (tr_memalignhook): Likewise.
214
215 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
216
217         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
218         default_ldbl_pack and using as default implementation.
219         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
220         implementation.
221         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
222         redundant definition.
223         (ldbl_insert_mantissa): Likewise.
224         (ldbl_canonicalize): Likewise.
225         (ldbl_nearbyint): Likewise.
226         (ldbl_pack): Rename to ldbl_pack_ppc.
227         (ldbl_unpack): Rename to ldbl_unpack_ppc.
228         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
229         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
230
231 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
232
233         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
234         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
235         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
236         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
237         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
238         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
239         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
240         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
241
242 2013-03-07  Andreas Jaeger  <aj@suse.de>
243
244         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
245         bits/mman-linux.h.
246
247 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
248
249         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
250         Include mpa.h and declare __MPEXP.
251         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
252         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
253         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
254         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
255         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
256         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
257         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
258
259         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
260         (__slowpow): Use long double EXPL and LOGL functions to
261         compute POW.
262         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
263         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
264         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
265         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
266         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
267         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
268
269         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
270         intermediate variable to calculate exponent.
271         (__sqr): Likewise.
272         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
273         Likewise.
274         (__sqr): Likewise.
275
276         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
277         [!NO__SQR]: Define __sqr.
278         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
279         and NO__SQR.  Remove all code except __mul and __sqr.  Include
280         sysdeps/ieee754/dbl-64/mpa.c.
281         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
282
283         [BZ #12723]
284         * posix/Makefile (tests): Add tst-pathconf.
285         * posix/tst-pathconf.c: New test case.
286         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
287         _PC_PIPE_BUF.
288         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
289
290 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
291
292         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
293
294 2013-03-06  Andreas Jaeger  <aj@suse.de>
295
296         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
297         definition via __MAP_ANONYMOUS.
298
299         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
300         it's not part of Linux headers.
301
302         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
303         (MAP_HUGE_MASK): Define.
304
305         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
306         Define.
307         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
308         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
309         Define.
310         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
311         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
312         Define.
313         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
314         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
315         Define.
316         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
317
318         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
319         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
320         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
321         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
322         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
323         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
324
325         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
326         Handle f2fs.
327
328         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
329         Handle f2fs and efivarfs.
330
331         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
332         f2fs.
333
334         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
335         (EFIVARFS_MAGIC): Add.
336         (F2FS_LINK_MAX): Add.
337
338 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
339
340         * stdio-common/vfprintf.c: Replace __builtin_expect with
341         __glibc_unlikely.
342
343 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
344
345         [BZ #13550]
346         * sysdeps/generic/bp-sym.h: Remove file.
347         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
348         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
349         <bp-sym.h> and <bp-asm.h>.
350         (__longjmp): Don't use BP_SYM.
351         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
352         and <bp-asm.h>.
353         (memcpy): Don't use BP_SYM.
354         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
355         <bp-sym.h> and <bp-asm.h>.
356         (memcpy): Don't use BP_SYM.
357         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
358         <bp-asm.h>.
359         (memcpy): Don't use BP_SYM.
360         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
361         <bp-asm.h>.
362         (memset): Don't use BP_SYM.
363         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
364         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
365         (__bzero): Don't use BP_SYM.
366         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
367         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
368         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
369         <bp-sym.h> and <bp-asm.h>.
370         (memcmp): Don't use BP_SYM.  Remove comment about bounded
371         pointers.
372         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
373         <bp-sym.h> and <bp-asm.h>.
374         (memcpy): Don't use BP_SYM.
375         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
376         <bp-sym.h> and <bp-asm.h>.
377         (memset): Don't use BP_SYM.
378         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
379         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
380         (__bzero): Don't use BP_SYM.
381         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
382         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
383         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
384         <bp-sym.h> and <bp-asm.h>.
385         (strncmp): Don't use BP_SYM.  Remove comment about bounded
386         pointers.
387         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
388         <bp-sym.h> and <bp-asm.h>.
389         (memcpy): Don't use BP_SYM.
390         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
391         <bp-sym.h> and <bp-asm.h>.
392         (memset): Don't use BP_SYM.
393         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
394         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
395         (__bzero): Don't use BP_SYM.
396         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
397         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
398         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
399         <bp-sym.h> and <bp-asm.h>.
400         (__memchr): Don't use BP_SYM.
401         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
402         <bp-sym.h> and <bp-asm.h>.
403         (memcmp): Don't use BP_SYM.  Remove comment about bounded
404         pointers.
405         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
406         <bp-sym.h> and <bp-asm.h>.
407         (memcpy): Don't use BP_SYM.
408         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
409         <bp-sym.h> and <bp-asm.h>.
410         (__mempcpy): Don't use BP_SYM.
411         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
412         <bp-sym.h> and <bp-asm.h>.
413         (__memrchr): Don't use BP_SYM.
414         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
415         <bp-sym.h> and <bp-asm.h>.
416         (memset): Don't use BP_SYM.
417         (__bzero): Likewise.
418         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
419         <bp-sym.h> and <bp-asm.h>.
420         (__rawmemchr): Don't use BP_SYM.
421         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
422         <bp-sym.h> and <bp-asm.h>.
423         (__STRCMP): Don't use BP_SYM.
424         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
425         <bp-sym.h> and <bp-asm.h>.
426         (strchr): Don't use BP_SYM.
427         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
428         <bp-sym.h> and <bp-asm.h>.
429         (__strchrnul): Don't use BP_SYM.
430         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
431         <bp-sym.h> and <bp-asm.h>.
432         (strlen): Don't use BP_SYM.
433         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
434         <bp-sym.h> and <bp-asm.h>.
435         (strncmp): Don't use BP_SYM.  Remove comment about bounded
436         pointers.
437         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
438         <bp-sym.h> and <bp-asm.h>.
439         (__strnlen): Don't use BP_SYM.
440         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
441         <bp-sym.h> and <bp-asm.h>.
442         (__GI__setjmp): Don't use BP_SYM.
443         (_setjmp): Likewise.
444         (__sigsetjmp): Likewise.
445         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
446         (L(start_addresses)): Don't use BP_SYM.
447         (_start): Likewise.
448         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
449         <bp-asm.h>.
450         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
451         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
452         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
453         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
454         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
455         <bp-asm.h>.
456         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
457         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
458         about bounded pointers.
459         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
460         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
461         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
462         <bp-asm.h>.
463         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
464         about bounded pointers.  Remove GKM FIXME comments.
465         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
466         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
467         <bp-asm.h>.
468         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
469         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
470         Remove GKM FIXME comments.
471         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
472         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
473         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
474         <bp-asm.h>.
475         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
476         about bounded pointers.  Remove GKM FIXME comment.
477         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
478         and <bp-asm.h>.
479         (strncmp): Don't use BP_SYM.  Remove comment about bounded
480         pointers.
481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
482         <bp-sym.h> and <bp-asm.h>.
483         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
485         <bp-sym.h> and <bp-asm.h>.
486         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
487         comment.
488
489 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
490
491         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
492         call free(NULL).
493
494 2013-03-05  David S. Miller  <davem@davemloft.net>
495
496         * po/es.po: Update from translation team.
497
498 2013-03-05  Andreas Jaeger  <aj@suse.de>
499
500         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
501         <bits/mman-linux.h>.
502         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
503         is fine.
504         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
505         <bits/mman-linux.h> to end of file.
506         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
507         is fine.
508         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
509         <bits/mman-linux.h> to end of file.
510         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
511         is fine.
512         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
513         <bits/mman-linux.h> to end of file.
514
515         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
516         (MCL_CURRENT, MCL_FUTURE): Define here.
517
518 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
519
520         [BZ #15232]
521         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
522         attribute_hidden.
523         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
524
525 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
526
527         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
528         fourth parameter needed for rt_sigprocmask syscall.
529         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
530         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
531         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
532         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
533         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
534         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
535
536 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
537
538         [BZ #13550]
539         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
540         comment about bounded pointers.
541         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
542         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
543
544 2013-03-04  Andreas Jaeger  <aj@suse.de>
545
546         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
547         common definitions.
548
549         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
550         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
551         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
552         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
553         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
554         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
555
556 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
557
558         [BZ #15055]
559         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
560         __ieee754_sqrl instead of __sqrl.
561
562 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
563
564         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
565         * sysdeps/powerpc/fpu_control.h: ... here.
566         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
567         * sysdeps/powerpc/bits/fenvinline.h: ... here.
568         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
569         * sysdeps/powerpc/bits/mathinline.h: ... here.
570
571 2013-03-01  Roland McGrath  <roland@hack.frob.com>
572
573         * elf/dl-hwcaps.c (_dl_important_hwcaps):
574         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
575         to just [NEED_DL_SYSINFO_DSO].
576         * elf/dl-support.c: Likewise.
577         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
578         * elf/rtld.c (dl_main): Likewise.
579         * elf/setup-vdso.h (setup_vdso): Likewise.
580         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
581         * sysdeps/unix/sysv/linux/dl-sysdep.c
582         (_dl_discover_osversion): Likewise.
583
584 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
585
586         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
587         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
588
589 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
590
591         * NEWS: Mention libm performance improvements and non-x86 PI
592         futex support.
593
594         * csu/libc-start.c (__pthread_initialize_minimal): Change
595         function arguments.
596         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
597
598 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
599
600         [BZ #13550]
601         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
602         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
603         <bp-sym.h> and <bp-asm.h>.
604         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
605         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
606         and <bp-asm.h>.
607         (memcpy): Don't use BP_SYM.
608         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
609         <bp-asm.h>.
610         (__mpn_add_n): Don't use BP_SYM.
611         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
612         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
613         and <bp-asm.h>.
614         (__mpn_addmul_1): Don't use BP_SYM.
615         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
616         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
617         <bp-sym.h>.
618         (_setjmp): Don't use BP_SYM.
619         (__novmx_setjmp): Likewise.
620         (__GI__setjmp): Likewise.
621         (__vmx_setjmp): Likewise.
622         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
623         <bp-sym.h>.
624         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
625         (__bzero): Don't use BP_SYM.
626         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
627         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
628         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
629         <bp-sym.h> and <bp-asm.h>.
630         (memcpy): Don't use BP_SYM.
631         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
632         <bp-sym.h> and <bp-asm.h>.
633         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
634         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
635         <bp-sym.h> and <bp-asm.h>.
636         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
637         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
638         <bp-asm.h>.
639         (__mpn_lshift): Don't use BP_SYM.
640         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
641         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
642         <bp-asm.h>.
643         (memset): Don't use BP_SYM.
644         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
645         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
646         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
647         <bp-asm.h>.
648         (__mpn_mul_1): Don't use BP_SYM.
649         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
650         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
651         <bp-sym.h> and <bp-asm.h>.
652         (memcmp): Don't use BP_SYM.
653         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
654         <bp-sym.h> and <bp-asm.h>.
655         (memcpy): Don't use BP_SYM.
656         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
657         <bp-sym.h> and <bp-asm.h>.
658         (memset): Don't use BP_SYM.
659         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
660         <bp-sym.h> and <bp-asm.h>.
661         (strncmp): Don't use BP_SYM.
662         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
663         <bp-sym.h> and <bp-asm.h>.
664         (memcpy): Don't use BP_SYM.
665         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
666         <bp-sym.h> and <bp-asm.h>.
667         (memset): Don't use BP_SYM.
668         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
669         <bp-sym.h> and <bp-asm.h>.
670         (__memchr): Don't use BP_SYM.
671         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
672         <bp-sym.h> and <bp-asm.h>.
673         (memcmp): Don't use BP_SYM.
674         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
675         <bp-sym.h> and <bp-asm.h>.
676         (memcpy): Don't use BP_SYM.
677         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
678         <bp-sym.h> and <bp-asm.h>.
679         (__mempcpy): Don't use BP_SYM.
680         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
681         <bp-sym.h> and <bp-asm.h>.
682         (__memrchr): Don't use BP_SYM.
683         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
684         <bp-sym.h> and <bp-asm.h>.
685         (memset): Don't use BP_SYM.
686         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
687         <bp-sym.h> and <bp-asm.h>.
688         (__rawmemchr): Don't use BP_SYM.
689         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
690         <bp-sym.h> and <bp-asm.h>.
691         (__STRCMP): Don't use BP_SYM.
692         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
693         <bp-sym.h> and <bp-asm.h>.
694         (strchr): Don't use BP_SYM.
695         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
696         <bp-sym.h> and <bp-asm.h>.
697         (__strchrnul): Don't use BP_SYM.
698         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
699         <bp-sym.h> and <bp-asm.h>.
700         (strlen): Don't use BP_SYM.
701         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
702         <bp-sym.h> and <bp-asm.h>.
703         (strncmp): Don't use BP_SYM.
704         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
705         <bp-sym.h> and <bp-asm.h>.
706         (__strnlen): Don't use BP_SYM.
707         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
708         <bp-asm.h>.
709         (__mpn_rshift): Don't use BP_SYM.
710         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
711         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
712         <bp-sym.h> and <bp-asm.h>.
713         (__sigsetjmp): Don't use BP_SYM.
714         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
715         (L(start_addresses)): Don't use BP_SYM.
716         (_start): Likewise.
717         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
718         <bp-asm.h>.
719         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
720         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
721         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
722         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
723         <bp-asm.h>.
724         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
725         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
726         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
727         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
728         <bp-asm.h>.
729         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
730         comments.
731         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
732         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
733         <bp-asm.h>.
734         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
735         FIXME comments.
736         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
737         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
738         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
739         <bp-asm.h>.
740         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
741         comment.
742         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
743         and <bp-asm.h>.
744         (strncmp): Don't use BP_SYM,
745         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
746         <bp-asm.h>.
747         (__mpn_sub_n): Don't use BP_SYM.
748         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
749         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
750         and <bp-asm.h>.
751         (__mpn_submul_1): Don't use BP_SYM.
752         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
754         <bp-sym.h> and <bp-asm.h>.
755         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
757         <bp-sym.h> and <bp-asm.h>.
758         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
759         comment.
760
761 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
762
763         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
764         Use ZK to minimize writes to Z.
765         (sub_magnitudes): Simplify code a bit.
766         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
767         Use ZK to minimize writes to Z.
768         (sub_magnitudes): Simplify code a bit.
769
770 2013-02-27  Roland McGrath  <roland@hack.frob.com>
771
772         * csu/gmon-start.c: Add special exception to license text.
773
774 2013-02-27  Richard Henderson  <rth@redhat.com>
775
776         * scripts/config.guess: Update from config.git.
777         * scripts/config.sub: Likewise.
778
779 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
780
781         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
782
783         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
784
785         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
786
787         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
788
789         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
790
791 2013-02-26  Roland McGrath  <roland@hack.frob.com>
792
793         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
794         [$(build-shared = yes].
795
796 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
797
798         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
799         (__mul): Reduce iterations for calculating mantissa.
800
801         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
802         MPTWO.
803         (__mpranred): Likewise.
804
805         [BZ #15160]
806         * malloc/memusagestat.c (main): Draw graphs for heap and stack
807         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
808
809 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
810
811         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
812         Define __attribute__.
813
814 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
815
816         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
817         unused.
818         * posix/regex_internal.h (__attribute): Remove.
819         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
820         (re_string_context_at): Likewise.
821         (bitset_not): Use __attribute__ and mark function as possibly
822         unused.
823         (bitset_merge): Likewise.
824         (bitset_mask): Likewise.
825         (re_string_char_size_at): Likewise.
826         (re_string_wchar_at): Likewise.
827         (re_string_elem_size_at): Likewise.
828
829 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
830
831         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
832         code.
833         (cc32): Likewise.
834
835         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
836         (__acr): Likewise.
837         (__cpy): Likewise.
838         (norm): Likewise.
839         (denorm): Likewise.
840         (__dbl_mp): Likewise.
841         (add_magnitudes): Likewise.
842         (sub_magnitudes): Likewise.
843         (__mul): Likewise.
844         (__inv): Likewise.
845
846         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
847         style.
848
849         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
850         style.
851
852         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
853         code.
854
855         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
856         up changes with default code.
857         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
858         Likewise.
859
860 2013-02-24  Allan McRae  <allan@archlinux.org>
861
862         * manual/socket.texi (The Internet Namespace): Order menu items
863         to match that in the file.
864
865         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
866         node listing of the info page menu.
867
868 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
869
870         [BZ #13550]
871         * sysdeps/i386/bp-asm.h: Remove file.
872         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
873         (PARMS): Do not use macros from bp-asm.h.
874         (S1): Likewise.
875         (S2): Likewise.
876         (SIZE): Likewise.
877         (__mpn_add_n): Do not use BP_SYM
878         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
879         "bp-asm.h".
880         (PARMS): Do not use macros from bp-asm.h.
881         (S1): Likewise.
882         (SIZE): Likewise.
883         (__mpn_addmul_1): Do not use BP_SYM
884         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
885         "bp-asm.h".
886         (PARMS): Do not use macros from bp-asm.h.
887         (SIGMSK): Likewise.
888         (_setjmp): Likewise.  Do not use BP_SYM.
889         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
890         "bp-asm.h".
891         (PARMS): Do not use macros from bp-asm.h.
892         (SIGMSK): Likewise.
893         (setjmp): Likewise.  Do not use BP_SYM.
894         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
895         "bp-asm.h".
896         (PARMS): Do not use macros from bp-asm.h.
897         (__frexp): Do not use BP_SYM.
898         (frexp): Likewise.
899         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
900         "bp-asm.h".
901         (PARMS): Do not use macros from bp-asm.h.
902         (__frexpf): Do not use BP_SYM.
903         (frexpf): Likewise.
904         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
905         "bp-asm.h".
906         (PARMS): Do not use macros from bp-asm.h.
907         (__frexpl): Do not use BP_SYM.
908         (frexpl): Likewise.
909         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
910         "bp-asm.h".
911         (PARMS): Do not use macros from bp-asm.h.
912         (__remquo): Do not use BP_SYM.
913         (remquo): Likewise.
914         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
915         "bp-asm.h".
916         (PARMS): Do not use macros from bp-asm.h.
917         (__remquof): Do not use BP_SYM.
918         (remquof): Likewise.
919         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
920         "bp-asm.h".
921         (PARMS): Do not use macros from bp-asm.h.
922         (__remquol): Do not use BP_SYM.
923         (remquol): Likewise.
924         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
925         "bp-asm.h".
926         (PARMS): Do not use macros from bp-asm.h.
927         (DEST): Likewise.
928         (SRC): Likewise.
929         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
930         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
931         "bp-asm.h".
932         (PARMS): Do not use macros from bp-asm.h.
933         (strlen): Do not use BP_SYM.
934         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
935         "bp-asm.h".
936         (PARMS): Do not use macros from bp-asm.h.
937         (S1): Likewise.
938         (S2): Likewise.
939         (SIZE): Likewise.
940         (__mpn_add_n): Do not use BP_SYM.
941         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
942         "bp-asm.h".
943         (PARMS): Do not use macros from bp-asm.h.
944         (S1): Likewise.
945         (SIZE): Likewise.
946         (__mpn_addmul_1): Do not use BP_SYM.
947         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
948         weak_alias.
949         (bzero): Likewise.
950         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
951         "bp-asm.h".
952         (PARMS): Do not use macros from bp-asm.h.
953         (S): Likewise.
954         (SIZE): Likewise.
955         (__mpn_lshift): Do not use BP_SYM.
956         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
957         "bp-asm.h".
958         (PARMS): Do not use macros from bp-asm.h.
959         (DEST): Likewise.
960         (SRC): Likewise.
961         (LEN): Likewise.
962         (memcpy): Likewise.  Do not use BP_SYM.
963         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
964         libc_hidden_def and weak_alias.
965         (mempcpy): Do not use BP_SYM in weak_alias.
966         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
967         "bp-asm.h".
968         (PARMS): Do not use macros from bp-asm.h.
969         (DEST): Likewise.
970         (LEN): Likewise.
971         [!BZERO_P] (CHR): Likewise.
972         (memset): Likewise.  Do not use BP_SYM.
973         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
974         "bp-asm.h".
975         (PARMS): Do not use macros from bp-asm.h.
976         (S1): Likewise.
977         (SIZE): Likewise.
978         (__mpn_mul_1): Do not use BP_SYM.
979         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
980         "bp-asm.h".
981         (PARMS): Do not use macros from bp-asm.h.
982         (S): Likewise.
983         (SIZE): Likewise.
984         (__mpn_rshift): Do not use BP_SYM.
985         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
986         "bp-asm.h".
987         (PARMS): Do not use macros from bp-asm.h.
988         (STR): Likewise.
989         (CHR): Likewise.
990         (strchr): Likewise.  Do not use BP_SYM.
991         (index): Do not use BP_SYM in weak_alias.
992         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
993         "bp-asm.h".
994         (PARMS): Do not use macros from bp-asm.h.
995         (DEST): Likewise.
996         (SRC): Likewise.
997         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
998         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
999         "bp-asm.h".
1000         (PARMS): Do not use macros from bp-asm.h.
1001         (strlen): Do not use BP_SYM.
1002         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1003         "bp-asm.h".
1004         (PARMS): Do not use macros from bp-asm.h.
1005         (S1): Likewise.
1006         (S2): Likewise.
1007         (SIZE): Likewise.
1008         (__mpn_sub_n): Do not use BP_SYM.
1009         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1010         "bp-asm.h".
1011         (PARMS): Do not use macros from bp-asm.h.
1012         (S1): Likewise.
1013         (SIZE): Likewise.
1014         (__mpn_submul_1): Do not use BP_SYM.
1015         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1016         "bp-asm.h".
1017         (PARMS): Do not use macros from bp-asm.h.
1018         (S1): Likewise.
1019         (S2): Likewise.
1020         (SIZE): Likewise.
1021         (__mpn_add_n): Do not use BP_SYM.
1022         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1023         weak_alias.
1024         (bzero): Likewise.
1025         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1026         "bp-asm.h".
1027         (PARMS): Do not use macros from bp-asm.h.
1028         (BLK2): Likewise.
1029         (LEN): Likewise.
1030         (memcmp): Do not use BP_SYM.
1031         (bcmp): Do not use BP_SYM in weak_alias.
1032         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1033         "bp-asm.h".
1034         (PARMS): Do not use macros from bp-asm.h.
1035         (DEST): Likewise.
1036         (SRC): Likewise.
1037         (LEN): Likewise.
1038         (memcpy): Likewise.  Do not use BP_SYM.
1039         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1040         "bp-asm.h".
1041         (PARMS): Do not use macros from bp-asm.h.
1042         (DEST): Likewise.
1043         (SRC): Likewise.
1044         (LEN): Likewise.
1045         (memmove): Likewise.  Do not use BP_SYM.
1046         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1047         "bp-asm.h".
1048         (PARMS): Do not use macros from bp-asm.h.
1049         (DEST): Likewise.
1050         (SRC): Likewise.
1051         (LEN): Likewise.
1052         (__mempcpy): Likewise.  Do not use BP_SYM.
1053         (mempcpy): Do not use BP_SYM in weak_alias.
1054         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1055         "bp-asm.h".
1056         (PARMS): Do not use macros from bp-asm.h.
1057         (DEST): Likewise.
1058         (LEN): Likewise.
1059         [!BZERO_P] (CHR): Likewise.
1060         (memset): Likewise.  Do not use BP_SYM.
1061         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1062         "bp-asm.h".
1063         (PARMS): Do not use macros from bp-asm.h.
1064         (STR2): Likewise.
1065         (strcmp): Do not use BP_SYM.
1066         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1067         "bp-asm.h".
1068         (PARMS): Do not use macros from bp-asm.h.
1069         (STR): Likewise.
1070         (DELIM): Likewise.
1071         [USE_AS_STRTOK_R] (SAVE): Likewise.
1072         (FUNCTION): Likewise.  Do not use BP_SYM.
1073         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1074         aliases.
1075         (strtok_r): Likewise.
1076         (__GI___strtok_r): Likewise.
1077         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1078         (PARMS): Do not use macros from bp-asm.h.
1079         (S): Likewise.
1080         (SIZE): Likewise.
1081         (__mpn_lshift): Do not use BP_SYM.
1082         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1083         (PARMS): Do not use macros from bp-asm.h.
1084         (STR): Likewise.
1085         (CHR): Likewise.
1086         (__memchr): Do not use BP_SYM.
1087         (memchr): Do not use BP_SYM in weak_alias.
1088         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1089         (PARMS): Do not use macros from bp-asm.h.
1090         (BLK2): Likewise.
1091         (LEN): Likewise.
1092         (memcmp): Do not use BP_SYM.
1093         (bcmp): Do not use BP_SYM in weak_alias.
1094         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1095         (PARMS): Do not use macros from bp-asm.h.
1096         (S1): Likewise.
1097         (SIZE): Likewise.
1098         (__mpn_mul_1): Do not use BP_SYM.
1099         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1100         "bp-asm.h".
1101         (PARMS): Do not use macros from bp-asm.h.
1102         (STR): Likewise.
1103         (CHR): Likewise.
1104         (__rawmemchr): Do not use BP_SYM.
1105         (rawmemchr): Do not use BP_SYM in weak_alias.
1106         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1107         (PARMS): Do not use macros from bp-asm.h.
1108         (S): Likewise.
1109         (SIZE): Likewise.
1110         (__mpn_rshift): Do not use BP_SYM.
1111         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1112         (PARMS): Do not use macros from bp-asm.h.
1113         (SIGMSK): Likewise.
1114         (__sigsetjmp): Likewise.  Do not use BP_SYM.
1115         * sysdeps/i386/start.S: Do not include "bp-sym.h".
1116         (_start): Do not use BP_SYM.
1117         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1118         (PARMS): Do not use macros from bp-asm.h.
1119         (DEST): Likewise.
1120         (SRC): Likewise.
1121         (__stpcpy): Likewise.  Do not use BP_SYM.
1122         (stpcpy): Do not use BP_SYM in weak_alias.
1123         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1124         "bp-asm.h".
1125         (PARMS): Do not use macros from bp-asm.h.
1126         (DEST): Likewise.
1127         (SRC): Likewise.
1128         (LEN): Likewise.
1129         (__stpncpy): Likewise.  Do not use BP_SYM.
1130         (stpncpy): Do not use BP_SYM in weak_alias.
1131         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1132         (PARMS): Do not use macros from bp-asm.h.
1133         (STR): Likewise.
1134         (CHR): Likewise.
1135         (strchr): Likewise.  Do not use BP_SYM.
1136         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1137         "bp-asm.h".
1138         (PARMS): Do not use macros from bp-asm.h.
1139         (STR): Likewise.
1140         (CHR): Likewise.
1141         (__strchrnul): Likewise.  Do not use BP_SYM.
1142         (strchrnul): Do not use BP_SYM in weak_alias.
1143         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1144         "bp-asm.h".
1145         (PARMS): Do not use macros from bp-asm.h.
1146         (STOP): Likewise.
1147         (strcspn): Do not use BP_SYM.
1148         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1149         "bp-asm.h".
1150         (PARMS): Do not use macros from bp-asm.h.
1151         (STR): Likewise.
1152         (STOP): Likewise.
1153         (strpbrk): Likewise.  Do not use BP_SYM.
1154         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1155         "bp-asm.h".
1156         (PARMS): Do not use macros from bp-asm.h.
1157         (STR): Likewise.
1158         (CHR): Likewise.
1159         (strrchr): Likewise.  Do not use BP_SYM.
1160         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1161         (PARMS): Do not use macros from bp-asm.h.
1162         (SKIP): Likewise.
1163         (strspn): Do not use BP_SYM.
1164         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1165         (PARMS): Do not use macros from bp-asm.h.
1166         (STR): Likewise.
1167         (DELIM): Likewise.
1168         (SAVE): Likewise.
1169         (FUNCTION): Likewise.  Do not use BP_SYM.
1170         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1171         aliases.
1172         (strtok_r): Likewise.
1173         (__GI___strtok_r): Likewise.
1174         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1175         (PARMS): Do not use macros from bp-asm.h.
1176         (S1): Likewise.
1177         (S2): Likewise.
1178         (SIZE): Likewise.
1179         (__mpn_sub_n): Do not use BP_SYM.
1180         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1181         "bp-asm.h".
1182         (PARMS): Do not use macros from bp-asm.h.
1183         (S1): Likewise.
1184         (SIZE): Likewise.
1185         (__mpn_submul_1): Do not use BP_SYM.
1186         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1187         <bp-sym.h>.
1188         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1189         and <bp-asm.h>.
1190         (PARMS): Do not use macros from bp-asm.h.
1191         (FLAGS): Likewise.
1192         (PTID): Likewise.
1193         (TLS): Likewise.
1194         (CTID): Likewise.
1195         (__clone): Do not use BP_SYM.
1196         (clone): Do not use BP_SYM in weak_alias.
1197         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1198         and <bp-asm.h>.
1199         (PARMS): Do not use macros from bp-asm.h.
1200         (LEN): Likewise.
1201         (__mmap64): Do not use BP_SYM.
1202         (mmap64): Do not use BP_SYM in weak_alias.
1203         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1204         <bp-sym.h> and <bp-asm.h>.
1205         (PARMS): Do not use macros from bp-asm.h.
1206         (__posix_fadvise64_l64): Do not use BP_SYM.
1207         * sysdeps/unix/sysv/linux/i386/semtimedop.S
1208         (PARMS): Do not use macros from bp-asm.h.
1209         (NSOPS): Likewise.
1210         (semtimedop): Do not use BP_SYM.
1211         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1212         and <bp-asm.h>.
1213
1214 2013-02-21  Allan McRae  <allan@archlinux.org>
1215
1216         * manual/message.texi (Charset conversion in gettext):
1217         Move @end statement to beginning of line.
1218
1219 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1220
1221         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1222         static.
1223         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1224         Likewise.
1225
1226         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1227         (denorm): Likewise.
1228         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1229         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1230
1231 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1232
1233         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1234         tail-call to the resolved function if pltexit isn't needed.
1235
1236 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1237
1238         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1239         or Y being zero as being unlikely.
1240         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1241         Likewise.
1242
1243 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
1244
1245         * manual/nss.texi (System Databases and Name Service Switch):
1246         Remove frobnicate @pxref.
1247
1248 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
1249
1250         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1251         __attribute__ ((unused)) to __attribute__ ((__unused__)).
1252
1253 2013-02-20  Petr Machata  <pmachata@redhat.com>
1254
1255         * elf/elf.h (R_ARM_TARGET1): New macro.
1256         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1257         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1258         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1259         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1260         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1261         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1262         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1263         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1264         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1265         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1266         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1267         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1268         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1269         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1270         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1271         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1272         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1273         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1274         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1275         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1276         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1277         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1278         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1279         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1280         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1281         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1282         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1283         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1284         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1285         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1286         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1287         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1288         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1289         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1290         (R_ARM_THM_GOT_BREL12): Likewise.
1291         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1292         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1293         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1294         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1295         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1296         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1297         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1298         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1299         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1300
1301 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
1302
1303         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1304         __attribute_used__ to __attribute__ ((unused)).
1305
1306 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1307
1308         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1309         powerpc mpa.c.
1310         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1311         comment formatting.
1312         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1313
1314 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
1315
1316         [BZ #13550]
1317         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1318         Remove macro.
1319         (ENTER): Remove both macro definitions.
1320         (LEAVE): Likewise.
1321         (CHECK_BOUNDS_LOW): Likewise.
1322         (CHECK_BOUNDS_HIGH): Likewise.
1323         (CHECK_BOUNDS_BOTH): Likewise.
1324         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1325         (RETURN_BOUNDED_POINTER): Likewise.
1326         (RETURN_NULL_BOUNDED_POINTER): Likewise.
1327         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1328         (POP_ERRNO_LOCATION_RETURN): Likewise.
1329         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1330         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1331         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1332         macros.
1333         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1334         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1335         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1336         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1337         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1338         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1339         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1340         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1341         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1342         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1343         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1344         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1345         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1346         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1347         removed macros.
1348         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1349         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1350         macros.
1351         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1352         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1353         * sysdeps/i386/i586/memset.S (memset): Likewise.
1354         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1355         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1356         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1357         macros.
1358         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1359         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1360         Change uses of L(2) to L(out).
1361         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1362         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1363         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1364         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1365         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1366         removed macros.
1367         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1368         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1369         macros.
1370         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1371         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1372         (RETURN): Do not use macro LEAVE.
1373         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1374         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1375         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1376         * sysdeps/i386/i686/memset.S (memset): Likewise.
1377         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1378         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1379         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1380         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1381         Likewise.
1382         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1383         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
1384         L(1_2) and L(1_3) into L(1).
1385         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1386         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1387         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1388         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1389         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1390         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1391         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1392         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1393         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1394         macros.
1395         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1396         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1397         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1398         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1399         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1400         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1401         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1402         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1403         * sysdeps/i386/strcspn.S (strcspn): Likewise.
1404         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1405         * sysdeps/i386/strrchr.S (strrchr): Likewise.
1406         * sysdeps/i386/strspn.S (strspn): Likewise.
1407         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1408         conditional code.
1409         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1410         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1411         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1412         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
1413         L(1_3) into L(1_1).
1414         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1415         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1416         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1417         macros.
1418         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1419
1420 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
1421
1422         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1423         macro.
1424
1425 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1426
1427         * math/atest-exp.c (exp_mpn): Remove ROUND.
1428         * math/atest-exp2.c (exp_mpn): Likewise.
1429         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1430
1431         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1432         * stdlib/tst-tls-atexit-lib.c: Likewise.
1433         * stdlib/tst-tls-atexit.c: Likewise.
1434
1435 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1436
1437         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1438         and __attribute_alloc_size__.
1439
1440 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1441
1442         * include/programs/xmalloc.h: Change __attribute_alloc_size to
1443         __attribute_alloc_size__.
1444         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1445         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1446
1447 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
1448
1449         * include/programs/xmalloc.h: New file.
1450         * catgets/gencat.c: Include it.
1451         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1452         * elf/pldd.c: Likewise.
1453         * iconv/iconv_charmap.c: Likewise.
1454         * iconv/iconvconfig.c: Likewise.
1455         * iconv/strtab.c: Likewise.
1456         * locale/programs/locale.c: Likewise.
1457         * locale/programs/localedef.h: Likewise.
1458         * locale/programs/simple-hash.c: Likewise.
1459         * nscd/nscd.h: Likewise.
1460         * nss/makedb.c: Likewise.
1461         * sysdeps/generic/ldconfig.h: Likewise.
1462
1463 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1464
1465         * Versions.def: Add GLIBC_2.18.
1466         * include/link.h (struct link_map): New member l_tls_dtor_count.
1467         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1468         (__call_tls_dtors): Likewise.
1469         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1470         __cxa_thread_atexit_impl.
1471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1472         Likewise.
1473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1474         Likewise.
1475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1476         Likewise.
1477         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1478         Likewise.
1479         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1480         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1481         Likewise.
1482         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1483         Likewise.
1484         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1485         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1486         Likewise.
1487         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1488         (tests): Add test case tst-tls-atexit.
1489         (modules-names): Add shared library for tst-tls-atexit.
1490         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1491         (GLIBC_PRIVATE): Add __call_tls_dtors.
1492         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1493         for libstdc++.
1494         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1495         * stdlib/tst-tls-atexit.c: New test case.
1496         * stdlib/tst-tls-atexit-lib.c: New test case.
1497
1498         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
1499
1500         * elf/Versions (ld): Add _dl_find_dso_for_object.
1501         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1502         * elf/dl-open.c (_dl_find_dso_for_object): New function.
1503         (dl_open_worker): Use _dl_find_dso_for_object.
1504         * elf/dl-sym.c (do_sym): Likewise.
1505         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1506
1507 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1508
1509         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1510         Syntactic changes only.
1511         (_dl_runtime_profile): Do a tail-call to the resolved function.
1512
1513 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
1514
1515         [BZ #13550]
1516         * sysdeps/x86_64/bp-asm.h: Remove file.
1517         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1518         <bp-sym.h> and <bp-asm.h>.
1519         (__clone): Do not use BP_SYM.
1520         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1521         <bp-sym.h> and <bp-asm.h>.
1522         * sysdeps/unix/x86_64/sysdep.S: Likewise.
1523         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1524         "bp-asm.h".
1525         (_setjmp): Do not use BP_SYM.
1526         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1527         "bp-asm.h".
1528         (setjmp): Do not use BP_SYM.
1529         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1530         libc_hidden_def.
1531         (mempcpy): Do not use BP_SYM in weak_alias.
1532         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1533         "bp-asm.h".
1534         (strchr): Do not use BP_SYM.
1535         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1536         "bp-asm.h".
1537         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1538         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1539         (_start): Do not use BP_SYM.
1540         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1541         "bp-asm.h".
1542         (strcat): Do not use BP_SYM.
1543         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1544         "bp-asm.h".
1545         (STRCMP): Do not use BP_SYM.
1546         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1547         "bp-asm.h".
1548         (STRCPY): Do not use BP_SYM.
1549         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1550         "bp-asm.h".
1551         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1552         "bp-asm.h".
1553         (FUNCTION): Do not use BP_SYM.
1554         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1555         weak_alias.
1556         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1557
1558 2013-02-17  Andreas Jaeger  <aj@suse.de>
1559
1560         * time/Versions: Sort entries.
1561         * string/Versions: Likewise.
1562         * resolv/Versions: Likewise.
1563         * posix/Versions: Likewise.
1564         * iconv/Versions: Likewise.
1565         * elf/Versions: Likewise.
1566         * wcsmbs/Versions: Likewise.
1567
1568 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1569
1570         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1571         loop termination condition.
1572
1573         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1574         variable to calculate EZ.
1575         (__sqr): Likewise.
1576
1577         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1578         the lower precision input.
1579
1580 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
1581
1582         [BZ #13550]
1583         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1584         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1585         (run-via-rtld-prefix): Do not handle %-bp tests.
1586         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1587         (all-object-suffixes): Remove .ob.
1588         (bppfx): Remove variable.
1589         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1590         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1591         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1592         [$(build-bounded) = yes] (libtype.ob): Likewise.
1593         * Makerules (elide-routines.ob): Remove variable.
1594         (do-tests-clean): Do not handle *-bp.out.
1595         (common-mostlyclean): Do not handle *-bp and *-bp.out.
1596         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1597         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1598         (tests): Do not include $(tests-bp.out).
1599         (xtests): Do not include $(xtests-bp.out).
1600         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1601         [$(build-bounded) = yes] ($(addprefix
1602         $(objpfx),$(binaries-bounded))): Remove rule.
1603         ($(objpfx)%-bp.out): Remove rule.
1604         * config.make.in (build-bounded): Remove variable.
1605         * crypt/Makefile [$(build-bounded) = yes]
1606         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1607         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1608         append to variable.
1609         [$(build-bounded) = yes] (install-lib): Likewise.
1610         [$(build-bounded) = yes] (generated): Likewise.
1611         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1612         Remove rule.
1613         * intl/Makefile [$(build-bounded) = yes]
1614         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1615         * math/Makefile [$(build-bounded) = yes]
1616         ($(tests:%=$(objpfx)%-bp): Likewise.
1617         * misc/Makefile [$(build-bounded) = yes]
1618         ($(objpfx)tst-tsearch-bp): Likewise.
1619         * nptl/Makeconfig (bounded-thread-library): Remove variable.
1620         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1621         Remove dependency.
1622         * string/Makefile (o-objects.ob): Remove variable.
1623         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1624         (CFLAGS-.ob): Remove variable.
1625         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1626         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1627         both definitions of variable.
1628         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1629         (ASFLAGS-.ob): Remove variable.
1630
1631 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
1632
1633         [BZ #13550]
1634         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1635         Remove __BOUNDED_POINTERS__ from condition.
1636         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1637         * string/bits/string2.h [!__NO_STRING_INLINES &&
1638         !__BOUNDED_POINTERS__]: Likewise.
1639         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1640         Likewise.
1641         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1642         Remove conditional code.
1643         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1644         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1645         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1646         condition.
1647
1648         [BZ #13550]
1649         * csu/libc-start.c: Do not include <bp-sym.h>.
1650         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1651         * elf/dl-open.c: Do not include <bp-sym.h>.
1652         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1653         * math/fegetenv.c: Do not include <bp-sym.h>.
1654         (fegetenv): Do not use BP_SYM in versioned symbols.
1655         * nptl/sysdeps/pthread/bits/libc-lockP.h
1656         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1657         <bp-sym.h>.
1658         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1659         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1660         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1661         (__pthread_mutex_destroy): Likewise.
1662         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1663         (__pthread_mutex_lock): Likewise.
1664         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1665         (__pthread_mutex_trylock): Likewise.
1666         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1667         (__pthread_mutex_unlock): Likewise.
1668         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1669         (__pthread_mutexattr_init): Likewise.
1670         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1671         (__pthread_mutexattr_destroy): Likewise.
1672         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1673         (__pthread_mutexattr_settype): Likewise.
1674         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1675         (__pthread_rwlock_init): Likewise.
1676         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1677         (__pthread_rwlock_destroy): Likewise.
1678         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1679         (__pthread_rwlock_rdlock): Likewise.
1680         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1681         (__pthread_rwlock_tryrdlock): Likewise.
1682         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1683         (__pthread_rwlock_wrlock): Likewise.
1684         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1685         (__pthread_rwlock_trywrlock): Likewise.
1686         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1687         (__pthread_rwlock_unlock): Likewise.
1688         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1689         (__pthread_key_create): Likewise.
1690         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1691         (__pthread_setspecific): Likewise.
1692         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1693         (__pthread_getspecific): Likewise.
1694         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1695         Likewise.
1696         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1697         (_pthread_cleanup_push_defer): Likewise.
1698         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1699         (_pthread_cleanup_pop_restore): Likewise.
1700         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1701         (pthread_setcancelstate): Likewise.
1702         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1703         <bp-sym.h>.
1704         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1705         (memchr): Do not use BP_SYM in weak_alias.
1706         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1707         (fegetenv): Do not use BP_SYM in versioned symbols.
1708         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1709         (fesetenv): Do not use BP_SYM in versioned symbols.
1710         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1711         (feupdateenv): Do not use BP_SYM in versioned symbols.
1712         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1713         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1714         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1715         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1716         (open64): Do not use BP_SYM in weak_alias.
1717         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1718         (fegetenv): Do not use BP_SYM in versioned symbols.
1719         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1720         (fesetenv): Do not use BP_SYM in versioned symbols.
1721         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1722         (feupdateenv): Do not use BP_SYM in versioned symbols.
1723         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1724         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1725         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1726         (feraiseexcept): Do not use BP_SYM in versioned symbols.
1727         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1728         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1729         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1730         <bp-sym.h>.
1731         (__libc_start_main): Do not use BP_SYM.
1732
1733 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1734
1735         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1736         redundant return line.
1737         (norm): Likewise.
1738         (denorm): Likewise.
1739         (dbl_mp): Likewise.
1740         (sub_magnitudes): Likewise.
1741         (__add): Likewise.
1742         (__sub): Likewise.
1743         (__mul): Likewise.
1744         (__inv): Likewise.
1745         (__dvd): Likewise.
1746         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1747         (norm): Likewise.
1748         (denorm): Likewise.
1749         (dbl_mp): Likewise.
1750         (sub_magnitudes): Likewise.
1751         (__add): Likewise.
1752         (__sub): Likewise.
1753         (__mul): Likewise.
1754         (__inv): Likewise.
1755         (__dvd): Likewise.
1756
1757         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1758         instead of __mul.
1759         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1760         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1761         (cc32): Likewise.
1762
1763         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1764         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1765         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1766         of __mul for squares.
1767         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1768         function
1769         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1770         Likewise.
1771         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1772         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1773
1774 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
1775
1776         [BZ #13550]
1777         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1778         code.
1779         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1780         prototype or function definition.  Rename ubp_* variables and
1781         parameters.  Remove argv definitions conditional on
1782         [__BOUNDED_POINTERS__].
1783         * debug/backtrace.c (__backtrace): Do not use __unbounded.
1784         * elf/dl-runtime.c (_dl_fixup): Likewise.
1785         * include/set-hooks.h (RUN_HOOK): Likewise.
1786         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1787         definition.
1788         * string/strcpy.c (strcpy): Do not use __unbounded.
1789         * sysdeps/generic/frame.h (struct layout): Likewise.
1790         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1791         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1792         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1793         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1794         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1795         (__backtrace): Likewise.
1796         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1797         use __ptrvalue.
1798         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1799         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1800         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1801         Likewise.
1802         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1803         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1804         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1805         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1806         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1807         Do not use __unbounded.
1808         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1809         Rename __unboundedrlimits parameter to rlimits in prototype.
1810         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1811         Do not use __unbounded.
1812         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1813         not use __ptrvalue.
1814         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1815         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1816         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1817         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1818         __ptrvalue or __unbounded.
1819         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1820         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1821         use __unbounded.
1822         (__new_msgctl): Do not use __ptrvalue.
1823         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1824         __unbounded.
1825         (__libc_msgrcv): Do not use __ptrvalue.
1826         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1827         startup_info): Do not use __unbounded.
1828         (__libc_start_main): Likewise.  Rename ubp_* variables and
1829         parameters.  Remove argv definitions conditional on
1830         [__BOUNDED_POINTERS__].
1831         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1832         __ptrvalue.
1833         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1834         use __unbounded.
1835         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1836         or __ptrvalue.
1837         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1838         use __unbounded.
1839         (__new_shmctl): Do not use __ptrvalue.
1840         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1841         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1842         Likewise.
1843         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1844         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1845         (__libc_sigaction): Likewise.
1846         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1847         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1848         Likewise.
1849         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1850
1851 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
1852
1853         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
1854
1855         * string/mempcpy.c: Implement by calling memcpy.
1856
1857 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
1858
1859         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1860
1861         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1862         evaluation.
1863
1864         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1865         values in the mantissa.
1866
1867         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1868         minimize writes to Z.
1869         (sub_magnitudes): Simplify code a bit.
1870
1871 2013-02-12  Roland McGrath  <roland@hack.frob.com>
1872
1873         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1874         from the message.  The linker prefixes all warnings with that already.
1875
1876 2013-02-12  Andreas Schwab  <schwab@suse.de>
1877
1878         [BZ #15078]
1879         * posix/regexec.c (extend_buffers): Add parameter min_len.
1880         (check_matching): Pass minimum needed length.
1881         (clean_state_log_if_needed): Likewise.
1882         (get_subexp): Likewise.
1883         * posix/Makefile (tests): Add bug-regex34.
1884         (bug-regex34-ENV): Define.
1885         * posix/bug-regex34.c: New file.
1886
1887         [BZ #11561]
1888         * posix/regcomp.c (parse_bracket_exp): When looking up collating
1889         elements compare against the byte sequence of it, not its name.
1890         * posix/Makefile (tests): Add bug-regex35.
1891         (bug-regex35-ENV): Define.
1892         * posix/bug-regex35.c: New file.
1893
1894 2013-02-11  Tom de Vries  <tom@codesourcery.com>
1895
1896         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
1897         comment.
1898         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1899         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1900         (CHECK_EOL): Add undef.
1901
1902 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
1903
1904         * bits/stdlib-bsearch.h: New file.
1905         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
1906         * stdlib/stdlib.h: Likewise.
1907
1908 2013-02-11  Roland McGrath  <roland@hack.frob.com>
1909
1910         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1911         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1912         declaration.
1913         * manual/search.texi (Array Search Function): Add missing const in
1914         lfind prototype.
1915         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1916         declaration to use rlim_t.
1917         (Basic Scheduling Functions): Remove erroneous const from
1918         sched_getparam prototype.  Remove erroneous * from
1919         sched_get_priority_max and sched_get_priority_min prototypes.
1920         (Resource Usage): Fix summary @comment on vtimes to refer to
1921         sys/vtimes.h rather than vtimes.h.
1922         Add missing *s in vtimes prototype.
1923         (Limits on Resources): Fix ulimit prototype to return long int.
1924         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1925         prototypes to use long int rather than double.
1926         (BSD Random): Fix initstate and setstate to use char *, not void *.
1927         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1928         prototype to make second argument 'struct aiocb64 *const[]'.
1929         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1930         (Status of AIO Operations): Remove erroneous const in aio_return and
1931         aio_return64 prototypes.
1932         (Synchronizing I/O): Fix sync prototype to return void.
1933         * manual/startup.texi (Suboptions): Remove an erroneous const in
1934         getsubopt prototype.
1935         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1936         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1937         use size_t rather than int.
1938         (Scanning All Users): Likewise for getpwent_r.
1939         (Setting Groups): Add missing const to setgroups prototype.
1940         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1941         * manual/socket.texi (Host Names): Fix gethostbyaddr and
1942         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1943         'const void *' rather than 'const char *'.
1944         (Host Address Functions): Likewise for inet_ntop.
1945         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1946         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1947         ssize_t for return value.
1948         (Sending Data): Likewise for send, sendto, sendmsg.
1949         (Socket Option Functions): Add a missing const in setsockopt prototype.
1950         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1951         use wchar_t for the argument.
1952         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1953         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1954         take no arguments.
1955         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1956         double/float/long double for second argument.
1957         Fix return types of significand, significandf, significandl.
1958         * manual/filesys.texi (Setting Permissions): Use mode_t for second
1959         argument in fchmod prototype.
1960         (File Owner): Use uid_t and gid_t in fchown prototype.
1961         (File Times): Add const to utimes, futimes, and lutimes prototypes.
1962         (Making Special Files): Use mode_t and dev_t in mknod prototype.
1963         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1964         use 'const struct dirent **' as argument types to CMP function pointer
1965         argument.
1966         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1967         (File Times): Fix summary magic @comment for struct utimbuf and utime
1968         to refer to utime.h, not time.h.
1969         * manual/string.texi (Argz Functions): Add missing const in
1970         argz_extract and argz_next prototypes.
1971         (Finding Tokens in a String): Likewise for basename.
1972         (String/Array Comparison): Fix typo in wcscasecmp prototype.
1973         (Copying and Concatenation): Fix typo in wmemmove prototype.
1974         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1975         (Signal Stack): Remove erroneous const in sigstack prototype.
1976         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1977         prototype.
1978         (Simple Calendar Time): Likewise for stime.
1979         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1980         prototype.
1981         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1982         say sys/sysctl.h instead.
1983         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1984         and vsyslog prototypes.
1985
1986 2013-02-11  Tom de Vries  <tom@codesourcery.com>
1987
1988         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1989         Remove.
1990
1991 2013-02-11  Roland McGrath  <roland@hack.frob.com>
1992
1993         * misc/sys/mman.h: Fix typo in mremap comment.
1994
1995 2013-02-08  Roland McGrath  <roland@hack.frob.com>
1996
1997         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1998         the '\0' terminator.
1999
2000 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
2001
2002         [BZ #13550]
2003         * debug/segfault.c: Don't include <bp-checks.h>.
2004         * sysdeps/generic/bp-checks.h: Remove file.
2005         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2006         (__GETDENTS): Don't use CHECK_N.
2007         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2008         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2009         (__getgroups): Don't use CHECK_N.
2010         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2011         (setgroups): Don't use CHECK_N.
2012         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2013         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2014         (__libc_msgrcv): Don't use CHECK_N.
2015         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2016         (__libc_msgsnd): Don't use CHECK_N.
2017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2018         <bp-checks.h>.
2019         (__libc_pread): Don't use CHECK_N.
2020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2021         include <bp-checks.h>.
2022         (__libc_pread64): Don't use CHECK_N.
2023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2024         include <bp-checks.h>.
2025         (__libc_pwrite): Don't use CHECK_N.
2026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2027         include <bp-checks.h>.
2028         (__libc_pwrite64): Don't use CHECK_N.
2029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2030         <bp-checks.h>.
2031         (__libc_pread): Don't use CHECK_N.
2032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2033         include <bp-checks.h>.
2034         (__libc_pread64): Don't use CHECK_N.
2035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2036         include <bp-checks.h>.
2037         (__libc_pwrite): Don't use CHECK_N.
2038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2039         include <bp-checks.h>.
2040         (__libc_pwrite64): Don't use CHECK_N.
2041         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2042         (do_pread): Don't use CHECK_N.
2043         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2044         (do_pread64): Don't use CHECK_N.
2045         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2046         (do_pwrite): Don't use CHECK_N.
2047         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2048         (do_pwrite64): Don't use CHECK_N.
2049         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2050         (__libc_readv): Don't use CHECK_N.
2051         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2052         (semop): Don't use CHECK_N.
2053         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2054         <bp-checks.h>.
2055         (semtimedop): Don't use CHECK_N.
2056         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2057         (__libc_pread): Don't use CHECK_N.
2058         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2059         <bp-checks.h>.
2060         (__libc_pread64): Don't use CHECK_N.
2061         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2062         <bp-checks.h>.
2063         (__libc_pwrite): Don't use CHECK_N.
2064         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2065         <bp-checks.h>.
2066         (__libc_pwrite64): Don't use CHECK_N.
2067         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2068         <bp-checks.h>.
2069         (__libc_msgrcv): Don't use CHECK_N.
2070         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2071         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
2072         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2073         (__libc_writev): Don't use CHECK_N.
2074
2075 2013-02-08  Roland McGrath  <roland@hack.frob.com>
2076
2077         * string/strcpy.c: Removed unused variable.
2078
2079         * Makeconfig (+sysdep-includes): Define with := rather than =.
2080         Use an existing include/ subdir of each sysdeps dir before it.
2081
2082 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2083
2084         * nscd/connection.c (register_traced_file): Comment function.
2085         [HAVE_INOTIFY] (union __inev): Define.
2086         [HAVE_INOTIFY] (inotify_check_files): New function.
2087         [HAVE_INOTIFY] (clear_db_cache): Likewise.
2088         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2089         clear_db_cache.
2090         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2091
2092 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2093
2094         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2095         loaded if not already and that a failure is permanent.
2096
2097 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2098
2099         [BZ #15006]
2100         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2101         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2102
2103 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
2104
2105         [BZ #13550]
2106         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2107         (CHECK_1_NULL_OK): Likewise.
2108         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2109         (__fxstat): Do not use CHECK_1.
2110         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2111         <bp-checks.h>.
2112         (___fxstat64): Do not use CHECK_1.
2113         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2114         <bp-checks.h>.
2115         (__fxstatat): Do not use CHECK_1.
2116         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2117         <bp-checks.h>.
2118         (__fxstatat64): Do not use CHECK_1.
2119         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2120         <bp-checks.h>.
2121         (__fxstat): Do not use CHECK_1.
2122         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2123         <bp-checks.h>.
2124         (__fxstatat): Do not use CHECK_1.
2125         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2126         <bp-checks.h>.
2127         (__getresgid): Do not use CHECK_1.
2128         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2129         <bp-checks.h>.
2130         (__getresuid): Do not use CHECK_1.
2131         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2132         <bp-checks.h>.
2133         (__lxstat): Do not use CHECK_1.
2134         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2135         <bp-checks.h>.
2136         (__old_msgctl): Do not use CHECK_1.
2137         (__new_msgctl): Likewise.
2138         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2139         <bp-checks.h>.
2140         (__new_setrlimit): Do not use CHECK_1.
2141         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2142         <bp-checks.h>.
2143         (__old_shmctl): Do not use CHECK_1.
2144         (__new_shmctl): Likewise.
2145         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2146         <bp-checks.h>.
2147         (__xstat): Do not use CHECK_1.
2148         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2149         (__lxstat): Do not use CHECK_1.
2150         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2151         <bp-checks.h>.
2152         (___lxstat64): Do not use CHECK_1.
2153         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2154         (__old_msgctl): Do not use CHECK_1.
2155         (__new_msgctl): Likewise.
2156         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2157         <bp-checks.h>.
2158         (__gettimeofday): Do not use CHECK_1.
2159         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2160         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2161         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2162         <bp-checks.h>.
2163         (__gettimeofday): Do not use CHECK_1.
2164         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2165         (__old_shmctl): Do not use CHECK_1_NULL_OK.
2166         (__new_shmctl): Do not use CHECK_1.
2167         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2168         <bp-checks.h>.
2169         (do_sigtimedwait): Do not use CHECK_1.
2170         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2171         <bp-checks.h>.
2172         (do_sigwaitinfo): Do not use CHECK_1.
2173         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2174         <bp-checks.h>.
2175         (msgctl): Do not use CHECK_1.
2176         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2177         <bp-checks.h>.
2178         (shmctl): Do not use CHECK_1.
2179         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2180         (ustat): Do not use CHECK_1.
2181         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2182         <bp-checks.h>.
2183         (__fxstat): Do not use CHECK_1.
2184         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2185         <bp-checks.h>.
2186         (__fxstatat): Do not use CHECK_1.
2187         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2188         <bp-checks.h>.
2189         (__lxstat): Do not use CHECK_1.
2190         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2191         <bp-checks.h>.
2192         (__xstat): Do not use CHECK_1.
2193         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2194         (__xstat): Do not use CHECK_1.
2195         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2196         (___xstat64): Do not use CHECK_1.
2197
2198         [BZ #13550]
2199         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2200         definitions.
2201         (CHECK_BOUNDS_HIGH): Likewise.
2202         * string/strcpy.c: Do not include <bp-checks.h>.
2203         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2204
2205 2013-02-07  Roland McGrath  <roland@hack.frob.com>
2206
2207         * nscd/nscd-client.h (__nscd_drop_map_ref):
2208         Add __attribute__ ((unused)).
2209         * nis/nss-nisplus.h (niserr2nss): Likewise.
2210
2211         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2212         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2213
2214         * csu/libc-tls.c (init_static_tls, init_slotinfo):
2215         Remove inline keyword.
2216         * include/rounding-mode.h (round_away): Likewise.
2217         * libio/wfileops.c (adjust_wide_data): Likewise.
2218         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2219         (__m128i_strloadu_tolower): Likewise.
2220         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2221         (__m128i_strloadu_tolower): Likewise.
2222         * time/mktime.c (ydhms_diff): Likewise.
2223         * locale/elem-hash.h (elem_hash): Likewise.
2224         * locale/setlocale.c (setdata): Likewise.
2225         * posix/regex_internal.h (re_string_char_size_at): Likewise.
2226         (re_string_wchar_at): Likewise.
2227         (bitset_not, bitset_merge, bitset_mask): Likewise.
2228         [!(__GNUC__ > 3)] (inline): Remove macro.
2229         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2230         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2231         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2232         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2233         * string/memcmp.c (memcmp_bytes): Likewise.
2234         * locale/programs/locarchive.c (compute_hashval): Likewise.
2235         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2236         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2237         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2238         * nss/getent.c (print_rpc, print_protocols): Likewise.
2239         (print_passwd, print_group, print_aliases): Likewise.
2240         * nis/nss-nisplus.h (niserr2nss): Likewise.
2241         * nscd/connections.c (restart_p): Likewise.
2242         Change return type to bool.
2243
2244 2013-02-05  Roland McGrath  <roland@hack.frob.com>
2245
2246         * Makeconfig (all-Depend-files): Add existing
2247         $(sorted-subdirs:=/Depend) files.
2248         (all-subdirs): Remove nss.
2249         * sysdeps/unix/inet/Subdirs: Add it here instead.
2250         * hesiod/Depend: New file.
2251
2252         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2253         instead of calling alloca.
2254
2255         * io/lseek.c (__lseek): Rename to __libc_lseek.
2256         Define __lseek as an alias.
2257
2258         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2259
2260 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
2261
2262         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2263         else clause and remove check for non-standard endianness.
2264
2265 2013-02-04  David S. Miller  <davem@davemloft.net>
2266
2267         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2268
2269 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
2270
2271         [BZ #13550]
2272         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2273         (__ubp_memchr): Remove prototype.
2274         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2275         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2276         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2277         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2278         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2279         Remove alias.
2280         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2281         (__ubp_memchr): Likewise.
2282         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2283         (__ubp_memchr): Likewise.
2284         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2285         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2286         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2287         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2288         CHECK_STRING.
2289         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2290         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2291         (__getcwd): Do not use CHECK_STRING.
2292         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2293         <bp-checks.h>.
2294         (__real_chown): Do not use CHECK_STRING.
2295         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2296         <bp-checks.h>.
2297         (fchownat): Do not use CHECK_STRING.
2298         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2299         CHECK_STRING.
2300         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2301         <bp-checks.h>.
2302         (__lchown): Do not use CHECK_STRING.
2303         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2304         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2305         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2306         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2308         include <bp-checks.h>.
2309         (truncate64): Do not use CHECK_STRING.
2310         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2311         <bp-checks.h>.
2312         (__real_chown): Do not use CHECK_STRING.
2313         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2314         <bp-checks.h>.
2315         (__lchown): Do not use CHECK_STRING.
2316         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2317         <bp-checks.h>.
2318         (__chown): Do not use CHECK_STRING.
2319         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2320         <bp-checks.h>.
2321         (truncate64): Do not use CHECK_STRING.
2322         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2323         Likewise.
2324         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2325         (__xmknod): Do not use CHECK_STRING.
2326         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2327         <bp-checks.h>.
2328         (__xmknodat): Do not use CHECK_STRING.
2329         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2330         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2331
2332 2013-02-04  Andreas Schwab  <schwab@suse.de>
2333
2334         [BZ #14142]
2335         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2336         * include/netdb.h: Likewise for h_errno.
2337         * elf/tst-stackguard1.c: Include <tls.h>.
2338
2339 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
2340
2341         * elf/link.h (struct link_map): Extend the l_addr comment.
2342         * include/link.h (struct link_map): Likewise.
2343
2344 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
2345
2346         [BZ #13550]
2347         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2348         (BOUNDED_1): Remove macro.
2349         * debug/backtrace.c: Don't include <bp-checks.h>.
2350         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2351         (__backtrace): Likewise.
2352         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2353         <bp-checks.h>.
2354         (__backtrace): Don't use BOUNDED_1.
2355         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2356         <bp-checks.h>.
2357         (__backtrace): Don't use BOUNDED_1.
2358         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2359         (__backtrace): Don't use BOUNDED_1.
2360         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2361         (shmat): Don't use BOUNDED_N.
2362
2363 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
2364
2365         [BZ #13550]
2366         * sysdeps/generic/bp-start.h: Remove file.
2367         * csu/libc-start.c: Don't include <bp-start.h>.
2368         (LIBC_START_MAIN): Set up __environ directly instead of using
2369         INIT_ARGV_and_ENVIRON.
2370         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2371         <bp-start.h>.
2372
2373         [BZ #13550]
2374         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2375         definitions.
2376         (CHECK_FCNTL): Likewise.
2377         (CHECK_N_PAGES): Likewise.
2378
2379         [BZ #13550]
2380         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2381         definitions.
2382         (CHECK_SIGSET_NULL_OK): Likewise.
2383         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2384         <bp-checks.h>.
2385         (sigpending): Don't use CHECK_SIGSET.
2386         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2387         <bp-checks.h>.
2388         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2389         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2390         <bp-checks.h>.
2391         (do_sigsuspend): Don't use CHECK_SIGSET.
2392         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2393         use CHECK_SIGSET.
2394         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2395         (do_sigwait): Don't use CHECK_SIGSET.
2396         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2397         use CHECK_SIGSET.
2398         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2399         include <bp-checks.h>.
2400         (sigpending): Don't use CHECK_SIGSET.
2401         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2402         include <bp-checks.h>.
2403         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2404         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2405         <bp-checks.h>.
2406         (sigpending): Don't use CHECK_SIGSET.
2407         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2408         <bp-checks.h>.
2409         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2410
2411         [BZ #13550]
2412         * sysdeps/generic/bp-semctl.h: Remove file.
2413         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2414         <bp-checks.h> and <bp-semctl.h>.
2415         (__old_semctl): Don't use CHECK_SEMCTL.
2416         (__new_semctl): Likewise.
2417         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2418         and <bp-semctl.h>.
2419         (__old_semctl): Don't use CHECK_SEMCTL.
2420         (__new_semctl): Likewise.
2421         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2422         <bp-checks.h> and <bp-semctl.h>.
2423         (__old_semctl): Don't use CHECK_SEMCTL.
2424         (__new_semctl): Likewise.
2425         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2426         <bp-checks.h> and <bp-semctl.h>.
2427         (semctl): Don't use CHECK_SEMCTL.
2428
2429         [BZ #13550]
2430         * Makerules (elide-bp-thunks): Remove variable.
2431         (elide-routines.oS): Don't use $(elide-bp-thunks).
2432         (elide-routines.os): Likewise.
2433         (elide-routines.o): Likewise.
2434         (elide-routines.op): Likewise.
2435         (elide-routines.og): Likewise.
2436         (objects): Don't use $(bp-thunks).
2437         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2438         include.
2439         (common-generated): Do not add s-proto-bp.d.
2440         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2441         (int): Likewise.
2442         (typ): Likewise.
2443         Do not generate makefile rules for bounded-pointer thunks.
2444         * sysdeps/generic/bp-thunks.h: Remove file.
2445         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2446         * sysdeps/unix/s-proto-bp.S: Likewise.
2447
2448         [BZ #15062]
2449         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2450         parts of result separately when argument is not close to line from
2451         -i to i and one part of argument is small.
2452         * math/k_casinhf.c (__kernel_casinhf): Likewise.
2453         * math/k_casinhl.c (__kernel_casinhl): Likewise.
2454         * math/libm-test.inc (cacos_test): Add more tests.
2455         (casin_test): Likewise.
2456         (casinh_test): Likewise.
2457         * sysdeps/i386/fpu/libm-test-ulps: Update.
2458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2459
2460 2013-01-31  David S. Miller  <davem@davemloft.net>
2461
2462         * po/de.po: Update from translation team.
2463
2464 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
2465
2466         * time/tzfile.c: Include stdint.h for SIZE_MAX.
2467
2468 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
2469
2470         * configure.in (_AC_PROG_CC_C89): New definition.
2471         * configure: Regenerate.
2472
2473         * configure.in (AC_PROG_CPP): New definition.
2474         * configure: Regenerate.
2475
2476 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
2477
2478         * debug/tst-backtrace.h: New file.
2479         * debug/tst-backtrace2.c: Include tst-backtrace.h.
2480         (ret): Remove variable.
2481         (x): Likewise.
2482         (FAIL): Remove macro.
2483         (NO_INLINE): Likewise.
2484         (fn1): Use match function instead of strstr.
2485         * debug/tst-backtrace3.c: Include tst-backtrace.h.
2486         (ret): Remove variable.
2487         (x): Likewise.
2488         (FAIL): Remove macro.
2489         (NO_INLINE): Likewise.
2490         (fn): Use match function instead of strstr.
2491         * debug/tst-backtrace4.c: Include tst-backtrace.h.
2492         (ret): Remove variable.
2493         (x): Likewise.
2494         (FAIL): Remove macro.
2495         (NO_INLINE): Likewise.
2496         (handle_signal): Use match function instead of strstr.
2497         * debug/tst-backtrace5.c: Include tst-backtrace.h.
2498         (ret): Remove variable.
2499         (x): Likewise.
2500         (FAIL): Remove macro.
2501         (NO_INLINE): Likewise.
2502         (handle_signal): Use match function instead of strstr.
2503
2504 2013-01-23  Roland McGrath  <roland@hack.frob.com>
2505
2506         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2507
2508 2013-01-23  David S. Miller  <davem@davemloft.net>
2509
2510         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2511         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2512         argument of CAS if possible.
2513         * sysdeps/sparc/sparc64/bits/atomic.h
2514         (__arch_compare_and_exchange_val_32_acq): Likewise.
2515         (__arch_compare_and_exchange_val_64_acq): Likewise.
2516
2517 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
2518
2519         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2520         * sysdeps/posix/ulimit.c: ... this.
2521         Include <limits.h>.
2522         * sysdeps/unix/bsd/ulimit.c: Remove file.
2523
2524 2013-01-23  Adam Conrad  <adconrad@0c3.net>
2525
2526         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2527         (LDFLAGS-tst-array5): Likewise.
2528
2529 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
2530
2531         [BZ #15036]
2532         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2533         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2534         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2535         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2536
2537 2013-01-21  David S. Miller  <davem@davemloft.net>
2538
2539         * sysdeps/sparc/backtrace.c: New file.
2540         * sysdeps/sparc/sparc32/backtrace.h: New file.
2541         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2542         * sysdeps/sparc/sparc64/backtrace.h: New file.
2543         * sysdeps/sparc/sparc64/backtrace.c: Delete.
2544         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2545         -funwind-tables.
2546
2547 2013-01-21  Andreas Schwab  <schwab@suse.de>
2548
2549         [BZ #15020]
2550         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2551         closed its stdout.
2552
2553 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
2554
2555         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2556         "mpa2.h".
2557         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2558
2559 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
2560             Mark Mitchell  <mark@codesourcery.com>
2561             Tom de Vries  <tom@codesourcery.com>
2562             Paul Pluzhnikov  <ppluzhnikov@google.com>
2563
2564         * debug/tst-backtrace2.c: New file.
2565         * debug/tst-backtrace3.c: Likewise.
2566         * debug/tst-backtrace4.c: Likewise.
2567         * debug/tst-backtrace5.c: Likewise.
2568         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2569         (CFLAGS-tst-backtrace3.c): Likewise.
2570         (CFLAGS-tst-backtrace4.c): Likewise.
2571         (CFLAGS-tst-backtrace5.c): Likewise.
2572         (LDFLAGS-tst-backtrace2): Likewise.
2573         (LDFLAGS-tst-backtrace3): Likewise.
2574         (LDFLAGS-tst-backtrace4): Likewise.
2575         (LDFLAGS-tst-backtrace5): Likewise.
2576         (tests): Add new tests tst-backtrace2, tst-backtrace3,
2577         tst-backtrace4 and tst-backtrace5.
2578
2579 2013-01-18  Anton Blanchard  <anton@samba.org>
2580             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2581
2582         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2583         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2584         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2585         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2587         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2588         "+r" and remove output regs list as redundant.  Add explicit inline
2589         asm to specify register of return val to work around compiler codegen
2590         bug.  Remove (int) cast on return value.  Add return type parameter to
2591         use in macro so that this macro does not truncate return value for
2592         64-bit values.
2593         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2594         pass to INTERNAL_VSYSCALL_NCS.
2595         (INLINE_VSYSCALL): Add 'long int' as return type to
2596         INTERNAL_VSYSCALL_NCS macro invocation.
2597         (INTERNAL_VSYSCALL): Add 'long int' as return type to
2598         INTERNAL_VSYSCALL_NCS macro invocation.
2599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2600
2601 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2602
2603         [BZ #14496]
2604         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2605         Fix application of SIMD FP exception mask.
2606
2607         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2608         mp_no from a power of two.
2609         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2610         __mpexp_twomm1.  Use __pow_mp.
2611
2612         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2613         multiplication.
2614
2615 2013-01-17  David S. Miller  <davem@davemloft.net>
2616
2617         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2618
2619 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
2620
2621         [BZ #15023]
2622         * include/complex.h: Condition contents on [!_COMPLEX_H].
2623         (__kernel_casinhf): New prototype.
2624         (__kernel_casinh): Likewise.
2625         (__kernel_casinhl): Likewise.
2626         * math/Makefile (libm_calls): Add k_casinh.
2627         * math/k_casinh.c: New file.
2628         * math/k_casinhf.c: Likewise.
2629         * math/k_casinhl.c: Likewise.
2630         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2631         finite nonzero arguments.
2632         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2633         finite nonzero arguments.
2634         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2635         finite nonzero arguments.
2636         * math/s_casinh.c: Do not include <float.h>.
2637         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2638         * math/s_casinhf.c: Do not include <float.h>.
2639         (__casinhf): Move code for finite nonzero arguments to
2640         k_casinhf.c.
2641         * math/s_casinhl.c: Do not include <float.h>.
2642         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2643         redefine.
2644         (__casinhl): Move code for finite nonzero arguments to
2645         k_casinhl.c.
2646         * math/libm-test.inc (cacos_test): Add more tests.
2647         * sysdeps/i386/fpu/libm-test-ulps: Update.
2648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2649
2650 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
2651
2652         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2653         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2654         [!HAVE_MREMAP]: Remove [defined linux] case.
2655         * malloc/arena.c: Do not include <malloc-sysdep.h>.
2656
2657 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2658
2659         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2660
2661 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
2662
2663         * elf/elf.h (R_386_SIZE32): New relocation.
2664         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2665         R_386_SIZE32.
2666         (elf_machine_rela): Likewise.
2667         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2668         R_X86_64_SIZE64 and R_X86_64_SIZE32.
2669
2670 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
2671
2672         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2673         (FP_FAST_FMA): Do not define.
2674         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2675         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2676         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2677         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2678         !_SOFT_FLOAT]: Likewise.
2679         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2680         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2681         value.
2682         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2683         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2684         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2685         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2686         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2687         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2688         file.
2689
2690 2013-01-16  Andreas Schwab  <schwab@suse.de>
2691
2692         [BZ #14327]
2693         * include/stdlib.h (__mktemp): Add declaration.
2694         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2695         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2696
2697 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2698
2699         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2700         definitions.
2701         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2702         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2703         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2704         definitions here.
2705         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2706         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2707         definitions.
2708         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2709         and ONE.
2710         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2711         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2712         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2713         definitions.
2714         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2715         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2716         definitions.
2717         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2718
2719         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2720
2721 2013-01-15  David S. Miller  <davem@davemloft.net>
2722
2723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2724         trunc{,f} to libm-sysdep_routes.
2725         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2727         file.
2728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2730         file.
2731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2732         file.
2733         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2735         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2736         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2737         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2738         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2739         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2740         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2741
2742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2743         nearbyint{,f} to libm-sysdep_routes.
2744         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2746         New file.
2747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2748         file.
2749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2750         New file.
2751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2752         file.
2753         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2754         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2755         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2756         file.
2757         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2758         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2759         file.
2760         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2761         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2762         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2763
2764         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2765         libc_feholdexcept and libc_fesetenv.
2766
2767 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
2768
2769         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2770
2771 2013-01-14  David S. Miller  <davem@davemloft.net>
2772
2773         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2774         (SPARC_ASM_VIS2_IFUNC): Likewise.
2775         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2777         use of 'siam' instruction.
2778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2779         Likewise.
2780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2781         Likewise.
2782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2783         Likewise.
2784         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2785         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2786         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2787         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2789         file.
2790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2791         file.
2792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2793         file.
2794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2795         file.
2796         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2797         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2798         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2799         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2801         new VIS2 routines.
2802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2805         Likewise.
2806         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2807         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2808         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2809         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2811         routines to libm-sysdep_routines.
2812         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2813
2814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2815         fdim/fdimf to libm-sysdep_routines.
2816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2817         file.
2818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2820         file.
2821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2824         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2825         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2826         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2827         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2828
2829 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2830
2831         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2832         to optimize copies.
2833
2834         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2835         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2836         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2837
2838         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2839         local variable MPTWO.
2840         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2841         Likewise.
2842
2843 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
2844
2845         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2846         GLOB_NOESCAPE.
2847
2848 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
2849
2850         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2851
2852 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
2853
2854         * manual/pattern.texi (glob_t): Document gl_flags.
2855         (glob64_t): Likewise.
2856
2857 2013-01-11  David S. Miller  <davem@davemloft.net>
2858
2859         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2860         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2861         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
2862         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2863         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2864         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2865         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2866         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2867         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2868         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2869         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2870         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2871         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2872
2873         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2874         sparc V9 rather than using V8 code.
2875         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2876         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2877
2878         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2879         Move to...
2880         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2881         Here.
2882
2883 2013-01-11  Roland McGrath  <roland@hack.frob.com>
2884
2885         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2886         not in the main loop.
2887         * configure: Regenerated.
2888
2889 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
2890
2891         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2892         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2893         to just #else.
2894         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
2895         [!__GLIBC_HAVE_LONG_LONG] case.
2896         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2897         condition to just #else.
2898         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2899         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2900         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2901         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2902         unconditional.
2903         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2904         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2905         #elif condition to just #else.
2906         * sysdeps/unix/sysv/linux/sys/sysmacros.h
2907         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2908         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2909         #elif condition to just #else.
2910
2911 2013-01-11  Steve Ellcey  <sellcey@mips.com>
2912
2913         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2914         (EF_MIPS_ARCH_64): Fix value.
2915         (EF_MIPS_ARCH_32R2): New.
2916         (EF_MIPS_ARCH_64R2): New.
2917
2918 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
2919
2920         * Makeconfig (+link-pie-before-libc): New.
2921         (+link-pie-after-libc): Likewise.
2922         (+link-pie-tests): Likewise.
2923         (+link-pie): Rewritten.
2924         (link-before-libc): Remove $(config-LDFLAGS).
2925         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2926         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2927         (config-LDFLAGS): Renamed to ...
2928         (rtld-LDFLAGS): This.
2929         (rtld-tests-LDFLAGS): New macro.
2930         (link-libc-rpath-link): Likewise.
2931         (link-libc-tests-rpath-link): Likewise.
2932         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2933         (link-libc): Prepand $(link-libc-rpath-link).
2934         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2935         (test-program-prefix): New macro.
2936         (test-via-rtld-prefix): Likewise.
2937         (test-program-cmd): Likewise.
2938         (host-test-program-cmd): Likewise.
2939         * Makefile ($(common-objpfx)testrun.sh): Replace
2940         $(run-program-prefix) with $(test-program-prefix).
2941         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2942         $(rtld-LDFLAGS).
2943         ($(common-objpfx)shlib.lds): Likewise.
2944         (build-module-helper): Likewise.
2945         ($(common-objpfx)format.lds): Likewise.
2946         * Rules (binaries-pie-tests): New.
2947         (binaries-pie-notests): Likewise.
2948         (binaries-pie): Rewritten.
2949         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2950         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2951         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2952         (make-test-out): Replace $(host-built-program-cmd) with
2953         $(host-test-program-cmd).
2954         * config.make.in (build-hardcoded-path-in-tests): New variable.
2955         * configure.in (--enable-hardcoded-path-in-tests): New configure
2956         option.
2957         (hardcoded_path_in_tests): New AC_SUBST.
2958         * configure: Regenerated.
2959         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2960         $(built-program-cmd) with $(test-program-cmd).
2961         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2962         (test_program_cmd): This.
2963         * elf/Makefile ($(objpfx)order.out): Run test with
2964         $(test-program-prefix).
2965         ($(objpfx)order2.out): Likewise.
2966         ($(objpfx)tst-initorder.out): Likewise.
2967         ($(objpfx)tst-initorder2.out): Likewise.
2968         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2969         $(test-program-cmd).
2970         ($(objpfx)tst-array1-static.out): Likewise.
2971         ($(objpfx)tst-array2.out): Likewise.
2972         ($(objpfx)tst-array3.out): Likewise.
2973         ($(objpfx)tst-array4.out): Likewise.
2974         ($(objpfx)tst-array5.out): Likewise.
2975         ($(objpfx)tst-array5-static.out): Likewise.
2976         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2977         $(test-program-cmd).
2978         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2979         $(run-program-prefix) with $(test-program-prefix).
2980         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2981         (test_program_prefix): This.
2982         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2983         $(run-program-prefix) with $(test-program-prefix).
2984         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2985         (test_program_prefix): This.
2986         * iconvdata/tst-tables.sh: Likewise.
2987         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2988         $(run-program-prefix) with $(test-program-prefix).
2989         ($(objpfx)tst-translit.out): Likewise.
2990         ($(objpfx)tst-gettext2.out): Likewise.
2991         ($(objpfx)tst-gettext4.out): Likewise.
2992         ($(objpfx)tst-gettext6.out): Likewise.
2993         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2994         (test_program_prefix): This.
2995         * intl/tst-gettext2.sh: Likewise.
2996         * intl/tst-gettext4.sh  Likewise.
2997         * intl/tst-gettext6.sh: Likewise.
2998         * intl/tst-translit.sh: Likewise.
2999         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3000         with $(test-program-cmd).
3001         * libio/Makefile ($(objpfx)test-freopen.out): Replace
3002         $(run-program-prefix) with $(test-program-prefix).
3003         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3004         (test_program_prefix): This.
3005         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3006         $(run-program-prefix) with $(test-program-prefix).
3007         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3008         (test_program_prefix): This.
3009         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3010         * posix/Makefile ($(objpfx)globtest.out): Replace
3011         $(run-via-rtld-prefix) and $(test-wrapper) with
3012         $(test-program-prefix) and $(test-via-rtld-prefix).
3013         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3014         $(test-program-prefix).
3015         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3016         $(host-test-program-cmd).
3017         (tst-spawn-ARGS): Likewise.
3018         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3019         $(test-program-prefix).
3020         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3021         (test_via_rtld_prefix): This.
3022         (test_wrapper): Renamed to ...
3023         (test_program_prefix): This.
3024         (run_program_prefix): Replaced by test_program_prefix.
3025         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3026         (test_program_prefix): This.
3027         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3028         with $(host-test-program-cmd).
3029         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3030         $(run-program-prefix) with $(test-program-prefix).
3031         ($(objpfx)tst-printf.out): Likewise.
3032         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3033         $(test-program-cmd).
3034         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3035         (test_program_prefix): This.
3036         * stdio-common/tst-unbputc.sh: Likewise.
3037         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3038         $(run-program-prefix) with $(test-program-prefix).
3039         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3040         (test_program_prefix): This.
3041         * string/Makefile ($(objpfx)tst-svc.out):  Replace
3042         $(built-program-cmd) with $(test-program-cmd).
3043
3044 2013-01-11  Andreas Jaeger  <aj@suse.de>
3045
3046         [BZ #15003]
3047         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3048         value. Sync with Linux 3.7.
3049
3050 2013-01-10  David S. Miller  <davem@davemloft.net>
3051
3052         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3053         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3054         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3055
3056 2013-01-10  Roland McGrath  <roland@hack.frob.com>
3057
3058         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3059         never set.
3060         * configure: Regenerated.
3061
3062 2013-01-10  David S. Miller  <davem@davemloft.net>
3063
3064         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3065         sparc V9 rather than using V8 code.
3066         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3067         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3068
3069 2013-01-10  Roland McGrath  <roland@hack.frob.com>
3070
3071         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3072         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3073         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3074         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3075         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3076         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3077         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3078         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3079         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3080         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3081         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3082         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3083         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3084         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3085         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3086         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3087         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3088         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3089         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3090         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3091         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3092         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3093         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3094         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3095         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3096         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3097         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3098
3099 2013-01-10  David S. Miller  <davem@davemloft.net>
3100
3101         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3102
3103 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3104
3105         * posix/Makefile (tests-static): New variable.
3106         (tests): Add $(tests-static).
3107         (tst-exec-static-ARGS): New variable.
3108         (tst-spawn-static-ARGS): Likewise.
3109         * posix/tst-exec-static.c: New file.
3110         * posix/tst-spawn-static.c: Likewise.
3111         * posix/tst-exec.c: Support run directly.
3112         * posix/tst-spawn.c: Likewise.
3113
3114 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
3115
3116         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3117         long.
3118         * math/bits/mathcalls.h (llrint): Likewise.
3119         (llround): Likewise.
3120         * stdlib/stdlib.h (struct drand48_data): Likewise.
3121         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3122         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3123         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3124         Likewise.
3125         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3126         Likewise.
3127         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3128         (elf_greg_t): Likewise.
3129         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3130         (__jmp_buf): Likewise.
3131         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3132         definitions.
3133         (llrint): Likewise, for all definitions.
3134         (llrintl): Likewise.
3135
3136         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3137         Remove [__GNUC__] condition.
3138         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3139         condition to just [__USE_ISOC99].
3140         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3141
3142 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3143
3144         [BZ #14200]
3145         * sysdeps/unix/sysv/linux/x86/bits/environments.h
3146         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3147         defined.
3148         (_POSIX_V6_ILP32_OFF32): Likewise.
3149         (_XBS5_ILP32_OFF32): Likewise.
3150         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3151         (__ILP32_OFFBIG_LDFLAGS): Likewise.
3152
3153 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3154
3155         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3156
3157         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3158         doubles __mpexp_twomm1.  Adjust usage.
3159         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3160         Remove.
3161
3162 2013-01-10  Andreas Schwab  <schwab@suse.de>
3163
3164         [BZ #14964]
3165         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3166         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3167
3168 2013-01-09  David S. Miller  <davem@davemloft.net>
3169
3170         [BZ #15003]
3171         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3172         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3173         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3174         TCP_FASTOPEN): Define.
3175         (tcp_repair_opt): New structure.
3176         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3177         enum values.
3178         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3179         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3180         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3181         (tcp_cookie_transactions): New structure.
3182
3183 2013-01-09  Anton Blanchard  <anton@samba.org>
3184
3185         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3186         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3187         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3188         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3189
3190 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
3191
3192         * include/features.h (__USE_ANSI): Remove.
3193
3194 2013-01-09  Roland McGrath  <roland@hack.frob.com>
3195
3196         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3197
3198         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3199
3200 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
3201
3202         * sysdeps/s390/fpu/libm-test-ulps: Update.
3203
3204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3205
3206         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3207         (__acr): Likewise.
3208         (__cpy): Likewise.
3209         (norm): Likewise.
3210         (denorm): Likewise.
3211         (__mp_dbl): Likewise.
3212         (__dbl_mp): Likewise.
3213         (add_magnitudes): Likewise.
3214         (sub_magnitudes): Likewise.
3215         (__add): Likewise.
3216         (__sub): Likewise.
3217         (__mul): Likewise.
3218         (__inv): Likewise.
3219         (__dvd): Likewise.
3220         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3221         (__acr): Likewise.
3222         (__cpy): Likewise.
3223         (norm): Likewise.
3224         (denorm): Likewise.
3225         (__mp_dbl): Likewise.
3226         (__dbl_mp): Likewise.
3227         (add_magnitudes): Likewise.
3228         (sub_magnitudes): Likewise.
3229         (__add): Likewise.
3230         (__sub): Likewise.
3231         (__mul): Likewise.
3232         (__inv): Likewise.
3233         (__dvd): Likewise.
3234         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3235         (__acr): Likewise.
3236         (__cpy): Likewise.
3237         (norm): Likewise.
3238         (denorm): Likewise.
3239         (__mp_dbl): Likewise.
3240         (__dbl_mp): Likewise.
3241         (add_magnitudes): Likewise.
3242         (sub_magnitudes): Likewise.
3243         (__add): Likewise.
3244         (__sub): Likewise.
3245         (__mul): Likewise.
3246         (__inv): Likewise.
3247         (__dvd): Likewise.
3248
3249 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
3250
3251         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3252         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3253         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3254         2 && __USE_EXTERN_INLINES]: Likewise.
3255
3256 2013-01-08  Andreas Jaeger  <aj@suse.de>
3257
3258         [BZ# 14985]
3259         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3260         Remove.
3261         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3262         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3263
3264 2013-01-07  Anton Blanchard  <anton@samba.org>
3265
3266         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3267         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3268         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3269         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3270         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3271         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3272         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3273         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3274         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3275         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3276         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3277         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3278         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3279         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3280         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3281         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3282         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3283         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3284         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3285         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3286         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3287         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3288         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3289         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3290         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3291         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3292         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3293         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3294         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3295         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3296         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3297         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3298         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3299         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3300         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3301         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3302         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3303         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3304         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3305         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3306         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3307         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3308         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3309
3310 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
3311
3312         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3313         (__MALLOC_PMT): Likewise.
3314         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3315         [__GNUC__], only on [_LIBC].
3316         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3317         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3318         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3319         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3320         forward declaration.
3321         (realloc_hook_ini): Likewise.
3322         (memalign_hook_ini): Likewise.
3323         (__libc_memalign): Do not use __MALLOC_PMT in variable
3324         declaration.
3325         (__libc_valloc): Likewise.
3326         (__libc_pvalloc): Likewise.
3327         (__libc_calloc): Likewise.
3328         (__posix_memalign): Likewise.
3329
3330         [BZ #14996]
3331         * math/s_casinh.c: Include <float.h>.
3332         (__casinh): Do not do computation with squaring and square root
3333         for large arguments.
3334         * math/s_casinhf.c: Include <float.h>.
3335         (__casinhf): Do not do computation with squaring and square root
3336         for large arguments.
3337         * math/s_casinhl.c: Include <float.h>.
3338         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3339         (__casinhl): Do not do computation with squaring and square root
3340         for large arguments.
3341         * math/libm-test.inc (casin_test): Add more tests.
3342         (casinh_test): Likewise.
3343         * sysdeps/i386/fpu/libm-test-ulps: Update.
3344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3345
3346 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
3347
3348         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3349         (__x86_64_raw_data_cache_size): Likewise.
3350         (__x86_64_data_cache_size_half): Likewise.
3351         (__x86_64_raw_data_cache_size_half): Likewise.
3352         (__x86_64_shared_cache_size): Likewise.
3353         (__x86_64_raw_shared_cache_size): Likewise.
3354         (__x86_64_shared_cache_size_half): Likewise.
3355         (__x86_64_raw_shared_cache_size_half): Likewise.
3356         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3357         to ...
3358         (__x86_data_cache_size): This.
3359         (__x86_64_raw_data_cache_size): Renamed to ...
3360         (__x86_raw_data_cache_size): This.
3361         (__x86_64_data_cache_size_half): Renamed to ...
3362         (__x86_data_cache_size_half): This.
3363         (__x86_64_raw_data_cache_size_half): Renamed to ...
3364         (__x86_raw_data_cache_size_half): This.
3365         (__x86_64_shared_cache_size): Renamed to ...
3366         (__x86_shared_cache_size): This.
3367         (__x86_64_raw_shared_cache_size): Renamed to ...
3368         (__x86_raw_shared_cache_size): This.
3369         (__x86_64_shared_cache_size_half): Renamed to ...
3370         (__x86_shared_cache_size_half): This.
3371         (__x86_64_raw_shared_cache_size_half): Renamed to ...
3372         (__x86_raw_shared_cache_size_half): This.
3373         * sysdeps/x86_64/memcpy.S: Updated.
3374         * sysdeps/x86_64/memset.S: Likewise.
3375         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3376         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3377         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3378
3379 2013-01-04  David S. Miller  <davem@davemloft.net>
3380
3381         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3382
3383 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
3384
3385         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3386         1 to avoid redefinition warning.
3387         (__USE_GNU): Don't define.
3388         (init_signaling_nan): Protoize.
3389
3390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3391
3392 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3393
3394         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3395         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3396         (__cpymn): Likewise.
3397         (norm): Remove commented code.
3398         (denorm): Likewise.
3399         (__mp_dbl): Likewise.
3400         (__inv): Likewise.
3401         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3402         (__cpymn): Likewise.
3403         (norm): Remove commented code.
3404         (denorm): Likewise.
3405         (__mp_dbl): Likewise.
3406         (__inv): Likewise.
3407
3408         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3409         mp_no value for 1.0 and 2.0.
3410         (norm): Use RADIXI instead of radixi.d.
3411         (denorm): Likewise.
3412         (__mul): Use 0.0 instead of zero.d.
3413         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3414         mp_no value for 1.0 and 2.0.
3415         (norm): Use RADIXI instead of radixi.d.
3416         (denorm): Likewise.
3417         (__mul): Use 0.0 instead of zero.d.
3418
3419 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
3420
3421         [BZ #14994]
3422         * math/s_casinh.c (__casinh): Reduce finite argument to first
3423         quadrant then set signs of results at the end.
3424         * math/s_casinhf.c (__casinhf): Likewise.
3425         * math/s_casinhl.c (__casinhl): Likewise.
3426         * math/libm-test.inc (casin_test): Add more tests.
3427         (casinh_test): Likewise.
3428         * sysdeps/i386/fpu/libm-test-ulps: Update.
3429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3430
3431 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3432
3433         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3434
3435         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3436
3437         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3438         declarations.
3439         (denorm): Likewise.
3440         (__mp_dbl): Likewise.
3441         (__inv): Likewise.
3442
3443         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3444         and adjust the header comment.
3445
3446         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3447         variable name from declaration.
3448
3449 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
3450
3451         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3452         Initialize COMMON_CPUID_INDEX_7 element.
3453         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3454         (CPUID_RTM): Likewise.
3455         (HAS_RTM): Likewise.
3456         (COMMON_CPUID_INDEX_7): New enum.
3457
3458 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
3459
3460         [BZ #14981]
3461         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3462         size is zero, record memory as freed.
3463
3464 2013-01-03  Andreas Jaeger  <aj@suse.de>
3465
3466         * po/ia.po: Add new Interlingua translation.
3467
3468 2012-01-03  Allan McRae  <allan@archlinux.org>
3469
3470         * locale/programs/localedef.c: Fix description of '--posix' flag.
3471
3472 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
3473
3474         * NEWS: Update dates in second copyright notice.
3475         * README: Update copyright dates in example.
3476         * manual/libc.texinfo: Update copyright dates.
3477         * scripts/test-installation.pl: Update copyright date in --version
3478         output.
3479
3480         * hurd/ctty-input.c: Fix copyright notice formatting.
3481         * hurd/ctty-output.c: Likewise.
3482         * hurd/dtable.c: Likewise.
3483         * hurd/hurd-raise.c: Likewise.
3484         * hurd/hurdprio.c: Likewise.
3485         * hurd/msgportdemux.c: Likewise.
3486         * misc/sys/file.h: Likewise.
3487         * misc/sys/ioctl.h: Likewise.
3488         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3489         * sysdeps/mach/hurd/chdir.c: Likewise.
3490         * sysdeps/mach/hurd/fchdir.c: Likewise.
3491         * sysdeps/mach/hurd/rename.c: Likewise.
3492         * sysdeps/mach/hurd/rmdir.c: Likewise.
3493         * sysdeps/mach/hurd/seekdir.c: Likewise.
3494         * sysdeps/mach/hurd/setsid.c: Likewise.
3495         * sysdeps/posix/wait3.c: Likewise.
3496
3497         * All files with FSF copyright notices: Update copyright dates
3498         using scripts/update-copyrights.
3499         * intl/plural.c: Regenerated.
3500         * locale/programs/charmap-kw.h: Likewise.
3501         * locale/programs/locfile-kw.h: Likewise.
3502
3503 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3504
3505         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3506         four values.
3507
3508         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3509         calculation loop and add branch prediction.
3510
3511         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3512         check access beyond bounds of m1np.
3513
3514         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3515         MPTWO.
3516         (__inv): Remove local variable MPTWO to use the global
3517         constant.
3518         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3519         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3520         variable MPTWO.
3521         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3522         MP3HALFS static const.
3523
3524 2013-01-01  David S. Miller  <davem@davemloft.net>
3525
3526         * po/ca.po: Update from translation team.
3527
3528 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
3529
3530         * scripts/update-copyrights: New file.
3531         * Makeconfig: Reformat copyright notice.
3532         * ctype/ctype.h: Likewise.
3533         * debug/swprintf_chk.c: Likewise.
3534         * elf/dl-cache.c: Likewise.
3535         * elf/dl-debug.c: Likewise.
3536         * elf/dl-object.c: Likewise.
3537         * grp/initgroups.c: Likewise.
3538         * hurd/Makefile: Likewise.
3539         * hurd/hurd/signal.h: Likewise.
3540         * hurd/hurdfault.c: Likewise.
3541         * hurd/hurdioctl.c: Likewise.
3542         * hurd/hurdlookup.c: Likewise.
3543         * hurd/intr-msg.c: Likewise.
3544         * iconv/gconv_open.c: Likewise.
3545         * libio/swprintf.c: Likewise.
3546         * locale/lc-ctype.c: Likewise.
3547         * locale/nl_langinfo.c: Likewise.
3548         * mach/Machrules: Likewise.
3549         * mach/Makefile: Likewise.
3550         * malloc/obstack.h: Likewise.
3551         * manual/Makefile: Likewise.
3552         * manual/tsort.awk: Likewise.
3553         * misc/bits/stab.def: Likewise.
3554         * nis/nis_print_group_entry.c: Likewise.
3555         * nis/nis_table.c: Likewise.
3556         * nis/nss_compat/compat-pwd.c: Likewise.
3557         * nis/nss_compat/compat-spwd.c: Likewise.
3558         * po/Makefile: Likewise.
3559         * posix/fnmatch.c: Likewise.
3560         * posix/regex.h: Likewise.
3561         * resolv/Makefile: Likewise.
3562         * resolv/nss_dns/dns-network.c: Likewise.
3563         * resolv/res_hconf.c: Likewise.
3564         * scripts/gen-sorted.awk: Likewise.
3565         * soft-fp/soft-fp.h: Likewise.
3566         * stdio-common/printf.h: Likewise.
3567         * stdlib/monetary.h: Likewise.
3568         * stdlib/random.c: Likewise.
3569         * stdlib/random_r.c: Likewise.
3570         * sysdeps/generic/Makefile: Likewise.
3571         * sysdeps/gnu/Makefile: Likewise.
3572         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3573         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3574         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3575         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3576         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3577         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3578         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3579         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3580         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3581         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3582         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3583         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3584         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3585         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3586         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3587         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3588         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3589         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3590         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3591         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3592         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3593         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3594         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3595         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3596         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3597         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3598         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3599         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3600         * sysdeps/mach/hurd/errnos.awk: Likewise.
3601         * sysdeps/mach/hurd/fork.c: Likewise.
3602         * sysdeps/mach/hurd/getcwd.c: Likewise.
3603         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3604         * sysdeps/mach/hurd/mmap.c: Likewise.
3605         * sysdeps/mach/hurd/utimes.c: Likewise.
3606         * sysdeps/mach/hurd/xmknod.c: Likewise.
3607         * sysdeps/posix/profil.c: Likewise.
3608         * sysdeps/posix/readdir_r.c: Likewise.
3609         * sysdeps/powerpc/bits/mathdef.h: Likewise.
3610         * sysdeps/powerpc/bits/setjmp.h: Likewise.
3611         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3612         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3613         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3614         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3615         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3616         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3617         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3618         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3619         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3620         * sysdeps/pthread/lio_listio.c: Likewise.
3621         * sysdeps/sparc/dl-procinfo.h: Likewise.
3622         * sysdeps/unix/i386/sysdep.S: Likewise.
3623         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3624         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3625         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3626         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3628         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3629         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3630         * sysdeps/unix/sysv/linux/speed.c: Likewise.
3631         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3632         * sysdeps/wordsize-32/divdi3.c: Likewise.
3633         * time/sys/time.h: Likewise.
3634         * wcsmbs/Makefile: Likewise.
3635
3636 2013-01-01  David S. Miller  <davem@davemloft.net>
3637
3638         * po/fr.po: Update from translation team.
3639
3640         * catgets/gencat.c: Update copyright year.
3641         * csu/version.c: Likewise.
3642         * debug/catchsegv.sh: Likewise.
3643         * debug/pcprofiledump.c: Likewise.
3644         * debug/xtrace.sh: Likewise.
3645         * elf/ldconfig.c: Likewise.
3646         * elf/ldd.bash.in: Likewise.
3647         * elf/pldd.c: Likewise.
3648         * elf/sotruss.ksh: Likewise.
3649         * elf/sprof.c: Likewise.
3650         * iconv/iconv_prog.c: Likewise.
3651         * iconv/iconvconfig.c: Likewise.
3652         * locale/programs/locale.c: Likewise.
3653         * locale/programs/localedef.c: Likewise.
3654         * login/programs/pt_chown.c: Likewise.
3655         * malloc/memusage.sh: Likewise.
3656         * malloc/memusagestat.c: Likewise.
3657         * malloc/mtrace.pl: Likewise.
3658         * nscd/nscd.c: Likewise.
3659         * nss/getent.c: Likewise.
3660         * nss/makedb.c: Likewise.
3661         * posix/getconf.c: Likewise.
3662
3663 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
3664
3665         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3666         numbers.
3667
3668 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
3669
3670         * math/bits/mathcalls.h (modf): Use __nonnull.
3671
3672 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3673
3674         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3675         (split): Use macro CN instead of the bare value.
3676         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3677         could be used.
3678         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3679         instead of the bare value.
3680         (power1): Likewise.
3681
3682 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3683
3684         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3685         __ATAN_TWOM.
3686         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3687
3688         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3689         their values.
3690         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3691         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3692         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3693         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3694
3695 2012-12-28  Andreas Jaeger  <aj@suse.de>
3696
3697         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
3698         values are from Linux 3.7.
3699
3700         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3701         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
3702
3703 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3704
3705         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
3706         TRUE case.
3707
3708         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3709         (norm): Likewise.
3710         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3711         variables with preprocessor constants.
3712         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3713         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3714         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3715
3716 2012-12-27  Bruno Haible  <bruno@clisp.org>
3717
3718         [BZ #14317]
3719         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3720         only if needed.
3721
3722 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3723
3724         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3725         and use variable directly.
3726         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3727
3728         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3729         MPONE.
3730         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3731         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3732         variable MPONE.
3733         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3734         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3735         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3736         include directive.  Remove local variable MPONE.
3737         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3738         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3739         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3740
3741 2012-12-25  David S. Miller  <davem@davemloft.net>
3742
3743         * version.h (RELEASE): Set to "development".
3744         (VERSION): Set to "2.17.90".
3745         * NEWS: Add 2.18 section.
3746
3747 2012-12-21  David S. Miller  <davem@davemloft.net>
3748
3749         * po/hr.po: Update from translation team.
3750
3751 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3752
3753         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3754
3755 2012-12-19  Steve Ellcey  <sellcey@mips.com>
3756
3757         * NEWS:  Mention new memcpy for MIPS.
3758
3759 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3760
3761         * manual/contrib.texi (Contributors): Spelling correction.
3762
3763 2012-12-15  David S. Miller  <davem@davemloft.net>
3764
3765         * po/ru.po: Update from translation team.
3766
3767 2012-12-13  David S. Miller  <davem@davemloft.net>
3768
3769         * NEWS: Mention IFUNC testsuite enhancements.
3770
3771         * po/pl.po: Update from translation team.
3772         * po/bg.po: Likewise.
3773
3774         * manual/contrib.texi (Contributors): Update entries for Hongjiu
3775         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
3776
3777 2012-12-11  David S. Miller  <davem@davemloft.net>
3778
3779         * po/sv.po: Update from translation team.
3780
3781         * po/vi.po: Update from translation team.
3782
3783         * po/cs.po: Update from translation team.
3784
3785         * po/de.po: Update from translation team.
3786         * po/eo.po: Likewise.
3787         * po/nl.po: Likewise.
3788
3789 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3790
3791         [BZ #14246]
3792         * manual/argp.texi (Argp Helper Functions): Move node to follow
3793         Argp Parsing State.
3794
3795         [BZ #14872]
3796         * manual/conf.texi (Limits on File System Capacity): Mention if
3797         terminating null is included in the max size.
3798
3799 2012-12-10  Andreas Jaeger  <aj@suse.de>
3800
3801         * po/cs.po: Update from translation team.
3802
3803 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3804
3805         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3806         void pointer and cast to uintptr_t.
3807         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3808         path.
3809         * sysdeps/s390/s390-64/memcpy.S: Likewise.
3810         * sysdeps/s390/s390-64/memset.S: Likewise.
3811
3812 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
3813
3814         [BZ #14833]
3815         * menual/message.texi (Message Translation): Fix typos.
3816         (Helper programs for gettext): Likewise.
3817
3818 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
3819
3820         [BZ #14898]
3821         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3822         Change to -1.
3823
3824 2012-12-07  David S. Miller  <davem@davemloft.net>
3825
3826         * po/libc.pot: Update.
3827
3828 2012-12-07  Richard Henderson  <rth@redhat.com>
3829
3830         [BZ #10114]
3831         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3832         normal/normal case to before the switch.
3833         (_FP_DIV): Likewise.
3834
3835 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
3836             Mike Frysinger  <vapier@gentoo.org>
3837
3838         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3839         check for __NR_fadvise64_64.
3840
3841 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
3842
3843         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3844         0, not just to plain "0" as a statement.
3845         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3846         with cw.
3847
3848 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
3849
3850         * NEWS: Use sourceware.org in Bugzilla URL.
3851
3852 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3853
3854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3855         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3856
3857         * stdio-common/tst-put-error.c (do_test): Add newline to the
3858         padded test to ensure flush.
3859
3860 2012-12-05  Jeff Law  <law@redhat.com>
3861
3862         * sunrpc/etc.rpc (fedfs_admin): Add entry.
3863
3864 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
3865
3866         * README: Don't refer to ports add-on as distributed separately.
3867         Mention AArch64 in list of systems supported in the ports add-on.
3868
3869         * LICENSES: Add more non-FSF copyright and license notices.
3870
3871         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3872         ((unused)).
3873
3874         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3875
3876         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3877         10000 as width of padded output.
3878
3879 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
3880
3881         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3882
3883         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3884         variable LX with __attribute__ ((unused)).
3885         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3886         Likewise.
3887         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3888         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3889         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3890         with __attribute__ ((unused)).
3891
3892 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
3893
3894         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3895
3896 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
3897
3898         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3899         (CFLAGS-nldbl-acos.c): New variable.
3900         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3901         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3902         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3903         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3904         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3905         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3906         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3907         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3908         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3909         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3910         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3911         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3912         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3913         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3914         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3915         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3916         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3917         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3918         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3919         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3920         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3921         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3922         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3923         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3924         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3925         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3926         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3927         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3928         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3929         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3930         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3931         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3932         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3933         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3934         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3935         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3936         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3937         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3938         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3939         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3940         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3941         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3942         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3943         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3944         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3945         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3946         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3947         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3948         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3949         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3950         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3951         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3952         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3953         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3954         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3955         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3956         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3957         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3958         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3959         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3960         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3961         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3962         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3963         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3964         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3965         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3966         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3967         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3968         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3969         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3970         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3971         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3972         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3973         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3974         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3975         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3976         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3977         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3978         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3979         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3980         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3981         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3982         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3983         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3984         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3985         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3986         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3987         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3988         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3989         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3990         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3991         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3992         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3993         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3994         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3995         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3996         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3997
3998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3999         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4000
4001         [BZ #14914]
4002         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4003         whole low double instead of just low 47 bits when splitting values
4004         into two parts.
4005
4006 2012-12-03  Allan McRae  <allan@archlinux.org>
4007
4008         * manual/stdio.texi (Predefined Printf Handlers): Remove
4009         @hsep and @vsep usage.
4010
4011 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
4012
4013         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4014         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4015
4016 2012-12-03  Jeff Law  <law@redhat.com>
4017
4018         * time/sys/time.h (settimeofday): Do not mark TV argument
4019         as __nonnull.
4020
4021 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
4022
4023         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4024         when currently writing and seek to current position when not.
4025         * libio/Makefile (tests): Remove bug-fclose1.
4026         * libio/bug-fclose1.c: Delete.
4027
4028 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
4029
4030         * manual/arith.texi (feenableexcept): Fix typo.
4031         (fedisableexcept): Likewise.
4032
4033 2012-11-30  Roland McGrath  <roland@hack.frob.com>
4034
4035         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4036         second, differently-typed declaration, rather than a cast.
4037
4038 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4039
4040         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4041         * include/rpc/svc.h: ... here.
4042
4043 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
4044
4045         [BZ #13013]
4046         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4047         depending n and resplen2 to catch cases where answer
4048         equals answerp2.
4049
4050 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
4051
4052         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4053         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4054
4055 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
4056
4057         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4058
4059 2012-11-29  Roland McGrath  <roland@hack.frob.com>
4060
4061         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4062
4063 2012-11-28  Jeff Law  <law@redhat.com>
4064
4065         [BZ #13761]
4066         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4067         dataset_temporary.  Track alloca usage into alloca_used.
4068         If dataset is large allocate and release it via malloc/free.
4069
4070 2012-06-04  Florian Weimer  <fweimer@redhat.com>
4071
4072         [BZ #14197]
4073         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4074
4075 2012-11-28  David S. Miller  <davem@davemloft.net>
4076
4077         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4078
4079 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
4080
4081         [BZ #14803]
4082         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4083         of pi/2 rounded to nearest to 64 bits.
4084         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4085         nearest to 64 bits.
4086         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4087         bits.
4088
4089 2012-11-28  Jeff Law <law@redhat.com>
4090             Martin Osvald <mosvald@redhat.com>
4091
4092         [BZ #14889]
4093         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4094         * sunrpc/svc.c: Include time.h.
4095         (__svc_accept_failed): New function.
4096         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4097         any reason other than EINTR, call __svc_accept_failed.
4098         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4099         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4100
4101 2012-11-28  Andreas Schwab  <schwab@suse.de>
4102
4103         * scripts/abilist.awk: Also handle indirect functions in .opd
4104         section.
4105
4106 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
4107
4108         [BZ #13881]
4109         * sysdeps/x86/fpu/powl_helper.c: New file.
4110         * sysdeps/x86/fpu/Makefile: Likewise.
4111         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4112         (p3): New object.
4113         (__ieee754_powl): Use __powl_helper for finite arguments except
4114         integer exponents below 8.
4115         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4116         (p3): New object.
4117         (__ieee754_powl): Use __powl_helper for finite arguments except
4118         integer exponents below 8.
4119         * math/libm-test.inc (pow_test): Add more tests and enable some
4120         previously disabled tests.
4121         * sysdeps/i386/fpu/libm-test-ulps: Update.
4122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4123
4124 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4125             Carlos O'Donell  <carlos_odonell@mentor.com>
4126
4127         * nss/makedb.c (is_prime): Assert that input is odd and greater
4128         than 4.  Note that fact in a comment too.
4129         (next_prime): Add 4 to input.
4130
4131 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4132
4133         [BZ #11741]
4134         * libio/Makefile (tests): Add test case tst-fwrite-error.
4135         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4136         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4137         * libio/tst-fwrite-error.c: New test case.
4138
4139 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
4140
4141         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4142         before casting to void *.
4143         * include/libc-internal.h (__pointer_type): New macro.
4144         (__integer_if_pointer_type_sub): Likewise.
4145         (__integer_if_pointer_type): Likewise.
4146         (cast_to_integer): Likewise.
4147         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4148         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4149         before casting to atomic64_t.
4150         (atomic_exchange_acq): Likewise.
4151         (__arch_exchange_and_add_body): Likewise.
4152         (__arch_add_body): Likewise.
4153         (atomic_add_negative): Likewise.
4154         (atomic_add_zero): Likewise.
4155
4156 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
4157
4158         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4159         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4160         (add_fdes): Likewise.
4161         (linear_search_fdes): Likewise.
4162         (binary_search_unencoded_fdes): Likewise.
4163
4164 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
4165
4166         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4167
4168 2012-11-24  Adam Conrad  <adconrad@0c3.net>
4169
4170         * configure.in: Autodetect C++ header directories.
4171         * configure: Regenerated.
4172
4173 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
4174
4175         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4176
4177 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
4178
4179         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4180
4181 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
4182
4183         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4184         LDBL_MANT_DIG == 106]: Disable some tests.
4185         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4186         Likewise.
4187         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4188         Likewise.
4189
4190         [BZ #14871]
4191         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4192         input for small inputs.  Return +/- pi/2 for large inputs.
4193         * math/libm-test.inc (atan_test): Add more tests.
4194
4195         * sysdeps/generic/unwind-dw2-fde-glibc.c
4196         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4197         __attribute__ ((unused)).
4198
4199         [BZ #14645]
4200         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4201         x * y if x and y are nonzero and z is zero.
4202
4203         [BZ #14811]
4204         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4205         nonzero exponents with absolute value below 0x1p-117 to +/-
4206         0x1p-117.
4207
4208         [BZ #14869]
4209         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4210         up arguments below 2**-450, not just those below 2**-500.
4211         * math/libm-test.inc (hypot_test): Add another test.
4212
4213         [BZ #14868]
4214         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4215         Return a+b for ratio over 2**120, not 2**60.
4216         * math/libm-test.inc (hypot_test): Add another test.
4217
4218         * math/libm-test.inc (clog_test): Use
4219         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4220         (clog10_test): Likewise.
4221
4222         [BZ #6778]
4223         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4224
4225 2012-11-22  Andreas Schwab  <schwab@suse.de>
4226
4227         * sysdeps/i386/fpu/libm-test-ulps: Update.
4228
4229 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
4230
4231         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4232         printf output with newline.
4233
4234 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
4235
4236         [BZ #14865]
4237         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4238         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4239         -z nodlopen, -z initfirst and -z execstack support.
4240         * configure: Regenerated.
4241
4242         * elf/elf.h (DF_1_NODIRECT): New macro.
4243         (DF_1_IGNMULDEF): Likewise.
4244         (DF_1_NOKSYMS): Likewise.
4245         (DF_1_NOHDR): Likewise.
4246         (DF_1_EDITED): Likewise.
4247         (DF_1_NORELOC): Likewise.
4248         (DF_1_SYMINTPOSE): Likewise.
4249         (DF_1_GLOBAUDIT): Likewise.
4250         (DF_1_SINGLETON): Likewise.
4251         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4252         DT_1_SUPPORTED_MASK bits.
4253         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4254
4255 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
4256
4257         * sysdeps/unix/make-syscalls.sh: Document prefixes.
4258
4259 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
4260
4261         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4262         macro.
4263
4264         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4265         (sendmmsg): Move declarations...
4266         * socket/sys/socket.h: ... here.
4267         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4268         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4269         include it from...
4270         * socket/recvmmsg.c: ... this new file.
4271         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4272         (sendmmsg): Rename to __sendmmsg, create weak alias and make
4273         definition of __sendmmsg hidden.
4274         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4275         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4276         Move ENOSYS stub into and include it from...
4277         * socket/sendmmsg.c: ... this new file.
4278         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4279         (sysdep_routines): Move recvmmsg and sendmmsg...
4280         * socket/Makefile (routines): ... here.
4281         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4282         (GLIBC_PRIVATE): Add __sendmmsg.
4283         * include/sys/socket.h (__sendmmsg): Add declarations.
4284         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4285         sendmmsg.
4286
4287 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
4288
4289         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4290         variable I1 with __attribute__ ((unused)).
4291         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4292
4293 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
4294
4295         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4296         DUMMY variables with __attribute__ ((unused)).
4297
4298         * bits/byteswap.h: Include <bits/types.h>.
4299         (__bswap_64): Use __uint64_t instead of unsigned long long int.
4300
4301 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
4302
4303         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4304         string_t.  Do not manually set errno.
4305         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4306         length with __strnlen.  Make sure to both set errno and return it on
4307         failure.
4308
4309 2012-11-19  David S. Miller  <davem@davemloft.net>
4310
4311         With help from Joseph Myers.
4312         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4313         very large arguments properly.
4314         * math/libm-test.inc (atan_test): New tests.
4315         (atan2_test): New tests.
4316         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4317         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4318
4319 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
4320
4321         [BZ #14856]
4322         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4323         Define to 3.
4324
4325         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4326         [POSIX] (EADDRNOTAVAIL): Likewise.
4327         [POSIX] (EAFNOSUPPORT): Likewise.
4328         [POSIX] (EALREADY): Likewise.
4329         [POSIX] (ECONNABORTED): Likewise.
4330         [POSIX] (ECONNREFUSED): Likewise.
4331         [POSIX] (ECONNRESET): Likewise.
4332         [POSIX] (EDESTADDRREQ): Likewise.
4333         [POSIX] (EDQUOT): Likewise.
4334         [POSIX] (EHOSTUNREACH): Likewise.
4335         [POSIX] (EIDRM): Likewise.
4336         [POSIX] (EISCONN): Likewise.
4337         [POSIX] (ELOOP): Likewise.
4338         [POSIX] (EMULTIHOP): Likewise.
4339         [POSIX] (ENETDOWN): Likewise.
4340         [POSIX] (ENETUNREACH): Likewise.
4341         [POSIX] (ENOBUFS): Likewise.
4342         [POSIX] (ENODATA): Likewise.
4343         [POSIX] (ENOLINK): Likewise.
4344         [POSIX] (ENOMSG): Likewise.
4345         [POSIX] (ENOPROTOOPT): Likewise.
4346         [POSIX] (ENOSR): Likewise.
4347         [POSIX] (ENOSTR): Likewise.
4348         [POSIX] (ENOTCONN): Likewise.
4349         [POSIX] (ENOTSOCK): Likewise.
4350         [POSIX] (EOPNOTSUPP): Likewise.
4351         [POSIX] (EOVERFLOW): Likewise.
4352         [POSIX] (EPROTO): Likewise.
4353         [POSIX] (EPROTONOSUPPORT): Likewise.
4354         [POSIX] (EPROTOTYPE): Likewise.
4355         [POSIX] (ESTALE): Likewise.
4356         [POSIX] (ETIME): Likewise.
4357         [POSIX] (ETXTBSY): Likewise.
4358         [POSIX] (EWOULDBLOCK): Likewise.
4359         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4360         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4361         [POSIX] (SEEK_CUR): Likewise.
4362         [POSIX] (SEEK_END): Likewise.
4363         [POSIX || UNIX98] (mode_t): Do not require.
4364         [POSIX] (off_t): Likewise.
4365         [POSIX] (pid_t): Likewise.
4366         [POSIX] (sys/stat.h): Do not allow header.
4367         [POSIX] (unistd.h): Likewise.
4368         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4369         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4370         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4371         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4372         require.
4373         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4374         sigevent): Specify elements.
4375         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4376         entry.
4377         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4378         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4379
4380         * conform/data/cpio.h-data [POSIX]: Disable whole file.
4381         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4382         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4383         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4384         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4385         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4386         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4387         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4388         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4389         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4390         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4391         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4392         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4393         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4394         Likewise.
4395         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4396         Likewise.
4397         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4398         Likewise.
4399         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4400         Likewise.
4401         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4402         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4403         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4404         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4405         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4406         Specify lower bound on value.
4407         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4408         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4409         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4410         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4411         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4412         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4413         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4414         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4415         value.
4416         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4417         as optional.
4418         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4419         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4420         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4421         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4422         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4423         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4424         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4425         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4426         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4427         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4428         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4429         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4430         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4431         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4432         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4433         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4434         entry.
4435         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4436         optional.
4437         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4438         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4439         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4440         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4441         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4442         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4443         Likewise.
4444         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4445         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4446         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4447         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4448         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
4449         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4450         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4451         as optional.
4452         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4453         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4454         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4455         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4456         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4457         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4458         specify as optional.
4459         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4460         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4461         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4462         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4463         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4464         [XPG3] (NL_LANGMAX): Likewise.
4465         [POSIX || XPG3] (NL_MSGMAX): Likewise.
4466         [POSIX || XPG3] (NL_NMAX): Likewise.
4467         [POSIX || XPG3] (NL_SETMAX): Likewise.
4468         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4469         [XPG3] (NZERO): Likewise.
4470         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4471         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4472         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4473         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4474         (REG_ERANGE): Expect.
4475         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4476         optional-constant.
4477         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4478         Use (void) in prototype.
4479         [POSIX] (*_t): Allow.
4480         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4481         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4482         (WRDE_BADVAL): Expect.
4483
4484         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4485         expect.
4486         [XPG3 || XPG4] (O_RSYNC): Likewise.
4487         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4488         Likewise.
4489         [XPG3 || XPG4] (pthread_sigmask): Likewise.
4490         [XPG3 || XPG4] (sigqueue): Likewise.
4491         [XPG3 || XPG4] (sigtimedwait): Likewise.
4492         [XPG3 || XPG4] (sigwaitinfo): Likewise.
4493         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4494         [XPG3 || XPG4] (vsnprintf): Likewise.
4495         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4496         Likewise.
4497         [XPG3 || XPG4] (blksize_t): Likewise.
4498         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4499         Likewise.
4500         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4501         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4502         [XPG3 || XPG4] (struct itimerspec): Likewise.
4503         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4504         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4505         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4506         [XPG3 || XPG4] (clockid_t): Likewise.
4507         [XPG3 || XPG4] (timer_t): Likewise.
4508         [XPG3 || XPG4] (clock_getres): Likewise.
4509         [XPG3 || XPG4] (clock_gettime): Likewise.
4510         [XPG3 || XPG4] (clock_settime): Likewise.
4511         [XPG3 || XPG4] (nanosleep): Likewise.
4512         [XPG3 || XPG4] (timer_create): Likewise.
4513         [XPG3 || XPG4] (timer_delete): Likewise.
4514         [XPG3 || XPG4] (timer_gettime): Likewise.
4515         [XPG3 || XPG4] (timer_getoverrun): Likewise.
4516         [XPG3 || XPG4] (timer_settime): Likewise.
4517         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4518         [XPG3 || XPG4] (getlogin_r): Likewise.
4519         [XPG3 || XPG4] (pread): Likewise.
4520         [XPG3 || XPG4] (pthread_atfork): Likewise.
4521         [XPG3 || XPG4] (pwrite): Likewise.
4522
4523         [BZ #14835]
4524         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4525         <bits/siginfo.h>.
4526
4527 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
4528
4529         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4530         finalizing MALLSTREAM.
4531
4532         * sysdeps/mach/hurd/syncfs.c: New file.
4533
4534 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4535
4536         [BZ #14719]
4537         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4538         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4539         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4540         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4541         (_nss_dns_gethostbyname4_r): Likewise.
4542         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4543         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4544
4545 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
4546
4547         [BZ #13763]
4548         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4549
4550 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
4551
4552         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4553         * elf/cache.c (print_entry): Print ",AArch64" for
4554         FLAG_AARCH64_LIB64
4555
4556         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4557         * elf/cache.c (print_entry): Print ",hard-float" for
4558         FLAG_ARM_LIBHF.
4559
4560 2012-11-18  David S. Miller  <davem@davemloft.net>
4561
4562         With help from Joseph Myers.
4563         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4564         cutoff to 2**-13.
4565         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4566         cutoff to 2**-25.
4567         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4568         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4569         small.
4570         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4571         * math/libm-test.inc (y0_test): New tests.
4572         (y1_test): New tests.
4573         * sysdeps/i386/fpu/libm-test-ulps: Update.
4574         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4575         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4576
4577 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
4578
4579         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4580         64-bit targets.
4581         * configure: Regenerated.
4582
4583 2012-11-17  David S. Miller  <davem@davemloft.net>
4584
4585         [BZ #14811]
4586         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4587         nonzero exponents with absolute value below 0x1p-128 to +/-
4588         0x1p-128.
4589
4590 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
4591
4592         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4593
4594         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4595
4596         * posix/getconf-speclist.c: New file.
4597         * posix/posix-envs.def: Likewise.
4598         * posix/confstr.c (START_ENV_GROUP): New macro.
4599         (END_ENV_GROUP): Likewise.
4600         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4601         (KNOWN_PRESENT_ENV_STRING): Likewise.
4602         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4603         (UNKNOWN_ENVIRONMENT): Likewise.
4604         (confstr): Include posix-envs.def instead of handling
4605         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4606         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4607         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4608         (END_ENV_GROUP): Likewise.
4609         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4610         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4611         (UNKNOWN_ENVIRONMENT): Likewise.
4612         (__sysconf): Include posix-envs.def instead of handling associated
4613         cases directly here.
4614         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4615         preprocessing getconf-speclist.c rather than running getconf or
4616         generating empty file.
4617
4618 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
4619
4620         * scripts/check-local-headers.sh: Ignore 'mach' headers.
4621
4622 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
4623
4624         [BZ #14672]
4625         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4626
4627 2012-11-16  David S. Miller  <davem@davemloft.net>
4628
4629         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4630         smaller than LDBL_EPSILON/2.0L, just return xm1.
4631
4632 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
4633
4634         * elf/tst-array1.c (init): Set constructor priority to 1000.
4635         (fini): Set destructor priority to 1000.
4636         * elf/tst-array2dep.c: Likewise.
4637
4638 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4639
4640         [BZ #11741]
4641         * libio/fileops.c (_IO_new_file_write): Correctly return error.
4642         (_IO_new_file_xsputn): Also return EOF if none of the input
4643         data was written when overflow failed.
4644         * libio/iopadn.c (_IO_padn): Likewise.
4645         * libio/iowpadn.c (_IO_wpadn): Likewise.
4646         * stdio-common/tst-put-error.c: Add copyright notice.
4647         (do_test): Add case for printing padded string.
4648         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4649         _IO_padn returned error.
4650         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4651         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4652         return EOF.
4653
4654 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4655
4656         * libio/libioP.h: Add comment note that the references to C++
4657         bits are now obsolete.
4658
4659 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4660
4661         * math/libm-test.inc (check_complex): Use asprintf.
4662
4663 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
4664
4665         * debug/pcprofiledump.c (print_version): Update copyright year.
4666         * malloc/memusagestat.c (print_version): Likewise.
4667
4668 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
4669
4670         [BZ #14831]
4671         * elf/Makefile (tests): Add tst-audit8.
4672         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4673         ($(objpfx)tst-audit8.out): New target.
4674         (tst-audit8-ENV): New variable.
4675         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4676         audit if l_reloc_result is NULL.
4677         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4678         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4679         * elf/tst-audit8.c: New file.
4680
4681 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4682
4683         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4684         * misc/Makefile (CFLAGS-select.c): Define.
4685         * posix/Makefile (CFLAGS-pause.c): Define.
4686
4687 2012-11-13  David S. Miller  <davem@davemloft.net>
4688
4689         * crypt/Makefile: Move test targets after toplevel Rules
4690         inclusion.  Grab any necessary sysdep routines when linking.
4691         * crypt/md5.c (md5_process_block): Remove define, we will always
4692         name it __md5_process_block.
4693         (md5_finish_ctx): Update md5_process_block call.
4694         (md5_stream): Likewise.
4695         (md5_process_bytes): Likewise.
4696         (md5_process_block): Rename to __md5_process_block and move to ...
4697         * crypt/md5-block.c: ... here.
4698         * crypt/sha256.c (sha256_process_block): Move to ...
4699         * crypt/sha256-block.c: ... here.
4700         * crypt/sha512.c (sha512_process_block): Move to ...
4701         * crypt/sha512-block.c: ... here.
4702         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4703         path.
4704         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4705         * sysdeps/sparc/sparc64/multiarch/Makefile
4706         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4707         crypt subdir.
4708         (localedef-aux): Add md5 crypto assembler when in locale subdir.
4709         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4710         multiarch changes.
4711         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4712         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4713         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4714         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4715         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4716         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4717         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4718         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4719         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4720         file.
4721         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4722         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4723         file.
4724         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4725
4726 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
4727
4728         * timezone/tzselect.ksh: Update from tzcode git revision
4729         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4730         * timezone/zdump.c: Likewise.
4731         * timezone/zic.c: Likewise.
4732         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4733         in TZVERSION setting, not $(PKGVERSION).
4734         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
4735         REPORT_BUGS_TO settings.
4736
4737         [BZ #14838]
4738         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4739         macro.
4740
4741 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4742
4743         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4744         detection to immediately after _FP_ROUND().
4745         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4746         bits are 0.
4747
4748 2012-11-11  David S. Miller  <davem@davemloft.net>
4749
4750         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4751         inttypes.h
4752         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4753         __close rather than their public counterparts.
4754
4755 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
4756
4757         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4758         file.
4759         [UNIX98] (sem_timedwait): Do not expect.
4760         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4761         [XPG4 || UNIX98] (sockatmark): Do not expect.
4762         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4763         (clock_getcpuclockid): Do not expect.
4764         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4765         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4766         Do not expect.
4767         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4768         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4769         [UNIX98] (vwscanf): Likewise.
4770         [UNIX98] (vswscanf): Likewise.
4771
4772 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
4773
4774         * timezone/version.h: Remove file.
4775         * timezone/README: Do not refer to version.h.
4776         * timezone/Makefile ($(objpfx)zic.o): New dependency on
4777         $(objpfx)version.h.
4778         ($(objpfx)zdump.o): Likewise.
4779         ($(objpfx)version.h): New target.
4780
4781         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4782         2012i.
4783         * timezone/README: Don't mention modification to tzselect.ksh.
4784         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4785         work on unmodified tzselect.ksh.  Substitute version numbers in
4786         tzselect.ksh.
4787
4788         * Makefile (format-me): Remove.
4789         (INSTALL): Adjust indentation.  Use commands directly instead of
4790         using $(format-me).
4791
4792         * aclocal.m4 (ACX_PKGVERSION): New macro.
4793         (ACX_BUGURL): Likewise.
4794         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4795         (PKGVERSION): New AC_DEFINE_UNQUOTED.
4796         (REPORT_BUGS_TO): Likewise.
4797         * configure: Regenerated.
4798         * config.h.in (PKGVERSION): New macro.
4799         (REPORT_BUGS_TO): Likewise.
4800         * config.make.in (PKGVERSION): New variable.
4801         (PKGVERSION_TEXI): Likewise.
4802         (REPORT_BUGS_TO): Likewise.
4803         (REPORT_BUGS_TEXI): Likewise.
4804         * Makefile (format-me): Use -I$(common-objpfx)manual.
4805         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4806         ($(common-objpfx)manual/%): New target.
4807         (manual/%): Remove target.
4808         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4809         (print_version): Use PKGVERSION.
4810         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4811         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4812         and REPORT_BUGS_TO.
4813         ($(objpfx)xtrace): Likewise.
4814         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4815         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4816         (print_version): Use PKGVERSION.
4817         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4818         (do_version): Use PKGVERSION.
4819         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4820         REPORT_BUGS_TO.
4821         (common-ldd-rewrite): Likewise.
4822         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4823         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4824         (print_version): Use PKGVERSION.
4825         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4826         * elf/pldd.c (argp_program_bug_address): Remove variable.
4827         (more_help): New function.
4828         (argp): Use more_help.
4829         (print_version): Use PKGVERSION.
4830         * elf/sln.c (main): Use PKGVERSION.
4831         (usage): Use REPORT_BUGS_TO.
4832         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4833         (top level): Use PKGVERSION.
4834         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4835         (print_version): Use PKGVERSION.
4836         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4837         (print_version): Use PKGVERSION.
4838         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4839         (print_version): Use PKGVERSION.
4840         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4841         (print_version): Use PKGVERSION.
4842         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4843         (print_version): Use PKGVERSION.
4844         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4845         (print_version): Use PKGVERSION.
4846         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4847         and BUGURL.
4848         ($(objpfx)memusage): Likewise.
4849         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4850         (do_version): Use PKGVERSION.
4851         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4852         (print_version): Use PKGVERSION.
4853         * malloc/mtrace.pl ($PACKAGE): Remove variable.
4854         ($PKGVERSION): New variable.
4855         ($REPORT_BUGS_TO): Likewise.
4856         (usage): Use $REPORT_BUGS_TO.
4857         (top level): Use $PKGVERSION.
4858         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4859         ($(objpfx)pkgvers.texi): New rule.
4860         ($(objpfx)stamp-pkgvers): Likewise.
4861         * manual/install.texi: Include pkgvers.texi.
4862         (--with-pkgversion): Document new configure option.
4863         (--with-bugurl): Likewise.
4864         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4865         than necessarily for this particular distribution.  Use
4866         REPORT_BUGS_TO for where to report bugs.
4867         * INSTALL: Regenerated.
4868         * manual/libc.texinfo: Include pkgvers.texi.
4869         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4870         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4871         (print_version): Use PKGVERSION.
4872         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4873         (print_version): Use PKGVERSION.
4874         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4875         (print_version): Use PKGVERSION.
4876         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4877         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4878         macro.
4879         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4880         (print_version): Use PKGVERSION.
4881         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4882         (print_version): Use PKGVERSION.
4883         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4884         and PKGVERSION.
4885
4886         * timezone/checktab.awk: Update from tzcode 2012i.
4887         * timezone/ialloc.c: Likewise.
4888         * timezone/private.h: Likewise.
4889         * timezone/scheck.c: Likewise.
4890         * timezone/tzfile.h: Likewise.
4891         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4892         (TZVERSION): Hardcode tzcode version number.
4893         * timezone/zdump.c: Update from tzcode 2012i.
4894         * timezone/zic.c: Likewise.
4895         * timezone/version.h: New file.
4896         * timezone/README: Describe version.h.  Update upstream location.
4897
4898         [BZ #14824]
4899         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4900         (mktemp): Enable declaration.
4901         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4902         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4903         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4904         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4905         Likewise.
4906         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4907         Likewise.
4908         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4909         Likewise.
4910         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4911         Likewise.
4912         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4913         Likewise.
4914         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4915         Likewise.
4916
4917         [BZ #14821]
4918         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4919         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
4920         for copies of such integer values.
4921         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4922         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4923
4924 2012-11-09  Andreas Jaeger  <aj@suse.de>
4925
4926         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4927         definitions and declarations that are provided by
4928         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4929
4930 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4931
4932         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
4933         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4934         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4935         definition.
4936
4937 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4938
4939         * elf/elf.h: Update comment before AArch64 relocations.
4940
4941 2012-11-07  David S. Miller  <davem@davemloft.net>
4942
4943         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4944         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4945         (__start_context): Declare.
4946         (__makecontext_ret): Delete.
4947         (__makecontext): Hook up __start_context instead of
4948         __makecontext_ret.
4949         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4950         (sysdep_routines): Add __start_context when in stdlib.
4951
4952 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
4953
4954         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4955         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4956         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
4957         hardcoded "nm".
4958         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
4959         (READELF): New variable.  Use it instead of hardcoded "readelf".
4960
4961 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
4962
4963         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4964         * sysdeps/x86/Makefile: Here.
4965         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4966         * sysdeps/x86/tst-xmmymm.sh: This.
4967
4968 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
4969
4970         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4971         expectations.
4972         [UNIX98] (pthread_barrier_t): Do not expect.
4973         [UNIX98] (pthread_barrierattr_t): Likewise.
4974         [UNIX98] (pthread_spinlock_t): Likewise.
4975         [UNIX98] (pthread_barrier_destroy): Likewise.
4976         [UNIX98] (pthread_barrier_init): Likewise.
4977         [UNIX98] (pthread_barrier_wait): Likewise.
4978         [UNIX98] (pthread_barrierattr_destroy): Likewise.
4979         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4980         [UNIX98] (pthread_barrierattr_init): Likewise.
4981         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4982         [UNIX98] (pthread_getcpuclockid): Likewise.
4983         [UNIX98] (pthread_mutex_timedlock): Likewise.
4984         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4985         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4986         [UNIX98] (pthread_sigmask): Likewise.
4987         [UNIX98] (pthread_spin_destroy): Likewise.
4988         [UNIX98] (pthread_spin_init): Likewise.
4989         [UNIX98] (pthread_spin_lock): Likewise.
4990         [UNIX98] (pthread_spin_trylock): Likewise.
4991         [UNIX98] (pthread_spin_unlock): Likewise.
4992         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4993         Do not expect.
4994         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4995         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4996         [XPG3 || XPG4] (pthread_cond_t): Likewise.
4997         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4998         [XPG3 || XPG4] (pthread_key_t): Likewise.
4999         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5000         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5001         [XPG3 || XPG4] (pthread_once_t): Likewise.
5002         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5003         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5004         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5005         [XPG3 || XPG4] (pthread_t): Likewise.
5006
5007         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5008         not expect.
5009         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5010
5011         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5012         Change function return type to int.
5013
5014         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5015         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5016         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5017         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5018         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5019         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5020         [!POSIX] (posix_madvise): Likewise.
5021         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5022         && !UNIX98].
5023         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5024         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5025         (mode_t): Likewise.
5026         (posix_mem_offset): Likewise.
5027         (posix_typed_mem_get_info): Likewise.
5028         (posix_typed_mem_open): Likewise.
5029
5030         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5031         Change condition to [XOPEN2K8].
5032
5033         * conform/conformtest.pl: Preprocess allow-header data with -x c
5034         instead of from stdin.
5035         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5036         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5037         [C99-based standards] (cerfc): Likewise.
5038         [C99-based standards] (cexp2): Likewise.
5039         [C99-based standards] (cexpm1): Likewise.
5040         [C99-based standards] (clog10): Likewise.
5041         [C99-based standards] (clog1p): Likewise.
5042         [C99-based standards] (clog2): Likewise.
5043         [C99-based standards] (clgamma): Likewise.
5044         [C99-based standards] (ctgamma): Likewise.
5045         [C99-based standards] (cerff): Likewise.
5046         [C99-based standards] (cerfcf): Likewise.
5047         [C99-based standards] (cexp2f): Likewise.
5048         [C99-based standards] (cexpm1f): Likewise.
5049         [C99-based standards] (clog10f): Likewise.
5050         [C99-based standards] (clog1pf): Likewise.
5051         [C99-based standards] (clog2f): Likewise.
5052         [C99-based standards] (clgammaf): Likewise.
5053         [C99-based standards] (ctgammaf): Likewise.
5054         [C99-based standards] (cerfl): Likewise.
5055         [C99-based standards] (cerfcl): Likewise.
5056         [C99-based standards] (cexp2l): Likewise.
5057         [C99-based standards] (cexpm1l): Likewise.
5058         [C99-based standards] (clog10l): Likewise.
5059         [C99-based standards] (clog1pl): Likewise.
5060         [C99-based standards] (clog2l): Likewise.
5061         [C99-based standards] (clgammal): Likewise.
5062         [C99-based standards] (ctgammal): Likewise.
5063         * conform/data/inttypes.h-data [C99-based standards]: Include
5064         stdint.h-data.  Remove all expectations for stdint.h contents.
5065         [C99-based standards] (PRI*): Do not allow.
5066         [C99-based standards] (SCN*): Likewise.
5067         [C99-based standards] (*_t): Likewise.
5068         [C99-based-standards] (PRId8): Expect macro.
5069         [C99-based-standards] (PRIi8): Likewise.
5070         [C99-based-standards] (PRIo8): Likewise.
5071         [C99-based-standards] (PRIu8): Likewise.
5072         [C99-based-standards] (PRIx8): Likewise.
5073         [C99-based-standards] (PRIX8): Likewise.
5074         [C99-based-standards] (SCNd8): Likewise.
5075         [C99-based-standards] (SCNi8): Likewise.
5076         [C99-based-standards] (SCNo8): Likewise.
5077         [C99-based-standards] (SCNu8): Likewise.
5078         [C99-based-standards] (SCNx8): Likewise.
5079         [C99-based-standards] (PRIdLEAST8): Likewise.
5080         [C99-based-standards] (PRIiLEAST8): Likewise.
5081         [C99-based-standards] (PRIoLEAST8): Likewise.
5082         [C99-based-standards] (PRIuLEAST8): Likewise.
5083         [C99-based-standards] (PRIxLEAST8): Likewise.
5084         [C99-based-standards] (PRIXLEAST8): Likewise.
5085         [C99-based-standards] (SCNdLEAST8): Likewise.
5086         [C99-based-standards] (SCNiLEAST8): Likewise.
5087         [C99-based-standards] (SCNoLEAST8): Likewise.
5088         [C99-based-standards] (SCNuLEAST8): Likewise.
5089         [C99-based-standards] (SCNxLEAST8): Likewise.
5090         [C99-based-standards] (PRIdFAST8): Likewise.
5091         [C99-based-standards] (PRIiFAST8): Likewise.
5092         [C99-based-standards] (PRIoFAST8): Likewise.
5093         [C99-based-standards] (PRIuFAST8): Likewise.
5094         [C99-based-standards] (PRIxFAST8): Likewise.
5095         [C99-based-standards] (PRIXFAST8): Likewise.
5096         [C99-based-standards] (SCNdFAST8): Likewise.
5097         [C99-based-standards] (SCNiFAST8): Likewise.
5098         [C99-based-standards] (SCNoFAST8): Likewise.
5099         [C99-based-standards] (SCNuFAST8): Likewise.
5100         [C99-based-standards] (SCNxFAST8): Likewise.
5101         [C99-based-standards] (PRId16): Likewise.
5102         [C99-based-standards] (PRIi16): Likewise.
5103         [C99-based-standards] (PRIo16): Likewise.
5104         [C99-based-standards] (PRIu16): Likewise.
5105         [C99-based-standards] (PRIx16): Likewise.
5106         [C99-based-standards] (PRIX16): Likewise.
5107         [C99-based-standards] (SCNd16): Likewise.
5108         [C99-based-standards] (SCNi16): Likewise.
5109         [C99-based-standards] (SCNo16): Likewise.
5110         [C99-based-standards] (SCNu16): Likewise.
5111         [C99-based-standards] (SCNx16): Likewise.
5112         [C99-based-standards] (PRIdLEAST16): Likewise.
5113         [C99-based-standards] (PRIiLEAST16): Likewise.
5114         [C99-based-standards] (PRIoLEAST16): Likewise.
5115         [C99-based-standards] (PRIuLEAST16): Likewise.
5116         [C99-based-standards] (PRIxLEAST16): Likewise.
5117         [C99-based-standards] (PRIXLEAST16): Likewise.
5118         [C99-based-standards] (SCNdLEAST16): Likewise.
5119         [C99-based-standards] (SCNiLEAST16): Likewise.
5120         [C99-based-standards] (SCNoLEAST16): Likewise.
5121         [C99-based-standards] (SCNuLEAST16): Likewise.
5122         [C99-based-standards] (SCNxLEAST16): Likewise.
5123         [C99-based-standards] (PRIdFAST16): Likewise.
5124         [C99-based-standards] (PRIiFAST16): Likewise.
5125         [C99-based-standards] (PRIoFAST16): Likewise.
5126         [C99-based-standards] (PRIuFAST16): Likewise.
5127         [C99-based-standards] (PRIxFAST16): Likewise.
5128         [C99-based-standards] (PRIXFAST16): Likewise.
5129         [C99-based-standards] (SCNdFAST16): Likewise.
5130         [C99-based-standards] (SCNiFAST16): Likewise.
5131         [C99-based-standards] (SCNoFAST16): Likewise.
5132         [C99-based-standards] (SCNuFAST16): Likewise.
5133         [C99-based-standards] (SCNxFAST16): Likewise.
5134         [C99-based-standards] (PRId32): Likewise.
5135         [C99-based-standards] (PRIi32): Likewise.
5136         [C99-based-standards] (PRIo32): Likewise.
5137         [C99-based-standards] (PRIu32): Likewise.
5138         [C99-based-standards] (PRIx32): Likewise.
5139         [C99-based-standards] (PRIX32): Likewise.
5140         [C99-based-standards] (SCNd32): Likewise.
5141         [C99-based-standards] (SCNi32): Likewise.
5142         [C99-based-standards] (SCNo32): Likewise.
5143         [C99-based-standards] (SCNu32): Likewise.
5144         [C99-based-standards] (SCNx32): Likewise.
5145         [C99-based-standards] (PRIdLEAST32): Likewise.
5146         [C99-based-standards] (PRIiLEAST32): Likewise.
5147         [C99-based-standards] (PRIoLEAST32): Likewise.
5148         [C99-based-standards] (PRIuLEAST32): Likewise.
5149         [C99-based-standards] (PRIxLEAST32): Likewise.
5150         [C99-based-standards] (PRIXLEAST32): Likewise.
5151         [C99-based-standards] (SCNdLEAST32): Likewise.
5152         [C99-based-standards] (SCNiLEAST32): Likewise.
5153         [C99-based-standards] (SCNoLEAST32): Likewise.
5154         [C99-based-standards] (SCNuLEAST32): Likewise.
5155         [C99-based-standards] (SCNxLEAST32): Likewise.
5156         [C99-based-standards] (PRIdFAST32): Likewise.
5157         [C99-based-standards] (PRIiFAST32): Likewise.
5158         [C99-based-standards] (PRIoFAST32): Likewise.
5159         [C99-based-standards] (PRIuFAST32): Likewise.
5160         [C99-based-standards] (PRIxFAST32): Likewise.
5161         [C99-based-standards] (PRIXFAST32): Likewise.
5162         [C99-based-standards] (SCNdFAST32): Likewise.
5163         [C99-based-standards] (SCNiFAST32): Likewise.
5164         [C99-based-standards] (SCNoFAST32): Likewise.
5165         [C99-based-standards] (SCNuFAST32): Likewise.
5166         [C99-based-standards] (SCNxFAST32): Likewise.
5167         [C99-based-standards] (PRId64): Likewise.
5168         [C99-based-standards] (PRIi64): Likewise.
5169         [C99-based-standards] (PRIo64): Likewise.
5170         [C99-based-standards] (PRIu64): Likewise.
5171         [C99-based-standards] (PRIx64): Likewise.
5172         [C99-based-standards] (PRIX64): Likewise.
5173         [C99-based-standards] (SCNd64): Likewise.
5174         [C99-based-standards] (SCNi64): Likewise.
5175         [C99-based-standards] (SCNo64): Likewise.
5176         [C99-based-standards] (SCNu64): Likewise.
5177         [C99-based-standards] (SCNx64): Likewise.
5178         [C99-based-standards] (PRIdLEAST64): Likewise.
5179         [C99-based-standards] (PRIiLEAST64): Likewise.
5180         [C99-based-standards] (PRIoLEAST64): Likewise.
5181         [C99-based-standards] (PRIuLEAST64): Likewise.
5182         [C99-based-standards] (PRIxLEAST64): Likewise.
5183         [C99-based-standards] (PRIXLEAST64): Likewise.
5184         [C99-based-standards] (SCNdLEAST64): Likewise.
5185         [C99-based-standards] (SCNiLEAST64): Likewise.
5186         [C99-based-standards] (SCNoLEAST64): Likewise.
5187         [C99-based-standards] (SCNuLEAST64): Likewise.
5188         [C99-based-standards] (SCNxLEAST64): Likewise.
5189         [C99-based-standards] (PRIdFAST64): Likewise.
5190         [C99-based-standards] (PRIiFAST64): Likewise.
5191         [C99-based-standards] (PRIoFAST64): Likewise.
5192         [C99-based-standards] (PRIuFAST64): Likewise.
5193         [C99-based-standards] (PRIxFAST64): Likewise.
5194         [C99-based-standards] (PRIXFAST64): Likewise.
5195         [C99-based-standards] (SCNdFAST64): Likewise.
5196         [C99-based-standards] (SCNiFAST64): Likewise.
5197         [C99-based-standards] (SCNoFAST64): Likewise.
5198         [C99-based-standards] (SCNuFAST64): Likewise.
5199         [C99-based-standards] (SCNxFAST64): Likewise.
5200         [C99-based-standards] (PRIdMAX): Likewise.
5201         [C99-based-standards] (PRIiMAX): Likewise.
5202         [C99-based-standards] (PRIoMAX): Likewise.
5203         [C99-based-standards] (PRIuMAX): Likewise.
5204         [C99-based-standards] (PRIxMAX): Likewise.
5205         [C99-based-standards] (PRIXMAX): Likewise.
5206         [C99-based-standards] (SCNdMAX): Likewise.
5207         [C99-based-standards] (SCNiMAX): Likewise.
5208         [C99-based-standards] (SCNoMAX): Likewise.
5209         [C99-based-standards] (SCNuMAX): Likewise.
5210         [C99-based-standards] (SCNxMAX): Likewise.
5211         [C99-based-standards] (PRIdPTR): Likewise.
5212         [C99-based-standards] (PRIiPTR): Likewise.
5213         [C99-based-standards] (PRIoPTR): Likewise.
5214         [C99-based-standards] (PRIuPTR): Likewise.
5215         [C99-based-standards] (PRIxPTR): Likewise.
5216         [C99-based-standards] (PRIXPTR): Likewise.
5217         [C99-based-standards] (SCNdPTR): Likewise.
5218         [C99-based-standards] (SCNiPTR): Likewise.
5219         [C99-based-standards] (SCNoPTR): Likewise.
5220         [C99-based-standards] (SCNuPTR): Likewise.
5221         [C99-based-standards] (SCNxPTR): Likewise.
5222         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5223         allow.
5224         * conform/data/stdint.h-data: Update comments to clarify
5225         requirements.
5226         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
5227         type.
5228         [C99-based standards] (INT8_MAX): Likewise.
5229         [C99-based standards] (INT16_MIN): Likewise.
5230         [C99-based standards] (INT16_MAX): Likewise.
5231         [C99-based standards] (INT32_MIN): Likewise.
5232         [C99-based standards] (INT32_MAX): Likewise.
5233         [C99-based standards] (INT64_MIN): Likewise.
5234         [C99-based standards] (INT64_MAX): Likewise.
5235         [C99-based standards] (UINT8_MAX): Likewise.
5236         [C99-based standards] (UINT16_MAX): Likewise.
5237         [C99-based standards] (UINT32_MAX): Likewise.
5238         [C99-based standards] (UINT64_MAX): Likewise.
5239         [C99-based standards] (INT_LEAST8_MIN): Likewise.
5240         [C99-based standards] (INT_LEAST8_MAX): Likewise.
5241         [C99-based standards] (INT_LEAST16_MIN): Likewise.
5242         [C99-based standards] (INT_LEAST16_MAX): Likewise.
5243         [C99-based standards] (INT_LEAST32_MIN): Likewise.
5244         [C99-based standards] (INT_LEAST32_MAX): Likewise.
5245         [C99-based standards] (INT_LEAST64_MIN): Likewise.
5246         [C99-based standards] (INT_LEAST64_MAX): Likewise.
5247         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5248         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5249         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5250         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5251         [C99-based standards] (INT_FAST8_MIN): Likewise.
5252         [C99-based standards] (INT_FAST8_MAX): Likewise.
5253         [C99-based standards] (INT_FAST16_MIN): Likewise.
5254         [C99-based standards] (INT_FAST16_MAX): Likewise.
5255         [C99-based standards] (INT_FAST32_MIN): Likewise.
5256         [C99-based standards] (INT_FAST32_MAX): Likewise.
5257         [C99-based standards] (INT_FAST64_MIN): Likewise.
5258         [C99-based standards] (INT_FAST64_MAX): Likewise.
5259         [C99-based standards] (UINT_FAST8_MAX): Likewise.
5260         [C99-based standards] (UINT_FAST16_MAX): Likewise.
5261         [C99-based standards] (UINT_FAST32_MAX): Likewise.
5262         [C99-based standards] (UINT_FAST64_MAX): Likewise.
5263         [C99-based standards] (INTPTR_MIN): Likewise.
5264         [C99-based standards] (INTPTR_MAX): Likewise.
5265         [C99-based standards] (UINTPTR_MAX): Likewise.
5266         [C99-based standards] (INTMAX_MIN): Likewise.
5267         [C99-based standards] (INTMAX_MAX): Likewise.
5268         [C99-based standards] (UINTMAX_MAX): Likewise.
5269         [C99-based standards] (PTRDIFF_MIN): Likewise.
5270         [C99-based standards] (PTRDIFF_MAX): Likewise.
5271         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5272         [C99-based standards] (SIZE_MAX): Likewise.
5273         [C99-based standards] (WCHAR_MAX): Likewise.
5274         [C99-based standards] (WINT_MAX): Likewise.
5275         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
5276         constraint on value.
5277         [C99-based standards] (WCHAR_MIN): Likewise.
5278         [C99-based standards] (WINT_MIN): Likewise.
5279         [C99-based standards] (*_t): Allow.
5280         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5281         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5282         Include math.h-data and complex.h-data.  Remove all expectations
5283         of math.h and complex.h contents.
5284         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5285         at end of line.
5286         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5287         (struct tm): Expect tag.
5288         [C99-based-standards] (wcstof): Expect function.
5289         [C99-based-standards] (wcstold): Likewise.
5290         [C99-based-standards] (wcstoll): Likewise.
5291         [C99-based-standards] (wcstoull): Likewise.
5292         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5293         macro-int-constant.  Specify type.
5294         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
5295         constraint on value.
5296         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5297         Specify type.
5298         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5299         Specify value.
5300         [ISO C standards]: Do not allow headers.
5301         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5302         wcs[abcdefghijklmnopqrstuvwxyz]*.
5303         [ISO C standards] (*_t): Do not allow.
5304         * conform/data/wctype.h-data [C99-based standards] (iswblank):
5305         Expect function.
5306         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5307         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5308         Specify type.
5309         [ISO C standards]: Do not allow headers.
5310         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5311         is[abcdefghijklmnopqrstuvwxyz]*.
5312         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5313         to[abcdefghijklmnopqrstuvwxyz]*.
5314         [ISO C standards] (*_t): Do not allow.
5315         * conform/data/stdalign.h-data: New file.
5316         * conform/data/stdbool.h-data: Likewise.
5317         * conform/data/stdnoreturn.h-data: Likewise.
5318
5319 2012-11-07  Roland McGrath  <roland@hack.frob.com>
5320
5321         [BZ #14815]
5322         * manual/filesys.texi (Directory Entries): Typo fix.
5323         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5324
5325 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5326
5327         * elf/elf.h (EM_AARCH64): New macro.
5328         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5329         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5330         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5331         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5332         (R_AARCH64_TLSDESC): Likewise.
5333         (NT_ARM_TLS): Likewise.
5334         (NT_ARM_HW_BREAK): Likewise.
5335         (NT_ARM_HW_WATCH): Likewise.
5336
5337 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5338
5339         [BZ #14811]
5340         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5341         (__ieee754_powl): Saturate nonzero exponents with absolute value
5342         below 0x1p-79 to +/- 0x1p-79.
5343         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5344         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5345         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5346         nonzero exponents with absolute value below 0x1p-32 to +/-
5347         0x1p-32.
5348         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5349         (__ieee754_powl): Saturate nonzero exponents with absolute value
5350         below 0x1p-79 to +/- 0x1p-79.
5351         * math/libm-test.inc (pow_test): Add more tests.
5352
5353 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5354
5355         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5356         _dl_s390_cap_flags with kernel. Increase string length.
5357         (_dl_s390_platforms): Add z196 and zEC12.
5358
5359 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5360
5361         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5362         Change XOPEN21K to XOPEN2K.
5363
5364 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
5365
5366         * string/memmove.c: Use memcpy when possible.
5367
5368 2012-11-06  Andreas Jaeger  <aj@suse.de>
5369
5370         * po/eo.po: Update from translation team.
5371
5372 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
5373
5374         [BZ #14793]
5375         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5376         exponent and small x and y exponents, scale x or y up.  Increase
5377         by 2 the exponent used in scaling up.
5378         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5379         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5380         * math/libm-test.inc (fma_test): Add more tests.
5381         (fma_test_towardzero): Likewise.
5382         (fma_test_downward): Likewise.
5383         (fma_test_upward): Likewise.
5384
5385 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
5386
5387         [BZ #14805]
5388         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5389         fenv_t *.
5390
5391         [BZ #14801]
5392         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5393         namespace for names of struct fields.
5394         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5395         fenv_t fields.
5396         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5397         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5398
5399 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5400
5401         [BZ #3665]
5402         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5403
5404 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
5405
5406         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5407         PTR_DEMANGLE.
5408
5409         [BZ #5246]
5410         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5411         PTR_DEMANGLE.
5412
5413 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
5414
5415         [BZ #14797]
5416         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5417         definitely overflow as x * y not x * y + z.
5418         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5419         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5420         * math/libm-test.inc (fma_test): Add more tests.
5421         (fma_test_towardzero): Likewise.
5422         (fma_test_downward): Likewise.
5423         (fma_test_upward): Likewise.
5424
5425 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
5426
5427         [BZ #157]
5428
5429         * include/stub-tag.h: Remove file.
5430         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5431         '#include' of it.
5432         * manual/maint.texi (Porting): Don't reference it.
5433         * Makerules ($(objpfx)stubs): Likewise.
5434         * dirent/closedir.c: Don't include <stub-tag.h>.
5435         * dirent/dirfd.c: Likewise.
5436         * dirent/fdopendir.c: Likewise.
5437         * dirent/getdents.c: Likewise.
5438         * dirent/getdents64.c: Likewise.
5439         * dirent/opendir.c: Likewise.
5440         * dirent/readdir.c: Likewise.
5441         * dirent/readdir64.c: Likewise.
5442         * dirent/readdir64_r.c: Likewise.
5443         * dirent/readdir_r.c: Likewise.
5444         * dirent/rewinddir.c: Likewise.
5445         * dirent/seekdir.c: Likewise.
5446         * dirent/telldir.c: Likewise.
5447         * gmon/profil.c: Likewise.
5448         * grp/setgroups.c: Likewise.
5449         * inet/if_index.c: Likewise.
5450         * io/access.c: Likewise.
5451         * io/chdir.c: Likewise.
5452         * io/chmod.c: Likewise.
5453         * io/chown.c: Likewise.
5454         * io/close.c: Likewise.
5455         * io/dup.c: Likewise.
5456         * io/dup2.c: Likewise.
5457         * io/dup3.c: Likewise.
5458         * io/euidaccess.c: Likewise.
5459         * io/faccessat.c: Likewise.
5460         * io/fchdir.c: Likewise.
5461         * io/fchmod.c: Likewise.
5462         * io/fchmodat.c: Likewise.
5463         * io/fchown.c: Likewise.
5464         * io/fchownat.c: Likewise.
5465         * io/fcntl.c: Likewise.
5466         * io/flock.c: Likewise.
5467         * io/fstatfs.c: Likewise.
5468         * io/fstatfs64.c: Likewise.
5469         * io/fstatvfs.c: Likewise.
5470         * io/fstatvfs64.c: Likewise.
5471         * io/futimens.c: Likewise.
5472         * io/fxstat.c: Likewise.
5473         * io/fxstat64.c: Likewise.
5474         * io/fxstatat.c: Likewise.
5475         * io/fxstatat64.c: Likewise.
5476         * io/getcwd.c: Likewise.
5477         * io/isatty.c: Likewise.
5478         * io/lchmod.c: Likewise.
5479         * io/lchown.c: Likewise.
5480         * io/link.c: Likewise.
5481         * io/linkat.c: Likewise.
5482         * io/lseek.c: Likewise.
5483         * io/lseek64.c: Likewise.
5484         * io/lxstat64.c: Likewise.
5485         * io/mkdir.c: Likewise.
5486         * io/mkdirat.c: Likewise.
5487         * io/mkfifo.c: Likewise.
5488         * io/mkfifoat.c: Likewise.
5489         * io/open.c: Likewise.
5490         * io/open64.c: Likewise.
5491         * io/openat.c: Likewise.
5492         * io/openat64.c: Likewise.
5493         * io/pipe.c: Likewise.
5494         * io/pipe2.c: Likewise.
5495         * io/poll.c: Likewise.
5496         * io/posix_fadvise.c: Likewise.
5497         * io/posix_fadvise64.c: Likewise.
5498         * io/posix_fallocate.c: Likewise.
5499         * io/posix_fallocate64.c: Likewise.
5500         * io/read.c: Likewise.
5501         * io/readlink.c: Likewise.
5502         * io/readlinkat.c: Likewise.
5503         * io/rmdir.c: Likewise.
5504         * io/sendfile.c: Likewise.
5505         * io/sendfile64.c: Likewise.
5506         * io/statfs.c: Likewise.
5507         * io/statfs64.c: Likewise.
5508         * io/statvfs.c: Likewise.
5509         * io/statvfs64.c: Likewise.
5510         * io/symlink.c: Likewise.
5511         * io/symlinkat.c: Likewise.
5512         * io/ttyname.c: Likewise.
5513         * io/ttyname_r.c: Likewise.
5514         * io/umask.c: Likewise.
5515         * io/unlink.c: Likewise.
5516         * io/unlinkat.c: Likewise.
5517         * io/utime.c: Likewise.
5518         * io/utimensat.c: Likewise.
5519         * io/write.c: Likewise.
5520         * io/xmknod.c: Likewise.
5521         * io/xmknodat.c: Likewise.
5522         * io/xstat.c: Likewise.
5523         * io/xstat64.c: Likewise.
5524         * login/getpt.c: Likewise.
5525         * login/grantpt.c: Likewise.
5526         * login/unlockpt.c: Likewise.
5527         * math/e_acoshl.c: Likewise.
5528         * math/e_acosl.c: Likewise.
5529         * math/e_asinl.c: Likewise.
5530         * math/e_atan2l.c: Likewise.
5531         * math/e_atanhl.c: Likewise.
5532         * math/e_coshl.c: Likewise.
5533         * math/e_expl.c: Likewise.
5534         * math/e_fmodl.c: Likewise.
5535         * math/e_gammal_r.c: Likewise.
5536         * math/e_hypotl.c: Likewise.
5537         * math/e_j0l.c: Likewise.
5538         * math/e_j1l.c: Likewise.
5539         * math/e_jnl.c: Likewise.
5540         * math/e_lgammal_r.c: Likewise.
5541         * math/e_log10l.c: Likewise.
5542         * math/e_log2l.c: Likewise.
5543         * math/e_logl.c: Likewise.
5544         * math/e_powl.c: Likewise.
5545         * math/e_rem_pio2l.c: Likewise.
5546         * math/e_sinhl.c: Likewise.
5547         * math/e_sqrtl.c: Likewise.
5548         * math/fclrexcpt.c: Likewise.
5549         * math/fedisblxcpt.c: Likewise.
5550         * math/feenablxcpt.c: Likewise.
5551         * math/fegetenv.c: Likewise.
5552         * math/fegetexcept.c: Likewise.
5553         * math/fegetround.c: Likewise.
5554         * math/feholdexcpt.c: Likewise.
5555         * math/fesetenv.c: Likewise.
5556         * math/fesetround.c: Likewise.
5557         * math/feupdateenv.c: Likewise.
5558         * math/fgetexcptflg.c: Likewise.
5559         * math/fraiseexcpt.c: Likewise.
5560         * math/fsetexcptflg.c: Likewise.
5561         * math/ftestexcept.c: Likewise.
5562         * math/k_cosl.c: Likewise.
5563         * math/k_rem_pio2l.c: Likewise.
5564         * math/k_sinl.c: Likewise.
5565         * math/k_tanl.c: Likewise.
5566         * math/s_asinhl.c: Likewise.
5567         * math/s_atanl.c: Likewise.
5568         * math/s_cbrtl.c: Likewise.
5569         * math/s_erfl.c: Likewise.
5570         * math/s_expm1l.c: Likewise.
5571         * math/s_log1pl.c: Likewise.
5572         * math/s_tanhl.c: Likewise.
5573         * misc/acct.c: Likewise.
5574         * misc/brk.c: Likewise.
5575         * misc/chflags.c: Likewise.
5576         * misc/chroot.c: Likewise.
5577         * misc/fchflags.c: Likewise.
5578         * misc/fgetxattr.c: Likewise.
5579         * misc/flistxattr.c: Likewise.
5580         * misc/fremovexattr.c: Likewise.
5581         * misc/fsetxattr.c: Likewise.
5582         * misc/fsync.c: Likewise.
5583         * misc/ftruncate.c: Likewise.
5584         * misc/futimes.c: Likewise.
5585         * misc/futimesat.c: Likewise.
5586         * misc/getdomain.c: Likewise.
5587         * misc/getdtsz.c: Likewise.
5588         * misc/gethostid.c: Likewise.
5589         * misc/gethostname.c: Likewise.
5590         * misc/getloadavg.c: Likewise.
5591         * misc/getpagesize.c: Likewise.
5592         * misc/getsysstats.c: Likewise.
5593         * misc/getxattr.c: Likewise.
5594         * misc/gtty.c: Likewise.
5595         * misc/ioctl.c: Likewise.
5596         * misc/lgetxattr.c: Likewise.
5597         * misc/listxattr.c: Likewise.
5598         * misc/llistxattr.c: Likewise.
5599         * misc/lremovexattr.c: Likewise.
5600         * misc/lsetxattr.c: Likewise.
5601         * misc/lutimes.c: Likewise.
5602         * misc/madvise.c: Likewise.
5603         * misc/mincore.c: Likewise.
5604         * misc/mlock.c: Likewise.
5605         * misc/mlockall.c: Likewise.
5606         * misc/mmap.c: Likewise.
5607         * misc/mprotect.c: Likewise.
5608         * misc/msync.c: Likewise.
5609         * misc/munlock.c: Likewise.
5610         * misc/munlockall.c: Likewise.
5611         * misc/munmap.c: Likewise.
5612         * misc/preadv.c: Likewise.
5613         * misc/preadv64.c: Likewise.
5614         * misc/ptrace.c: Likewise.
5615         * misc/pwritev.c: Likewise.
5616         * misc/pwritev64.c: Likewise.
5617         * misc/readv.c: Likewise.
5618         * misc/reboot.c: Likewise.
5619         * misc/remap_file_pages.c: Likewise.
5620         * misc/removexattr.c: Likewise.
5621         * misc/revoke.c: Likewise.
5622         * misc/select.c: Likewise.
5623         * misc/setdomain.c: Likewise.
5624         * misc/setegid.c: Likewise.
5625         * misc/seteuid.c: Likewise.
5626         * misc/sethostid.c: Likewise.
5627         * misc/sethostname.c: Likewise.
5628         * misc/setregid.c: Likewise.
5629         * misc/setreuid.c: Likewise.
5630         * misc/setxattr.c: Likewise.
5631         * misc/sstk.c: Likewise.
5632         * misc/stty.c: Likewise.
5633         * misc/swapoff.c: Likewise.
5634         * misc/swapon.c: Likewise.
5635         * misc/sync.c: Likewise.
5636         * misc/syncfs.c: Likewise.
5637         * misc/syscall.c: Likewise.
5638         * misc/truncate.c: Likewise.
5639         * misc/ualarm.c: Likewise.
5640         * misc/usleep.c: Likewise.
5641         * misc/ustat.c: Likewise.
5642         * misc/utimes.c: Likewise.
5643         * misc/vhangup.c: Likewise.
5644         * misc/writev.c: Likewise.
5645         * posix/_exit.c: Likewise.
5646         * posix/alarm.c: Likewise.
5647         * posix/execve.c: Likewise.
5648         * posix/fexecve.c: Likewise.
5649         * posix/fork.c: Likewise.
5650         * posix/fpathconf.c: Likewise.
5651         * posix/getaddrinfo.c: Likewise.
5652         * posix/getegid.c: Likewise.
5653         * posix/geteuid.c: Likewise.
5654         * posix/getgid.c: Likewise.
5655         * posix/getgroups.c: Likewise.
5656         * posix/getlogin.c: Likewise.
5657         * posix/getlogin_r.c: Likewise.
5658         * posix/getpgid.c: Likewise.
5659         * posix/getpid.c: Likewise.
5660         * posix/getppid.c: Likewise.
5661         * posix/getresgid.c: Likewise.
5662         * posix/getresuid.c: Likewise.
5663         * posix/getsid.c: Likewise.
5664         * posix/getuid.c: Likewise.
5665         * posix/glob64.c: Likewise.
5666         * posix/nanosleep.c: Likewise.
5667         * posix/pathconf.c: Likewise.
5668         * posix/pause.c: Likewise.
5669         * posix/posix_madvise.c: Likewise.
5670         * posix/pread.c: Likewise.
5671         * posix/pread64.c: Likewise.
5672         * posix/pwrite.c: Likewise.
5673         * posix/pwrite64.c: Likewise.
5674         * posix/sched_getaffinity.c: Likewise.
5675         * posix/sched_getp.c: Likewise.
5676         * posix/sched_gets.c: Likewise.
5677         * posix/sched_primax.c: Likewise.
5678         * posix/sched_primin.c: Likewise.
5679         * posix/sched_rr_gi.c: Likewise.
5680         * posix/sched_setaffinity.c: Likewise.
5681         * posix/sched_setp.c: Likewise.
5682         * posix/sched_sets.c: Likewise.
5683         * posix/sched_yield.c: Likewise.
5684         * posix/setgid.c: Likewise.
5685         * posix/setlogin.c: Likewise.
5686         * posix/setpgid.c: Likewise.
5687         * posix/setresgid.c: Likewise.
5688         * posix/setresuid.c: Likewise.
5689         * posix/setsid.c: Likewise.
5690         * posix/setuid.c: Likewise.
5691         * posix/sleep.c: Likewise.
5692         * posix/spawni.c: Likewise.
5693         * posix/sysconf.c: Likewise.
5694         * posix/times.c: Likewise.
5695         * posix/wait.c: Likewise.
5696         * posix/wait3.c: Likewise.
5697         * posix/wait4.c: Likewise.
5698         * posix/waitpid.c: Likewise.
5699         * resolv/gai_sigqueue.c: Likewise.
5700         * resource/getpriority.c: Likewise.
5701         * resource/getrlimit.c: Likewise.
5702         * resource/getrusage.c: Likewise.
5703         * resource/nice.c: Likewise.
5704         * resource/setpriority.c: Likewise.
5705         * resource/setrlimit.c: Likewise.
5706         * resource/ulimit.c: Likewise.
5707         * rt/aio_cancel.c: Likewise.
5708         * rt/aio_fsync.c: Likewise.
5709         * rt/aio_read.c: Likewise.
5710         * rt/aio_sigqueue.c: Likewise.
5711         * rt/aio_suspend.c: Likewise.
5712         * rt/aio_write.c: Likewise.
5713         * rt/clock_getres.c: Likewise.
5714         * rt/clock_gettime.c: Likewise.
5715         * rt/clock_nanosleep.c: Likewise.
5716         * rt/clock_settime.c: Likewise.
5717         * rt/lio_listio.c: Likewise.
5718         * rt/mq_close.c: Likewise.
5719         * rt/mq_getattr.c: Likewise.
5720         * rt/mq_notify.c: Likewise.
5721         * rt/mq_open.c: Likewise.
5722         * rt/mq_receive.c: Likewise.
5723         * rt/mq_send.c: Likewise.
5724         * rt/mq_setattr.c: Likewise.
5725         * rt/mq_timedreceive.c: Likewise.
5726         * rt/mq_timedsend.c: Likewise.
5727         * rt/mq_unlink.c: Likewise.
5728         * rt/shm_open.c: Likewise.
5729         * rt/shm_unlink.c: Likewise.
5730         * rt/timer_create.c: Likewise.
5731         * rt/timer_delete.c: Likewise.
5732         * rt/timer_getoverr.c: Likewise.
5733         * rt/timer_gettime.c: Likewise.
5734         * rt/timer_settime.c: Likewise.
5735         * setjmp/__longjmp.c: Likewise.
5736         * setjmp/setjmp.c: Likewise.
5737         * signal/kill.c: Likewise.
5738         * signal/killpg.c: Likewise.
5739         * signal/raise.c: Likewise.
5740         * signal/sigaction.c: Likewise.
5741         * signal/sigaltstack.c: Likewise.
5742         * signal/sigblock.c: Likewise.
5743         * signal/sigignore.c: Likewise.
5744         * signal/sigintr.c: Likewise.
5745         * signal/signal.c: Likewise.
5746         * signal/sigpause.c: Likewise.
5747         * signal/sigpending.c: Likewise.
5748         * signal/sigqueue.c: Likewise.
5749         * signal/sigreturn.c: Likewise.
5750         * signal/sigset.c: Likewise.
5751         * signal/sigsetmask.c: Likewise.
5752         * signal/sigstack.c: Likewise.
5753         * signal/sigsuspend.c: Likewise.
5754         * signal/sigtimedwait.c: Likewise.
5755         * signal/sigvec.c: Likewise.
5756         * signal/sigwait.c: Likewise.
5757         * signal/sigwaitinfo.c: Likewise.
5758         * signal/sysv_signal.c: Likewise.
5759         * socket/accept.c: Likewise.
5760         * socket/accept4.c: Likewise.
5761         * socket/bind.c: Likewise.
5762         * socket/connect.c: Likewise.
5763         * socket/getpeername.c: Likewise.
5764         * socket/getsockname.c: Likewise.
5765         * socket/getsockopt.c: Likewise.
5766         * socket/isfdtype.c: Likewise.
5767         * socket/listen.c: Likewise.
5768         * socket/recv.c: Likewise.
5769         * socket/recvfrom.c: Likewise.
5770         * socket/recvmsg.c: Likewise.
5771         * socket/send.c: Likewise.
5772         * socket/sendmsg.c: Likewise.
5773         * socket/sendto.c: Likewise.
5774         * socket/setsockopt.c: Likewise.
5775         * socket/shutdown.c: Likewise.
5776         * socket/sockatmark.c: Likewise.
5777         * socket/socket.c: Likewise.
5778         * socket/socketpair.c: Likewise.
5779         * stdio-common/ctermid.c: Likewise.
5780         * stdio-common/cuserid.c: Likewise.
5781         * stdio-common/remove.c: Likewise.
5782         * stdio-common/rename.c: Likewise.
5783         * stdio-common/renameat.c: Likewise.
5784         * stdio-common/tempname.c: Likewise.
5785         * stdlib/getcontext.c: Likewise.
5786         * stdlib/makecontext.c: Likewise.
5787         * stdlib/setcontext.c: Likewise.
5788         * stdlib/swapcontext.c: Likewise.
5789         * stdlib/system.c: Likewise.
5790         * streams/fattach.c: Likewise.
5791         * streams/fdetach.c: Likewise.
5792         * streams/getmsg.c: Likewise.
5793         * streams/getpmsg.c: Likewise.
5794         * streams/putmsg.c: Likewise.
5795         * streams/putpmsg.c: Likewise.
5796         * sysdeps/unix/bsd/getpt.c: Likewise.
5797         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5798         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5799         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5801         Likewise.
5802         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5803         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5804         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5805         * sysvipc/msgctl.c: Likewise.
5806         * sysvipc/msgget.c: Likewise.
5807         * sysvipc/msgrcv.c: Likewise.
5808         * sysvipc/msgsnd.c: Likewise.
5809         * sysvipc/semctl.c: Likewise.
5810         * sysvipc/semget.c: Likewise.
5811         * sysvipc/semop.c: Likewise.
5812         * sysvipc/semtimedop.c: Likewise.
5813         * sysvipc/shmat.c: Likewise.
5814         * sysvipc/shmctl.c: Likewise.
5815         * sysvipc/shmdt.c: Likewise.
5816         * sysvipc/shmget.c: Likewise.
5817         * termios/tcdrain.c: Likewise.
5818         * termios/tcflow.c: Likewise.
5819         * termios/tcflush.c: Likewise.
5820         * termios/tcgetattr.c: Likewise.
5821         * termios/tcgetpgrp.c: Likewise.
5822         * termios/tcsendbrk.c: Likewise.
5823         * termios/tcsetattr.c: Likewise.
5824         * termios/tcsetpgrp.c: Likewise.
5825         * time/adjtime.c: Likewise.
5826         * time/clock.c: Likewise.
5827         * time/getitimer.c: Likewise.
5828         * time/gettimeofday.c: Likewise.
5829         * time/setitimer.c: Likewise.
5830         * time/settimeofday.c: Likewise.
5831         * time/stime.c: Likewise.
5832         * time/time.c: Likewise.
5833
5834 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
5835
5836         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5837         /usr/old/bin.
5838
5839         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5840         instead of spaces.
5841         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5842
5843 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
5844
5845         [BZ #14796]
5846         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5847         FE_TONEAREST before applying Dekker multiplication and Knuth
5848         addition.  Clear inexact exceptions and check for exact zero
5849         results afterwards.
5850         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5851         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5852         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5853         * math/libm-test.inc (fma_test): Add more tests.
5854         (fma_test_towardzero): Likewise.
5855         (fma_test_downward): Likewise.
5856         (fma_test_upward): Likewise.
5857         * sysdeps/generic/math_private.h (default_libc_fesetround): New
5858         function.
5859         (libc_fesetround): New macro.
5860         (libc_fesetroundf): Likewise.
5861         (libc_fesetroundl): Likewise.
5862         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5863         function.
5864         (libc_fesetround_387): Likewise.
5865         (libc_fesetroundf): New macro.
5866         (libc_fesetround): Likewise.
5867         (libc_fesetroundl): Likewise.
5868         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5869         function.
5870         (libc_fesetroundf): New macro.
5871         (libc_fesetround): Likewise.
5872         (libc_fesetroundl): Likewise.
5873         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5874         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5875         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5876         libm_hidden_ver.
5877         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5878         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5879         libm_hidden_def.
5880         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5881         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5882         libm_hidden_ver.
5883         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5884         libm_hidden_def.
5885
5886         [BZ #3439]
5887         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5888         integer constant usable in #if and use that to give value to enum
5889         constant.
5890         (FE_DIVBYZERO): Likewise.
5891         (FE_UNDERFLOW): Likewise.
5892         (FE_OVERFLOW): Likewise.
5893         (FE_INVALID): Likewise.
5894         (FE_INVALID_SNAN): Likewise.
5895         (FE_INVALID_ISI): Likewise.
5896         (FE_INVALID_IDI): Likewise.
5897         (FE_INVALID_ZDZ): Likewise.
5898         (FE_INVALID_IMZ): Likewise.
5899         (FE_INVALID_COMPARE): Likewise.
5900         (FE_INVALID_SOFTWARE): Likewise.
5901         (FE_INVALID_SQRT): Likewise.
5902         (FE_INVALID_INTEGER_CONVERSION): Likewise.
5903         (FE_TONEAREST): Likewise.
5904         (FE_TOWARDZERO): Likewise.
5905         (FE_UPWARD): Likewise.
5906         (FE_DOWNWARD): Likewise.
5907         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5908         (FE_DIVBYZERO): Likewise.
5909         (FE_OVERFLOW): Likewise.
5910         (FE_UNDERFLOW): Likewise.
5911         (FE_INEXACT): Likewise.
5912         (FE_TONEAREST): Likewise.
5913         (FE_DOWNWARD): Likewise.
5914         (FE_UPWARD): Likewise.
5915         (FE_TOWARDZERO): Likewise.
5916         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5917         (FE_UNDERFLOW): Likewise.
5918         (FE_OVERFLOW): Likewise.
5919         (FE_DIVBYZERO): Likewise.
5920         (FE_INVALID): Likewise.
5921         (FE_TONEAREST): Likewise.
5922         (FE_TOWARDZERO): Likewise.
5923         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5924         (FE_OVERFLOW): Likewise.
5925         (FE_UNDERFLOW): Likewise.
5926         (FE_DIVBYZERO): Likewise.
5927         (FE_INEXACT): Likewise.
5928         (FE_TONEAREST): Likewise.
5929         (FE_TOWARDZERO): Likewise.
5930         (FE_UPWARD): Likewise.
5931         (FE_DOWNWARD): Likewise.
5932         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5933         (FE_DIVBYZERO): Likewise.
5934         (FE_OVERFLOW): Likewise.
5935         (FE_UNDERFLOW): Likewise.
5936         (FE_INEXACT): Likewise.
5937         (FE_TONEAREST): Likewise.
5938         (FE_DOWNWARD): Likewise.
5939         (FE_UPWARD): Likewise.
5940         (FE_TOWARDZERO): Likewise.
5941
5942 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
5943
5944         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5945
5946 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
5947
5948         * scripts/cross-test-ssh.sh (command): Use newlines to separate
5949         commands.  Quote $PWD.
5950         (blacklist_exports): Don't use remove_newlines.  Replace "declare
5951         -x" by "export".
5952         (remove_newlines): Remove.
5953
5954 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
5955
5956         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5957         * stdlib/stdlib.h (atof): Moved to ...
5958         * include/bits/stdlib-float.h: Here.  New file.
5959         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5960         * stdlib/bits/stdlib-float.h: New file.
5961         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5962         -mno-sse -mno-mmx.
5963         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5964         <xmmintrin.h>.
5965
5966 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
5967
5968         * conform/conformtest.pl (@headers): Add fenv.h.
5969         * conform/data/fenv.h-data: New file.
5970         * include/fenv.h [_ISOMAC]: Disable all contents of file except
5971         include of <math/fenv.h>.
5972
5973         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5974         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5975         && !UNIX98].  Enables tests for XOPEN2K8.
5976         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5977         POSIX2008]: Likewise.
5978
5979         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5980         (struct rusage): Do not expect type or its members.
5981
5982         [BZ #3439]
5983         * math/math.h (FP_NAN): Define macro to integer constant usable in
5984         #if and use that to give value to enum constant.
5985         (FP_INFINITE): Likewise.
5986         (FP_ZERO): Likewise.
5987         (FP_SUBNORMAL): Likewise.
5988         (FP_NORMAL): Likewise.
5989
5990 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
5991
5992         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5993         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5994         arguments.
5995
5996 2012-11-02  Roland McGrath  <roland@hack.frob.com>
5997
5998         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5999         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6000         autoconf-time if not.
6001         * configure.in: Remove AC_PREREQ.
6002
6003 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6004
6005         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6006         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6007         of the internal implementation.
6008
6009 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
6010
6011         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6012         except include of <misc/sys/syslog.h>.
6013
6014 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6015
6016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6017         function returns with a NULL context exit with zero.
6018
6019 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6020
6021         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6022
6023 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
6024
6025         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6026         (run_program_cmd): This.
6027         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6028         (tst_langinfo): New variable.  Use it.
6029
6030 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
6031
6032         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6033         floating point opcodes.
6034
6035 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6036
6037         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6038         variable.
6039
6040         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6041
6042         * sysdeps/mach/hurd/powerpc: Remove directory.
6043         * sysdeps/mach/powerpc: Likewise.
6044
6045 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6046
6047         * scripts/check-local-headers.sh: Ignore c++ headers.
6048
6049 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6050
6051         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6052         __libc_cleanup_region_start argument.
6053
6054 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
6055
6056         [BZ #14784]
6057         [BZ #14785]
6058         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6059         x * y using scaling, not as x * y + z.
6060         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6061         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6062         * math/libm-test.inc (fma_test): Add more tests.
6063         (fma_test_towardzero): Likewise.
6064         (fma_test_downward): Likewise.
6065         (fma_test_upward): Likewise.
6066
6067 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6068
6069         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6070
6071 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
6072
6073         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6074         New variable.
6075
6076 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
6077
6078         * rt/tst-shm.c (worker): Correct checking for mmap failure.
6079
6080 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6081
6082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6083         Fix sort order.
6084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6085         Likewise.
6086
6087 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6088
6089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6090         Fix the order of the list for glibc 2.17.
6091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6092         Likewise.
6093
6094 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6095
6096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6097
6098 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
6099
6100         [BZ #14610]
6101         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6102         for low part of x being zero before using __atanl (y).
6103         * math/libm-test.inc (atan2_test): Add another test.
6104
6105         * manual/install.texi (Configuring and compiling): Document
6106         general use of test-wrapper and test-wrapper-env.
6107         * INSTALL: Regenerated.
6108
6109         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6110         (__fma): Do not extract and scale down low bits on after-rounding
6111         systems when result rounded to normal precision would have normal
6112         exponent.
6113         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6114         (__fmal): Do not extract and scale down low bits on after-rounding
6115         systems when result rounded to normal precision would have normal
6116         exponent.
6117         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6118         (__fmal): Do not extract and scale down low bits on after-rounding
6119         systems when result rounded to normal precision would have normal
6120         exponent.
6121         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6122         macro.
6123         (fma_test): Add more tests.
6124         (fma_test_towardzero): Likewise.
6125         (fma_test_downward): Likewise.
6126         (fma_test_upward): Likewise.
6127
6128 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
6129
6130         * sysdeps/i386/tininess.h: Renamed to ...
6131         * sysdeps/x86/tininess.h: This.
6132         * sysdeps/x86_64/tininess.h: Removed.
6133
6134 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
6135
6136         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6137         input.  Use $(build-program-cmd).
6138         ($(objpfx)tst-array1-static.out): Likewise.
6139         ($(objpfx)tst-array2.out): Likewise.
6140         ($(objpfx)tst-array3.out): Likewise.
6141         ($(objpfx)tst-array4.out): Likewise.
6142         ($(objpfx)tst-array5.out): Likewise.
6143         ($(objpfx)tst-array5-static.out): Likewise.
6144
6145 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
6146
6147         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6148         if defined.
6149
6150         * nss/nsswitch.h (nss_interface_function): Provide new
6151         macro for use with NSS functions.
6152         * grp/initgroups.c: Use new macro.
6153         * nss/getXXbyYY.c: Likewise.
6154         * nss/getXXbyYY_r.c: Likewise.
6155         * nss/getXXent.c: Likewise.
6156         * nss/getXXent_r.c: Likewise.
6157         * sysdeps/posix/getaddrinfo.c: Likewise.
6158
6159 2012-10-30  Andreas Jaeger  <aj@suse.de>
6160
6161         * po/ru.po: Update Russion translation from translation project.
6162
6163 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
6164
6165         [BZ #14152]
6166         [BZ #14783]
6167         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6168         result and shift together with sticky bit instead of replicating
6169         round-to-nearest rounding.
6170         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6171         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6172         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
6173         missing underflow exceptions.
6174         (fma_test_towardzero): Add more tests.
6175         (fma_test_downward): Likewise.
6176         (fma_test_upward): Likewise.
6177
6178         [BZ #14047]
6179         * sysdeps/generic/tininess.h: New file.
6180         * sysdeps/i386/tininess.h: Likewise.
6181         * sysdeps/sh/tininess.h: Likewise.
6182         * sysdeps/x86_64/tininess.h: Likewise.
6183         * stdlib/tst-strtod-underflow.c: Likewise.
6184         * stdlib/tst-tininess.c: Likewise.
6185         * stdlib/strtod_l.c: Include <tininess.h>.
6186         (round_and_return): Do not set errno for exact underflow cases.
6187         Force an underflow exception when setting errno for underflow.
6188         Determine underflow based on rounding to normal precision if
6189         TININESS_AFTER_ROUNDING.
6190         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6191         ERANGE for exact underflow cases.
6192         * stdlib/Makefile (tests): Add tst-tininess and
6193         tst-strtod-underflow.
6194         ($(objpfx)tst-tininess): Use $(link-libm).
6195         ($(objpfx)tst-strtod-underflow): Likewise.
6196
6197 2012-10-30  Andreas Jaeger  <aj@suse.de>
6198
6199         [BZ#14767]
6200         * elf/Makefile (tests): Remove conditional for have-initfini-array
6201         since this is now always required and the variable does not exist
6202         anymore.
6203         (tests-static): Likewise.
6204         (modules-names): Likewise.
6205
6206         * po/eo.po: Add Esperanto translation from translation project.
6207
6208         * elf/tst-array1.c (fini_array): Make writeable so that it can be
6209         merged with constructor/destructor.
6210         (init_array): Likewise.
6211         * elf/tst-array2dep.c (fini_array): Likewise.
6212         (init_array): Likewise.
6213
6214 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
6215
6216         * manual/message.texi: Delete @cartouche tags.
6217
6218 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
6219
6220         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6221         EOPNOTSUPP.
6222         * sysdeps/mach/hurd/fsync.c: Likewise.
6223
6224         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6225         [_POSIX_REALTIME_SIGNALS]: Change condition to
6226         [_POSIX_REALTIME_SIGNALS > 0].
6227
6228 2012-10-27  Andreas Jaeger  <aj@suse.de>
6229
6230         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6231         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6232         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6233         [__WORDSIZE != 64]: Likewise.
6234
6235 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
6236
6237         *  iconvdata/tst-table.sh: Remove ${SHELL}.
6238         *  iconvdata/tst-tables.sh: Likewise.
6239
6240 2012-10-25  David S. Miller  <davem@davemloft.net>
6241
6242         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6243         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6244         of strtoull.
6245
6246         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6247         ifunc-impl-list.c
6248         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6249         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6250         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6251         file.
6252
6253 2012-10-25  Roland McGrath  <roland@hack.frob.com>
6254
6255         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6256         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6257         __getdirentries.
6258
6259 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
6260             Jim Blandy  <jimb@codesourcery.com>
6261
6262         * scripts/cross-test-ssh.sh: New file.
6263         * manual/install.texi (Configuring and compiling): Document use of
6264         cross-test-ssh.sh.
6265         * INSTALL: Regenerated.
6266
6267 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
6268
6269         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6270         EOPNOTSUPP.
6271
6272 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
6273
6274         * Makeconfig (run-program-prefix): Fix comment.
6275
6276 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
6277             Jim Blandy  <jimb@codesourcery.com>
6278
6279         * Makeconfig (test-wrapper): New variable,
6280         (test-wrapper-env): Likewise.
6281         [$(cross-compiling) = yes && $(test-wrapper) != ""]
6282         (run-built-tests): Define to yes.
6283         (run-program-prefix): Use $(test-wrapper).
6284         (built-program-cmd): Likewise.
6285         * Rules (make-test-out): Use $(test-wrapper-env) and
6286         $(host-built-program-cmd).
6287         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6288         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6289         tst-pathopt.sh.
6290         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6291         $(test-wrapper-env) to tst-rtld-load-self.sh.
6292         ($(objpfx)order2.out): Use $(test-wrapper).
6293         ($(objpfx)tst-initorder.out): Likewise.
6294         ($(objpfx)tst-initorder2.out): Likewise.
6295         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6296         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6297         (test_wrapper_env): New variable.  Use it to run ld.so.
6298         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6299         Use it to run ld.so.
6300         (test_wrapper_env): Likewise.
6301         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6302         $(test-wrapper) to run-iconv-test.sh.
6303         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6304         (ICONV): Use $test_wrapper.
6305         * posix/Makefile ($(objpfx)globtest.out): Pass
6306         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6307         globtest.sh, not $(run-program-prefix).
6308         * posix/globtest.sh (run_via_rtld_prefix): New variable.
6309         (test_wrapper): Likewise.
6310         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
6311         set together with run_via_rtld_prefix.
6312         (run_program_prefix): Define in terms of test_wrapper and
6313         run_via_rtld_prefix.
6314
6315 2012-10-24  Roland McGrath  <roland@hack.frob.com>
6316
6317         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6318         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6319         Targets removed.
6320
6321         [BZ #14743]
6322         * include/time.h: Remove librt_hidden_proto (clock_gettime).
6323         Declare __clock_getres, __clock_gettime, __clock_settime,
6324         __clock_nanosleep, and __clock_getcpuclockid.
6325         * rt/clock_gettime.c: Define __clock_gettime as an alias.
6326         Remove librt_hidden_def (clock_gettime).
6327         * sysdeps/unix/clock_gettime.c: Likewise.
6328         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6329         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6330         * rt/clock_getres.c: Define __clock_getres as an alias.
6331         * sysdeps/posix/clock_getres.c: Likewise.
6332         * rt/clock_settime.c: Define __clock_settime as an alias.
6333         * sysdeps/unix/clock_settime.c: Likewise.
6334         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6335         * sysdeps/unix/clock_nanosleep.c: Likewise.
6336         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6337         * rt/clock-compat.c: New file.
6338         * rt/Makefile (librt-routines): Add clock-compat and move
6339         $(clock-routines) to ...
6340         (routines): ... here, new variable.
6341         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6342         Don't add get_clockfreq here.
6343         * rt/Versions (libc: GLIBC_2.17): New version set.
6344         Add clock_* symbols here.
6345         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
6346         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6347         (GLIBC_2.17): Add clock_* symbols.
6348         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6350         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6352         Likewise.
6353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6354         Likewise.
6355         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6356         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6359         * NEWS: Mention the move.
6360
6361         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6362         Use __open, __read, __close rather than their public counterparts.
6363         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6364         (__get_clockfreq_via_cpuinfo): Likewise.
6365         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6366         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6367
6368         * config.h.in (HAVE_IFUNC): New #undef.
6369         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6370         was successful.
6371         * configure: Regenerated.
6372
6373 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
6374
6375         * configure.in: Move READELF check to start of file.
6376         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6377         libc_cv_asm_gnu_indirect_function in the process.
6378         * configure: Regenerated.
6379
6380 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
6381
6382         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6383         send the output to /dev/null.
6384         (libc_cv_cc_with_libunwind): Likewise.
6385         (libc_cv_as_noexecstack): Likewise.
6386         * configure: Regenerate.
6387
6388 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
6389
6390         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6391
6392         * posix/globtest.sh (TMPDIR): Do not set.
6393         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6394         (testout): Likewise.
6395
6396 2012-10-24  Andreas Jaeger  <aj@suse.de>
6397
6398         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6399         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6400         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6401         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6402         posix_fadvise64, posix_fallocate64.
6403
6404         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6405         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6406         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6407         Likewise.
6408         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6409         Likewise.
6410         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6411
6412         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6413         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6414         <bits/fcntl-linux.h>.
6415         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6416
6417         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6418         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6419         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6420         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6421         [__WORDSIZE != 64]: Likewise.
6422
6423 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
6424
6425         * Makeconfig (run-built-tests): New variable.
6426         * Rules [$(cross-compiling) = yes]: Change condition to
6427         [$(run-built-tests) = no].
6428         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6429         to [$(run-built-tests) = yes].
6430         * elf/Makefile [$(cross-compiling) = no]: Likewise
6431         * grp/Makefile [$(cross-compiling) = no]: Likewise.
6432         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6433         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6434         * intl/Makefile [$(cross-compiling) = no]: Likewise.
6435         * io/Makefile [$(cross-compiling) = no]: Likewise.
6436         * libio/Makefile [$(cross-compiling) = no]: Likewise.
6437         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6438         * misc/Makefile [$(cross-compiling) = no]: Likewise.
6439         * posix/Makefile [$(cross-compiling) = no]: Likewise.
6440         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6441         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6442         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6443         * string/Makefile [$(cross-compiling) = no]: Likewise.
6444
6445         * posix/Makefile ($(objpfx)globtest.out): Pass
6446         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6447         $(rtld-installed-name).
6448         * posix/globtest.sh (elf_objpfx): Remove variable.
6449         (rtld_installed_name): Likewise.
6450         (library_path): Likewise.
6451         (run_program_prefix): New variable.  Use for running globtest
6452         binary.
6453
6454 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
6455             Joseph Myers  <joseph@codesourcery.com>
6456
6457         * Makeconfig (host-built-program-cmd): New variable.
6458         * elf/Makefile (tst-stackguard1-ARGS): Use
6459         $(host-built-program-cmd).
6460         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6461         (tst-spawn-ARGS): Likewise.
6462         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6463
6464 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
6465             Jim Blandy  <jimb@codesourcery.com>
6466
6467         * Makeconfig (run-via-rtld-prefix): New variable.
6468         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6469         (built-program-cmd): Likewise.
6470
6471 2012-10-22  Andreas Jaeger  <aj@suse.de>
6472
6473         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6474         __O_RSYNC if it exists, otherwise to O_SYNC.
6475
6476 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
6477             Joseph Myers  <joseph@codesourcery.com>
6478
6479         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6480         /dev/null.
6481         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6482         from /dev/null
6483         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6484         /dev/null.
6485
6486 2012-10-22  Andreas Jaeger  <aj@suse.de>
6487
6488         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6489         Define always.
6490         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6491
6492         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6493         bits/fcntl-linux.h.
6494
6495         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6496         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6497
6498         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6499         to __O_LARGEFILE.
6500         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6501         to __O_LARGEFILE.
6502
6503 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
6504             Joseph Myers  <joseph@codesourcery.com>
6505
6506         * config.make.in (NM): New variable.
6507
6508 2012-10-21  Andreas Jaeger  <aj@suse.de>
6509
6510         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6511         definitions and declarations that are provided by
6512         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6513
6514 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
6515
6516         [BZ #14683]
6517         * elf/Makefile (tests-static): Add tst-leaks1-static.
6518         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6519         ($(objpfx)tst-leaks1-static): New rule.
6520         ($(objpfx)tst-leaks1-static-mem): Likewise.
6521         (tst-leaks1-static-ENV): New macro.
6522         * elf/dl-open.c (dl_open_worker): Check the main application
6523         only if SHARED is defined.
6524         * elf/tst-leaks1-static.c: New file.
6525
6526 2012-10-20  Andreas Jaeger  <aj@suse.de>
6527
6528         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6529         generic values for Linux.
6530         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6531         and declarations that are provided by <bits/fcntl-linux.h> and
6532         include <bits/fcntl-linux.h>.
6533         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6534         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6535
6536 2012-10-20  Roland McGrath  <roland@hack.frob.com>
6537
6538         * io/fcntl.h: Move include of <bits/types.h> to the top and
6539         include it unconditionally.
6540
6541 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
6542
6543         * wcsmbs/Makefile (tests-ifunc): New variable.
6544         (tests): Add $(tests-ifunc).
6545         * wcsmbs/test-wcschr-ifunc.c: New file.
6546         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6547         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6548         * wcsmbs/test-wcslen-ifunc.c: Likewise.
6549         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6550         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6551
6552         * string/Makefile (tests-ifunc): New variable.
6553         (tests): Add $(tests-ifunc).
6554         * string/test-memccpy.c (TEST_NAME): New macro.
6555         * string/test-memchr.c (TEST_NAME): Likewise.
6556         * string/test-memcmp.c (TEST_NAME): Likewise.
6557         * string/test-memcpy.c (TEST_NAME): Likewise.
6558         * string/test-memmem.c (TEST_NAME): Likewise.
6559         * string/test-memmove.c (TEST_NAME): Likewise.
6560         * string/test-memset.c (TEST_NAME): Likewise.
6561         * string/test-rawmemchr.c (TEST_NAME): Likewise.
6562         * string/test-stpcpy.c (TEST_NAME): Likewise.
6563         * string/test-stpncpy.c (TEST_NAME): Likewise.
6564         * string/test-strcasecmp.c (TEST_NAME): Likewise.
6565         * string/test-strcasestr.c (TEST_NAME): Likewise.
6566         * string/test-strcat.c (TEST_NAME): Likewise.
6567         * string/test-strchr.c (TEST_NAME): Likewise.
6568         * string/test-strcmp.c(TEST_NAME): Likewise.
6569         * string/test-strcpy.c (TEST_NAME): Likewise.
6570         * string/test-strcspn.c (TEST_NAME): Likewise.
6571         * string/test-strlen.c (TEST_NAME): Likewise.
6572         * string/test-strncasecmp.c (TEST_NAME): Likewise.
6573         * string/test-strncmp.c (TEST_NAME): Likewise.
6574         * string/test-strncpy.c (TEST_NAME): Likewise.
6575         * string/test-strnlen.c (TEST_NAME): Likewise.
6576         * string/test-strpbrk.c (TEST_NAME): Likewise.
6577         * string/test-strrchr.c (TEST_NAME): Likewise.
6578         * string/test-strspn.c (TEST_NAME): Likewise.
6579         * string/test-strstr.c (TEST_NAME): Likewise.
6580         * string/test-bcopy-ifunc.c: New file.
6581         * string/test-bzero-ifunc.c: Likewise.
6582         * string/test-memccpy-ifunc.c: Likewise.
6583         * string/test-memchr-ifunc.c: Likewise.
6584         * string/test-memcmp-ifunc.c: Likewise.
6585         * string/test-memcpy-ifunc.c: Likewise.
6586         * string/test-memmem-ifunc.c: Likewise.
6587         * string/test-memmove-ifunc.c: Likewise.
6588         * string/test-mempcpy-ifunc.c: Likewise.
6589         * string/test-memset-ifunc.c: Likewise.
6590         * string/test-rawmemchr-ifunc.c: Likewise.
6591         * string/test-stpcpy-ifunc.c: Likewise.
6592         * string/test-stpncpy-ifunc.c: Likewise.
6593         * string/test-strcasecmp-ifunc.c: Likewise.
6594         * string/test-strcasestr-ifunc.c: Likewise.
6595         * string/test-strcat-ifunc.c: Likewise.
6596         * string/test-strchr-ifunc.c: Likewise.
6597         * string/test-strchrnul-ifunc.c: Likewise.
6598         * string/test-strcmp-ifunc.c: Likewise.
6599         * string/test-strcpy-ifunc.c: Likewise.
6600         * string/test-strcspn-ifunc.c: Likewise.
6601         * string/test-strlen-ifunc.c: Likewise.
6602         * string/test-strncasecmp-ifunc.c: Likewise.
6603         * string/test-strncat-ifunc.c: Likewise.
6604         * string/test-strncmp-ifunc.c: Likewise.
6605         * string/test-strncpy-ifunc.c: Likewise.
6606         * string/test-strnlen-ifunc.c: Likewise.
6607         * string/test-strpbrk-ifunc.c: Likewise.
6608         * string/test-strrchr-ifunc.c: Likewise.
6609         * string/test-strspn-ifunc.c: Likewise.
6610         * string/test-strstr-ifunc.c: Likewise.
6611
6612         * debug/Makefile (tests-ifunc): New variable.
6613         (tests): Add $(tests-ifunc).
6614         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6615         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6616         * debug/test-stpcpy_chk-ifunc.c: New file.
6617         * debug/test-strcpy_chk-ifunc.c: Likewise.
6618
6619 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6620
6621         [BZ #13601]
6622         * elf/dl-load.c (open_verify): Retry read if the entire ELF
6623         header is not read in.
6624
6625 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
6626
6627         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
6628         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
6629         directly.  Pass built executable to script as
6630         $(built-program-cmd).
6631         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
6632         $testprogram without using LD_LIBRARY_PATH and $ldso.
6633
6634         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6635         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6636         $(rtld-installed-name).
6637         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6638         (rtld_installed_name): Likewise.
6639         (library_path): Likewise.
6640         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
6641         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6642         $(run-program-prefix) to tst-tables.sh.
6643         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
6644         it to run tst-table-from and tst-table-to.
6645         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6646         Pass it to tst-table.sh.
6647         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6648         $(run-program-prefix) to tst-gettext.sh.
6649         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6650         tst-translit.sh.
6651         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6652         tst-gettext2.sh.
6653         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
6654         to run tst-gettext.
6655         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
6656         to run tst-gettext2.
6657         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
6658         to run tst-translit.
6659         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6660         $(run-program-prefix) to tst-mtrace.sh.
6661         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
6662         to run tst-mtrace.
6663         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6664         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6665         $(rtld-installed-name).
6666         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6667         (rtld_installed_name): Likewise.
6668         (run_program_prefix): New variable.  Use it to run wordexp-test.
6669
6670         * Makeconfig (ARCH): Remove all definitions.
6671         (machine): Likewise.
6672         [ARCH]: Remove conditional code.
6673         [!objdir]: Give error.
6674         [!objdir] (objpfx): Remove.
6675         [!objdir] (common-objpfx): Likewise.
6676         [!objdir] (common-objdir): Likewise.
6677         * configure.in (config_makefile): Remove.  Hardcode Makefile in
6678         AC_CONFIG_FILES call.
6679         * configure: Regenerated.
6680
6681         [BZ #13888]
6682         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6683         or TMPDIR.
6684         (testout): Likewise.
6685
6686         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6687         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6688         $(rtld-installed-name).
6689         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6690         (rtld_installed_name): Likwise.
6691         (runit): Remove function.
6692         (run_getconf): New variable,  Use it for running getconf binary.
6693
6694 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
6695
6696         [BZ #14716]
6697         * string/test-memmem.c (check_result): New function.
6698         (do_one_test): Use it.
6699         (check1): New function.
6700         (test_main): Use it.
6701
6702 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
6703
6704         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6705
6706 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
6707
6708         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6709         (_G_LSEEK64): Likewise.
6710         (_G_MMAP64): Likewise.
6711         (_G_FSTAT64): Likewise.
6712         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6713         (_G_LSEEK64): Likewise.
6714         (_G_MMAP64): Likewise.
6715         (_G_FSTAT64): Likewise.
6716         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6717         unconditional.  Call __mmap64 directly.
6718         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6719         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
6720         __lseek64 directly.
6721         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6722         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
6723         __mmap64 directly.
6724         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6725         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
6726         __lseek64 directly.
6727         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6728         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
6729         __lseek64 directly.
6730         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6731         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
6732         __lseek64 directly.
6733         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6734         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
6735         __fxstat64 directly.
6736         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6737         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6738         unconditional.
6739         (freopen64) [!_G_OPEN64]: Remove conditional code.
6740         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6741         unconditional.
6742         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6743         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6744         unconditional.
6745         (ftello64) [!_G_LSEEK64]: Remove conditional code.
6746         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6747         unconditional.
6748         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6749         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6750         unconditional.
6751         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6752         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6753         unconditional.
6754         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6755         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6756         unconditional.
6757         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6758         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6759         unconditional.
6760         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6761
6762 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6763
6764         [BZ #12140]
6765         * manual/memory.texi (Malloc Tunable Parameters): Add note
6766         about free list pointers overwriting some perturb bytes.
6767         Wording suggested by Roland McGrath.
6768
6769 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
6770
6771         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6772         (lgamma_test): Likewise.
6773         (tgamma_test): Likewise.
6774
6775 2012-10-16  Florian Weimer  <fweimer@redhat.com>
6776
6777         [BZ #14700]
6778         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6779         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6780
6781 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
6782
6783         * NEWS: Mention BZ #14716.
6784         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6785         when removing AVAILABLE1_USES_J macro.
6786
6787 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
6788
6789         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6790         (__bswap_64): __uint64_t for unsigned 64-bit int.
6791
6792 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
6793
6794         * include/string.h (memmem): Declare libc hidden alias.
6795         * string/memmem.c (memmem): Define libc hidden alias.
6796         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6797         __read, __close instead of open, read, close.
6798
6799 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
6800
6801         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6802         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6803         global and hidden.
6804         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6805         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6806         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6807         Likewise.
6808         (__rawmemchr_sse2): Likewise.
6809         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6810         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6811         (__strchr_sse2): Likewise.
6812         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6813         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6814         (__strcasecmp_sse2): Likewise.
6815         (__strncasecmp_sse2): Likewise.
6816         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6817         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6818         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6819         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6820         (__strrchr_sse2): Likewise.
6821         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6822         ifunc-impl-list.c.
6823         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6824         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6825         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6826         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6827         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6828         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6829         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6830         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6831         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6832         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6833         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6834         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6835         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6836         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6837         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6838         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6839         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6840         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6841         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6842         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6843         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6844         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6845         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6846         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6847         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6848         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6849         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6850         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6851         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6852         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6853
6854         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6855         global and hidden.
6856         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6857         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6858         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6859         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6860         Likewise.
6861         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6862         Likewise.
6863         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6864         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6865         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6866         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6867         ifunc-impl-list.c.
6868         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6869         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6870         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6871         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6872         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6873         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6874         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6875         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6876         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6877         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6878         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6879         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6880         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6881         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6882         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6883         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6884         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6885         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6886         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6887         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6888         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6889         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6890         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6891         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6892         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6893         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6894         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6895         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6896         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6897         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6898         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6899         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6900         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6901         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6902         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6903         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6904         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6905         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6906         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6907         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6908         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6909
6910         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6911         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6912         * include/ifunc-impl-list.h: New file.
6913         * misc/ifunc-impl-list.c: Likewise.
6914         * misc/Makefile (routines): Add ifunc-impl-list.
6915         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6916         * string/test-string.h: Include <ifunc-impl-list.h>.
6917         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6918         impl_array): New variables.
6919         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6920         are defined.
6921         (test_init): Call __libc_ifunc_impl_list to initialize
6922         func_list if TEST_IFUNC and TEST_NAME are defined.
6923
6924         * string/Makefile (strop-tests): Add bcopy and bzero.
6925         * string/test-bcopy.c: New file.
6926         * string/test-bzero.c: Likewise.
6927         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6928         defined.
6929         * string/test-memset.c: Support bzero test if TEST_BZERO is
6930         defined.
6931         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6932         __libc_memmove.
6933         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6934         __libc_memset.
6935         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6936         of memset.
6937
6938 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
6939
6940         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6941         * configure: Regenerated.
6942
6943         * Makeconfig (+link-static-before-libc): Don't include
6944         $(link-static-libc).
6945
6946         * libio/libio.h (_IO_pos_t): Remove.
6947
6948 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
6949
6950         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
6951         McGrath.
6952
6953 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
6954
6955         * crypt/crypt-entry.c: Include fips-private.h.
6956         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6957         * crypt/md5c-test.c (main): Tolerate disabled MD5.
6958         * sysdeps/unix/sysv/linux/fips-private.h: New file.
6959         * sysdeps/generic/fips-private.h: New file, dummy fallback.
6960
6961 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
6962
6963         * crypt/crypt-private.h: Include stdbool.h.
6964         (_ufc_setup_salt_r): Return bool.
6965         * crypt/crypt-entry.c: Include errno.h.
6966         (__crypt_r): Return NULL with EINVAL for bad salt.
6967         * crypt/crypt_util.c (bad_for_salt): New.
6968         (_ufc_setup_salt_r): Check that salt is long enough and within
6969         the specified alphabet.
6970         * crypt/badsalttest.c: New file.
6971         * crypt/Makefile (tests): Add it.
6972         ($(objpfx)badsalttest): New.
6973
6974 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
6975
6976         * NEWS: Add entry for BZ #14602.
6977
6978 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
6979
6980         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6981         type-generic.
6982         * math/libm-test.inc: Update comment listing what functions and
6983         macros are tested.
6984         (isgreater_test): New function.
6985         (isgreaterequal_test): Likewise.
6986         (isless_test): Likewise.
6987         (islessequal_test): Likewise.
6988         (islessgreater_test): Likewise.
6989         (isunordered_test): Likewise.
6990         (main): Call the new functions.
6991
6992 2012-10-09  Roland McGrath  <roland@hack.frob.com>
6993
6994         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6995         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6996         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6997         * sysdeps/i386/configure: Regenerated.
6998         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6999         * sysdeps/mach/configure: Regenerated.
7000         * sysdeps/mach/hurd/configure: Regenerated.
7001         * sysdeps/powerpc/configure: Regenerated.
7002         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7003         * sysdeps/powerpc/powerpc64/configure: Regenerated.
7004         * sysdeps/s390/s390-32/configure: Regenerated.
7005         * sysdeps/s390/s390-64/configure: Regenerated.
7006         * sysdeps/sh/configure: Regenerated.
7007         * sysdeps/sparc/configure: Regenerated.
7008         * sysdeps/unix/sysv/linux/configure: Regenerated.
7009         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7010         * sysdeps/x86_64/configure: Regenerated.
7011
7012         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7013         defined.  Don't check if MAP is NULL.
7014
7015 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
7016
7017         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7018         (_G_stat64): Likewise.
7019         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7020         (_G_stat64): Likewise.
7021         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7022         instead of struct _G_stat64.
7023         * libio/fileops.c (mmap_remap_check): Likewise.
7024         (decide_maybe_mmap): Likewise.
7025         (_IO_new_file_seekoff): Likewise.
7026         (_IO_file_stat): Likewise.
7027         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7028         _G_off64_t.
7029         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7030         instead of struct _G_stat64.
7031         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7032
7033 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
7034
7035         [BZ #14602]
7036         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7037         Replace with ...
7038         (CHECK_EOL): New macro.
7039         (two_way_short_needle): Check beginning of haystack for EOL.  Use
7040         CHECK_EOL.
7041         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7042         Replace with CHECK_EOL.
7043         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7044         Replace with CHECK_EOL.
7045
7046 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
7047
7048         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7049         type-generic.
7050         * math/libm-test.inc: Update comment listing what functions and
7051         macros are tested.
7052         (finite_test): New function.
7053         (isinf_test): Likewise.
7054         (isnan_test): Likewise.
7055         (fpclassify_test): Test subnormal input.
7056         (isfinite_test): Likewise.
7057         (isnormal_test): Likewise.
7058         (main): Call the new functions.
7059
7060 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
7061
7062         [BZ #14660]
7063         * Makerules (%.dynsym): Force C locale when running
7064         $(OBJDUMP) --dynamic-syms.
7065
7066 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
7067
7068         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7069         <stdint.h>.
7070
7071 2012-10-06  David S. Miller  <davem@davemloft.net>
7072
7073         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7074         upper 32-bits of the length value in %o2 since we use branch-on-register
7075         tests which consider the entire 64-bit register.
7076
7077 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
7078
7079         * string/test-strstr.c (check2): Add a test for page boundary.
7080
7081 2012-10-05  David S. Miller  <davem@davemloft.net>
7082
7083         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7084         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7085         file.
7086         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7087         sysdep_routines.
7088         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7089         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7090         and bzero when HWCAP_SPARC_CRYPTO is present.
7091
7092 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
7093
7094         [BZ #14602]
7095         * string/test-strstr.c (check2): New function.
7096         (test_main): Call check2.
7097
7098         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7099         and bug-strchr1.
7100         * string/bug-strcasestr1.c (do_test): Moved to ...
7101         * string/test-strcasestr.c (check1): Here.  New function.
7102         (do_one_test): Break out result checking code into ...
7103         (check_result): This.  New function.
7104         (do_one_test): Call check_result.
7105         (test_main): Call check1.
7106         * string/bug-strchr1.c (do_test): Moved to ...
7107         * string/test-strchr.c (check1): Here.  New function.
7108         (do_one_test): Break out result checking code into ...
7109         (check_result): This.  New function.
7110         (do_one_test): Call check_result.
7111         (test_main): Call check1.
7112         * string/bug-strstr1.c (main): Moved to ...
7113         * string/test-strstr.c (check1): Here.  New function.
7114         (do_one_test): Break out result checking code into ...
7115         (check_result): This.  New function.
7116         (do_one_test): Call check_result.
7117         (test_main): Call check1.
7118         * string/bug-strcasestr1.c: Removed.
7119         * string/bug-strchr1.c: Likewise.
7120         * string/bug-strstr1.c: Likewise.
7121
7122         * elf/Makefile (dl-routines): Add hwcaps.
7123         * elf/dl-support.c (_dl_important_hwcaps): Removed.
7124         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7125         (_dl_important_hwcaps): Moved to ...
7126         * elf/dl-hwcaps.c: Here.  New file.
7127         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7128
7129         [BZ #14557]
7130         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7131         if IS_IN_rtld isn't defined.
7132
7133         * elf/dl-support.c (_dl_sysinfo_map): New.
7134         Include "get-dynamic-info.h" and "setup-vdso.h".
7135         (_dl_non_dynamic_init): Call setup_vdso.
7136         * elf/dynamic-link.h: Don't include <assert.h>.
7137         (elf_get_dynamic_info): Moved to ...
7138         * elf/get-dynamic-info.h: Here.  New file.
7139         * elf/dynamic-link.h: Include "get-dynamic-info.h".
7140         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7141         * elf/setup-vdso.h: Here.  New file.
7142         * elf/rtld.c: Include "setup-vdso.h".
7143         (dl_main): Call setup_vdso.
7144
7145 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
7146
7147         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7148         creal in comment listing functions tested.  List finite, isinf,
7149         isnan, isless, islessequal, isgreater, isgreaterequal,
7150         islessgreater, isunordered, lgamma_r and pow10 as functions and
7151         macros not tested.  Mention which functions not tested are aliases
7152         for other functions.  Fix typo.  Note that signs of NaNs are not
7153         tested.
7154
7155         * scripts/config.guess: Update from config.git.
7156         * scripts/config.sub: Likewise.
7157
7158 2012-10-04  Roland McGrath  <roland@hack.frob.com>
7159
7160         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7161         * misc/madvise.c (madvise): Renamed to __madvise.
7162         Make madvise a weak alias.
7163         * include/sys/mman.h: Declare __madvise.
7164         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7165         * sysdeps/unix/syscalls.list
7166         (madvise): Make __madvise the strong name, and madvise a weak alias.
7167         * sysdeps/unix/sysv/linux/syscalls.list
7168         (madvise, mmap): Remove redundant entries.
7169         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7170         * malloc/malloc.c (mtrim): Likewise.
7171         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7172
7173 2012-10-03  Roland McGrath  <roland@hack.frob.com>
7174
7175         * sysdeps/mach/hurd/dl-cache.c: File removed.
7176         * config.h.in (USE_LDCONFIG): New #undef.
7177         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7178         * configure: Regenerated.
7179         * elf/Makefile (dl-routines): Add dl-cache only under
7180         [$(use-ldconfig) = yes].
7181         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7182         cache on [USE_LDCONFIG].
7183         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7184         [USE_LDCONFIG].
7185         * elf/rtld.c (dl_main): Likewise.
7186
7187 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
7188
7189         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7190         _SC_LEVEL4_CACHE_LINESIZE.
7191
7192 2012-10-03  Roland McGrath  <roland@hack.frob.com>
7193
7194         * sysdeps/unix/bsd/confstr.h: File removed.
7195
7196 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
7197
7198         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7199         sys/sdt-config.h.
7200
7201 2012-10-02  Roland McGrath  <roland@hack.frob.com>
7202
7203         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7204         Make 'mapoff' field ElfW(Off) rather than off_t.
7205
7206 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
7207
7208         * nscd/Makefile: Remove nscd-cflags and all its users.
7209         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7210         (CFLAGS-nonlib): Add compiler flags for nscd modules.
7211
7212         [BZ #10631]
7213         * malloc.c (malloc_printerr): Clarify error message.
7214
7215 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
7216
7217         [BZ #14648]
7218         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7219         Set bit_FMA_Usable if FMA is supported.
7220         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7221         macro.
7222         (bit_FMA4_Usable): Updated.
7223         (index_FMA_Usable): New macro.
7224         (CPUID_FMA): Likewise
7225         (HAS_FMA): Defined with bit_FMA_Usable.
7226
7227 2012-10-01  Roland McGrath  <roland@hack.frob.com>
7228
7229         * bits/types.h (__swblk_t): Type removed.
7230         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7231         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7232         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7233         (__SWBLK_T_TYPE): Likewise.
7234         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7235         (__SWBLK_T_TYPE): Likewise.
7236         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7237         (__SWBLK_T_TYPE): Likewise.
7238         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7239         (__SWBLK_T_TYPE): Likewise.
7240
7241 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
7242             Honza Horak <hhorak@redhat.com>
7243
7244         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7245         (xdr_mapname): Use YPMAXMAP as maxsize.
7246         (xdr_peername): Use YPMAXPEER as maxsize.
7247         (xdr_keydat): Use YPAXRECORD as maxsize.
7248         (xdr_valdat): Use YPMAXRECORD as maxsize.
7249
7250 2012-10-01  Roland McGrath  <roland@hack.frob.com>
7251
7252         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7253
7254         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7255         * csu/init-first.c: ... here.
7256         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7257         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7258         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7259         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7260         * sysdeps/i386/init-first.c: File removed.
7261         * sysdeps/sh/init-first.c: File removed.
7262
7263 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
7264
7265         [BZ #14645]
7266         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7267         if x * y might underflow to zero and z is zero.
7268         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7269         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7270         * math/libm-test.inc (min_subnorm_value): New variable.
7271         (fma_test): Add more tests.
7272         (fma_test_towardzero): Likewise.
7273         (fma_test_downward): Likewise
7274         (fma_test_upward): Likewise.
7275         (initialize): Set min_subnorm_value.
7276
7277 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
7278
7279         [BZ #14638]
7280         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7281         0 + 0.
7282         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7283         mode for addition resulting in exact zero.
7284         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7285         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7286         exact 0 + 0.
7287         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7288         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7289         * math/libm-test.inc (fma_test): Add more tests.
7290         (fma_test_towardzero): New function.
7291         (fma_test_downward): Likewise.
7292         (fma_test_upward): Likewise.
7293         (main): Call the new functions.
7294
7295 2012-09-28  David S. Miller  <davem@davemloft.net>
7296
7297         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7298
7299 2012-09-28  Roland McGrath  <roland@hack.frob.com>
7300
7301         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7302         instead of SIGALRM.
7303
7304         * sysdeps/gnu/_G_config.h: Moved to ...
7305         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7306         * sysdeps/mach/hurd/_G_config.h: Moved to ...
7307         * sysdeps/generic/_G_config.h: ... here.
7308
7309         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
7310
7311         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7312
7313         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7314         Conditionalize target on [libnss_test1.so-version].
7315
7316         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7317
7318         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7319         (elfobjdir): Move out of conditionals.
7320
7321         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7322         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7323         (__nss_lookup_function): Conditionalize label remove_from_tree on
7324         [!DO_STATIC_NSS || SHARED], matching its only use.
7325
7326 2012-09-28  David S. Miller  <davem@davemloft.net>
7327
7328         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7329         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7330         file.
7331         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7332         sysdep_routines.
7333         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7334         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7335         when HWCAP_SPARC_CRYPTO is present.
7336
7337 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7338
7339         * io/tst-mknodat.c: Create a FIFO instead of a socket.
7340
7341 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
7342
7343         [BZ #6530]
7344         * stdio-common/vfprintf.c (process_string_arg): Revert
7345         2000-07-22 change.
7346
7347 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
7348
7349         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7350         for testcase.
7351         * stdio-common/tst-sprintf.c: Include <locale.h>
7352         (main): Test sprintf's handling of incomplete multibyte
7353         characters.
7354
7355 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
7356
7357         * elf/dl-runtime.c (VERSYMIDX): Removed.
7358         * elf/dl-version.c (VERSYMIDX): Likewise.
7359         * elf/do-rel.h (VERSYMIDX): Likewise.
7360         (VALIDX): Likewise.
7361         * elf/dynamic-link.h (VERSYMIDX): Likewise.
7362         * elf/rtld.c (VALIDX): Likewise.
7363         (ADDRIDX): Likewise.
7364         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7365         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7366         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
7367         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7368         (VALIDX): Likewise.
7369         (ADDRIDX): Likewise.
7370
7371 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7372
7373         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7374
7375 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
7376
7377         [BZ #11438]
7378         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7379         to global scope.
7380         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7381         addresses are in the same scope as 192.0.2/24.
7382         * posix/gai.conf: Document new scope table defaults.
7383
7384 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7385
7386         [BZ #5298]
7387         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7388         for ftell.  Compute offsets from write pointers instead.
7389         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7390
7391 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7392
7393         [BZ #14543]
7394         * libio/Makefile (tests): New test case tst-fseek.
7395         * libio/tst-fseek.c: New test case to verify that fseek/ftell
7396         combination works in wide mode.
7397         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7398         state when the external buffer state changes.
7399
7400 2012-09-27  David S. Miller  <davem@davemloft.net>
7401
7402         [BZ #14376]
7403         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7404         pass reloc->r_addend in as the 'high' argument to
7405         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7406
7407         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7408
7409 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
7410
7411         * rt/tst-aio2.c: Include <pthread.h>.
7412         * rt/tst-aio3.c: Likewise.
7413
7414 2012-09-27  Steve Ellcey  <sellcey@mips.com>
7415
7416         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7417
7418 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
7419
7420         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7421         contents on [SHARED].
7422
7423 2012-09-26  Marek Polacek  <polacek@redhat.com>
7424
7425         [BZ #14530]
7426         [BZ #13741]
7427         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7428         for C++ and GCC <4.3 as well as for non GCC compilers.
7429
7430 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
7431
7432         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7433
7434 2012-09-25  Roland McGrath  <roland@hack.frob.com>
7435
7436         * Makefile.in (all, install): Declare with .PHONY.
7437         Reported by Michael Hope <michael.hope@linaro.org>.
7438
7439 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7440
7441         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7442         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7443         system header.
7444         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7445         Likewise.
7446         (sydep_routines): Add the new and the internal functions.
7447         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7448         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7450         (GLIBC_2.17): Add the new function.
7451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7452         (GLIBC_2.17): Likewise.
7453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7454         (GLIBC_2.17): Likewise.
7455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7456         (GLIBC_2.17): Likewise.
7457         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7458
7459 2012-09-25  Alan Modra  <amodra@gmail.com>
7460
7461         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7462         Add release barrier before setting once_control to say
7463         initialisation is done.  Add hints on lwarx.  Use macro in
7464         place of isync.
7465         (clear_once_control): Add release barrier.
7466
7467 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
7468
7469         [BZ #13629]
7470         * math/s_clog.c (__clog): Handle more values close to |z| = 1
7471         specially.
7472         * math/s_clog10.c (__clog10): Likewise.
7473         * math/s_clog10f.c (__clog10f): Likewise.
7474         * math/s_clog10l.c (__clog10l): Likewise.
7475         * math/s_clogf.c (__clogf): Likewise.
7476         * math/s_clogl.c (__clogl): Likewise.
7477         * math/Makefile (libm-calls): Add x2y2m1.
7478         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7479         (__x2y2m1): Likewise.
7480         (__x2y2m1l): Likewise.
7481         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7482         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7483         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7484         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7485         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7486         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7487         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7488         * sysdeps/i386/fpu/libm-test-ulps: Update.
7489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7490
7491         [BZ #14621]
7492         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7493         int as type of variable DEPTH.
7494         (glob): Use size_t instead of int as type of variables NEWCOUNT
7495         and OLD_PATHC.
7496
7497 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7498
7499         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7500         Add s_sincosf-sse2.
7501         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7502         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7503         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7504         macros for using routine as __sincosf_ia32.
7505         Use macro for function declaration and weak_alias.
7506         * sysdeps/i386/fpu/libm-test-ulps: Update.
7507
7508         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7509         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7510
7511         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
7512         subnormal argument.
7513         * math/s_cexpf.c (__cexpf): Likewise.
7514         * math/s_csinf.c (__csinf): Likewise.
7515         * math/s_csinhf.c (__csinhf): Likewise.
7516         * math/s_ctanf.c (__ctanf): Likewise.
7517         * math/s_ctanhf.c (__ctanhf): Likewise.
7518         * math/s_ccosh.c (__ccoshf): Likewise.
7519         * math/s_cexp.c (__cexpl): Likewise.
7520         * math/s_csin.c (__csin): Likewise.
7521         * math/s_csinh.c (__csinh): Likewise.
7522         * math/s_ctan.c (__ctan): Likewise.
7523         * math/s_ctanh.c (ctanh): Likewise.
7524         * math/s_ccoshl.c (__ccoshl): Likewise.
7525         * math/s_cexpl.c (__cexpl): Likewise.
7526         * math/s_csinl.c (__csinl): Likewise.
7527         * math/s_csinhl.c (__csinhl): Likewise.
7528         * math/s_ctanl.c (__ctanl): Likewise.
7529         * math/s_ctanhl.c (__ctanhl): Likewise.
7530
7531 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
7532
7533         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7534         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7535         (_IO_off_t): Define to __off_t, not _G_off_t.
7536         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7537         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7538         (_IO_wint_t): Define to wint_t, not _G_wint_t.
7539         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7540         type of __dummy and __dummy2 fields.
7541         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7542         (_G_ssize_t): Likewise.
7543         (_G_off_t): Likewise.
7544         (_G_pid_t): Likewise.
7545         (_G_uid_t): Likewise.
7546         (_G_wchar_t): Likewise.
7547         (_G_wint_t): Likewise.
7548         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7549         (_G_ssize_t): Likewise.
7550         (_G_off_t): Likewise.
7551         (_G_pid_t): Likewise.
7552         (_G_uid_t): Likewise.
7553         (_G_wchar_t): Likewise.
7554         (_G_wint_t): Likewise.
7555         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7556         (_G_ssize_t): Likewise.
7557         (_G_off_t): Likewise.
7558         (_G_pid_t): Likewise.
7559         (_G_uid_t): Likewise.
7560         (_G_wchar_t): Likewise.
7561         (_G_wint_t): Likewise.
7562
7563 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7564
7565         * malloc/arena.c: Include malloc-sysdep.h.
7566         (shrink_heap): Use check_may_shrink_heap to decide if madvise
7567         is sufficient to shrink the heap or an unmap is needed.
7568         * sysdeps/generic/malloc-sysdep.h: New file.  Define
7569         new function check_may_shrink_heap.
7570         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
7571         new function check_may_shrink_heap.
7572
7573 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7574
7575         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7576         comments.
7577
7578 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
7579
7580         * catgets/test-gencat.sh: Add "set -e".
7581         * elf/tst-pathopt.sh: Likewise.
7582         * grp/tst_fgetgrent.sh: Likewise.
7583         * iconvdata/run-iconv-test.sh: Likewise.
7584         * intl/tst-gettext.sh: Likewise.
7585         * intl/tst-gettext2.sh: Likewise.
7586         * intl/tst-gettext4.sh: Likewise.
7587         * intl/tst-gettext6.sh: Likewise.
7588         * intl/tst-translit.sh: Likewise.
7589         * io/ftwtest-sh: Likewise.
7590         * libio/test-freopen.sh: Likewise.
7591         * malloc/tst-mtrace.sh: Likewise.
7592         * posix/globtest.sh: Likewise.
7593         * posix/tst-getconf.sh: Likewise.
7594         * posix/wordexp-tst.sh: Likewise.
7595         * stdio-common/tst-printf.sh: Likewise.
7596         * stdio-common/tst-unbputc.sh: Likewise.
7597         * stdlib/tst-fmtmsg.sh: Likewise.
7598         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7599         * catgets/Makefile: Do not specify -e option when running
7600         testsuite shell scripts.
7601         * elf/Makefile: Likewise.
7602         * grp/Makefile: Likewise.
7603         * iconvdata/Makefile: Likewise.
7604         * intl/Makefile: Likewise.
7605         * io/Makefile: Likewise.
7606         * libio/Makefile: Likewise.
7607         * malloc/Makefile: Likewise.
7608         * posix/Makefile: Likewise.
7609         * stdio-common/Makefile: Likewise.
7610         * stdlib/Makefile: Likewise.
7611         * sysdeps/x86_64/Makefile: Likewise.
7612
7613         * io/ftwtest-sh: Add copyright header.
7614         * posix/globtest.sh: Likewise.
7615         * posix/tst-getconf.sh: Likewise.
7616         * posix/wordexp-tst.sh: Likewise.
7617         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7618
7619 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
7620
7621         [BZ #13679]
7622         * Makeconfig (+link): Defined as $(+link-static) if
7623         $(build-shared) isn't yes.
7624         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7625         isn't yes.
7626         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7627
7628         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7629
7630         [BZ #14562]
7631         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7632         new chunk size with MALLOC_ALIGN_MASK.
7633
7634 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
7635
7636         [BZ #5044]
7637         * stdio-common/printf_fphex.c: Include <stdbool.h> and
7638         <rounding-mode.h>.
7639         (__printf_fphex): Determine rounding using get_rounding_mode and
7640         round_away.
7641         * stdio-common/tst-printf-round.c (struct hex_test): New
7642         structure.
7643         (hex_tests): New variable.
7644         (test_hex_in_one_mode): New function.
7645         (do_test): Also run tests for hex float output.
7646
7647 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
7648
7649         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7650         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7651         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7652         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7653         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7654         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7655         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7656         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7657
7658 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
7659
7660         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7661         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7662         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7663         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7664
7665 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
7666
7667         [BZ #14579]
7668         * elf/rtld.c (dl_main): Limit the check for self loading to normal
7669         mode only.
7670         * elf/tst-rtld-load-self.sh: New test.
7671         * elf/Makefile: Run it.
7672
7673 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
7674
7675         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7676         (tst-writev-ENV): Remove.
7677         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7678
7679 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
7680
7681         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7682
7683 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
7684
7685         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7686         unconditional.
7687         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7688         Likewise.
7689         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7690         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7691         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7692         Likewise.
7693
7694 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
7695
7696         [BZ #14587]
7697         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7698         * config.make.in (have-cpp-asm-debuginfo): Removed.
7699         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7700         * configure: Regenerated.
7701
7702 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
7703
7704         [BZ #5044]
7705         * stdio-common/printf_fp.c: Include <stdbool.h> and
7706         <rounding-mode.h>.
7707         (___printf_fp): Determine rounding using get_rounding_mode and
7708         round_away.
7709         * stdio-common/tst-printf-round.c: New file.
7710         * stdio-common/Makefile (tests): Add tst-printf-round.
7711         (link-libm): New variable.
7712         ($(objpfx)tst-printf-round): Depend in $(link-libm).
7713
7714 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
7715
7716         [BZ #14576]
7717         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7718         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7719         Likewise.
7720         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7721         Likewise.
7722
7723 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
7724
7725         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7726         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7727         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7728         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7729
7730 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
7731
7732         [BZ #14518]
7733         * include/rounding-mode.h: New file.
7734         * sysdeps/generic/get-rounding-mode.h: Likewise.
7735         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7736         * stdlib/strtod_l.c: Include <rounding-mode.h>.
7737         (MAX_VALUE): New macro.
7738         (MIN_VALUE): Likewise.
7739         (overflow_value): New function.
7740         (underflow_value): Likewise.
7741         (round_and_return): Use overflow_value and underflow_value to
7742         determine return values in overflow and underflow cases.  Use
7743         round_away to determine rounding depending on rounding mode.
7744         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7745         determine return values in overflow and underflow cases.
7746         * stdlib/tst-strtod-round.c: Include <fenv.h>.
7747         (struct test_results): New structure.
7748         (struct test): Use struct test_results to store expected results
7749         for all rounding modes.
7750         (TEST): Include expected results for all rounding modes.
7751         (test_in_one_mode): New function.
7752         (do_test): Use test_in_one_mode to compute and check results.
7753         Check results for all rounding modes.
7754         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7755         $(link-libm).
7756
7757 2012-12-09  Allan McRae  <allan@archlinux.org>
7758
7759         * sysdeps/i386/fpu/libm-test-ulps: Update
7760
7761 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
7762
7763         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7764         (_G_int32_t): Likewise.
7765         (_G_uint16_t): Likewise.
7766         (_G_uint32_t): Likewise.
7767         (_G_HAVE_BOOL): Likewise.
7768         (_G_HAVE_ATEXIT): Likewise.
7769         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7770         (_G_HAVE_IO_FILE_OPEN): Likewise.
7771         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7772         (_G_int32_t): Likewise.
7773         (_G_uint16_t): Likewise.
7774         (_G_uint32_t): Likewise.
7775         (_G_HAVE_BOOL): Likewise.
7776         (_G_HAVE_ATEXIT): Likewise.
7777         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7778         (_G_HAVE_IO_FILE_OPEN): Likewise.
7779         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7780         (_G_int32_t): Likewise.
7781         (_G_uint16_t): Likewise.
7782         (_G_uint32_t): Likewise.
7783         (_G_HAVE_BOOL): Likewise.
7784         (_G_HAVE_ATEXIT): Likewise.
7785         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7786         (_G_HAVE_IO_FILE_OPEN): Likewise.
7787
7788 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
7789
7790         * csu/libc-tls.c: Update copyright years.
7791
7792 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
7793
7794         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7795         [!_G_USING_THUNKS]: Remove conditional code.
7796         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7797         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7798
7799         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7800         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7801         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7802         (_G_VTABLE_LABEL_PREFIX): Likewise.
7803         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7804         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7805         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7806         (_G_VTABLE_LABEL_PREFIX): Likewise.
7807         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7808         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7809         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7810         (_G_VTABLE_LABEL_PREFIX): Likewise.
7811         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7812
7813 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
7814
7815         * libio/Makefile: Include ../Makeconfig before tests.
7816         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7817         only if $(build-shared) is yes.
7818
7819         * iconv/gconv_db.c: Update copyright years.
7820
7821 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7822
7823         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7824         unwind info if defined PIC. Fix special cases description.
7825         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7826
7827         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7828         DP_HI_MASK entry.
7829         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7830
7831 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
7832
7833         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7834
7835         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7836         is NULL.
7837
7838         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7839         (LDLIBS-tst-chk4): This.
7840         (LDFLAGS-tst-chk5): Renamed to ...
7841         (LDLIBS-tst-chk5): This.
7842         (LDFLAGS-tst-chk6): Renamed to ...
7843         (LDLIBS-tst-chk6): This.
7844         (LDFLAGS-tst-lfschk4): Renamed to ...
7845         (LDLIBS-tst-lfschk4): This.
7846         (LDFLAGS-tst-lfschk5): Renamed to ...
7847         (LDLIBS-tst-lfschk5): This.
7848         (LDFLAGS-tst-lfschk6): Renamed to ...
7849         (LDLIBS-tst-lfschk6): This.
7850
7851         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7852         on $(common-objpfx)soversions.mk.
7853
7854 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
7855
7856         [BZ #10014]
7857         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7858         example host name.
7859
7860 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
7861
7862         * malloc/arena.c (arena_get_retry): New function that gets
7863         another arena for the caller to try its request on.
7864         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7865         current arena cannot fulfill the request.
7866         (__libc_memalign): Likewise.
7867         (__libc_memalign): Likewise.
7868         (__libc_pvalloc): Likewise.
7869         (__libc_calloc): Likewise.
7870
7871 2012-09-05  John Tobey  <john.tobey@gmail.com>
7872
7873         [BZ #13542]
7874         * manual/arith.texi (Operations on Complex): Fix description
7875         of carg branch cut.
7876
7877 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
7878
7879         [BZ #10014]
7880         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7881         host name.
7882
7883         [BZ #10038]
7884         * manual/memory.texi (Memory): Make order of menu items match
7885         order of sections.
7886
7887 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7888
7889         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7890         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
7891         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7892
7893 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7894
7895         * csu/libc-tls.c (static_dtv): Renamed to ...
7896         (_dl_static_dtv): This.  Make it global.
7897         (_dl_initial_dtv): Removed.
7898         (__libc_setup_tls): Updated.
7899         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7900         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7901         DL_INITIAL_DTV.
7902
7903 2012-09-06  Petr Machata  <pmachata@redhat.com>
7904
7905         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7906         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7907         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7908         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7909
7910 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7911
7912         [BZ #14545]
7913         * csu/libc-tls.c (_dl_initial_dtv): New variable.
7914         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7915         freeing dtv[-1].
7916
7917 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7918
7919         [BZ #14544]
7920         * Makeconfig (link-static-before-libc): Replace $(+prector)
7921         with $(+prectorT).
7922         (link-static-after-libc): Replace $(+postctor) with
7923         $(+postctorT).
7924         (link-bounded): Replace $(+prector)/$(+postctor) with
7925         $(+prectorT)/$(+postctorT).
7926         (+prectorT): New macro.
7927         (+postctorT): Likewise.
7928
7929 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
7930
7931         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7932         (round_str): Handle values above the maximum for IBM long double
7933         as inexact.
7934         * stdlib/tst-strtod-round.c (tests): Regenerated.
7935
7936 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7937
7938         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7939         assembler flag.
7940         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7941         zarch_nohighgprs around the zarch optimized routines.
7942         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7943         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7944         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7945         for zarch.
7946
7947 2012-09-05  David S. Miller  <davem@davemloft.net>
7948
7949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7950
7951         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7952         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7953         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7954         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7955         entries.
7956
7957 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7958
7959         * malloc/arena.c: Fold copyright years.
7960         * malloc/mcheck.c, malloc/memusage.c: Likewise.
7961
7962 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7963
7964         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7965
7966 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7967
7968         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
7969
7970 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7971
7972         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7973         change internal state upon failure.
7974
7975 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
7976
7977         * malloc/mcheck.c (mcheck_check_all): Fix typo.
7978         * malloc/memusage.c (mmap): Likewise.
7979         (mmap64, mremap): Likewise.  Adjust name in comment.
7980
7981 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7982
7983         * libio/fileops.c: Fix typos in comments.
7984         * libio/oldfileops.c: Likewise.
7985         * libio/wfileops.c: Likewise.
7986
7987 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7988
7989         [BZ #1349]
7990         * malloc/Makefile (tests): Add tst-malloc-usable test case.
7991         (tst-malloc-usable-ENV): Set environment for test case.
7992         * malloc/hooks.c (malloc_check_get_size): New function to get
7993         requested size.
7994         * malloc/malloc.c (musable): Use malloc_check_get_size.
7995         * malloc/tst-malloc-usable.c: New test case.
7996
7997 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
7998
7999         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8000
8001 2012-09-05  Allan McRae  <allan@archlinux.org>
8002
8003         [BZ #13966]
8004         * configure.in (CXX_SYSINCLUDES): Use compiler output to
8005         determine header location.
8006         * configure: Regenerated.
8007
8008 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
8009
8010         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8011         float format.
8012         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8013         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8014         format.
8015         (test): Regenerate.
8016
8017 2012-09-04  David S. Miller  <davem@davemloft.net>
8018
8019         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8020         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8021         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8022
8023 2012-09-04  Florian Weimer  <fweimer@redhat.com>
8024
8025         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8026         failures.
8027
8028         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8029
8030 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
8031
8032         [BZ #9914]
8033         * libio/iogetdelim.c: Include <limits.h>.
8034         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8035         + len + 1 would overflow.
8036
8037 2012-09-03  Andreas Jaeger  <aj@suse.de>
8038
8039         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8040         * sysdeps/i386/fpu/libm-test-ulps: Update.
8041
8042 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8043
8044         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8045         Add s_sinf-sse2, s_conf-sse2.
8046
8047         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8048         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8049         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8050         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8051
8052         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8053         for using routine as __sinf_ia32.
8054         Use macro for function declaration and weak_alias.
8055         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8056         for using routine as __cosf_ia32.
8057         Use macro for function declaration and weak_alias.
8058
8059         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8060         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8061
8062         * sysdeps/x86_64/fpu/s_sinf.S: New file.
8063         * sysdeps/x86_64/fpu/s_cosf.S: New file.
8064         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8065
8066         * math/libm-test.inc (cos_test): Add more test cases.
8067         (sin_test): Likewise.
8068         (sincos_test): Likewise.
8069
8070 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8071
8072         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8073         (IFUNC_RESOLVE): Make pointers to the specialized implementations
8074         hidden.
8075         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8076
8077 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
8078
8079         [BZ #14538]
8080         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8081         first element of the GOT.
8082         (elf_machine_load_address): Return the difference between
8083         the runtime address of _DYNAMIC and elf_machine_dynamic ().
8084
8085 2012-09-01  Allan McRae  <allan@archlinux.org>
8086
8087         [BZ #13412]
8088         * configure.in (AWK): Require gawk version 3.0 or later.
8089         * configure: Regenerated.
8090
8091 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
8092
8093         * sysdeps/unix/sysv/linux/kernel-features.h
8094         (__ASSUME_POSIX_CPU_TIMERS): Remove.
8095         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8096         [__NR_clock_getres]: Make code unconditional.
8097         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8098         (clock_getcpuclockid): Remove code left unreachable by removal of
8099         conditionals.
8100         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8101         code unconditional.
8102         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8103         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8104         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8105         Make code unconditional.
8106         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8107         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8108         * sysdeps/unix/sysv/linux/clock_settime.c
8109         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8110         conditional code.
8111         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8112         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8113
8114 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
8115
8116         [BZ #14476]
8117         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8118         scripts/test-installation.pl.
8119
8120         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8121         and $ld_so_version if it is set.
8122
8123 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8124
8125         [BZ #14516]
8126         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8127         failure if reading from procfs failed.
8128         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8129
8130 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
8131
8132         * sysdeps/unix/sysv/linux/kernel-features.h
8133         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8134         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8135         Remove conditional code.
8136         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8137         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8138         Remove conditional code.
8139         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8140         * sysdeps/unix/sysv/linux/i386/fxstat.c
8141         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8142         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8143         * sysdeps/unix/sysv/linux/i386/fxstatat.c
8144         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8145         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8146         * sysdeps/unix/sysv/linux/i386/lxstat.c
8147         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8148         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8149         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8150         Remove conditional code.
8151         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8152         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8153         Remove conditional code.
8154         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8155         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8156         <kernel-features.h>.
8157         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8158         Remove.
8159         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8160         Remove conditional code.
8161         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8162         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8163         Remove conditional.
8164
8165 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
8166
8167         [BZ #5400]
8168         * NEWS: Add fixed bug number.
8169
8170 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
8171
8172         [BZ #14519]
8173         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8174         underflowing exponent in case of negative sign.
8175         * stdlib/tst-strtod-round-data: Add more tests.
8176         * stdlib/tst-strtod-round.c (tests): Regenerated.
8177
8178         [BZ #3479]
8179         * stdlib/strtod_l.c (NDIG): Remove.
8180         (HEXNDIG): Likewise.
8181         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8182         smallest representable value.
8183         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8184         lie within an exact representation of 1/2 ulp of the result.
8185         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8186         unconditionally.
8187         (TENS_P9_IDX): Define unconditionally.
8188         (TENS_P9_SIZE): Likewise.
8189         (TENS_P10_IDX): Likewise.
8190         (TENS_P10_SIZE): Likewise.
8191         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8192         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8193         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8194         entries for 10^2^13 and 10^2^14.
8195         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8196         (TENS_P13_IDX): Define.
8197         (TENS_P13_SIZE): Likewise.
8198         (TENS_P14_IDX): Likewise.
8199         (TENS_P14_SIZE): Likewise.
8200         (_fpioconst_pow10): Change array size to
8201         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
8202         unconditional.
8203         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8204         1024]: Add entries for 10^2^13 and 10^2^14.
8205         [LAST_POW10 > _LAST_POW10]: Remove #error.
8206         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8207         (_fpioconst_pow10): Change array size to
8208         FPIOCONST_POW10_ARRAY_SIZE.
8209         * stdlib/gen-fpioconst.c: New file.
8210         * stdlib/gen-tst-strtod-round.c: Likewise.
8211         * stdlib/tst-strtod-round-data: Likewise.
8212         * stdlib/tst-strtod-round.c: Likewise.
8213         * stdlib/Makefile (tests): Add tst-strtod-round.
8214
8215         [BZ #14459]
8216         * stdlib/strtod_l.c: Include <stdint.h>.
8217         (NDEBUG): Do not define.
8218         (round_and_return): Change EXPONENT parameter to type intmax_t.
8219         Rearrange calculations to avoid internal overflow possibilities.
8220         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8221         Rearrange calculations to avoid internal overflow possibilities.
8222         Assert that number fits inside MPNSIZE limbs.
8223         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8224         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
8225         calculations and add assertions to avoid internal overflow
8226         possibilities.  Add casts to avoid signed/unsigned operations.
8227         * stdlib/tst-strtod-overflow.c: New file.
8228         * stdlib/Makefile (tests): Add tst-strtod-overflow.
8229
8230 2012-08-25  Marek Polacek  <polacek@redhat.com>
8231
8232         * time/time.h: Fix some typos in comments.
8233
8234 2012-08-23  Roland McGrath  <roland@hack.frob.com>
8235
8236         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8237         * posix/tst-rfc3484-2.c: Likewise.
8238         * posix/tst-rfc3484-3.c: Likewise.
8239
8240 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
8241
8242         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8243         (EF_ARM_ABI_FLOAT_HARD): Likewise.
8244
8245 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
8246
8247         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8248         #include of fxstatat64.c.
8249
8250 2012-08-22  Roland McGrath  <roland@hack.frob.com>
8251
8252         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8253         * shadow/getspent_r.c: Likewise.
8254         * shadow/getspnam.c: Likewise.
8255         * shadow/getspnam_r.c: Likewise.
8256         * gshadow/getsgent.c: Likewise.
8257         * gshadow/getsgent_r.c: Likewise.
8258         * gshadow/getsgnam.c: Likewise.
8259         * gshadow/getsgnam_r.c: Likewise.
8260         * inet/getnetbyad.c: Likewise.
8261         * inet/getnetbyad_r.c: Likewise.
8262         * inet/getnetbynm.c: Likewise.
8263         * inet/getnetbynm_r.c: Likewise.
8264         * inet/getnetent.c: Likewise.
8265         * inet/getnetent_r.c: Likewise.
8266         * inet/getproto.c: Likewise.
8267         * inet/getproto_r.c: Likewise.
8268         * inet/getprtent.c: Likewise.
8269         * inet/getprtent_r.c: Likewise.
8270         * inet/getprtname.c: Likewise.
8271         * inet/getprtname_r.c: Likewise.
8272         * inet/getrpcbyname.c: Likewise.
8273         * inet/getrpcbyname_r.c: Likewise.
8274         * inet/getrpcbynumber.c: Likewise.
8275         * inet/getrpcbynumber_r.c: Likewise.
8276         * inet/getrpcent.c: Likewise.
8277         * inet/getrpcent_r.c: Likewise.
8278         * inet/getaliasent.c: Likewise.
8279         * inet/getaliasent_r.c: Likewise.
8280         * inet/getaliasname.c: Likewise.
8281         * inet/getaliasname_r.c: Likewise.
8282         * nscd/getgrgid_r.c: Likewise.
8283         * nscd/getgrnam_r.c: Likewise.
8284         * nscd/gethstbyad_r.c: Likewise.
8285         * nscd/gethstbynm3_r.c: Likewise.
8286         * nscd/getpwnam_r.c: Likewise.
8287         * nscd/getpwuid_r.c: Likewise.
8288         * nscd/getsrvbynm_r.c: Likewise.
8289         * nscd/getsrvbypt_r.c: Likewise.
8290         * nscd/gai.c: Likewise.
8291
8292         * configure.in (build_nscd): New substituted variable, set
8293         by --disable-build-nscd and defaults to $use_nscd.
8294         * configure: Regenerated.
8295         * config.make.in (build-nscd): New substituted variable.
8296         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8297         Change conditional to require [$(build-nscd) = yes] as well.
8298         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8299
8300         [BZ# 13696]
8301         * configure.in (use_nscd): New substituted variable, set by
8302         --disable-nscd.  If enabled, define USE_NSCD.
8303         * configure: Regenerated.
8304         * config.h.in: Add USE_NSCD.
8305         * config.make.in (use-nscd): New substituted variable.
8306         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8307         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8308         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8309         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8310         (CFLAGS-getgrnam_r.c): Likewise.
8311         (CFLAGS-initgroups.c): Likewise.
8312         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8313         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8314         Variables removed.
8315         * inet/getnetgrent_r.c
8316         (nscd_setnetgrent): New function, broken out of ...
8317         (setnetgrent): ... here.  Call it.
8318         (innetgr): Conditionalize nscd bits on [USE_NSCD].
8319         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8320         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8321         * nscd/Makefile (routines, aux): Move definitions after include of
8322         Makeconfig.  Conditionalize on [$(use-nscd) != no].
8323         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8324         Conditionalize on [USE_NSCD].
8325         (is_nscd, nscd_init_cb): Likewise.
8326         (nss_load_library): Conditionalize init callback on [USE_NSCD].
8327         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8328         * nss/nss_db/db-init.c: Likewise.
8329         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8330         [USE_NSCD].
8331         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8332         (make_request): Use it.
8333         (cache_valid_p): New function.
8334         (__check_pf): Use it.
8335         * NEWS: Add item for --disable-nscd.
8336
8337 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
8338
8339         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8340         to support sed >= 4.2.1-20-ga9bf076.
8341         * configure: Regenerated.
8342
8343 2012-08-22  Roland McGrath  <roland@hack.frob.com>
8344
8345         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8346         Conditionalize whole body on [IREL].
8347
8348 2012-08-22  Jeff Law <law@redhat.com>
8349
8350         [BZ #14505]
8351         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8352         if the family is PF_UNSPEC.
8353
8354 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
8355
8356         * Makerules (lib-version): Rename from V.
8357         (install-lib-nosubdir): Change V to lib-version.
8358
8359 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
8360
8361         [BZ #14252]
8362         * powerpc32/power6/wcschr.c: New file.
8363         * powerpc32/power6/wcscpy.c: New file.
8364         * powerpc32/power6/wcsrchr.c: New file.
8365         * powerpc64/power6/wcschr.c: New file.
8366         * powerpc64/power6/wcscpy.c: New file.
8367         * powerpc64/power6/wcsrchr.c: New file.
8368
8369 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
8370
8371         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8372         (two_way_short_needle): Use it.
8373         * string/strstr.c (AVAILABLE1_USES_J): Define.
8374         * string/strcasestr.c: Likewise.
8375
8376         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8377         array references.
8378         * string/strcasestr.c (TOLOWER): Make side-effect safe.
8379
8380         [BZ #11607]
8381         * NEWS: Add an entry.
8382         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8383         define their defaults.
8384         (two_way_short_needle): Detect end-of-string on-the-fly.
8385         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8386         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8387         * string/bug-strcasestr1.c: New test.
8388         * string/Makefile: Run it.
8389
8390 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
8391
8392         [BZ #11607]
8393         * string/str-two-way.h (two_way_short_needle): Optimize matching of
8394         the first character.
8395
8396 2012-08-21  Roland McGrath  <roland@hack.frob.com>
8397
8398         * csu/elf-init.c (__libc_csu_irel): Function removed.
8399         * csu/libc-start.c (apply_irel): New function.
8400         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8401
8402 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
8403
8404         * sysdeps/unix/sysv/linux/kernel-features.h
8405         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8406         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8407         <kernel-features.h>.
8408         [__NR_fadvise64_64]: Make code unconditional.
8409         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8410         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8411         !__NR_fadvise64_64)]: Likewise.
8412         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8413         !__NR_fadvise64_64))]: Likewise.
8414         [__NR_fadvise64]: Make code unconditional.
8415         [!__NR_fadvise64]: Remove conditional code.
8416         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8417         <kernel-features.h>.
8418         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8419         unconditional.
8420         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8421         conditional code.
8422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8423         not include <kernel-features.h>.
8424         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8425         unconditional.
8426         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8427         conditional code.
8428         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8429         include <kernel-features.h>.
8430         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8431         unconditional.
8432         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8433         conditional code.
8434
8435 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
8436
8437         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8438         slight instruction rearrangements per scrollpipe analysis.
8439         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8440
8441 2012-08-20  Roland McGrath  <roland@hack.frob.com>
8442
8443         * manual/syslog.texi (syslog; vsyslog, closelog):
8444         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8445         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8446
8447         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8448         DSOCAPS to match condition on defining it.
8449
8450 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
8451
8452         * sysdeps/unix/sysv/linux/kernel-features.h
8453         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8455         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8456         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8458         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8459         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8461         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8462         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8463
8464         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8465         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8466
8467         * sysdeps/unix/sysv/linux/kernel-features.h
8468         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8469         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8470         unconditional.
8471         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8472         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8473         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8474         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8475         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8476         Make code unconditional.
8477         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8478         (__mmap64) [!__NR_mmap2]: Likewise.
8479         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8480         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8481         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8482         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8483         [__NR_mmap2]: Make code unconditional.
8484         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8485         (__mmap64) [!__NR_mmap2]: Likewise.
8486
8487 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8488
8489         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8490
8491 2012-08-18  Andreas Jaeger  <aj@suse.de>
8492
8493         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8494
8495 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
8496
8497         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8498         * include/unistd.h (__have_sock_cloexec): Likewise.
8499         (__have_pipe2): Likewise.
8500         (__have_dup3): Likewise.
8501
8502 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
8503
8504         [BZ #9685]
8505         * include/unistd.h (__have_pipe2): Change define into an extern int.
8506         (__have_dup3): Likewise.
8507         * socket/have_sock_cloexec.c: Include fcntl.h.
8508         (__have_pipe2): New variable.
8509         (__have_dup3): Likewise.
8510
8511 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
8512
8513         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8514
8515 2012-08-17  Marek Polacek  <polacek@redhat.com>
8516
8517         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8518         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8519
8520 2012-08-17  Roland McGrath  <roland@hack.frob.com>
8521
8522         * configure.in: Add AC_SUBST for sysheaders.
8523         * configure: Regenerated.
8524         * config.make.in (sysheaders): New substituted variable.
8525
8526         * sysdeps/unix/mkfifo.c: Moved ...
8527         * sysdeps/posix/mkfifo.c: ... here.
8528         * sysdeps/unix/mkfifoat.c: Moved ...
8529         * sysdeps/posix/mkfifoat.c: ... here.
8530
8531         * sysdeps/unix/utime.c: Moved ...
8532         * sysdeps/posix/utime.c: ... here.
8533
8534         * sysdeps/unix/time.c: Moved ...
8535         * sysdeps/posix/time.c: ... here.
8536         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8537         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
8538
8539         * sysdeps/unix/nice.c: Moved ...
8540         * sysdeps/posix/nice.c: ... here.
8541
8542         * sysdeps/unix/alarm.c: Moved ...
8543         * sysdeps/posix/alarm.c: ... here.
8544
8545         * intl/Makefile ($(codeset_mo)): Depend on the input file.
8546
8547 2012-08-17  Jeff Law <law@redhat.com>
8548
8549         * intl/Makefile (codeset_mo): New variable.
8550         ($(codeset_mo)): New target.
8551         (tst-codeset.out): Depend on that.  Remove explicit rule.
8552         (tst-gettext3.out, tst-gettext5.out): Likewise.
8553         (LOCPATH-ENV, tst-codeset-ENV): New variables.
8554         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8555         * intl/tst-codeset.sh: Remove.
8556         * intl/tst-gettext3.sh: Likewise.
8557         * intl/tst-gettext5.sh: Likewise.
8558
8559 2012-08-17  Roland McGrath  <roland@hack.frob.com>
8560
8561         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
8562         * sysdeps/unix/syscalls.list: ... here.
8563
8564         * sysdeps/posix/getaddrinfo.c
8565         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8566         (gaiconf_init, gaiconf_reload): Use them.
8567         [!_STATBUF_ST_NSEC]
8568         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8569         Define using time_t rather than struct timespec.
8570
8571         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8572         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8573         Macros removed.
8574         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8575         [!NO_THREADS].
8576         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8577         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8578         Likewise.
8579
8580         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8581         __libc_cleanup_push argument.
8582
8583         * bits/param.h: New file.
8584         * misc/sys/param.h: New file.
8585         * include/sys/param.h: New file.
8586         * misc/Makefile (headers): Add bits/param.h.
8587         * sysdeps/generic/sys/param.h: File removed.
8588         * sysdeps/unix/sysv/linux/bits/param.h: New file.
8589         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8590         * sysdeps/mach/hurd/bits/param.h: New file.
8591         * sysdeps/mach/hurd/sys/param.h: File removed.
8592
8593         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8594         last change.
8595
8596         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8597         [_IO_MTSAFE_IO].
8598         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8599         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8600         New macros.
8601
8602         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8603         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8604         rather than -D_IO_MTSAFE_IO conditionally.
8605         * stdio-common/Makefile (CPPFLAGS): Likewise.
8606         * wcsmbs/Makefile (CPPFLAGS): Likewise.
8607         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8608         Use $(libio-mtsafe).
8609         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8610         of -D_IO_MTSAFE_IO.
8611         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8612         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8613         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8614         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8615         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8616         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8617         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8618         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8619         (CFLAGS-fread_u_chk.c): Likewise.
8620         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8621         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8622         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8623         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8624         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8625         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8626         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8627         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8628         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8629
8630         * libio/Makefile: Test [$(libc-reentrant) = yes]
8631         instead of [$(filter %REENTRANT, $(defines)) nonempty].
8632
8633         * Makeconfig
8634         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8635         * sysdeps/pthread/configure: File removed.
8636         * sysdeps/pthread/Makeconfig: New file.
8637         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8638         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8639
8640 2012-08-16  Gary Benson  <gbenson@redhat.com>
8641
8642         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8643         unmapping the first object in a namespace.
8644
8645 2012-08-16  Roland McGrath  <roland@hack.frob.com>
8646
8647         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8648         (__internal_setnetgrent): ... this.  Add internal_function to
8649         definition.  Add libc_hidden_def.
8650         (setnetgrent): Update caller.
8651         (internal_endnetgrent): Renamed to ...
8652         (__internal_endnetgrent): ... this.  Add internal_function to
8653         definition.  Add libc_hidden_def.
8654         (endnetgrent): Update caller.
8655         (internal_getnetgrent_r): Renamed to ...
8656         (__internal_getnetgrent_r): ... this.  Add internal_function to
8657         definition.  Add libc_hidden_def.
8658         (__getnetgrent_r): Update caller.
8659         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
8660
8661 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
8662
8663         * stdlib/longlong.h: Update from GCC.
8664
8665 2012-08-16  Roland McGrath  <roland@hack.frob.com>
8666
8667         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8668         on _QL, which is set by umul_ppmm but never used.
8669         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8670         variables, which are set by GMP macros but never used.
8671         * stdio-common/_itowa.c (_itowa): Likewise.
8672         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8673         * stdlib/mod_1.c (mpn_mod_1): Likewise.
8674
8675 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
8676
8677         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8678         struct La_sh_regs is not constant.
8679         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8680         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8681         and struct La_sparc64_regs are not constant.
8682
8683 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
8684
8685         * sysdeps/unix/sysv/linux/kernel-features.h
8686         (__ASSUME_POSIX_TIMERS): Remove.
8687         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8688         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8689         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8690         Make code unconditional.
8691         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8692         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8693         Make code unconditional.
8694         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8695         * sysdeps/unix/sysv/linux/clock_nanosleep.c
8696         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8697         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8698         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8699         Make code unconditional.
8700         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8701         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8702         (__libc_missing_posix_timers): Remove.
8703
8704 2012-08-15  Roland McGrath  <roland@hack.frob.com>
8705
8706         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8707         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8708
8709         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8710
8711         * elf/dl-sym.c: Include <stdlib.h>.
8712
8713         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8714         constants, which avoids warnings in 32-bit builds.
8715
8716         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8717         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8718
8719         * misc/lseek.c: File moved to ...
8720         * io/lseek.c: ... here.
8721
8722         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8723
8724         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8725         shifting LEN more than 31 bits at once.
8726
8727 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8728
8729         [BZ #14195]
8730         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8731         segmentation fault for a case of two empty input strings.
8732         * string/test-strncasecmp.c (check1): Renamed to...
8733         (bz12205): ...this.
8734         (bz14195): Add new testcase for two empty input strings and N > 0.
8735         (test_main): Call new testcase, adapt for renamed function.
8736
8737 2012-08-15  Andreas Jaeger  <aj@suse.de>
8738
8739         [BZ #14090]
8740         * crypt/md5test2.c: New test, based on test supplied by Serge
8741         Belyshev <belyshev@depni.sinp.msu.ru>.
8742         * crypt/Makefile (xtests): Add md5test-giant..
8743         * crypt/Makefile ($(objpfx)md5test-giant): Add.
8744
8745 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
8746
8747         [BZ #14090]
8748         * crypt/md5.c (md5_process_block): Don't assume the buffer
8749         length is less than 2**32.
8750         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8751         length is less than 2**64.
8752
8753 2012-08-15  Roland McGrath  <roland@hack.frob.com>
8754
8755         * string/str-two-way.h: Include <sys/param.h>.
8756         (MAX): Macro removed.
8757
8758         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8759         Move #define and #undef of memmove to just before and after
8760         including <string.h>.
8761
8762         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8763         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8764         and after including <string.h>.  Move declarations of
8765         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8766         to before #include "string/memmove.c".
8767
8768         * include/dirent.h: Declare __getdirentries.
8769
8770         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8771         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8772
8773 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
8774
8775         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8776         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8777         * sysdeps/i386/configure: Regenerated.
8778         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8779         STABS_CURRENT_FILE, and STABS_FUN.
8780         (END): Remove call to STABS_FUN_END.
8781         (STABS_CURRENT_FILE1): Delete.
8782         (STABS_CURRENT_FILE): Likewise.
8783         (STABS_FUN): Likewise.
8784         (STABS_FUN_END): Likewise.
8785         (STABS_FUN2): Likewise.
8786         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8787         * sysdeps/x86_64/configure: Regenerated.
8788
8789 2012-08-14  Roland McGrath  <roland@hack.frob.com>
8790
8791         * elf/dl-open.c: Include <atomic.h>.
8792         * elf/dl-lookup.c: Likewise.
8793
8794 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
8795
8796         * sysdeps/unix/sysv/linux/kernel-features.h
8797         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8798         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8799         unconditionally.
8800         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8801         unconditionally.
8802         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8803         condition on __ASSUME_CLONE_THREAD_FLAGS.
8804
8805 2012-08-14  Andreas Jaeger  <aj@suse.de>
8806
8807         * sysdeps/i386/fpu/libm-test-ulps: Update.
8808
8809 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
8810
8811         * include/atomic.h (atomic_exchange_and_add): Split into ...
8812         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8813         New atomic macros.
8814
8815 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
8816
8817         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8818
8819 2012-08-13  Jeff Law <law@redhat.com>
8820
8821         * manual/stdio.texi (snprintf): Clarify handling of the trailing
8822         null byte in the output string.
8823
8824 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
8825
8826         * sysdeps/unix/sysv/linux/kernel-features.h
8827         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8828         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8829         (__ASSUME_ARG_MAX_STACK_BASED): Define.
8830         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8831         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8832         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
8833         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8834
8835 2012-08-09  Jeff Law <law@redhat.com>
8836
8837         [BZ #13939]
8838         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8839         When avoid_arena is set, don't retry in the that arena.  Pick the
8840         next one, whatever it might be.
8841         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8842         (arena_lock): Pass in new parameter to arena_get2.
8843         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8844         arena_get2.
8845         (__libc_malloc): Unify retrying after main arena failure with
8846         __libc_memalign version.
8847         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8848
8849 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
8850
8851         [BZ #14166]
8852         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8853         to __redirect_strstr.
8854         (__strstr_sse42): Use typeof __redirect_strstr.
8855         (__strstr_ia32): Likewise.
8856         (__libc_strstr): New prototype.
8857         (strstr): Renamed to ...
8858         (__libc_strstr): This.
8859         (strstr): New strong alias of __libc_strstr.
8860         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8861         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8862         __redirect_time.
8863         Include <time.h>.
8864         (__libc_time): New prototype.
8865         (time_ifunc): Replace time with __libc_time.
8866         (time): New strong alias and hidden definition of __libc_time.
8867         (__GI_time): Remove strong alias.
8868         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8869         Include <stddef.h>.
8870         (memmove): Redefined to __redirect_memmove.
8871         (__memmove_sse2): Use typeof __redirect_memmove.
8872         (__memmove_ssse3): Likewise.
8873         (__memmove_ssse3_back): Likewise.
8874         (__libc_memmove): New prototype.
8875         (memmove): Renamed to ...
8876         (__libc_memmove): This.
8877         (memmove): New strong alias of __libc_memmove.
8878
8879 2012-08-08  Mark Salter  <msalter@redhat.com>
8880
8881         * elf/elf.h
8882         (R_MN10300_TLS_GD): Define.
8883         (R_MN10300_TLS_LD): Likewise.
8884         (R_MN10300_TLS_LDO): Likewise.
8885         (R_MN10300_TLS_GOTIE): Likewise.
8886         (R_MN10300_TLS_IE): Likewise.
8887         (R_MN10300_TLS_LE): Likewise.
8888         (R_MN10300_TLS_DTPMOD): Likewise.
8889         (R_MN10300_TLS_DTPOFF): Likewise.
8890         (R_MN10300_TLS_TPOFF): Likewise.
8891         (R_MN10300_SYM_DIFF): Likewise.
8892         (R_MN10300_ALIGN): Likewise.
8893         (R_MN10300_NUM): Update.
8894
8895 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
8896
8897         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8898         Remove.
8899
8900 2012-08-08  Roland McGrath  <roland@hack.frob.com>
8901
8902         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8903
8904         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8905         sysdeps/unix -> sysdeps/posix move.
8906         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8907
8908 2012-08-07      Allan McRae     <allan@archlinux.org>
8909
8910         [BZ #14303]
8911         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8912         (SUNOS_CPP): Likewise.
8913         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8914         not found.
8915         (open_input): Call CPP using execvp.
8916
8917 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
8918
8919         * sysdeps/unix/sysv/linux/kernel-features.h
8920         (__ASSUME_PROT_GROWSUPDOWN): Remove.
8921         (__ASSUME_NO_CLONE_DETACHED): Likewise.
8922         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8923         (__ASSUME_WAITID_SYSCALL): Likewise.
8924         * sysdeps/unix/sysv/linux/dl-execstack.c
8925         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8926         code unconditional.
8927         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8928         conditional code.
8929         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8930         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8931         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8932         code.
8933         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8934         unconditional.
8935         [__ASSUME_WAITID_SYSCALL]: Likewise.
8936         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8937
8938 2012-08-07  Roland McGrath  <roland@hack.frob.com>
8939
8940         * sysdeps/unix/closedir.c: Renamed to ...
8941         * sysdeps/posix/closedir.c: ... here.
8942         * sysdeps/unix/dirfd.c: Renamed to ...
8943         * sysdeps/posix/dirfd.c: ... here.
8944         * sysdeps/unix/dirstream.h: Renamed to ...
8945         * sysdeps/posix/dirstream.h: ... here.
8946         * sysdeps/unix/fdopendir.c: Renamed to ...
8947         * sysdeps/posix/fdopendir.c: ... here.
8948         * sysdeps/unix/opendir.c: Renamed to ...
8949         * sysdeps/posix/opendir.c: ... here.
8950         * sysdeps/unix/readdir.c: Renamed to ...
8951         * sysdeps/posix/readdir.c: ... here.
8952         * sysdeps/unix/readdir_r.c: Renamed to ...
8953         * sysdeps/posix/readdir_r.c: ... here.
8954         * sysdeps/unix/rewinddir.c: Renamed to ...
8955         * sysdeps/posix/rewinddir.c: ... here.
8956         * sysdeps/unix/seekdir.c: Renamed to ...
8957         * sysdeps/posix/seekdir.c: ... here.
8958         * sysdeps/unix/telldir.c: Renamed to ...
8959         * sysdeps/posix/telldir.c: ... here.
8960         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8961         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8962         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8963         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8964
8965         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8966         * bits/fcntl.h: ... here.
8967
8968         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8969         not 0.
8970         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8971         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8972         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8973         (struct flock): Move l_start, l_len to the beginning.
8974         Use __pid_t for l_pid.
8975         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8976         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8977         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8978         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8979         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8980         [__USE_LARGEFILE64] (struct flock64): New type.
8981         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8982
8983         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8984         * bits/dirent.h: ... here.
8985
8986         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8987         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8988
8989 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
8990
8991         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8992         Change from 2.6.0 to 2.6.16.
8993         * sysdeps/unix/sysv/linux/configure: Regenerated.
8994         * sysdeps/unix/sysv/linux/kernel-features.h
8995         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8996         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8997         version.
8998         (__ASSUME_UTIMES): Likewise.
8999         (__ASSUME_CLONE_STOPPED): Remove.
9000         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9001         architectures, not kernel version.
9002         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9003         (__ASSUME_NO_CLONE_DETACHED): Likewise.
9004         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9005         (__ASSUME_WAITID_SYSCALL): Likewise.
9006         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9007         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9008         * README: State 2.6.16 as minimum Linux kernel version.  Do not
9009         refer to older versions.
9010
9011 2012-08-06  Roland McGrath  <roland@hack.frob.com>
9012
9013         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9014         Define alphasort64 as an alias.
9015         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9016         Define versionsort64 as an alias.
9017         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9018         Define scandir64 as an alias.
9019         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9020         Define scandirat64 as an alias.
9021         * dirent/alphasort64.c (alphasort64):
9022         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9023         * dirent/versionsort64.c: Likewise.
9024         * dirent/scandir64.c: Likewise.
9025         * dirent/scandirat64.c: Likewise.
9026         * sysdeps/wordsize-64/alphasort.c: File removed.
9027         * sysdeps/wordsize-64/alphasort64.c: File removed.
9028         * sysdeps/wordsize-64/scandir.c: File removed.
9029         * sysdeps/wordsize-64/scandir64.c: File removed.
9030         * sysdeps/wordsize-64/scandirat.c: File removed.
9031         * sysdeps/wordsize-64/scandirat64.c: File removed.
9032         * sysdeps/wordsize-64/versionsort.c: File removed.
9033         * sysdeps/wordsize-64/versionsort64.c: File removed.
9034         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9035         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9036         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9037         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9038         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9039         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9040         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9041         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9042
9043         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9044         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9045         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9046         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9047         [defined __arch64__ || defined __sparcv9]
9048         (__INO_T_MATCHES_INO64_T): New macro.
9049         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9050         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9051         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9052         * sysdeps/unix/sysv/linux/bits/dirent.h
9053         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9054         (_DIRENT_MATCHES_DIRENT64): New macro.
9055
9056         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9057         Define lockf64 as an alias.
9058         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9059         Define fseeko64 as an alias.
9060         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9061         Define ftello64 as an alias.
9062         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9063         Define _IO_fgetpos64 and fgetpos64 as aliases.
9064         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9065         Define _IO_fsetpos64 and fsetpos64 as aliases.
9066         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9067         Conditionalize body on this.
9068         * libio/fseeko64.c: Likewise.
9069         * libio/ftello64.c: Likewise.
9070         * libio/iofgetpos64.c: Likewise.
9071         * libio/iofsetpos64.c: Likewise.
9072         * sysdeps/wordsize-64/lockf.c: File removed.
9073         * sysdeps/wordsize-64/lockf64.c: File removed.
9074         * sysdeps/wordsize-64/fseeko.c: File removed.
9075         * sysdeps/wordsize-64/fseeko64.c: File removed.
9076         * sysdeps/wordsize-64/ftello.c: File removed.
9077         * sysdeps/wordsize-64/ftello64.c: File removed.
9078         * sysdeps/wordsize-64/iofgetpos.c: File removed.
9079         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9080         * sysdeps/wordsize-64/iofsetpos.c: File removed.
9081         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9082         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9083         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9084         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9085         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9086         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9087         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9088         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9089         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9090         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9091         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9092
9093         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9094         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9095         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9096         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9097         [defined __arch64__ || defined __sparcv9]
9098         (__OFF_T_MATCHES_OFF64_T): New macro.
9099         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9100         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9101         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9102         (__OFF_T_MATCHES_OFF64_T): New macro.
9103
9104 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
9105
9106         * stdlib/secure-getenv.c (__secure_getenv): Replace
9107         GLIBC_2_16 with GLIBC_2_17.
9108
9109 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
9110
9111         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9112         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9113
9114 2012-08-03  David S. Miller  <davem@davemloft.net>
9115
9116         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9117
9118 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
9119
9120         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9121         Remove.
9122         (__ASSUME_CORRECT_SI_PID): Likewise.
9123         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9124         (__ASSUME_TMPFS_NAME): Likewise.
9125         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9126         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9127         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9128         (HAVE_AUX_SECURE): Make definition unconditional.
9129         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9130         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9131
9132 2012-08-03  Roland McGrath  <roland@hack.frob.com>
9133
9134         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9135         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9136         * sysdeps/mach/hurd/eloop-threshold.h: New file.
9137         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9138         __eloop_threshold instead of SYMLOOP_MAX.
9139
9140         * sysdeps/generic/eloop-threshold.h: New file.
9141         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9142         of MAXSYMLINKS.
9143         * elf/chroot_canon.c (chroot_canon): Likewise.
9144
9145 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
9146
9147         [BZ #13717]
9148         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9149         Change to 2.6.0 everywhere.
9150         * sysdeps/unix/sysv/linux/configure: Regenerated.
9151         * sysdeps/unix/sysv/linux/kernel-features.h
9152         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9153         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9154         kernel versions.
9155         (__ASSUME_POSIX_TIMERS): Define unconditionally.
9156         (__ASSUME_FUTEX_REQUEUE): Remove.
9157         (__ASSUME_STATFS64): Define unconditionally.
9158         (__ASSUME_AT_SECURE): Likewise.
9159         (__ASSUME_CORRECT_SI_PID): Likewise.
9160         (__ASSUME_TGKILL): Define without depending on kernel version for
9161         i386.
9162         (__ASSUME_UTIMES): Likewise.
9163         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9164         kernel version.
9165         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9166         (__ASSUME_TMPFS_NAME): Likewise.
9167         * README: Update reference to Linux kernel versions.
9168
9169 2012-08-02  Marek Polacek  <polacek@redhat.com>
9170
9171         [BZ# 14150]
9172         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
9173         libc_cv_asm_type_prefix with %.
9174         * configure: Regenerated.
9175         * include/libc-symbols.h: Remove comment about
9176         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9177         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9178         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9179         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9180         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9181         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9182         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9183         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9184         * elf/tst-unique2mod1.c: Likewise.
9185         * elf/tst-unique1mod2.c: Likewise.
9186         * elf/tst-unique1mod1.c: Likewise.
9187         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9188         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9189         Replace ASM_TYPE_DIRECTIVE with .type.
9190         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9191         * sysdeps/i386/sysdep.h: Likewise.
9192         * sysdeps/x86_64/sysdep.h: Likewise.
9193         * sysdeps/sh/sysdep.h: Likewise.
9194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9195         Do not define ASM_TYPE_DIRECTIVE.
9196         * sysdeps/powerpc/sysdep.h: Likewise.
9197         * sysdeps/powerpc/powerpc32/sysdep.h:
9198         Replace ASM_TYPE_DIRECTIVE with .type.
9199         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9200         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9201         * sysdeps/i386/fpu/e_powf.S: Likewise.
9202         * sysdeps/i386/fpu/e_expl.S: Likewise.
9203         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9204         * sysdeps/i386/fpu/e_acosh.S: Likewise.
9205         * sysdeps/i386/fpu/e_pow.S: Likewise.
9206         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9207         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9208         * sysdeps/i386/fpu/s_expm1.S: Likewise.
9209         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9210         * sysdeps/i386/fpu/e_log2.S: Likewise.
9211         * sysdeps/i386/fpu/e_log2l.S: Likewise.
9212         * sysdeps/i386/fpu/e_scalb.S: Likewise.
9213         * sysdeps/i386/fpu/e_powl.S: Likewise.
9214         * sysdeps/i386/fpu/e_log10f.S: Likewise.
9215         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9216         * sysdeps/i386/fpu/e_logl.S: Likewise.
9217         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9218         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9219         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9220         * sysdeps/i386/fpu/e_log2f.S: Likewise.
9221         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9222         * sysdeps/i386/fpu/e_log.S: Likewise.
9223         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9224         * sysdeps/i386/fpu/e_logf.S: Likewise.
9225         * sysdeps/i386/fpu/e_log10l.S: Likewise.
9226         * sysdeps/i386/fpu/e_atanh.S: Likewise.
9227         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9228         * sysdeps/i386/fpu/e_log10.S: Likewise.
9229         * sysdeps/i386/fpu/s_frexp.S: Likewise.
9230         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9231         * sysdeps/i386/fpu/s_asinh.S: Likewise.
9232         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9233         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9234         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9235         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9236         * sysdeps/i386/i686/strtok.S: Likewise.
9237         * sysdeps/i386/i386-mcount.S: Likewise.
9238         * sysdeps/i386/strtok.S: Likewise.
9239         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9240         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9241         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9242         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9243         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9244         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9245         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9246         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9247         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9248         * sysdeps/x86_64/_mcount.S: Likewise.
9249         * sysdeps/x86_64/strtok.S: Likewise.
9250         * sysdeps/sh/_mcount.S: Likewise.
9251
9252 2012-08-01  Roland McGrath  <roland@hack.frob.com>
9253
9254         * libio/iofopen.c: Include <fcntl.h>.
9255         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9256         (_IO_fopen64, fopen64): Define as aliases.
9257         * libio/iofopen64.c: Include <fcntl.h>.
9258         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9259         Conditionalize body on this.
9260         * sysdeps/wordsize-64/iofopen.c: File removed.
9261         * sysdeps/wordsize-64/iofopen64.c: File removed.
9262
9263 2012-08-01  Marek Polacek  <polacek@redhat.com>
9264
9265         * libc/Makeconfig: Use elf in place of binfmt-subdir.
9266         Use dlfcn directly instead of a variable.
9267         (binfmt-subdir): Do not define.
9268         (dlfcn): Likewise.
9269
9270 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
9271
9272         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9273         Remove all definitions.
9274         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9275         <kernel-features.h>.
9276         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9277         (miss_F_GETOWN_EX): Remove all definitions.
9278         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9279         macro definition.
9280         [!__ASSUME_FCNTL64]: Remove conditional code.
9281         [__ASSUME_FCNTL64]: Make code unconditional.
9282         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9283         <kernel-features.h>.
9284         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9285         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9286         (lockf64) [__NR_fcntl64]: Make code unconditional.
9287         (lockf64) [__ASSUME_FCNTL64]: Likewise.
9288
9289         * sysdeps/unix/sysv/linux/kernel-features.h
9290         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9291         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9292         Make code unconditional.
9293         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9294         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9296         [__NR_vfork]: Make code unconditional.
9297         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9298         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9300         [__NR_vfork]: Make code unconditional.
9301         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9302         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9303
9304 2012-08-01  Roland McGrath  <roland@hack.frob.com>
9305
9306         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9307         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9308
9309         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9310         Define mkstemp64 as an alias.
9311         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9312         Define mkstemps64 as an alias.
9313         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9314         Define mkostemp64 as an alias.
9315         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9316         Define mkostemps64 as an alias.
9317         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9318         Conditionalize body on this.
9319         * misc/mkostemp64.c: Likewise.
9320         * misc/mkostemps64.c: Likewise.
9321         * misc/mkstemps64.c: Likewise.
9322         * sysdeps/wordsize-64/mkstemp64.c: File removed.
9323         * sysdeps/wordsize-64/mkostemp64.c: File removed.
9324         * sysdeps/wordsize-64/mkostemp.c: File removed.
9325         * sysdeps/wordsize-64/mkstemp.c: File removed.
9326         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9327         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9328         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9329         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9330
9331         [BZ #14138]
9332         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9333         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9334         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9335         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9336
9337         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9338         compat_symbol macros from <shlib-compat.h> rather than the underlying
9339         default_symbol_version and symbol_version macros, so that DEFAULT
9340         lines in shlib-versions are respected.
9341         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9342
9343 2012-08-01  Florian Weimer  <fweimer@redhat.com>
9344
9345         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9346         Declare with warn_unused_result.
9347         (setgid, setregid, setegid, setresgid): Likewise.
9348         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9349         Likewise.
9350         * WUR-REPORT: Remove set*id functions.
9351
9352 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
9353
9354         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9355
9356 2012-07-31  Roland McGrath  <roland@hack.frob.com>
9357
9358         * include/sys/socket.h (__libc_accept, __libc_accept4):
9359         Add attribute_hidden.
9360         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9361
9362         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9363         use of PTR_MANGLE.
9364         * inet/getnetgrent_r.c (setup): Likewise.
9365
9366         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9367
9368 2012-07-31  David S. Miller  <davem@davemloft.net>
9369
9370         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9371
9372 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
9373
9374         [BZ #13629]
9375         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9376         value between 1.0 and 2.0 and smaller part has absolute value less
9377         than 1.0.
9378         * math/s_clog10.c (__clog10): Likewise.
9379         * math/s_clog10f.c (__clog10f): Likewise.
9380         * math/s_clog10l.c (__clog10l): Likewise.
9381         * math/s_clogf.c (__clogf): Likewise.
9382         * math/s_clogl.c (__clogl): Likewise.
9383         * math/libm-test.inc (clog_test): Add more tests.
9384         (clog10_test): Likewise.
9385         * sysdeps/i386/fpu/libm-test-ulps: Update.
9386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9387
9388 2012-07-31  Florian Weimer  <fweimer@redhat.com>
9389
9390         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9391         Exit with zero in case no suitable GID is found, and write a
9392         message to standard error.
9393
9394 2012-07-30  Roland McGrath  <roland@hack.frob.com>
9395
9396         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9397         rather than to 1.
9398         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9399         (MAXPATHLEN): Removed.
9400         (NOGROUP, NODEV): New macros.
9401         (setbit, clrbit, isset, isclr): New macros.
9402         (howmany, roundup, powerof2): New macros.
9403         (DEV_BSIZE): New macro.
9404
9405         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9406         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9407
9408         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9409         definition on [!__NO_LONG_DOUBLE_MATH].
9410
9411         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9412         PTR_MANGLE and PTR_DEMANGLE.
9413
9414         * socket/accept4.c (accept4): Rename to __libc_accept4.
9415         Define accept4 as a weak alias.
9416
9417         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9418         on [_DIRENT_HAVE_D_TYPE].
9419         * io/ftw.c (ftw_dir): Likewise.
9420
9421         * io/xmknod.c (__xmknod): Don't check PATH for being null.
9422
9423         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9424
9425         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9426         Use the BSD numbers rather than the arbitrary ones we had.
9427         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9428         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9429         (SIGXCPU, SIGXFSZ): New macros.
9430         (_NSIG): Now 32.
9431
9432         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9433         initializer on [_LIBC_REENTRANT].
9434
9435         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9436         definitions inside [_POSIX_MAPPED_FILES].
9437
9438         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9439
9440         * dirent/opendir.c: Include <fcntl.h>.
9441
9442         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9443         (__libc_getspecific): Likewise.
9444         (__libc_key_create): Likewise.
9445
9446         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9447         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9448         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9449         (tmpfile64): Define as alias.
9450         * sysdeps/wordsize-64/tmpfile.c: File removed.
9451         * sysdeps/wordsize-64/tmpfile64.c: File removed.
9452         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9453         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9454
9455         * stdio-common/vfscanf.c: Include <stdbool.h>.
9456         * nss/makedb.c: Likewise.
9457         * stdio-common/_i18n_number.h: Likewise.
9458         * argp/argp-help.c: Likewise.
9459         * posix/wordexp.c: Likewise.
9460         * sysdeps/posix/spawni.c: Likewise.
9461         * nss/nss_files/files-initgroups.c: Likewise.
9462         * stdio-common/reg-modifier.c: Include <stdlib.h>.
9463         * nss/nss_files/files-initgroups.c: Likewise.
9464         * nss/nss_db/db-netgrp.c: Likewise.
9465         * nss/nss_db/db-initgroups.c: Likewise.
9466         * io/fchmodat.c: Include <sys/stat.h>.
9467
9468         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9469         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9470
9471         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9472         [HAVE_MMAP].
9473
9474         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9475         Add multiple inclusion protection.
9476
9477 2012-07-27  David S. Miller  <davem@davemloft.net>
9478
9479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9480
9481 2012-07-27  Gary Benson  <gbenson@redhat.com>
9482
9483         [BZ #14298]
9484         * elf/rtld.c: Include <stap-probe.h>.
9485         (dl_main): Added static probes "init_start" and "init_complete".
9486         * elf/dl-load.c: Include <stap-probe.h>.
9487         (lose): Take new parameter "nsid".
9488         Added static probe "map_failed".
9489         (_dl_map_object_from_fd): Pass namespace id to lose.
9490         Added static probe "map_start".
9491         (open_verify): Pass namespace id to lose.
9492         * elf/dl-open.c: Include <stap-probe.h>.
9493         (dl_open_worker) Added static probes "map_complete", "reloc_start"
9494         and "reloc_complete".
9495         * elf/dl-close.c: Include <stap-probe.h>.
9496         (_dl_close_worker): Added static probes "unmap_start" and
9497         "unmap_complete".
9498         * elf/rtld-debugger-interface.txt: New file documenting the above.
9499
9500 2012-07-26  Roland McGrath  <roland@hack.frob.com>
9501
9502         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9503         rather than a string variable.
9504         * sunrpc/rpc_main.c (h_output): Likewise.
9505         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9506
9507 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
9508
9509         * inet/check_native.c: New file.
9510
9511 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
9512
9513         [BZ #13629]
9514         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9515         if larger part has absolute value 1.0.
9516         * math/s_clog10.c (__clog10): Likewise.
9517         * math/s_clog10f.c (__clog10f): Likewise.
9518         * math/s_clog10l.c (__clog10l): Likewise.
9519         * math/s_clogf.c (__clogf): Likewise.
9520         * math/s_clogl.c (__clogl): Likewise.
9521         * math/libm-test.inc (clog_test): Add more tests.
9522         (clog10_test): Likewise.
9523         * sysdeps/i386/fpu/libm-test-ulps: Update.
9524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9525
9526         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9527         (pltexit): Likewise.
9528         (La_regs): Likewise.
9529         (La_retval): Likewise.
9530         (int_retval): Likewise.
9531         Update #error for removed macros to refer only to definitions in
9532         tst-audit.h.
9533         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9534         macro.
9535         (pltexit): Likewise.
9536         (La_regs): Likewise.
9537         (La_retval): Likewise.
9538         (int_retval): Likewise.
9539         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9540         macro.
9541         (pltexit): Likewise.
9542         (La_regs): Likewise.
9543         (La_retval): Likewise.
9544         (int_retval): Likewise.
9545         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9546         macro.
9547         (pltexit): Likewise.
9548         (La_regs): Likewise.
9549         (La_retval): Likewise.
9550         (int_retval): Likewise.
9551         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9552         macro.
9553         (pltexit): Likewise.
9554         (La_regs): Likewise.
9555         (La_retval): Likewise.
9556         (int_retval): Likewise.
9557         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9558         macro.
9559         (pltexit): Likewise.
9560         (La_regs): Likewise.
9561         (La_retval): Likewise.
9562         (int_retval): Likewise.
9563         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9564         macro.
9565         (pltexit): Likewise.
9566         (La_regs): Likewise.
9567         (La_retval): Likewise.
9568         (int_retval): Likewise.
9569         * sysdeps/generic/tst-audit.h: Update comment to refer only to
9570         macro definitions in tst-audit.h.
9571         * sysdeps/i386/tst-audit.h: New file.
9572         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9573         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9574         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9575         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9576         * sysdeps/sh/tst-audit.h: Likewise.
9577         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9578         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9579         * sysdeps/x86_64/tst-audit.h: Likewise.
9580
9581 2012-07-26  Andreas Jaeger  <aj@suse.de>
9582
9583         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9584         ptrace.
9585
9586         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9587         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9588         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9589         PTRACE_O_MASK.
9590         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9591         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9592         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9593
9594         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9595         value.
9596
9597         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9598         _sigsys.
9599         (si_call_addr, si_syscall, si_arch): Define new macro.
9600         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9601         _sigsys.
9602         (si_call_addr, si_syscall, si_arch): Define new marcro.
9603         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9604         _sigsys.
9605         (si_call_addr, si_syscall, si_arch): Define new macro.
9606         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9607         _sigsys.
9608         (si_call_addr, si_syscall, si_arch): Define new macro.
9609
9610 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
9611
9612         [BZ #13717]
9613         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9614         Change to 2.4.21 where previously 2.4.1.
9615         * sysdeps/unix/sysv/linux/configure: Regenerated.
9616         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9617         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9618         Linux kernel version.
9619         (__ASSUME_STD_AUXV): Remove.
9620         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9621         kernel version.
9622         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9623         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9624         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9625         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9626         (__ASSUME_NETLINK_SUPPORT): Likewise.
9627         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9628         (__no_netlink_support): Remove conditional definition.
9629         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9630         Remove.
9631         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9632         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9633         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9634         (if_nameindex_ioctl): Remove.
9635         (if_nameindex_netlink): Do not handle __no_netlink_support.
9636         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9637         code.
9638         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9639         Remove conditional code.
9640         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9641         code.
9642         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9643         unconditional.
9644         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9645         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9646         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9647         Remove.
9648         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9649         [!__ASSUME_STD_AUXV]: Remove conditional code.
9650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9651         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9652         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9654         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9655         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9656         code.
9657         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9659         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9660         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9661         conditional code.
9662         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9664         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9665         code.
9666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9667         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9668         conditional code.
9669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9670         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9671         code unconditional.
9672         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9673         conditional code.
9674         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9675         unconditional.
9676         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9677         conditional code.
9678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9679         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9680         unconditional.
9681         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9682         conditional code.
9683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9684         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9685         code unconditional.
9686         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9687         conditional code.
9688         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9689         unconditional.
9690         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9691         conditional code.
9692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9693         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9694         code unconditional.
9695         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9696         conditional code.
9697         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9698         unconditional.
9699         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9700         conditional code.
9701
9702 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
9703
9704         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9705         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9706         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9707         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9708         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9709         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9710         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9711         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9712         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9713         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9714         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9715         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9716         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9717         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9718         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9719         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9720         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9721         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9722         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9723         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9724         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9725         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9726         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9727
9728 2012-07-25  Florian Weimer  <fweimer@redhat.com>
9729
9730         * Versions.def: Add GLIBC_2.17.
9731         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9732         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9733         Introduce __libc_secure_getenv.
9734         * stdlib/Versions (2.17): Add secure_getenv
9735         (GLIBC_PRIVATE): Add __libc_secure_getenv.
9736         * stdlib/secure-getenv.c: Rename __secure_getenv to
9737         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
9738         symbol __secure_getenv for GLIBC_2.0.
9739         * stdlib/tst-secure-getenv.c: New.
9740         * stdlib/Makefile (tests): Add testcase.
9741         * manual/startup.texi (Environment Access): Document
9742         secure_getenv.
9743         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9744         __libc_secure_getenv.
9745         * inet/ruserpass.c (ruserpass): Likewise.
9746         * malloc/mtrace.c (mtrace): Likewise.
9747         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
9748         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9749         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9750         * sysdeps/posix/tempname.c: Likewise.  Evaluate
9751         HAVE_SECURE_GETENV.
9752         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
9753         __secure_getenv to __libc_secure_getenv.
9754         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
9755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9756         Likewise.
9757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9758         Likewise.
9759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9760         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9761         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9762         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9763         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9764         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9765         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
9766
9767 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
9768
9769         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9770         (struct La_i86_retval): Likewise.
9771         (struct La_x86_64_regs): Likewise.
9772         (struct La_x86_64_retval): Likewise.
9773         (struct La_x32_regs): Likewise.
9774         (struct La_x32_retval): Likewise.
9775         (struct La_ppc32_regs): Likewise.
9776         (struct La_ppc32_retval): Likewise.
9777         (struct La_ppc64_regs): Likewise.
9778         (struct La_ppc64_retval): Likewise.
9779         (struct La_sh_regs): Likewise.
9780         (struct La_sh_retval): Likewise.
9781         (struct La_s390_32_regs): Likewise.
9782         (struct La_s390_32_retval): Likewise.
9783         (struct La_s390_64_regs): Likewise.
9784         (struct La_s390_64_retval): Likewise.
9785         (struct La_sparc32_regs): Likewise.
9786         (struct La_sparc32_retval): Likewise.
9787         (struct La_sparc64_regs): Likewise.
9788         (struct La_sparc64_retval): Likewise.
9789         (struct audit_ifaces): Remove architecture-specific pltenter and
9790         pltexit members.
9791         * sysdeps/i386/ldsodefs.h: New file.
9792         * sysdeps/powerpc/ldsodefs.h: Likewise.
9793         * sysdeps/s390/ldsodefs.h: Likewise.
9794         * sysdeps/sh/ldsodefs.h: Likewise.
9795         * sysdeps/sparc/ldsodefs.h: Likewise.
9796         * sysdeps/x86_64/ldsodefs.h: Likewise.
9797
9798 2012-07-25  Marek Polacek  <polacek@redhat.com>
9799
9800         [BZ #6808]
9801         * math/libm-test.inc (yn_test): Add another test.
9802         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9803         to ERANGE when the result is +-Inf.
9804         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9805         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9806         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9807         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9808
9809 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
9810
9811         * conform/data/time.h-data (NULL): Use macro-constant.  Require
9812         equal to 0.
9813         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
9814         clock_t.
9815         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
9816
9817 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
9818
9819         * configure.in <sysdeps resolving>: Correct printing
9820         Implies_before.
9821         * configure: Regenerate.
9822
9823 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
9824
9825         * math/w_ilogb.c: Include <limits.h>.
9826         * math/w_ilogbl.c: Likewise.
9827
9828 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
9829
9830         * manual/lang.texi (__va_copy): Document primarily as ISO C99
9831         va_copy.  Document allowing for unavailable va_copy only as
9832         pre-C99 compatibility.
9833         * manual/string.texi (Copying and Concatenation): Use va_copy
9834         instead of __va_copy in concat example.
9835
9836 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
9837
9838         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9839         (__sendto): Use create_address_port.  Initialize APORT and deallocate
9840         it if not null.
9841
9842         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9843         with O_NOLINK passed to __file_name_lookup.
9844
9845         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9846         with O_NOLINK passed to __file_name_lookup.
9847
9848         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9849         negative N or less than NGIDS.
9850
9851         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9852         type to string_t.  Set ERANGE as errno and return it if NAME is not big
9853         enough.  Use memcpy instead of strncpy.
9854
9855 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
9856
9857         * elf/Makefile (check-data): Remove.
9858         (localplt.data): New vpath directive.
9859         ($(objpfx)check-localplt.out): Use localplt.data from vpath
9860         instead of $(check-data).
9861         * scripts/data/localplt-generic.data: Move to ...
9862         * sysdeps/generic/localplt.data: ... here.
9863         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9864         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9865         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9867         ... here.
9868         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9870         ... here.
9871         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9872         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9873         ... here.
9874         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9875         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9876         ... here.
9877         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9878         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9879         ... here.
9880         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9881         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9882         ... here.
9883
9884 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9885
9886         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9887         PPC32 and PPC64 files.
9888         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9889         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9890
9891 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9892
9893         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9894         __makecontext_ret to ...
9895         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9896         ... here and call exit if uc_link is NULL.  New file.
9897         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9898         __makecontext_ret.S.
9899         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9900         __makecontext_ret to ...
9901         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9902         ... here and call exit if uc_link is NULL.  New file.
9903         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9904         __makecontext_ret.S.
9905
9906 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9907
9908         * elf/elf.h (R_390_IRELATIVE): New definition.
9909         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9910         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
9911         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9912         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9913         (elf_machine_lazy_rel): Likewise.
9914         * sysdeps/s390/dl-irel.h: New file.
9915         * sysdeps/s390/s390-64/memcpy.S: New asm code.
9916         * sysdeps/s390/s390-64/memset.S: New asm code.
9917         * sysdeps/s390/s390-64/memcmp.S: New asm code.
9918         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9919         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9920         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9921         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9922         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9923         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9924         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9925         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9926         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9927         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9928         * sysdeps/s390/s390-32/memcpy.S: New asm code.
9929         * sysdeps/s390/s390-32/memset.S: New asm code.
9930         * sysdeps/s390/s390-32/memcmp.S: New asm code.
9931
9932 2012-07-17  Marek Polacek  <polacek@redhat.com>
9933
9934         [BZ #14349]
9935         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9936         * sysdeps/s390/s390-64/configure.in: Likewise.
9937         * sysdeps/sparc/configure.in: Likewise.
9938         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9939         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9940         * sysdeps/i386/configure.in: Likewise.
9941         * sysdeps/x86_64/configure.in: Likewise.
9942         * sysdeps/sh/configure.in: Likewise.
9943         * sysdeps/s390/s390-32/configure: Regenerated.
9944         * sysdeps/s390/s390-64/configure: Likewise.
9945         * sysdeps/x86_64/configure: Likewise.
9946         * sysdeps/sh/configure: Likewise.
9947         * sysdeps/powerpc/powerpc64/configure: Likewise.
9948         * sysdeps/powerpc/powerpc32/configure: Likewise.
9949         * sysdeps/sparc/configure: Likwise.
9950         * sysdeps/i386/configure: Likewise.
9951
9952         * elf/dl-open.c: Comment fixes.
9953
9954 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
9955
9956         * Makefile [CXX] (check-data): Remove.
9957         [CXX] (c++-types.data): New vpath directive.
9958         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9959         vpath.  Do not allow for C++ type data being missing.
9960         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9961         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9962         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9963         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9964         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9965         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9966         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9968         ... here.
9969         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9971         ... here.
9972         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9973         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9974         ... here.
9975         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9977         ... here.
9978         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9980         ... here.
9981         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9983         ... here.
9984         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9985         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9986         ... here.
9987         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9988         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9989
9990         * elf/tls-macros.h (TLS_LE): Move architecture-specific
9991         definitions to architecture-specific files.
9992         (TLS_IE): Likewise.
9993         (TLS_LD): Likewise.
9994         (TLS_GD): Likewise.
9995         * sysdeps/i386/tls-macros.h: New file.
9996         * sysdeps/powerpc/tls-macros.h: Likewise.
9997         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9998         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9999         * sysdeps/sh/tls-macros.h: Likewise.
10000         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10001         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10002         * sysdeps/x86_64/tls-macros.h: Likewise.
10003
10004 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
10005
10006         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10007         zero value for regular exit case.
10008
10009         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10010         (__start_context): Preserve zero value for regular exit case.
10011
10012 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
10013             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10014
10015         * manual/setjmp.texi (setcontext): Clarify normal process
10016         termination when uc_link is the null pointer.
10017         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10018         exit call.
10019
10020 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
10021
10022         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10023         preprocessor.  Test for each exception mask separately.
10024
10025 2012-07-16  Andreas Jaeger  <aj@suse.de>
10026
10027         * po/ru.po: Update from translation team.
10028
10029 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
10030
10031         * conform/data/string.h-data (NULL): Use macro-constant.  Require
10032         equal to 0.
10033         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10034         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10035         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10036         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10037         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10038
10039 2012-07-13  Andreas Jaeger  <aj@suse.de>
10040
10041         * po/fr.po: Update from translation team.
10042
10043 2012-07-12  Marek Polacek  <polacek@redhat.com>
10044
10045         [BZ #14173]
10046         * math/libm-test.inc (yn_test): Add test for BZ #14173.
10047         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10048         loop condition.
10049
10050 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
10051
10052         [BZ #13717]
10053         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10054         Change to 2.4.1 where previously 2.4.0.
10055         * sysdeps/unix/sysv/linux/configure: Regenerated.
10056         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10057         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10058         version.
10059         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10060         (__ASSUME_AT_CLKTCK): Remove.
10061         (__ASSUME_AT_PAGESIZE): Likewise.
10062         (__ASSUME_AT_XID): Likewise.
10063         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10064         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10065         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10066         unconditionally.
10067         (HAVE_AUX_PAGESIZE): Likewise.
10068         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10069         [__ASSUME_AT_CLKTCK]: Make code unconditional.
10070         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10071
10072 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
10073
10074         [BZ #14307]
10075         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10076         the temporary buffer used to invoke __gethostbyname2_r,
10077         __gethostbyaddr_r and gethostbyname4_r to make room for struct
10078         host_data / struct gaih_addrtuple.
10079         * resolv/nss_dns/dns-host.c (global scope): Move definition of
10080         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10081         header file nss/nsswitch.h.
10082         * nss/nsswitch.h (global scope): Add definition of implementation
10083         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10084         resolv/nss_dns/dns-host.c).
10085
10086 2012-07-11  Andreas Jaeger  <aj@suse.de>
10087
10088         * po/fr.po: Update from translation team.
10089
10090         * po/sv.po: Update from translation team
10091         * po/fr.po: Another update from translation team.
10092
10093 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10094
10095         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10096         for subnormals or multiply small sinh result by itself.
10097         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10098         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10099
10100 2012-07-11  David S. Miller  <davem@davemloft.net>
10101
10102         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10103
10104 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
10105
10106         [BZ #14347]
10107         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10108         (INTERNAL_MARK): Shift it here.
10109
10110 2012-07-10  Marek Polacek  <polacek@redhat.com>
10111
10112         [BZ #14151]
10113         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
10114         libc_cv_asm_global_directive with .globl.
10115         * configure: Regenerated.
10116         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10117         with .globl.
10118         * sysdeps/i386/configure: Regenerated.
10119         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10120         with .globl.
10121         * sysdeps/x86_64/configure: Regenerated.
10122         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10123         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10124         * elf/tst-unique2mod2.c: Likewise.
10125         * elf/tst-unique2mod1.c: Likewise.
10126         * elf/tst-unique1mod2.c: Likewise.
10127         * elf/tst-unique1mod1.c: Likewise.
10128         * sysdeps/s390/s390-32/sysdep.h: Likewise.
10129         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10130         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10131         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10132         * sysdeps/mach/sysdep.h: Likewise.
10133         * sysdeps/i386/sysdep.h: Likewise.
10134         * sysdeps/i386/i386-mcount.S: Likewise.
10135         * sysdeps/x86_64/_mcount.S: Likewise.
10136         * sysdeps/x86_64/sysdep.h: Likewise.
10137         * sysdeps/sh/_mcount.S: Likewise.
10138         * sysdeps/sh/sysdep.h: Likewise.
10139         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10140         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10141         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10142         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10143         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10144         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10145         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10146         * locale/localeinfo.h: Likewise.
10147         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10148         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10149
10150 2012-07-09  Roland McGrath  <roland@hack.frob.com>
10151
10152         [BZ #14336]
10153         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10154         system".
10155         * manual/message.texi (The Uniforum approach): Likewise.
10156         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10157         (glibc iconv Implementation): Likewise.
10158
10159 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
10160
10161         [BZ #14337]
10162         * math/s_clog.c (__clog): Avoid scaling a value down where that
10163         could result in underflow.
10164         * math/s_clog10.c (__clog10): Likewise.
10165         * math/s_clog10f.c (__clog10f): Likewise.
10166         * math/s_clog10l.c (__clog10l): Likewise.
10167         * math/s_clogf.c (__clogf): Likewise.
10168         * math/s_clogl.c (__clogl): Likewise.
10169         * math/libm-test.inc (clog_test): Add more tests.
10170         (clog10_test): Likewise.
10171         * sysdeps/i386/fpu/libm-test-ulps: Update.
10172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10173
10174 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
10175
10176         [BZ #14283]
10177         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10178         by 7 not 8 to examine high bit of fractional part.
10179
10180         [BZ #14042]
10181         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10182         for call to __mcount_internal.
10183         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10184         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10185         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10186
10187 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
10188
10189         [BZ #14154]
10190         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10191         approximation for values within 0x1p-13f of an odd multiple of
10192         pi/4.
10193         * math/libm-test.inc (tan_test): Do not allow spurious underflow
10194         exception.  Add more tests.
10195         * sysdeps/i386/fpu/libm-test-ulps: Update.
10196
10197         [BZ #6778]
10198         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10199         inputs and return -1 for them.  Do not check for +Inf in case not
10200         reachable for +Inf.
10201         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10202         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10203         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10204         and return -1 for them.  Do not check for +Inf in case not
10205         reachable for +Inf.
10206         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10207         define.
10208         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10209         and return -1 for them.  Do not check for +Inf in case not
10210         reachable for +Inf.
10211         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
10212         spurious underflow.
10213         * sysdeps/i386/fpu/libm-test-ulps: Update.
10214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10215
10216 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
10217
10218         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10219
10220 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
10221
10222         [BZ #14157]
10223         [BZ #14331]
10224         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10225         could result in spurious underflow.  Scale down values above
10226         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10227         * math/s_csqrtf.c (__csqrtf): Likewise.
10228         * math/s_csqrtl.c (__csqrtl): Likewise.
10229         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
10230         spurious underflow.
10231         * sysdeps/i386/fpu/libm-test-ulps: Update.
10232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10233
10234 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
10235
10236         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10237         xopen-msg.sed.
10238         * catgets/xopen-msg.awk: New file.
10239         * catgets/xopen-msg.sed: Removed.
10240
10241         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10242         po2text.sed.
10243         * intl/po2test.awk: New file.
10244         * intl/po2test.sed: Removed.
10245
10246 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
10247
10248         [BZ #14328]
10249         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10250         or multiply small sinh result by itself.
10251         * math/s_ctanf.c (__ctanf): Likewise.
10252         * math/s_ctanh.c (__ctanh): Likewise.
10253         * math/s_ctanhf.c (__ctanhf): Likewise.
10254         * math/s_ctanhl.c (__ctanhl): Likewise.
10255         * math/s_ctanl.c (__ctanl): Likewise.
10256         * math/libm-test.inc (ctan_test_tonearest): New function.
10257         (ctan_test_towardzero): Likewise.
10258         (ctan_test_downward): Likewise.
10259         (ctan_test_upward): Likewise.
10260         (ctanh_test_tonearest): Likewise.
10261         (ctanh_test_towardzero): Likewise.
10262         (ctanh_test_downward): Likewise.
10263         (ctanh_test_upward): Likewise.
10264         (main): Call these new functions.
10265         * sysdeps/i386/fpu/libm-test-ulps: Update.
10266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10267
10268 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
10269
10270         * .gitignore: Delete /ports entry.
10271
10272 2012-07-03  Andreas Jaeger  <aj@suse.de>
10273
10274         * po/bg.po: Update from translation team.
10275         * po/cs.po: Likewise.
10276         * po/de.po: Likewise.
10277         * po/hr.po: Likewise.
10278         * po/nl.pl: Likewise.
10279         * po/pl.po: Likewise.
10280         * po/vi.po: Likewise.
10281
10282 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
10283
10284         * Makeconfig [!+link] (+link-before-libc): New variable.
10285         [!+link] (+link-after-libc): Likewise.
10286         [!+link] (+link-tests): Likewise.
10287         [!+link] (+link): Define in terms of $(+link-before-libc) and
10288         $(+link-after-libc).
10289         [!+link-static] (+link-static-before-libc): New variable.
10290         [!+link-static] (+link-static-after-libc): Likewise.
10291         [!+link-static] (+link-static-tests): Likewise.
10292         [!+link-static] (+link-static): Define in terms of
10293         $(+link-static-before-libc) and $(+link-static-after-libc).
10294         [build-shared] (link-libc-before-gnulib): New variable.
10295         [build-shared] (link-libc-tests): Likewise.
10296         [build-shared] (link-libc): Define in terms of
10297         $(link-libc-before-gnulib).
10298         [!build-shared] (link-libc-tests): New variable.
10299         (link-libc-static-tests): New variable.
10300         [!gnulib] (gnulib-arch): New variable.
10301         [!gnulib] (gnulib-tests): Likewise.
10302         [!gnulib] (static-gnulib-arch): Likewise.
10303         [!gnulib] (static-gnulib-tests): Likewise.
10304         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
10305         Define with "=" instead of ":=".
10306         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
10307         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
10308         * Rules (binaries-all-notests): New variable.
10309         (binaries-all-tests): Likewise.
10310         (binaries-static-notests): Likewise.
10311         (binaries-static-tests): Likewise.
10312         (binaries-all): Define using $(binaries-all-notests) and
10313         $(binaries-all-tests).
10314         (binaries-static): Define using $(binaries-static-notests) and
10315         $(binaries-static-tests).
10316         (binaries-shared-tests): New variable.
10317         (binaries-shared-notests): Likewise.
10318         (binaries-shared): Remove variable.
10319         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10320         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10321         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10322         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10323         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10324         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10325         * elf/Makefile (sln-modules): New variable.
10326         (extra-objs): Add $(sln-modules:=.o).
10327         (ldconfig-modules): Add static-stubs.
10328         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10329         * elf/static-stubs.c: New file.
10330
10331         [BZ #14283]
10332         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10333         by 7 not 8 to examine high bit of fractional part.  Use volatile
10334         variables when splitting into final array of floats if
10335         __FLT_EVAL_METHOD__ != 0.
10336         * math/libm-test.inc (cos_test): Add another test.
10337         (sin_test): Likewise.
10338         * sysdeps/i386/fpu/libm-test-ulps: Update.
10339
10340         [BZ #14273]
10341         * math/libm-test.inc (cosh_test): Add more tests.
10342
10343         * version.h (RELEASE): Set to "development".
10344         (VERSION): Set to "2.16.90".
10345
10346 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
10347
10348         * NEWS: Update copyright. Remove last-updated date.
10349         Mention math library bug fixes and timezone data changes.
10350         * README: Mention GNU/Hurd, x32, and HPPA support status.
10351
10352 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
10353
10354         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10355
10356 2012-06-27  Andreas Jaeger  <aj@suse.de>
10357
10358         * manual/contrib.texi (Contributors): Add Samuel Thibault.
10359
10360 2012-06-25  Andreas Jaeger  <aj@suse.de>
10361
10362         * sysdeps/s390/fpu/libm-test-ulps: Update.
10363
10364 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
10365             Thomas Schwinge  <thomas@codesourcery.com>
10366
10367         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10368         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10369         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10370         fanotify_mark.
10371
10372 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
10373
10374         * sysdeps/mach/start.c: Remove file.
10375         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10376         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10377         * sysdeps/sh/init-first.c: Likewise.
10378
10379         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10380         registers for frame unwinding purposes, add CFI directives.
10381         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10382         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10383         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10384         Likewise.
10385
10386         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10387         __fortify_fail returning.
10388         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10389
10390         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10391         sysdeps/sh/____longjmp_chk.S.
10392         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10393         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10394         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10395         (gen-as-const-headers): Append sigaltstack-offsets.sym.
10396
10397         * sysdeps/sh/abort-instr.h: New file.
10398         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10399         process in case exit returns.
10400
10401         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10402         initialize the GOT register before use.
10403
10404         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10405         calculation of ARGC > 4.
10406
10407         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10408         meaningful names to some local labels.
10409
10410 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
10411             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10412
10413         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10414         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10415         (__arch_compare_and_exchange_val_16_acq): Likewise.
10416         (__arch_compare_and_exchange_val_32_acq): Likewise.
10417         (atomic_exchange_and_add): Fix gUSA sequence.
10418         (atomic_add): Likewise.
10419         (atomic_add_negative): Likewise.
10420         (atomic_add_zero): Likewise.
10421         (atomic_bit_test_set): Likewise.
10422
10423 2012-06-22  Andreas Schwab  <schwab@redhat.com>
10424
10425         [BZ #13579]
10426         * include/link.h (struct link_map): Add l_free_initfini.
10427         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10428         l_initfini.
10429         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10430         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10431         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10432         set.
10433
10434 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
10435
10436         * configure.in: Use AC_LANG_SOURCE.
10437         * configure: Regenerate.
10438
10439 2012-06-22  Roland McGrath  <roland@hack.frob.com>
10440
10441         * configure.in (libc_cv_localstatedir): New substituted variable.
10442         * configure: Regenerated.
10443         * config.make.in (localstatedir): New variable, substituted from
10444         libc_cv_localstatedir.
10445         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10446         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10447         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10448         * sysdeps/gnu/configure: Regenerated.
10449
10450 2012-06-21  Jeff Law  <law@redhat.com>
10451
10452         [BZ #14277]
10453         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10454         free.  Simplify list management for _LIBC case.
10455
10456 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
10457
10458         [BZ #14273]
10459         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10460         Clear sign bit of 64-bit integer value before comparing against
10461         overflow value.
10462
10463         * sysdeps/mach/configure: Regenerated.
10464
10465 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
10466
10467         [BZ #14278]
10468         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10469
10470 2012-06-21  Jeff Law  <law@redhat.com>
10471
10472         [BZ #13882]
10473         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
10474         uint16_t for elements in the "seen" array to avoid char overflows.
10475         * elf/dl-fini.c (_dl_sort_fini): Likewise.
10476         * elf/dl-open.c (dl_open_worker): Likewise.
10477
10478 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
10479
10480         * scripts/list-sources.sh: Scan PORTS for translations.
10481         * po/libc.pot: Regenerated.
10482
10483 2012-06-21  Andreas Jaeger  <aj@suse.de>
10484
10485         [BZ #12194]
10486         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10487         warning.
10488         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10489         * bits/byteswap-16.h (__bswap_16): Likewise.
10490         * bits/byteswap.h (__bswap_constant_16): Likewise.
10491
10492 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
10493
10494         [BZ #14117]
10495         * sysdeps/i386/fpu_control.h: Removed.
10496         * sysdeps/x86_64/fpu_control.h: Moved to ...
10497         * sysdeps/x86/fpu_control.h: Here.
10498
10499         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10500         (_FPU_SETCW): Likewise.
10501
10502 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
10503
10504         [BZ #14117]
10505         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10506         * sysdeps/x86/fpu/bits/mathinline.h: This.
10507         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10508
10509         [BZ #14050]
10510         [BZ #14117]
10511         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10512         functions if __x86_64__ is defined.
10513
10514 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
10515
10516         * string/endian.h: Add !__ASSEMBLER__ condition for including
10517         conversion interfaces.
10518
10519 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
10520
10521         [BZ #14241]
10522         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10523         of ABS(x) in calculating zero to negative powers other than odd
10524         integers.
10525         * math/libm-test.inc (pow_test): Add more tests.
10526
10527 2012-06-15  Andreas Jaeger  <aj@suse.de>
10528
10529         * manual/contrib.texi (Contributors): Update entry of Liubov
10530         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10531         Machado Filho.
10532
10533 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
10534
10535         * string/string.h: Add __wur to GNU version of strerror_r.
10536
10537 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
10538
10539         [BZ #14229]
10540         * string/Makefile (tests): Add tst-strtok_r.
10541         * string/tst-strtok_r.c: New file.
10542         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10543         RAX_LP/RDX_LP on SAVE_PTR.
10544
10545 2012-06-14  Roland McGrath  <roland@hack.frob.com>
10546
10547         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10548
10549 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
10550
10551         * libm_test.inc (csqrt_test): Allow more spurious underflow
10552         exceptions.
10553         (j0_test): Likewise.
10554         (j1_test): Likewise.
10555         (y0_test): Likewise.
10556         (y1_test): Likewise.
10557
10558 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
10559
10560         * po/Makefile (libc.pot): Use UTF-8 charset.
10561
10562 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
10563
10564         [BZ #14210]
10565         Suppress sign-conversion warning from FD_SET.
10566         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10567         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10568         not unsigned long int.
10569         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10570
10571 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
10572
10573         [BZ #14050]
10574         [BZ #14117]
10575         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10576         __extern_always_inline instead of __extern_inline.
10577         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10578         (__signbit): Likewise.
10579         (__signbitl): Support C++ namespace.
10580         (lrintf): New inline function.
10581         (lrint): Likewise.
10582         (llrintf): Likewise.
10583         (llrint): Likewise.
10584         (fmaxf): Likewise.
10585         (fmax): Likewise.
10586         (fminf): Likewise.
10587         (fmin): Likewise.
10588         (rint): Likewise.
10589         (rintf): Likewise.
10590         (ceil): Likewise.
10591         (ceilf): Likewise.
10592         (floor): Likewise.
10593         (floorf): Likewise.
10594         (nearbyint): Likewise.
10595         (nearbyintf): Likewise.
10596
10597 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
10598
10599         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10600         non-default versions.
10601
10602 2012-06-11  Roland McGrath  <roland@hack.frob.com>
10603
10604         [BZ #14218]
10605         * manual/argp.texi (Argp): Reword argp_parse description slightly.
10606
10607 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
10608
10609         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10610         (FE_UPWARD, FE_DOWNWARD): Don't define.
10611         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10612         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10613
10614         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10615         reading it.
10616         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10617         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10618
10619 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10620
10621         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10622         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10623         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10624         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10625
10626 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
10627
10628         [BZ #14117]
10629         * sysdeps/i386/fpu/bits/fenv.h: Removed.
10630         * sysdeps/i386/fpu/Implies: New file.
10631         * sysdeps/x86_64/fpu/Implies: Likewise.
10632         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10633         * sysdeps/x86/fpu/bits/fenv.h: This.
10634
10635         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10636         __SSE_MATH__.
10637
10638 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10639
10640         [BZ #14134]
10641         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10642         character 0xffff that matches the last element of the
10643         conversion table.
10644
10645 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10646
10647         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10648         fmodl commit.
10649
10650 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10651
10652         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10653         values higher than 25.6283.
10654
10655 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10656
10657         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10658         subnormal exponent extraction and add some __builtin_expect.
10659         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10660         Fix for subnormal mantissa calculation.
10661
10662 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
10663
10664         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10665         cpu2 is -1 and errno is not ENOSYS.
10666
10667 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
10668
10669         [BZ #14117]
10670         * sysdeps/i386/i486/bits/string.h: Renamed to ...
10671         * sysdeps/x86/bits/string.h: This.
10672         * sysdeps/x86_64/bits/string.h: Removed.
10673
10674         * sysdeps/i386/i486/bits/string.h: Define inline functions only
10675         if not compiling for x86-64, but compiling for >= i486.
10676
10677         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10678         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10679
10680         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10681         New macro from Linux kernel 3.4.0.
10682         (FP_XSTATE_MAGIC2): Likewise.
10683         (FP_XSTATE_MAGIC2_SIZE): Likewise.
10684         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10685         (struct _fpx_sw_bytes): New struct.
10686         (struct _xsave_hdr): Likewise.
10687         (struct _ymmh_state): Likewise.
10688         (struct _xstate): Likewise.
10689
10690         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10691         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10692         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10693         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10694         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10695         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10696
10697         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10698         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10699         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10700         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10701         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10702         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10703
10704 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10705
10706         [BZ #13743]
10707         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10708         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10709         (sysdep_headers): Include sys/platform/ppc.h.
10710         * sysdeps/powerpc/test-gettimebase.c: Test for
10711         __ppc_get_timebase() to catch future ISA opcode/insn changes.
10712         * manual/Makefile (appendices): Include platform.texi.
10713         * manual/contrib.texi (Contributors): Update @node pointers.
10714         * manual/maint.texi (Maintenance): Likewise.
10715         (Platform): New node.
10716         * manual/platform.texi: New file.  Document the new features.
10717
10718 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10719             Jakub Jelinek  <jakub@redhat.com>
10720
10721         [BZ #14188]
10722         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10723         where __builtin_expect is unavailable.
10724
10725 2012-06-03  David S. Miller  <davem@davemloft.net>
10726
10727         * stdlib/longlong.h: Updated from GCC.
10728
10729 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
10730
10731         [BZ #14042]
10732         * sysdeps/powerpc/powerpc32/mcount.c: New file.
10733         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10734         __mcount_internal.
10735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10736         (GLIBC_2.16): Likewise.
10737
10738 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
10739
10740         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10741
10742 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
10743
10744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10745         (default-abi): New variable.
10746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10747         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10748         variable.
10749         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10750         Likewise.
10751         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10752         Likewise.
10753         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10754         Likewise.
10755
10756         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10757         definition.  Document in comment.
10758
10759 2012-06-01  David S. Miller  <davem@davemloft.net>
10760
10761         * stdlib/longlong.h: Updated from GCC.
10762
10763 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
10764
10765         [BZ #14117]
10766         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10767         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10768         sys/debugreg.h sys/io.h here.
10769         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10770         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10771         sys/io.h.
10772         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10773         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10774         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10775         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10776         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10777         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10778
10779         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10780         Define only if __x86_64__ is defined.
10781
10782 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
10783
10784         [BZ #14048]
10785         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10786         Use int64_t for variable i.
10787         * math/libm-test.inc (fmod_test): Add more tests.
10788
10789         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10790         z computation is not scheduled after fetestexcept.
10791         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10792         Use math_force_eval instead of asm to ensure calculation scheduled
10793         before exception test.
10794         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10795         Ensure a1 + u.d computation is not scheduled after fetestexcept.
10796
10797 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
10798
10799         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10800         computation is not scheduled after fetestexcept.
10801
10802 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
10803
10804         [BZ #14117]
10805         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10806         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10807
10808 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10809
10810         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10811         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10812
10813 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
10814
10815         [BZ #14117]
10816         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10817         <bits/wordsize.h>.
10818         (__WCHAR_MIN): Support __WORDSIZE == 64.
10819         (__WCHAR_MAX): Likewise.
10820
10821         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10822         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10823
10824         [BZ #14183]
10825         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10826         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10827
10828         [BZ #14117]
10829         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10830         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10831
10832         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10833         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10834
10835         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10836         Defined to 1 if __x86_64__ isn't defined.
10837         (_STAT_VER_LINUX_OLD): New.
10838         (st_atime): Remove duplicate.
10839         (st_mtime): Likewise.
10840         (st_ctime): Likewise.
10841
10842 2012-05-31  David S. Miller  <davem@davemloft.net>
10843
10844         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10845         entries.
10846
10847 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
10848
10849         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10850         gen-libm-test.pl.
10851
10852         [BZ #14132]
10853         * elf/dl-reloc.c: Include <_itoa.h>.
10854         (_dl_reloc_bad_type): Remove use of INTUSE.
10855         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10856         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10857         * stdio-common/psiginfo.c (psiginfo): Likewise.
10858         * stdio-common/psignal.c (psignal): Likewise.
10859         * string/strsignal.c (strsignal): Likewise.
10860         * include/signal.h (_sys_siglist): Declare hidden proto.
10861         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
10862         INTVARDEF with libc_hidden_data_def.
10863         * stdio-common/itoa-udigits.c: Likewise.
10864         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10865         (_itoa_lower_digits_internal): Remove declaration.
10866         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10867         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10868         (_sys_sigabbrev_internal): Remove aliases.
10869         (_sys_siglist): Define hidden alias.
10870
10871 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
10872
10873         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10874         bits/sysctl.h.
10875
10876 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
10877
10878         [BZ #14117]
10879         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10880         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10881
10882         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10883         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10884         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10885         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10886         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10887         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10888
10889         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10890         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10891         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10892
10893         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10894         with __addr.
10895         (insw): Likewise.
10896         (insl): Likewise.
10897         (outsb): Likewise.
10898         (outsw): Likewise.
10899         (outsl): Likewise.
10900
10901         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10902         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10903         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10904
10905         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10906         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10907         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10908         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10909         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10910         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10911
10912         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10913         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10914
10915         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10916         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10917
10918         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10919         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10920         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10921
10922         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10923         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10924         to ...
10925         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10926
10927         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10928         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10929         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10930
10931         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10932         for x86-64.
10933         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10934
10935 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
10936
10937         * math/math.h (M_El): Use two more decimal places.
10938         (M_LOG2El): Likewise.
10939         (M_LOG10El): Likewise.
10940         (M_LN2l): Likewise.
10941         (M_LN10l): Likewise.
10942         (M_PIl): Likewise.
10943         (M_PI_2l): Likewise.
10944         (M_PI_4l): Likewise.
10945         (M_1_PIl): Likewise.
10946         (M_2_PIl): Likewise.
10947         (M_2_SQRTPIl): Likewise.
10948         (M_SQRT2l): Likewise.
10949         (M_SQRT1_2l): Likewise.
10950
10951 2012-05-31  David S. Miller  <davem@davemloft.net>
10952
10953         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10954         values between float registers.
10955         * sysdeps/sparc/sparc64/memset.S: Likewise.
10956         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10957
10958 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
10959
10960         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10961         -D_FORTIFY_SOURCE=1.
10962         (CPPFLAGS-tst-longjmp_chk.c): Define.
10963         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10964         (CPPFLAGS-tst-longjmp_chk2.c): Define.
10965         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10966         CFLAGS-tst-wchar-h.c.
10967
10968 2012-05-31  Marek Polacek  <polacek@redhat.com>
10969
10970         [BZ #14132]
10971         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10972         __endmntent_internal): Remove declaration.
10973         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10974         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10975         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10976
10977 2012-05-30  David S. Miller  <davem@davemloft.net>
10978
10979         * sysdeps/sparc/sparc32/soft-fp/q_util.c
10980         (___Q_simulate_exceptions): Use real FP ops rather than writing
10981         into the %fsr.
10982         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10983         Likewise.
10984
10985 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
10986
10987         [BZ #14117]
10988         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10989         * sysdeps/x86/bits/xtitypes.h: This.
10990
10991         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10992         * sysdeps/x86/bits/wordsize.h: This.
10993
10994         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10995         * sysdeps/x86/bits/huge_vall.h: This.
10996
10997         * sysdeps/i386/bits/select.h: Removed.
10998         * sysdeps/x86_64/bits/select.h: Renamed to ...
10999         * sysdeps/x86/bits/select.h: This.
11000
11001         * sysdeps/i386/bits/setjmp.h: Removed.
11002         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11003         * sysdeps/x86/bits/setjmp.h: This.
11004
11005         * sysdeps/i386/bits/mathdef.h: Removed.
11006         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11007         * sysdeps/x86/bits/mathdef.h: This.
11008
11009 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
11010
11011         [BZ #14132]
11012         * include/sys/socket.h (__connect_internal)
11013         (__libc_sa_len_internal): Remove declaration.
11014         (__connect, __libc_sa_len): Declare hidden_proto.
11015         (SA_LEN): Remove use of INTUSE.
11016         * socket/connect.c: Add libc_hidden_def.
11017         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11018         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11019         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11020         alias.
11021         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11022         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11023         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11024         of adding _internal alias.
11025
11026 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11027
11028         [BZ #14117]
11029         * sysdeps/i386/bits/link.h: Removed.
11030         * sysdeps/i386/bits/linkmap.h: Likewise.
11031         * sysdeps/x86_64/bits/link.h: Renamed to ...
11032         * sysdeps/x86/bits/link.h: This.
11033         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11034         * sysdeps/x86/bits/linkmap.h: This.
11035
11036         * sysdeps/i386/bits/endian.h: Removed.
11037         * sysdeps/x86_64/bits/endian.h: Renamed to ...
11038         * sysdeps/x86/bits/endian.h: This.
11039
11040         * sysdeps/i386/bits/byteswap.h: Removed.
11041         * sysdeps/i386/bits/byteswap-16.h: Likewise.
11042         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11043         * sysdeps/x86/bits/byteswap.h: This.
11044         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11045         * sysdeps/x86/bits/byteswap-16.h: This.
11046         * sysdeps/i386/Implies: Add x86.
11047         * sysdeps/x86_64/Implies: Likewise.
11048
11049 2012-05-30  David S. Miller  <davem@davemloft.net>
11050
11051         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11052         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11053         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11054         (FP_TRAPPING_EXCEPTIONS): Define.
11055         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11056         (FP_TRAPPING_EXCEPTIONS): Define.
11057         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11058         subnormals only when inexact has been signalled or underflow
11059         exceptions are enabled.
11060         (_FP_PACK_CANONICAL): Likewise.
11061
11062 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11063
11064         [BZ #14183]
11065         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11066         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11067
11068 2012-05-30  Richard Henderson  <rth@twiddle.net>
11069
11070         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11071         with #ifndef NOT_IN_libc.
11072
11073         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
11074         marked to avoid plt entry.
11075
11076 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11077
11078         [BZ #14112]
11079         * Makeconfig (default-abi): New macro.
11080         (abi-includes): Likewise.
11081         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
11082         $(abi-$(default-abi)-lib-soname) for soname if defined.
11083         ($(common-objpfx)gnu/lib-names.stmp): Generate from
11084         abi-variants.
11085         * Makefile (installed-stubs): Likewise.
11086         * include/stubs-biarch.h: Removed.
11087         * scripts/lib-names.awk: Only handle one library at a time.
11088         * scripts/soversions.awk: Remove WORDSIZE support.
11089         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11090         entries.
11091         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11092         Removed.
11093         (syscall-list-default-condition): Likewise.
11094         (syscall-list-default-condition): Likewise.
11095         (syscall-list-includes): Likewise.
11096         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11097         syscall-list-* with abi-*.  Handle undefined abi-variants.
11098         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11099         * sysdeps/unix/sysv/linux/i386/Implies: New file.
11100         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11101         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11102         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11103         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11104         Removed.
11105         (syscall-list-32-options): Likewise.
11106         (syscall-list-32-condition): Likewise.
11107         (syscall-list-64-options): Likewise.
11108         (syscall-list-64-condition): Likewise.
11109         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11110         macro.
11111         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11112         Renamed to ...
11113         (abi-*): This.
11114         (abi-64-ld-soname): New macro.
11115         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11116         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11117         Renamed to ...
11118         (abi-*): This.
11119         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11120         * sysdeps/x86_64/x32/shlib-versions: Likewise.
11121
11122 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
11123
11124         * sysdeps/unix/sysv/linux/kernel-features.h
11125         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11126         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11127         include <kernel-features.h>.
11128         [!__NR_ftruncate64]: Remove conditional code.
11129         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11130         [__NR_ftruncate64]: Make code unconditional.
11131         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11132         * sysdeps/unix/sysv/linux/truncate64.c: Do not
11133         include <kernel-features.h>.
11134         [!__NR_ftruncate64]: Remove conditional code.
11135         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11136         [__NR_ftruncate64]: Make code unconditional.
11137         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11139         include <kernel-features.h>.
11140         [!__NR_ftruncate64]: Remove conditional code.
11141         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11142         [__NR_ftruncate64]: Make code unconditional.
11143         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11145         include <kernel-features.h>.
11146         [!__NR_ftruncate64]: Remove conditional code.
11147         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11148         [__NR_ftruncate64]: Make code unconditional.
11149         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11150
11151         * configure.in (libc_cv_fpie): Weaken to a compile test using
11152         LIBC_TRY_CC_OPTION.
11153         * configure: Regenerated.
11154
11155 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11156
11157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11158         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11161         Refreshed.
11162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11163         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11164         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11165         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11166         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11167         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11168         Refreshed.
11169
11170 2012-05-27  David S. Miller  <davem@davemloft.net>
11171
11172         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11173         (___Q_zero): New.
11174         (__Q_simulate_exceptions): Return void.  Change to simulate
11175         exceptions by writing into the %fsr.
11176         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11177         (__Qp_handle_exceptions): Likewise.
11178         (numbers): Delete.
11179         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11180         __Qp_handle_exceptions.
11181         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11182         __Qp_handle_exceptions.
11183         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11184         as unused and give dummy FP_RND_NEAREST initializer.
11185         (FP_INHIBIT_RESULTS): Define.
11186         (___Q_simulate_exceptions): Update declaration.
11187         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11188         formatting.
11189         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11190         as unused and give dummy FP_RND_NEAREST initializer.
11191         (__Qp_handle_exceptions): Update declaration.
11192         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11193         formatting.
11194
11195 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
11196
11197         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11198         the temporary FPU control word.
11199         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11200         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11201         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11202         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11203         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11204         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11205         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11206         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11207         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11208         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11209         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11210
11211 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11212
11213         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11214         fields.
11215
11216 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
11217
11218         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11219         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11220         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11221         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11222         Likewise.
11223         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11224         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11225         Likewise.
11226
11227 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
11228
11229         * po/h.po: Update from translation team.
11230
11231 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
11232
11233         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11234
11235         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11236         handling of denormals.
11237         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11238         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11239         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11240         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11241         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11242         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11243         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11244         Likewise.
11245
11246 2012-05-26  Marek Polacek  <polacek@redhat.com>
11247
11248         [BZ #14152]
11249         * math/libm-test.inc (fma_test): Don't always expect underflow
11250         exception.
11251
11252 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11253
11254         [BZ #12416]
11255         * elf/tst-execstack.c: Include stackinfo.h.
11256         (do_test): Adjust test case to ensure that pthread_getattr_np
11257         behaviour remains the same after marking stack executable.
11258
11259 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
11260
11261         * sysdeps/unix/sysv/linux/kernel-features.h
11262         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11263         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11264         kernel-features.h.
11265         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11266         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11267         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11268         kernel-features.h.
11269         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11270         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11271
11272 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
11273
11274         * configure.in: Define the default includes to being none.
11275         * configure: Regenerated.
11276
11277 2012-05-25  Roland McGrath  <roland@hack.frob.com>
11278
11279         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11280         * sysdeps/x86_64/setjmp.S: Likewise.
11281         * sysdeps/i386/bsd-setjmp.S: Likewise.
11282         * sysdeps/i386/bsd-_setjmp.S: Likewise.
11283         * sysdeps/i386/setjmp.S: Likewise.
11284         * sysdeps/i386/__longjmp.S: Likewise.
11285         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11286         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11287
11288         * include/stap-probe.h: New file.
11289         * configure.in: Handle --enable-systemtap.
11290         * configure: Regenerated.
11291         * config.h.in (USE_STAP_PROBE): New #undef.
11292         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11293         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11294         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11295
11296 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
11297
11298         [BZ #13717]
11299         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11300         to 2.4.0 where earlier.
11301         * sysdeps/unix/sysv/linux/configure: Regenerated.
11302         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11303         <kernel-features.h>.
11304         [__ASSUME_32BITUIDS]: Make code unconditional.
11305         [!__ASSUME_32BITUIDS]: Remove conditional code.
11306         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11307         <kernel-features.h>.
11308         [__ASSUME_32BITUIDS]: Make code unconditional.
11309         [!__ASSUME_32BITUIDS]: Remove conditional code.
11310         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11311         [__ASSUME_32BITUIDS]: Make code unconditional.
11312         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11313         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11314         <kernel-features.h>.
11315         [__ASSUME_32BITUIDS]: Make code unconditional.
11316         [!__ASSUME_32BITUIDS]: Remove conditional code.
11317         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11318         <kernel-features.h>.
11319         [__ASSUME_32BITUIDS]: Make code unconditional.
11320         [!__ASSUME_32BITUIDS]: Remove conditional code.
11321         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11322         <kernel-features.h>.
11323         [__ASSUME_32BITUIDS]: Make code unconditional.
11324         [!__ASSUME_32BITUIDS]: Remove conditional code.
11325         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11326         <kernel-features.h>.
11327         [__ASSUME_32BITUIDS]: Make code unconditional.
11328         [!__ASSUME_32BITUIDS]: Remove conditional code.
11329         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11330         <kernel-features.h>.
11331         [__ASSUME_32BITUIDS]: Make code unconditional.
11332         [!__ASSUME_32BITUIDS]: Remove conditional code.
11333         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11334         <kernel-features.h>.
11335         [__ASSUME_32BITUIDS]: Make code unconditional.
11336         [!__ASSUME_32BITUIDS]: Remove conditional code.
11337         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11338         <kernel-features.h>.
11339         [__ASSUME_32BITUIDS]: Make code unconditional.
11340         [!__ASSUME_32BITUIDS]: Remove conditional code.
11341         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11342         <kernel-features.h>.
11343         [__ASSUME_32BITUIDS]: Make code unconditional.
11344         [!__ASSUME_32BITUIDS]: Remove conditional code.
11345         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11346         <kernel-features.h>.
11347         [__ASSUME_32BITUIDS]: Make code unconditional.
11348         [!__ASSUME_32BITUIDS]: Remove conditional code.
11349         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11350         <kernel-features.h>.
11351         [__ASSUME_32BITUIDS]: Make code unconditional.
11352         [!__ASSUME_32BITUIDS]: Remove conditional code.
11353         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11354         <kernel-features.h>.
11355         [__NR_setresgid] (__setresgid): Do not declare.
11356         [__ASSUME_32BITUIDS]: Make code unconditional.
11357         [!__ASSUME_32BITUIDS]: Remove conditional code.
11358         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11359         <kernel-features.h>.
11360         [__NR_setresuid] (__setresuid): Do not declare.
11361         [__ASSUME_32BITUIDS]: Make code unconditional.
11362         [!__ASSUME_32BITUIDS]: Remove conditional code.
11363         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11364         <kernel-features.h>.
11365         [__ASSUME_32BITUIDS]: Make code unconditional.
11366         [!__ASSUME_32BITUIDS]: Remove conditional code.
11367         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11368         <kernel-features.h>.
11369         [__ASSUME_32BITUIDS]: Make code unconditional.
11370         [!__ASSUME_32BITUIDS]: Remove conditional code.
11371         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11372         <kernel-features.h>.
11373         [__ASSUME_32BITUIDS]: Make code unconditional.
11374         [!__ASSUME_32BITUIDS]: Remove conditional code.
11375         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11376         <kernel-features.h>.
11377         [__ASSUME_32BITUIDS]: Make code unconditional.
11378         [!__ASSUME_32BITUIDS]: Remove conditional code.
11379         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11380         <kernel-features.h>.
11381         [__ASSUME_32BITUIDS]: Make code unconditional.
11382         [!__ASSUME_32BITUIDS]: Remove conditional code.
11383         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11384         <kernel-features.h>.
11385         [__ASSUME_32BITUIDS]: Make code unconditional.
11386         [!__ASSUME_32BITUIDS]: Remove conditional code.
11387         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11388         <kernel-features.h>.
11389         [__ASSUME_32BITUIDS]: Make code unconditional.
11390         [!__ASSUME_32BITUIDS]: Remove conditional code.
11391         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11392         <kernel-features.h>.
11393         [__ASSUME_32BITUIDS]: Make code unconditional.
11394         [!__ASSUME_32BITUIDS]: Remove conditional code.
11395         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11396         <kernel-features.h>.
11397         [__ASSUME_32BITUIDS]: Make code unconditional.
11398         [!__ASSUME_32BITUIDS]: Remove conditional code.
11399         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11400         <kernel-features.h>.
11401         [__ASSUME_32BITUIDS]: Make code unconditional.
11402         [!__ASSUME_32BITUIDS]: Remove conditional code.
11403         * sysdeps/unix/sysv/linux/kernel-features.h
11404         (__ASSUME_SETRESUID_SYSCALL): Remove.
11405         (__ASSUME_SETRESGID_SYSCALL): Likewise.
11406         (__ASSUME_32BITUIDS): Likewise.
11407         (__ASSUME_LDT_WORKS): Likewise.
11408         (__ASSUME_O_DIRECTORY): Likewise.
11409         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11410         architecture but not kernel version.
11411         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11412         (__ASSUME_MMAP2_SYSCALL): Likewise.
11413         (__ASSUME_STAT64_SYSCALL): Likewise.
11414         (__ASSUME_IPC64): Likewise.
11415         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11416         <kernel-features.h>.
11417         [__ASSUME_32BITUIDS]: Make code unconditional.
11418         [!__ASSUME_32BITUIDS]: Remove conditional code.
11419         * sysdeps/unix/sysv/linux/opendir.c: Do not include
11420         <kernel-features.h>.
11421         [__ASSUME_O_DIRECTORY]: Make code unconditional.
11422         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11423         132096]: Remove conditional code.
11424         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11425         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11426         <kernel-features.h>.
11427         [__ASSUME_32BITUIDS]: Make code unconditional.
11428         [!__ASSUME_32BITUIDS]: Remove conditional code.
11429         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11430         <kernel-features.h>.
11431         [__ASSUME_32BITUIDS]: Make code unconditional.
11432         [!__ASSUME_32BITUIDS]: Remove conditional code.
11433         * sysdeps/unix/sysv/linux/setegid.c: Do not include
11434         <kernel-features.h>.
11435         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11436         unconditional.
11437         (__setresgid): Do not declare.
11438         [__ASSUME_32BITUIDS]: Make code unconditional.
11439         [!__ASSUME_32BITUIDS]: Remove conditional code.
11440         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11441         <kernel-features.h>.
11442         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11443         unconditional.
11444         (__setresuid): Do not declare.
11445         [__ASSUME_32BITUIDS]: Make code unconditional.
11446         [!__ASSUME_32BITUIDS]: Remove conditional code.
11447         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11448         <kernel-features.h>.
11449         [__ASSUME_32BITUIDS]: Make code unconditional.
11450         [!__ASSUME_32BITUIDS]: Remove conditional code.
11451         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11452         <kernel-features.h>.
11453         [__ASSUME_32BITUIDS]: Make code unconditional.
11454         [!__ASSUME_32BITUIDS]: Remove conditional code.
11455
11456 2012-05-25  Richard Henderson  <rth@twiddle.net>
11457
11458         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11459         dl_hwcap to ifunc resolver.
11460         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11461         elf_ifunc_invoke.
11462         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11463         dl_hwcap to ifunc resolver.
11464         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11465
11466 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
11467
11468         [BZ #14153]
11469         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11470         for |x| <= 2**-26, not 2**-57.
11471         * math/libm-test.inc (acos_test): Do not allow spurious underflow
11472         exception.
11473
11474 2012-05-24  Jeff Law  <law@redhat.com>
11475
11476         * stdio-common/Makefile (tests): Add bug25.
11477         * stdio-common/bug25.c: New test.
11478
11479 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
11480
11481         [BZ #13576]
11482         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11483         multiple of MALLOC_ALIGNMENT in size.
11484         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11485
11486 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
11487
11488         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11489         Require >= 256.
11490         (FILENAME_MAX): Use macro-int-constant.
11491         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
11492         (_IOFBF): Use macro-int-constant.
11493         (_IOLBF): Likewise.
11494         (_IONBF): Likewise.
11495         (SEEK_CUR): Likewise.
11496         (SEEK_END): Likewise.
11497         (SEEK_SET): Likewise.
11498         (TMP_MAX): Likewise.
11499         (EOF): Use macro-int-constant.  Require < 0.
11500         (NULL): Use macro-constant.  Require == 0.
11501         (stdin): Require type to be FILE *.
11502         (stdout): Likewise.
11503         (stderr): Likewise.
11504         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11505         macro-int-constant.
11506         (EXIT_SUCCESS): Likewise.
11507         (NULL): Use macro-constant.  Require == 0.
11508         (RAND_MAX): Use macro-int-constant.
11509         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11510         [C99-based standards] (strtof): Require function.
11511         [C99-based standards] (strtold): Likewise.
11512         [C99-based standards] (strtoll): Likewise.
11513         [C99-based standards] (strtoull): Likewise.
11514         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11515         [ISO || ISO99 || ISO11] (limits.h): Likewise.
11516         [ISO || ISO99 || ISO11] (math.h): Likewise.
11517         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11518         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11519         [ISO || ISO99 || ISO11] (*_t): Do not allow.
11520
11521 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
11522
11523         [BZ #14132]
11524         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11525         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11526         * intl/dgettext.c (DCGETTEXT): Likewise.
11527         * intl/gettext.c (DCGETTEXT): Likewise.
11528         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11529         * posix/regex_internal.h (gettext): Likewise.
11530         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11531         Remove declaration.
11532         * include/argz.h (__argz_count_internal)
11533         (__argz_stringify_internal): Remove declaration.
11534         (__argz_count, __argz_stringify): Declare hidden proto.
11535         * intl/dcgettext.c: Remove use of INTDEF.
11536         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11537         * string/argz-stringify.c: Likewise.
11538         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11539         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11540         Declare hidden proto.
11541         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11542         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11543         Declare hidden proto.
11544         * include/stdio.h (__asprintf_internal): Don't declare.
11545         (__asprintf): Don't define as macro.  Declare hidden proto.
11546         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11547         (__fsetlocking): Declare hidden proto.
11548         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11549         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11550         hidden proto.
11551         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11552         (_IO_setlinebuf): Remove use of INTUSE.
11553         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11554         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11555         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11556         Remove declaration.
11557         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11558         (_IO_do_flush): Remove use of INTUSE.
11559         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11560         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11561         (_IO_adjust_column, _IO_least_wmarker)
11562         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11563         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11564         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11565         (_IO_default_doallocate, _IO_wdefault_doallocate)
11566         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11567         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11568         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11569         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11570         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11571         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11572         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11573         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11574         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11575         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11576         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11577         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11578         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11579         proto.
11580         (_IO_flush_all_internal, _IO_adjust_column_internal)
11581         (_IO_default_uflow_internal, _IO_default_finish_internal)
11582         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11583         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11584         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11585         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11586         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11587         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11588         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11589         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11590         (_IO_file_close_internal, _IO_file_close_it_internal)
11591         (_IO_file_underflow_internal, _IO_file_overflow_internal)
11592         (_IO_file_init_internal, _IO_file_attach_internal)
11593         (_IO_file_fopen_internal, _IO_file_read_internal)
11594         (_IO_file_sync_internal, _IO_file_seek_internal)
11595         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11596         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11597         (_IO_str_underflow_internal, _IO_str_overflow_internal)
11598         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11599         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11600         (_IO_list_all_internal, _IO_link_in_internal)
11601         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11602         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11603         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11604         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11605         (_IO_do_write_internal, _IO_padn_internal)
11606         (_IO_getline_info_internal, _IO_getline_internal)
11607         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11608         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11609         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11610         (_IO_vfscanf_internal, _IO_vfprintf_internal)
11611         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11612         (_IO_init_internal, _IO_un_link_internal): Don't declare.
11613         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11614         with libc_hidden_ver, remove use of INTUSE.
11615         * libio/genops.c: Likewise.
11616         * libio/freopen.c: Likewise.
11617         * libio/freopen64.c: Likewise.
11618         * libio/iofclose.c: Likewise.
11619         * libio/iofdopen.c: Likewise.
11620         * libio/iofflush.c: Likewise.
11621         * libio/iofflush_u.c: Likewise.
11622         * libio/iofgets.c: Likewise.
11623         * libio/iofgets_u.c: Likewise.
11624         * libio/iofopen.c: Likewise.
11625         * libio/iofopncook.c: Likewise.
11626         * libio/iofread.c: Likewise.
11627         * libio/iofread_u.c: Likewise.
11628         * libio/ioftell.c: Likewise.
11629         * libio/iofwrite.c: Likewise.
11630         * libio/iogetline.c: Likewise.
11631         * libio/iogets.c: Likewise.
11632         * libio/iogetwline.c: Likewise.
11633         * libio/iopadn.c: Likewise.
11634         * libio/iopopen.c: Likewise.
11635         * libio/ioseekoff.c: Likewise.
11636         * libio/ioseekpos.c: Likewise.
11637         * libio/iosetbuffer.c: Likewise.
11638         * libio/iosetvbuf.c: Likewise.
11639         * libio/ioungetc.c: Likewise.
11640         * libio/ioungetwc.c: Likewise.
11641         * libio/iovdprintf.c: Likewise.
11642         * libio/iovsprintf.c: Likewise.
11643         * libio/iovsscanf.c: Likewise.
11644         * libio/memstream.c: Likewise.
11645         * libio/obprintf.c: Likewise.
11646         * libio/oldfileops.c: Likewise.
11647         * libio/oldiofclose.c: Likewise.
11648         * libio/oldiofdopen.c: Likewise.
11649         * libio/oldiofopen.c: Likewise.
11650         * libio/oldiopopen.c: Likewise.
11651         * libio/oldstdfiles.c: Likewise.
11652         * libio/putc.c: Likewise.
11653         * libio/setbuf.c: Likewise.
11654         * libio/setlinebuf.c: Likewise.
11655         * libio/stdfiles.c: Likewise.
11656         * libio/strops.c: Likewise.
11657         * libio/vasprintf.c: Likewise.
11658         * libio/vscanf.c: Likewise.
11659         * libio/vsnprintf.c: Likewise.
11660         * libio/vswprintf.c: Likewise.
11661         * libio/wfiledoalloc.c: Likewise.
11662         * libio/wfileops.c: Likewise.
11663         * libio/wgenops.c: Likewise.
11664         * libio/wmemstream.c: Likewise.
11665         * libio/wstrops.c: Likewise.
11666         * libio/__fpurge.c: Likewise.
11667         * libio/__fsetlocking.c: Likewise.
11668         * assert/assert.c: Likewise.
11669         * debug/fgets_chk.c: Likewise.
11670         * debug/fgets_u_chk.c: Likewise.
11671         * debug/fread_chk.c: Likewise.
11672         * debug/fread_u_chk.c: Likewise.
11673         * debug/gets_chk.c: Likewise.
11674         * debug/obprintf_chk.c: Likewise.
11675         * debug/vasprintf_chk.c: Likewise.
11676         * debug/vdprintf_chk.c: Likewise.
11677         * debug/vsnprintf_chk.c: Likewise.
11678         * debug/vsprintf_chk.c: Likewise.
11679         * malloc/mtrace.c: Likewise.
11680         * misc/error.c: Likewise.
11681         * misc/syslog.c: Likewise.
11682         * stdio-common/asprintf.c: Likewise.
11683         * stdio-common/fxprintf.c: Likewise.
11684         * stdio-common/getw.c: Likewise.
11685         * stdio-common/isoc99_fscanf.c: Likewise.
11686         * stdio-common/isoc99_scanf.c: Likewise.
11687         * stdio-common/isoc99_vfscanf.c: Likewise.
11688         * stdio-common/isoc99_vscanf.c: Likewise.
11689         * stdio-common/isoc99_vsscanf.c: Likewise.
11690         * stdio-common/printf-prs.c: Likewise.
11691         * stdio-common/printf_fp.c: Likewise.
11692         * stdio-common/printf_fphex.c: Likewise.
11693         * stdio-common/printf_size.c: Likewise.
11694         * stdio-common/putw.c: Likewise.
11695         * stdio-common/scanf.c: Likewise.
11696         * stdio-common/sprintf.c: Likewise.
11697         * stdio-common/tmpfile.c: Likewise.
11698         * stdio-common/vfprintf.c: Likewise.
11699         * stdio-common/vfscanf.c: Likewise.
11700         * stdlib/strfmon_l.c: Likewise.
11701         * sunrpc/openchild.c: Likewise.
11702         * sunrpc/xdr_stdio.c: Likewise.
11703         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11704         * sysdeps/mach/hurd/tmpfile.c: Likewise.
11705
11706 2012-05-24  Roland McGrath  <roland@hack.frob.com>
11707
11708         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11709
11710         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11711         in the third column, to generate for the shared library an IFUNC
11712         that uses _dl_vdso_vsym.
11713         * Makerules (COMPILE.c, compile-stdin.c): New variables.
11714         * Makeconfig (object-suffixes-noshared): New variable.
11715
11716         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11717         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11718         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11719         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11720
11721         [BZ #14132]
11722         * include/sys/time.h (__gettimeofday): Remove macro.
11723         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11724         * time/gettimeofday.c (__gettimeofday): Remove #undef.
11725         Remove INTDEF.
11726         (__gettimeofday): Add libc_hidden_def.
11727         (gettimeofday): Add libc_hidden_weak.
11728         * sysdeps/mach/gettimeofday.c: Likewise.
11729         * sysdeps/posix/gettimeofday.c: Likewise.
11730         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11731         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11732         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11733         (__gettimeofday_internal): Remove strong_alias.
11734         (__gettimeofday): Add libc_hidden_def.
11735         (gettimeofday): Add libc_hidden_weak.
11736         * sysdeps/unix/syscalls.list (gettimeofday):
11737         Remove __gettimeofday_internal alias.
11738
11739 2012-05-24  Daniel Jacobowitz  <drow@false.org>
11740             H.J. Lu  <hongjiu.lu@intel.com>
11741
11742         [BZ #12495]
11743         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11744         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11745         (largebin_index_32_big): New.
11746         (largebin_index): Use it for 16-byte alignment.
11747         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
11748         correction with front_misalign.
11749
11750 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
11751
11752         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11753         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11754         Likewise.
11755         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11756         Likewise.
11757         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11758         Likewise.
11759         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11760         Likewise.
11761         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11762         Likewise.
11763         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11764         Likewise.
11765         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11766         Likewise.
11767         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11768         Likewise.
11769         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11770         Likewise.
11771         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11772         Likewise.
11773         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11774         Likewise.
11775         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11776         Likewise.
11777
11778         * scripts/data/c++-types-x32-linux-gnu.data: New file.
11779         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11780
11781 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
11782
11783         [BZ #10846]
11784         [BZ #14036]
11785         * math/libm-test.inc (exp_test): Add test from bug 14036.
11786         (pow_test): Add test from bug 10846.
11787
11788         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11789         and other flags.
11790         (special_function): Do not include flags in test name.
11791         (parse_args): Likewise.
11792         * sysdeps/i386/fpu/libm-test-ulps: Update.
11793         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11794         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11795         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11797
11798         * math/gen-libm-test.pl (%beautify): Add entries for underflow
11799         exceptions.
11800         * math/libm-test.inc ("Philosophy"): Update comment about
11801         exception testing.
11802         (UNDERFLOW_EXCEPTION): New macro.
11803         (UNDERFLOW_EXCEPTION_OK): Likewise.
11804         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11805         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11806         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11807         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11808         (INVALID_EXCEPTION_OK): Update value.
11809         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11810         (OVERFLOW_EXCEPTION_OK): Likewise.
11811         (IGNORE_ZERO_INF_SIGN): Likewise.
11812         (test_exceptions): Handle underflow exceptions.
11813         (acos_test): Update for underflow exception expectations.
11814         (cexp_test): Likewise.
11815         (clog_test): Likewise.
11816         (clog10_test): Likewise.
11817         (csqrt_test): Likewise.
11818         (ctan_test): Likewise.
11819         (ctanh_test): Likewise.
11820         (exp_test): Likewise.
11821         (exp10_test): Likewise.
11822         (exp2_test): Likewise.
11823         (expm1_test): Likewise.
11824         (fma_test): Likewise.
11825         (j0_test): Likewise.
11826         (jn_test): Likewise.
11827         (nexttoward_test): Likewise.
11828         (pow_test): Likewise.
11829         (scalbn_test): Likewise.
11830         (scalbln_test): Likewise.
11831         (tan_test): Likewise.
11832         (y1_test): Likewise.
11833         * sysdeps/i386/fpu/libm-test-ulps: Update.
11834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11835
11836 2012-05-23  David S. Miller  <davem@davemloft.net>
11837
11838         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11839         (__libc_sigaction): Remove unused local variables.
11840
11841 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
11842
11843         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11844
11845 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
11846
11847         mktime: avoid signed integer overflow
11848         * time/mktime.c (__mktime_internal): Do not mishandle the case
11849         where diff == INT_MIN.
11850
11851         mktime: simplify computation of average
11852         * time/mktime.c (ranged_convert): Use new time_t_avg function
11853         instead of rolling our own (probably-slower) code.
11854
11855         mktime: do not assume signed right shift propagates sign bit
11856         * time/mktime.c (isdst_differ): New static function.
11857         (__mktime_internal): No need to normalize tm_isdst now.
11858         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11859         tm_isdst values.
11860
11861         mktime: merge another wrapv change from gnulib
11862         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11863         from some compilers.
11864
11865         mktime: remove incorrect attempt at unusual arithmetics
11866         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11867         The code didn't really work on such machines anyway.
11868         (TYPE_MINIMUM): Assume two's complement.
11869         (twos_complement_arithmetic): Verify that long_int and time_t
11870         are two's complement (or unsigned, in the latter case).
11871
11872         mktime: check signed shifts on long_int and time_t, too
11873         * time/mktime.c (SHR): Check that shifts work as desired
11874         on the types long_int and time_t too, as SHR is used on
11875         such types.
11876
11877         mktime: do not assume 'long' is wide enough
11878         * time/mktime.c (verify): Move decl up.
11879         (long_int): New type.
11880         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11881         to remove assumption in the code that 'long' is wide enough to
11882         store year values.  This assumption is not true on x32 and on
11883         some non-glibc platforms.
11884
11885         mktime: merge wrapv change from gnulib
11886         * time/mktime.c (WRAPV): New macro.
11887         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11888         (guess_time_tm, __mktime_internal): Do not assume that signed
11889         integer overflow wraps around; modern compilers generate code
11890         where this assumption is no longer valid.
11891
11892 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
11893
11894         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11895         Replace "jmp L(pseudo_end)" with "ret".
11896         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11897         Likewise.
11898
11899 2012-05-23  Andreas Jaeger  <aj@suse.de>
11900
11901         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11902         * sysdeps/unix/sysv/linux/poll.c: Remove file.
11903
11904 2012-05-23  Andreas Jaeger  <aj@suse.de>
11905             Maximilian Attems  <max@stro.at>
11906
11907         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11908         New macros.
11909
11910 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
11911
11912         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11913         code so that pseudo_end is just ret and the stack pointer is
11914         correct also for static library in error case.
11915
11916 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
11917
11918         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11919         move to syscalls.list.
11920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11924
11925         * manual/install.texi (Running make install): Do not mention Linux
11926         kernel version for which pt_chown is not needed.
11927         (Linux): Do not mention problems with nscd with 2.0 kernels.
11928         * INSTALL: Regenerated.
11929
11930 2012-05-23  Andreas Jaeger  <aj@suse.de>
11931
11932         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11933         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11934         macro.
11935         * sysdeps/unix/sysv/linux/s390/bits/mman.h
11936         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11937         * sysdeps/unix/sysv/linux/sh/bits/mman.h
11938         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11939         * sysdeps/unix/sysv/linux/i386/bits/mman.h
11940         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11941         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11942         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11943         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11944         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11945         * sysdeps/unix/sysv/linux/bits/in.h
11946         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11947
11948 2012-05-22  Roland McGrath  <roland@hack.frob.com>
11949
11950         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11951         (PREPARE_VERSION): Just use assert instead, it will be elided
11952         under [NDEBUG] anyway.
11953
11954 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11955
11956         * sysdeps/unix/sysv/linux/Makefile: Include
11957         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
11958         (sysdep_routines): Remove sysctl.
11959         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11960         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11961         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11962         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11963         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11964
11965 2012-05-22  Andreas Jaeger  <aj@suse.de>
11966
11967         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11968         that pseudo_end is just ret and the stack pointer is correct also
11969         for static library in error case.
11970
11971 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
11972
11973         [BZ #14122]
11974         * nss/nsswitch.c (defconfig_entries): New variable.
11975         (__nss_database_lookup): Don't leak defconfig entries.
11976         (nss_parse_service_list): Don't leak on error paths.
11977         (free_database_entries): New function.
11978         (free_defconfig): New function.
11979         (free_mem): Move common code to free_database_entries.
11980
11981 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11982
11983         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11984         Add arch_prctl.
11985         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11986
11987         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11988         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11989         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11990         New macro.
11991         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11992         (INTERNAL_SYSCALL_TYPES): Likewise.
11993         (LOAD_ARGS_TYPES_[1-6]): Likewise.
11994         (LOAD_REGS_TYPES_[1-6]): Likewise.
11995         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11996         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11997
11998 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11999
12000         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12001         copysignl for GLIBC_2_0.
12002         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12003         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12004         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12005         logbl for GLIBC_2_0.
12006         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12007         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12008
12009 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12010
12011         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12012         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12013
12014         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12015         Use "neg %eax".
12016
12017         * time/mktime.c: Update copyright years.
12018
12019 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
12020
12021         mktime: merge comment-quoting-style change from gnulib
12022         * time/mktime.c: Quote 'like this' in comments.
12023         The GNU coding standards suggest that we no longer quote `like this',
12024         as "`" and "'" are typically rendered asymmetrically nowadays.
12025         The typical gnulib style is to quote 'like this' when quoting
12026         code, and "like this" when quoting English.
12027
12028         * time/mktime.c (compile-command): Add "-I.".
12029
12030         mktime: merge mktime-internal.h change from gnulib
12031         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12032
12033         mktime: merge time_r change from gnulib
12034         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12035
12036         mktime: merge DEBUG change from gnulib
12037         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12038         case system <time.h> has a #define.
12039
12040         mktime: merge <sys/types.h> change from gnulib
12041         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12042         since <time.t> is now guaranteed to define time_t.
12043
12044         mktime: merge HAVE_CONFIG_H change from gnulib
12045         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12046
12047 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12048
12049         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12050         Use "neg %eax".
12051
12052         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12053         __rlim_t cast.
12054         (struct rusage): Use anonymous union to pad each field to
12055         __syscall_slong_t.
12056
12057 2012-05-21  David S. Miller  <davem@davemloft.net>
12058
12059         * Makefules (o-iterator): Remove .s cases.
12060         (compile-command.s): Delete.
12061         (COMPILE.s): Delete.
12062         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12063
12064 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
12065
12066         * configure.in (libc_cv_predef_stack_protector): Only consider
12067         "foobar" and "__stack_chk_fail" lines in libc_undefs.
12068         * configure: Regenerated.
12069
12070 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12071
12072         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12073         New macro.  Use R*LP on int and pointer.
12074         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12075         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12076         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12077         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12078
12079         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12080         [__WORDSIZE_TIME64_COMPAT32] instead of
12081         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12082         (struct utmp): Likewise.
12083         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12084         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12085         Renamed to ...
12086         (__WORDSIZE_TIME64_COMPAT32): This.
12087         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12088         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12089         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12090         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12091         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12092         (__WORDSIZE_TIME64_COMPAT32): New macro.
12093
12094 2012-05-21  Andreas Jaeger  <aj@suse.de>
12095
12096         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12097         only if [SHARED]. Add prototype for __wcschr_ia32.
12098
12099 2012-05-21  Roland McGrath  <roland@hack.frob.com>
12100
12101         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12102         of %rbp unmolested in the jmp_buf while mangling the low bits.
12103         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12104         unmolested high bits of %rbp while demangling the low bits.
12105         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12106
12107 2012-05-21  Andreas Jaeger  <aj@suse.de>
12108
12109         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12110         * sunrpc/svc_simple.c: Use it for registerrpc.
12111         * sunrpc/xcrypt.c: Use it for passwd2des.
12112
12113         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12114
12115 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12116
12117         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12118         Don't define if [__SYSCALL_WORDSIZE != 32].
12119         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12120         New macro.
12121
12122 2012-05-21  Bruno Haible  <bruno@clisp.org>
12123             Andreas Jaeger  <aj@suse.de>
12124
12125         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12126         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12127         inptr and inend for must_buffer_ch.
12128         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12129         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12130         * stdio-common/Makefile (tests): Remove bug15.
12131         (bug15-ENV): Remove macro.
12132         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12133         anymore.
12134
12135 2012-05-19  Andreas Jaeger  <aj@suse.de>
12136             Roland McGrath  <roland@hack.frob.com>
12137
12138         * manual/contrib.texi: Completely rewritten. It contains now an
12139         alphabetical list of contributors and their contributions.
12140
12141 2012-05-21  Richard Henderson  <rth@twiddle.net>
12142
12143         * misc/getauxval.c (__getauxval): Use unsigned long int.
12144         * misc/sys/auxv.h: Include <sys/cdefs.h>.
12145         (getauxval): Use unsigned long int.
12146
12147 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12148
12149         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12150
12151 2012-05-21  Roland McGrath  <roland@hack.frob.com>
12152
12153         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12154         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12155         __alignof__ (long double).
12156
12157 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12158
12159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12160
12161 2012-05-20  Richard Henderson  <rth@twiddle.net>
12162
12163         * misc/getauxval.c: New file.
12164         * misc/sys/auxv.h: New file.
12165         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12166         (routines): Add getauxval.
12167         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12168         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12169         * elf/dl-sysdep.c (_dl_auxv): Remove.
12170         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12171         * elf/dl-support.c (_dl_auxv): New variable.
12172         (_dl_aux_init): Initialize it.
12173         * manual/startup.texi (Auxiliary Vector): New node.
12174         * sysdeps/generic/bits/hwcap.h: New file.
12175         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12176         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
12177         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12178         * sysdeps/sparc/sysdep.h: ... here.  Include it.
12179         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12180         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
12181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12182         Update.
12183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12184         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12185         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12186         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12190         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12191
12192 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12193
12194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12195
12196 2012-05-19  David S. Miller  <davem@davemloft.net>
12197
12198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12199
12200 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
12201
12202         [BZ #14123]
12203         * math/s_ccosh.c: Include <float.h>
12204         (__ccosh): Avoid internal overflow calculating sinh and cosh
12205         values before multiplying by sin and cos values.
12206         * math/s_ccoshf.c: Likewise.
12207         * math/s_ccoshl.c: Likewise.
12208         * math/s_csin.c: Likewise.
12209         * math/s_csinf.c: Likewise.
12210         * math/s_csinl.c: Likewise.
12211         * math/s_csinh.c: Likewise.
12212         * math/s_csinhf.c: Likewise.
12213         * math/s_csinhl.c: Likewise.
12214         * math/libm-test.inc (ccos_test): Add more tests.
12215         (ccosh_test): Likewise.
12216         (csin_test): Likewise.
12217         (csinh_test): Likewise.
12218         * sysdeps/i386/fpu/libm-test-ulps: Update.
12219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12220
12221 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
12222
12223         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12224         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12225
12226         * sysdeps/x86_64/x32/_itoa.h: Add comment.
12227
12228 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
12229
12230         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12231         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12232         * sysdeps/powerpc/soft-fp/Versions: Likewise.
12233         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12234         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12235         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12236         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12237         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12238         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12239         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12240         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12241         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12242         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12243         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12244         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12245         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12246         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12247         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12248         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12249         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12250         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12251         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12252         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12253         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12254         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12255         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12256         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12257         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12258         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12259         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12260         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12261
12262 2012-05-18  Andreas Jaeger  <aj@suse.de>
12263
12264         * csu/.gitignore: Delete.
12265
12266 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12267
12268         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12269         (timex): Use __syscall_slong_t.
12270
12271 2012-05-18  Andreas Jaeger  <aj@suse.de>
12272             Carlos O'Donell  <carlos_odonell@mentor.com>
12273
12274         * manual/install.texi (Configuring and compiling): Update
12275         description about files modified in the source directory.
12276         * INSTALL: Regenerated.
12277
12278 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12279
12280         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12281         value.  Use "or" to set return value to -1.
12282         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12283         negate return value.
12284
12285 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12286
12287         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12288         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12289         failure if the compiler has Graphite support disabled.
12290         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12291         Likewise.
12292         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12293         CFLAGS-memmove.c): Likewise.
12294         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12295         Likewise.
12296
12297 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12298
12299         * sysdeps/x86_64/x32/_itoa.h: New file.
12300
12301         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12302         getdents system call only if kernel and user dirents have the
12303         same d_ino and d_off.
12304
12305         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12306         LLONG_MAX != LONG_MAX.
12307         (_itoa_word): Use _ITOA_WORD_TYPE on value.
12308         (_fitoa_word): Likewise.
12309
12310         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12311         years.
12312         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12313         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12314         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12315
12316         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12317         include <bits/wordsize.h>.  Check __x86_64__ instead of
12318         __WORDSIZE.
12319         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12320         if __x86_64__ is defined.  Use anonymous union on fpstate.
12321
12322         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12323         anonymous union.
12324
12325 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
12326
12327         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12328         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12329         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12330         Refer to _rtld_local_ro instead of _rtld_global_ro.
12331         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12332         Likewise.
12333         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12334         Likewise.
12335         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12336         Likewise.
12337         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12338         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12339         of _rtld_global, and rtld_progname instead of _dl_argv[0].
12340
12341         * sysdeps/powerpc/powerpc32/dl-machine.c
12342         (__elf_machine_runtime_setup) [PROF]: Don't reference
12343         _dl_prof_resolve.
12344
12345 2012-05-18  Andreas Jaeger  <aj@suse.de>
12346
12347         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12348         function only available for GCCs before 3.4 since GCC 3.4
12349         introduced a builtin.
12350         (lrint): Likewise.
12351         (llrintf): Likewise.
12352         (llrint): Likewise.
12353         (fmaxf): Likewise.
12354         (fmax): Likewise.
12355         (fminf): Likewise.
12356         (fmin): Likewise.
12357         (rint): Likewise.
12358         (rintf): Likewise.
12359         (nearbyint): Likewise.
12360         (nearbyintf): Likewise.
12361         (ceil): Likewise.
12362         (ceilf): Likewise.
12363         (floor): Likewise.
12364         (floorf): Likewise.
12365
12366 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12367
12368         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12369         on both fields and cast pointer to __syscall_ulong_t.
12370
12371         * bits/types.h (__fsword_t): New type.
12372         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12373         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12374         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12375         (__FSWORD_T_TYPE): Likewise.
12376         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12377         (__FSWORD_T_TYPE): Likewise.
12378         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12379         (__FSWORD_T_TYPE): Likewise.
12380         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12381         (__FSWORD_T_TYPE): Likewise.
12382         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12383         __SWORD_TYPE with __fsword_t.
12384         (statfs64): Likewise.
12385
12386 2012-05-17  David S. Miller  <davem@davemloft.net>
12387
12388         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12389
12390 2012-05-17  Andreas Jaeger  <aj@suse.de>
12391
12392         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12393         warning.
12394
12395 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12396
12397         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12398
12399 2012-05-17  Andreas Jaeger  <aj@suse.de>
12400
12401         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12402         when it is used.
12403
12404 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
12405
12406         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12407
12408 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
12409
12410         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12411         * sysdeps/x86_64/tst-mallocalign1.c: New file.
12412
12413 2012-05-17  Andreas Jaeger  <aj@suse.de>
12414             Carlos O'Donell  <carlos_odonell@mentor.com>
12415
12416         [BZ #14059]
12417         * sysdeps/x86_64/multiarch/init-arch.h
12418         (bit_YMM_Usable): Rename to...
12419         (bit_AVX_Usable): ... this.
12420         (bit_FMA4_Usable): New macro.
12421         (bit_XMM_state): New macro.
12422         (bit_YMM_state): New macro.
12423         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12424         [__ASSEMBLER__] (index_AVX_Usable): ... this.
12425         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12426         (CPUID_OSXSAVE): New macro.
12427         (CPUID_AVX): New macro.
12428         (CPUID_FMA4): New macro.
12429         (index_YMM_Usable): Rename to...
12430         (index_AVX_Usable): ... this.
12431         (HAS_AVX): Use HAS_ARCH_FEATURE.
12432         (HAS_FMA4): Likewise.
12433         (HAS_YMM_USABLE): Remove.
12434         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12435         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12436         are present.
12437         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12438         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12439         * sysdeps/x86_64/multiarch/Makefile: Likewise.
12440         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12441         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12442
12443 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
12444
12445         * math/libm-test.c: Support platforms without multiple rounding modes.
12446         * math/bug-nextafter.c: Support platforms without FP exceptions.
12447         * math/bug-nexttoward.c: Likewise.
12448         * math/test-fenv.c: Likewise.
12449         * math/test-misc.c: Likewise.
12450         * stdlib/bug-getcontext.c: Likewise.
12451
12452 2012-05-17  Andreas Jaeger  <aj@suse.de>
12453
12454         * manual/examples/search.c (critter_cmp): Change signature to
12455         avoid warnings.
12456         * manual/string.texi (Collation Functions): Likewise.
12457
12458 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12459
12460         * bits/types.h: Fold copyright years.
12461         * bits/typesizes.h: Likewise.
12462         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12463         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12464         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12465         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12466         * time/time.h: Likewise.
12467
12468 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
12469
12470         [BZ #208]
12471         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12472         in instead of returning them.  Return void.
12473         (__libc_mallinfo): Accumulate over all arenas.
12474         (__malloc_stats): Adjust for change in int_mallinfo interface.
12475
12476 2012-05-16  Roland McGrath  <roland@hack.frob.com>
12477
12478         [BZ #10375]
12479         * configure.in (NM): Add AC_CHECK_TOOL for it.
12480         (libc_extra_cflags): New substituted variable.
12481         Check for -fstack-protector being used implicitly.
12482         * configure: Regenerated.
12483         * config.make.in (config-extra-cflags): New variable,
12484         gets @libc_extra_cflags@.
12485         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12486
12487         [BZ #10375]
12488         * configure.in: Check for _FORTIFY_SOURCE being predefined.
12489         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12490         * configure: Regenerated.
12491         * config.make.in (CPPUNDEFS): New substituted variable.
12492         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12493         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12494         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12495
12496 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12497
12498         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12499         (mq_attr): Use __syscall_slong_t.
12500
12501 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12502
12503         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12504         Check __x86_64__ instead of __WORDSIZE.
12505         (_STAT_VER_LINUX): Likewise.
12506         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
12507         __syscall_ulong_t and __syscall_slong_t.
12508         (stat64): Likewise.
12509
12510 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12511
12512         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12513
12514 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12515
12516         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12517
12518 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12519
12520         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12521         __syscall_ulong_t.
12522
12523         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12524         include <bits/wordsize.h>.  Check __x86_64__ instead of
12525         __WORDSIZE.
12526         (greg_t): Use "__extension__ long long int" if __x86_64__ is
12527         defined.
12528         (mcontext_t): Replace "unsigned long" with "unsigned long long".
12529
12530         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12531         include <bits/wordsize.h>.  Check __x86_64__ instead of
12532         __WORDSIZE.
12533         (user_regs_struct): Use "__extension__ unsigned long long"
12534         instead of "unsigned long" if __x86_64__ is defined.
12535         (user): Likewise.  Pad after pointer field if __ILP32__ is
12536         defined.
12537
12538 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
12539
12540         * configure.in (makeinfo): Require version 4.5 or later.  Allow
12541         versions 5 to 9.
12542         * configure: Regenerated.
12543         * manual/install.texi (texinfo): Increase version requirement to
12544         4.5 or later.
12545         * INSTALL: Regenerated.
12546
12547         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12548
12549 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
12550
12551         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12552
12553         * sysdeps/x86_64/x32/ffs.c: New file.
12554
12555         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12556         __syscall_ulong_t.
12557         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12558         defined.  Use __syscall_ulong_t.
12559         (shminfo): Use __syscall_ulong_t.
12560         (shm_info): Likewise.
12561
12562         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12563         __syscall_ulong_t.
12564
12565         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12566         <bits/wordsize.h>.
12567         (msgqnum_t): Use __syscall_ulong_t.
12568         (msglen_t): Likewise.
12569         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
12570         __syscall_ulong_t.
12571
12572         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12573         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12574
12575         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12576
12577         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12578         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12579
12580         * sysvipc/sys/msg.h (msgbuf): Replace long int with
12581         __syscall_slong_t.
12582
12583         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12584         include <bits/wordsize.h>.  Check __x86_64__ instead of
12585         __WORDSIZE.
12586
12587         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12588         "unsigned long long int" if __x86_64__ is defined.
12589         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12590
12591         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12592         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12593         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12594
12595         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12596         <stdint.h>.
12597         (GET_PC): Cast to uintptr_t first.
12598         (GET_FRAME): Likewise.
12599         (GET_STACK): Likewise.
12600
12601         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12602         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12603         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12604         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12605         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12606         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12607         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12608         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12609         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12610         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12611         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12612         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12613         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12614         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12615         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12616         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12617         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12618         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12619         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12620         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12621         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12622         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12623         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12624         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12625         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12626         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12627         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12628         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12629         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12630
12631 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
12632
12633         * Makerules (+depfiles): Also collect depfiles from .oS in
12634         $(extra-objs).
12635         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12636         .oS, $(libnldbl-routines)).
12637
12638         * Makerules (native-compile-mkdep-flags): Define.
12639         * sunrpc/Makefile (extra-objs): Add $(addprefix
12640         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12641         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12642         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
12643         calling $(make-target-directory).
12644
12645 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12646
12647         * bits/types.h (__snseconds_t): Removed.
12648         * time/time.h (struct timespec): Replace __snseconds_t with
12649         __syscall_slong_t.
12650         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12651         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12652         Likewise.
12653         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12654         (__SNSECONDS_T_TYPE): Likewise.
12655         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12656         (__SNSECONDS_T_TYPE): Likewise.
12657         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12658         (__SNSECONDS_T_TYPE): Likewise.
12659
12660 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12661
12662         * sysdeps/mach/hurd/bits/typesizes.h
12663         (__SYSCALL_SLONG_TYPE): New macro.
12664         (__SYSCALL_ULONG_TYPE): Likewise.
12665
12666 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12667
12668         * bits/types.h (__syscall_slong_t): New type.
12669         (__syscall_ulong_t): Likewise.
12670
12671         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12672         (__SYSCALL_ULONG_TYPE): Likewise.
12673         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12674         (__SYSCALL_SLONG_TYPE): Likewise.
12675         (__SYSCALL_ULONG_TYPE): Likewise.
12676         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12677         (__SYSCALL_SLONG_TYPE): Likewise.
12678         (__SYSCALL_ULONG_TYPE): Likewise.
12679         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12680         (__SYSCALL_SLONG_TYPE): Likewise.
12681         (__SYSCALL_ULONG_TYPE): Likewise.
12682
12683 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12684
12685         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12686         Add sigaltstack-offsets.sym.
12687         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12688         <sigaltstack-offsets.h>.
12689         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
12690         longjmp_msg pointer.
12691         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
12692         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12693         signal stack.
12694         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12695
12696 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
12697
12698         * elf/stackguard-macros.h: Remove file.
12699         * sysdeps/generic/stackguard-macros.h: New file.
12700         * sysdeps/i386/stackguard-macros.h: Likewise.
12701         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12702         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12703         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12704         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12705         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12706         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12707         * sysdeps/x86_64/stackguard-macros.h: Likewise.
12708         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12709         <elf/stackguard-macros.h>.
12710
12711         [BZ #14109]
12712         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12713         __aligned__ in attribute.
12714         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12715         (gregset_t): Likewise.
12716
12717 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12718
12719         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12720         * sysdeps/x86_64/64/Implies-after: Here.  New file.
12721         * sysdeps/x86_64/x32/Implies-after: New file.
12722
12723 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12724
12725         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12726         and access return value for _dl_profile_fixup.  Use R10_LP to
12727         load frame size.
12728
12729 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12730
12731         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12732
12733 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12734
12735         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12736         * sysdeps/x86_64/x32/sysdep.h: New file.
12737
12738 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12739
12740         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12741         * sysdeps/x86_64/setjmp.S: Likewise.
12742
12743 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12744
12745         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12746         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12747         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12748         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12749         remove unused global constant.
12750
12751 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
12752
12753         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12754         include of <not-cancel.h>.
12755
12756 2012-05-15  Roland McGrath  <roland@hack.frob.com>
12757
12758         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12759
12760 2012-05-15  Jeff Law  <law@redhat.com>
12761             Andreas Jaeger  <aj@suse.de>
12762
12763         [BZ #13594]
12764         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12765         out from...
12766         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12767         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12768         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12769         code changing __hst_map_handle.map.
12770
12771 2012-05-15  Roland McGrath  <roland@hack.frob.com>
12772
12773         * configure.in (sysnames): Look for Implies-before and Implies-after
12774         files.
12775         * configure: Regenerated.
12776
12777 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12778
12779         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12780         8-byte data alignment with LP_SIZE alignment.
12781
12782 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12783
12784         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12785         into R10_LP.
12786
12787 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12788
12789         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12790
12791 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12792
12793         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12794         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12795         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12796         Likewise.
12797         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12798
12799 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12800
12801         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12802         (stackinfo_sub_sp): Likewise.
12803
12804 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12805
12806         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12807         RAX_LP.
12808
12809 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12810
12811         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12812         into R*_LP.
12813
12814 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12815
12816         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12817         sizes into R*_LP.
12818
12819 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12820
12821         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12822
12823 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12824
12825         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12826         into R11_LP and load __x86_64_shared_cache_size_half into
12827         R8_LP.
12828
12829 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
12830
12831         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12832         R8_LP.
12833
12834 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12835
12836         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12837         logb for POWER7.
12838         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12839         logbf for POWER7.
12840         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12841         logbl for POWER7.
12842         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12843         powerpc32/power7/fpu/s_logb.c via #include.
12844         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12845         powerpc32/power7/fpu/s_logbf.c via #include.
12846         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12847         powerpc32/power7/fpu/s_logbl.c via #include.
12848
12849 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
12850
12851         * README.libm: Remove file.
12852
12853 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12854
12855         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12856         count for x32.  Use R*_LP and omit operand-size suffix.
12857
12858 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12859
12860         * shlib-versions: Move x86_64-.*-linux.* entries to ...
12861         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
12862         * sysdeps/x86_64/x32/shlib-versions: New file.
12863
12864 2012-05-14  Roland McGrath  <roland@hack.frob.com>
12865
12866         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12867         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12868         Use _dl_fatal_printf instead.
12869
12870 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
12871
12872         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12873         set if not set by the user.  Do not allow for being unset.
12874         * sysdeps/unix/sysv/linux/configure: Regenerated.
12875
12876 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12877
12878         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12879         the `q' suffix from lea and replace .quad with ASM_ADDR.
12880
12881 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12882
12883         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12884         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
12885         instead of $17.
12886         (PTR_DEMANGLE): Likewise.
12887
12888 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12889
12890         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12891         (LP_OP): Likewise.
12892         (ASM_ADDR): Likewise.
12893         (RAX_LP): Likewise.
12894         (RBP_LP): Likewise.
12895         (RBX_LP): Likewise.
12896         (RCX_LP): Likewise.
12897         (RDI_LP): Likewise.
12898         (RSI_LP): Likewise.
12899         (RSP_LP): Likewise.
12900         (R8_LP): Likewise.
12901         (R9_LP): Likewise.
12902         (R10_LP): Likewise.
12903         (R10_LP): Likewise.
12904         (R11_LP): Likewise.
12905         (R12_LP): Likewise.
12906         (R13_LP): Likewise.
12907         (R14_LP): Likewise.
12908         (R15_LP): Likewise.
12909
12910 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
12911
12912         * sysdeps/x86_64/x32/dl-machine.h: New file.
12913
12914 2012-05-14  Andreas Jaeger  <aj@suse.de>
12915
12916         * manual/Makefile (subdir): Remove export of subdir.
12917         (all): Remove target.
12918         (.PHONY): Remove all from list.
12919         (mkinstalldirs): Remove.
12920         (.PHONY): Remove installdirs from list.
12921         ($(inst_infodir)/libc.info): Use make-target-directory.
12922         (installdirs): Remove.
12923         (subdir_%): Remove.
12924         (glibc-targets): Remove.
12925         (lib): Remove.
12926         (stubs): Remove.
12927         ($(objpfx)stubs ../po/manual.pot): Remove.
12928         ($(objpfx)stamp%): Remove.
12929         (make-target-directory): Remove.
12930         (subdir_install): Remove.
12931         (routines): Remove.
12932         (aux): Remove.
12933         (sources): Remove.
12934         (objects): Remove.
12935         (headers): Remove.
12936
12937         [BZ #13750]
12938         * manual/.gitignore: Remove, it's not needed anymore.
12939         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12940         all files in it.
12941         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12942         directory.
12943         (texis): Renamed to $(objpfx)texis.
12944         (texis-path): New, contains path to generated files.
12945         (chapters.%): Use texis-path for complete path, add extra argument
12946         libc-texinfo.sh.
12947         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12948         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12949         (summary,texi, stamp-summary): Use complete path of
12950         files. Generate files in build dir.
12951         (dir-add.texi): Build in build dir.
12952         (libm-err.texi,stamp-libm-err): Likewise.
12953         (version.texi, stamp-version): Likewise.
12954         (.%c.texi): Likewise.
12955         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12956         (mostlyclean): Remove target.
12957         (realclean): Remove target.
12958         (generated): Add new variable with contents from mostlyclean and
12959         realclean, remove entries duplicated in common-mostlyclean, add
12960         stamp-libm-err and stamp-version.
12961         (generated-dirs): Add libc directory.
12962         ($(inst_infodir)/libc.info): Install files from build dir.
12963
12964         * manual/install.texi (Configuring and compiling): Adjust since
12965         the info files are not part of the tar ball anymore.
12966
12967 2012-05-14  Andreas Jaeger  <aj@suse.de>
12968
12969         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12970         variable.
12971
12972 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
12973
12974         [BZ #13717]
12975         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12976         to 2.2.0 where earlier.
12977         * sysdeps/unix/sysv/linux/configure: Regenerated.
12978         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12979         Remove conditional code.
12980         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12981         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12982         Remove conditional code.
12983         [!__NR_lchown]: Likewise.
12984         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12985         [__NR_lchown]: Likewise.
12986         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12987         comment referencing __ASSUME_LCHOWN_SYSCALL.
12988         * sysdeps/unix/sysv/linux/i386/sigaction.c
12989         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12990         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12991         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12992         Remove conditional code.
12993         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12994         (__protocol_available): Remove #if 0 code.
12995         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12996         conditional code.
12997         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12998         * sysdeps/unix/sysv/linux/kernel-features.h
12999         (__ASSUME_GETCWD_SYSCALL): Don't define.
13000         (__ASSUME_REALTIME_SIGNALS): Likewise.
13001         (__ASSUME_PREAD_SYSCALL): Likewise.
13002         (__ASSUME_PWRITE_SYSCALL): Likewise.
13003         (__ASSUME_POLL_SYSCALL): Likewise.
13004         (__ASSUME_LCHOWN_SYSCALL): Likewise.
13005         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13006         non-SPARC.
13007         (__ASSUME_SIOCGIFNAME): Don't define.
13008         (__ASSUME_MSG_NOSIGNAL): Likewise.
13009         (__ASSUME_SENDFILE): Define unconditionally.
13010         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13011         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13012         conditional code.
13013         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13014         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13015         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13016         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13017         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13018         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13019         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13021         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13022         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13024         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13025         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13027         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13028         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13030         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13031         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13033         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13034         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13036         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13037         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13039         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13040         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13042         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13043         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13044         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13045         Remove conditional code.
13046         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13047         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13048         Remove conditional code.
13049         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13050         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13051         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13052         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13053         Remove conditional code.
13054         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13055         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13056         Remove conditional code.
13057         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13058         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13059         Remove conditional code.
13060         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13061         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13062         Remove conditional code.
13063         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13064         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13065         Remove conditional code.
13066         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13067         * sysdeps/unix/sysv/linux/sh/pwrite64.c
13068         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13069         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13070         * sysdeps/unix/sysv/linux/sigaction.c
13071         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13072         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13073         * sysdeps/unix/sysv/linux/sigpending.c
13074         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13075         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13076         * sysdeps/unix/sysv/linux/sigprocmask.c
13077         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13078         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13079         * sysdeps/unix/sysv/linux/sigsuspend.c
13080         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13081         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13082         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13083         (__libc_missing_rt_sigs): Remove.
13084         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13085         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13086         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13087         Remove conditional code.
13088         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13089         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13090         return 1.
13091         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13092         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13093         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13094         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13095
13096 2012-05-14  Andreas Jaeger  <aj@suse.de>
13097
13098         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13099         it's not used in glibc.
13100         (__coshm1): Likewise.
13101         (__acosh1p): Likewise.
13102         (__sgn): Likewise.
13103
13104         * manual/string.texi (Copying and Concatenation): Add missing
13105         variable in concat example.
13106         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13107
13108 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13109
13110         [BZ #14103]
13111         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13112         __builtin_clzl with __builtin_clzll.
13113
13114 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13115
13116         [BZ #14104]
13117         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13118         libc_freeres_ptr.
13119
13120 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13121
13122         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13123         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13124         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13125         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13126
13127 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
13128
13129         * NEWS: Update ia64 info.
13130
13131 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
13132
13133         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13134         used as bcopy.
13135
13136 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
13137
13138         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13139         * sysdeps/unix/syscalls.list (dup3): Likewise.
13140         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13141         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13142
13143 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13144
13145         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13146         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13147
13148 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13149
13150         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13151         thread pointer.
13152         (TLS_IE): Use mov/add instead of movq/addq to load thread
13153         pointer.
13154         (TLS_GD_PREFIX): New.
13155         (TLS_GD): Use it.
13156
13157 2012-05-11  David S. Miller  <davem@davemloft.net>
13158
13159         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13160         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13161         (_FPU_SETCW): Likewise.
13162
13163 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13164
13165         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13166         is 32-byte aligned.
13167
13168 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
13169
13170         [BZ #11837]
13171         * iconvdata/gb18030.c: Update tables.
13172         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
13173         characters specially.
13174         (BODY for TO_LOOP): Add encoding of missing ranges.
13175
13176 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
13177
13178         [BZ #13673]
13179         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13180         * sysdeps/mach/hurd/dup3.c: Likewise.
13181         * sysdeps/mach/hurd/readlinkat.c: Likewise.
13182         * sysdeps/powerpc/memmove.c:: Likewise.
13183
13184 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13185
13186         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13187         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13188
13189 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13190
13191         * elf/elf.h (R_X86_64_RELATIVE64): New.
13192         (R_X86_64_NUM): Updated.
13193         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13194         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
13195         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13196         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13197         tst-quad1pie tst-quad2pie
13198         (modules-names): Add tst-quadmod1 tst-quadmod2.
13199         ($(objpfx)tst-quad1): New dependency.
13200         ($(objpfx)tst-quad2): Likewise.
13201         ($(objpfx)tst-quad1pie): Likewise.
13202         ($(objpfx)tst-quad2pie): Likewise.
13203         * sysdeps/x86_64/tst-quad1.c: New file.
13204         * sysdeps/x86_64/tst-quad1pie.c: New file.
13205         * sysdeps/x86_64/tst-quad2.c: Likewise.
13206         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13207         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13208         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13209         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13210         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13211
13212 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13213
13214         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13215         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13216         * streams/stropts.h (t_scalar_t): Define type.
13217
13218         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13219         (_PATH_PRESERVE): Set to "/var/lib".
13220         (_PATH_RWHODIR): Set to "/var/spool/rwho".
13221
13222         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13223         instead of int.
13224
13225         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13226         if __dir_mkfile succeeded.
13227
13228         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13229         checking for _hurd_dtablesize.  Unlock it right after having
13230         finished _hurd_dtable allocation.
13231
13232 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13233
13234         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13235         * sysdeps/mach/hurd/configure: Regenerated.
13236         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13237         special-casing to...
13238         * sysdeps/gnu/configure.in: ... this new file.
13239         * sysdeps/unix/sysv/linux/configure: Regenerated.
13240         * sysdeps/gnu/configure: New generated file.
13241
13242         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13243         for Linux: use nsec instead of usec, as well as:
13244         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13245         members of type struct timespec.
13246         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13247         New macros.
13248         (struct stat64): Likewise.
13249         (_STATBUF_ST_NSEC): New macro.
13250         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13251
13252         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13253         __strtoul_internal rather than strtoul.
13254
13255 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13256
13257         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13258         and reject them.
13259
13260 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13261
13262         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13263         which preserves existing values.
13264         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13265
13266 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13267
13268         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13269         TIMEOUT values.  Return EINVAL for NFDS values either negative or
13270         greater than FD_SETSIZE.
13271
13272 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13273
13274         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13275         allocated, call __vm_protect to finish enabling the existing space, and
13276         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13277         allocate the remainder.
13278
13279 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13280
13281         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13282         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
13283
13284 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13285
13286         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13287         sysdeps/mach/hurd/readlink.c.
13288
13289         * posix/tst-sysconf.c (posix_options): Only use
13290         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13291         _POSIX_SYNCHRONIZED_IO when they are defined
13292         * sysdeps/mach/hurd/bits/posix_opt.h:
13293         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13294         (_XOPEN_REALTIME): Undefine macro.
13295         (_XOPEN_REALTIME_THREADS): Undefine macro.
13296         (_XOPEN_SHM): Undefine macro.
13297         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13298         macro to -1.
13299         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13300         macro to -1.
13301         (_POSIX_ASYNC_IO): Undefine macro.
13302         (_POSIX_PRIORITIZED_IO): Undefine macro.
13303         (_POSIX_SPIN_LOCKS): Define macro to -1.
13304
13305         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13306         SA_NODEFER, SA_RESETHAND.
13307         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13308         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13309         F_DUPFD_CLOEXEC.
13310
13311 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13312
13313         * elf/Makefile (pldd-modules): Define unconditionally.
13314
13315 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13316
13317         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13318
13319 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13320
13321         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13322         Return ENOENT when name is empty.
13323         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13324
13325 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13326
13327         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13328
13329         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13330
13331 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13332
13333         Fix mlock in all cases except non-readable pages.
13334         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13335         instead of VM_PROT_ALL as parameter to __vm_wire function.
13336
13337         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13338         (__mkdir): When path is `/', just fail with EEXIST.
13339         * sysdeps/mach/hurd/mkdirat.c: Likewise.
13340
13341 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13342
13343         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13344         <sys/uio.h> (for writev).
13345         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13346         and <sys/param.h> (for MIN).
13347
13348 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13349
13350         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13351         REQUESTED_TIME.  Properly set the remaining time and return EINTR
13352         if interrupted.
13353
13354 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13355
13356         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13357         Depend on against $(link-rpcuserlibs).
13358
13359 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13360
13361         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13362         (__libc_stack_end): Do not use attribute_relro.
13363         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13364         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
13365         to libthread-provided value.
13366         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13367         attribute_relro.
13368
13369 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13370
13371         [BZ #3748]
13372         * bits/libc-lock.h (__libc_once_get): New macro.
13373         * sysdeps/mach/bits/libc-lock.h: Likewise.
13374         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13375         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13376         instead of using implementation details.
13377
13378         * libio/fileops.c: Unconditionally include <kernel-features.h>.
13379         * libio/freopen.c: Likewise.
13380         * libio/freopen64.c: Likewise.
13381         * misc/syslog.c: Likewise.
13382         * nscd/connections.c: Likewise.
13383         * nscd/netgroupcache.c: Likewise.
13384         * sysdeps/posix/getcwd.c: Likewise.
13385
13386 2012-05-10  Roland McGrath  <roland@hack.frob.com>
13387
13388         * math/w_ilogbf.c: Add #include <limits.h>.
13389
13390 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13391
13392         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
13393         path instead of returning without unlocking.
13394
13395         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13396         immediate-write ioctls.
13397         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13398
13399 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13400
13401         * sysdeps/mach/hurd/i386/init-first.c (init): Use
13402         __builtin_frame_address instead of making assumptions about the
13403         location of the return address relative to DATA.  Force early load of
13404         the return address.
13405         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13406         __builtin_frame_address.
13407
13408         dup3 for GNU Hurd.
13409         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13410         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
13411         implement dup3 and do some further code clean-ups.
13412         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13413         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13414
13415 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13416
13417         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13418
13419         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13420         HURD_CRITICAL_END around holding _hurd_dtable_lock.
13421         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13422         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13423         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13424         d->port.lock.
13425
13426         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13427         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
13428         when handler == SIG_ERR, not when handler != SIG_ERR.
13429
13430 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13431
13432         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13433         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13434         definitions.
13435
13436         accept4 for GNU Hurd.
13437         * include/sys/socket.h (__libc_accept4): New prototype.
13438         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
13439         to implement __libc_accept4.
13440         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13441         __libc_accept4.
13442         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13443
13444         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13445         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13446         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13447         signal-defines.sym.
13448
13449 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13450
13451         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
13452
13453 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
13454
13455         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13456         assertion on O_CLOEXEC flag.
13457         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13458         * hurd/intern-fd.c: Likewise.
13459         * hurd/port2fd.c: Likewise.
13460
13461 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13462
13463         [BZ #3906]
13464         * bits/in.h (IPV6_PKTINFO): Define new macro.
13465         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13466
13467 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13468
13469         [BZ #13954]
13470         [BZ #13955]
13471         [BZ #13956]
13472         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13473         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13474         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13475         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13476         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13477         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13478         * math/libm-test.inc (logb_test) : Additional logb tests.
13479
13480 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
13481             Andreas Jaeger  <aj@suse.de>
13482
13483         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13484         * configure: Regenerated.
13485         * config.h.in (LINK_OBSOLETE_RPC): New macro.
13486         * config.make.in (link-obsolete-rpc): New substituted variable.
13487         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13488         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13489         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13490         (shared-only-routines): Don't set it under [link-obsolete-rpc],
13491         so that libc.a contains the symbols.
13492         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13493         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13494         * sunrpc/auth_none.c: Likewise.
13495         * sunrpc/auth_unix.c: Likewise.
13496         * sunrpc/authdes_prot.c: Likewise.
13497         * sunrpc/authuxprot.c: Likewise.
13498         * sunrpc/clnt_gen.c: Likewise.
13499         * sunrpc/clnt_perr.c: Likewise.
13500         * sunrpc/clnt_raw.c: Likewise.
13501         * sunrpc/clnt_simp.c: Likewise.
13502         * sunrpc/clnt_tcp.c: Likewise.
13503         * sunrpc/clnt_udp.c: Likewise.
13504         * sunrpc/clnt_unix.c: Likewise.
13505         * sunrpc/des_crypt.c: Likewise.
13506         * sunrpc/des_soft.c: Likewise.
13507         * sunrpc/get_myaddr.c: Likewise.
13508         * sunrpc/key_call.c: Likewise.
13509         * sunrpc/key_prot.c: Likewise.
13510         * sunrpc/netname.c: Likewise.
13511         * sunrpc/pm_getmaps.c: Likewise.
13512         * sunrpc/pm_getport.c: Likewise.
13513         * sunrpc/pmap_clnt.c: Likewise.
13514         * sunrpc/pmap_prot.c: Likewise.
13515         * sunrpc/pmap_prot2.c: Likewise.
13516         * sunrpc/pmap_rmt.c: Likewise.
13517         * sunrpc/publickey.c: Likewise.
13518         * sunrpc/rpc_cmsg.c: Likewise.
13519         * sunrpc/rpc_common.c: Likewise.
13520         * sunrpc/rpc_dtable.c: Likewise.
13521         * sunrpc/rpc_prot.c: Likewise.
13522         * sunrpc/rpc_thread.c: Likewise.
13523         * sunrpc/rtime.c: Likewise.
13524         * sunrpc/svc.c: Likewise.
13525         * sunrpc/svc_auth.c: Likewise.
13526         * sunrpc/svc_raw.c: Likewise.
13527         * sunrpc/svc_run.c: Likewise.
13528         * sunrpc/svc_tcp.c: Likewise.
13529         * sunrpc/svc_udp.c: Likewise.
13530         * sunrpc/svc_unix.c: Likewise.
13531         * sunrpc/svcauth_des.c: Likewise.
13532         * sunrpc/xcrypt.c: Likewise.
13533         * sunrpc/xdr.c: Likewise.
13534         * sunrpc/xdr_array.c: Likewise.
13535         * sunrpc/xdr_float.c: Likewise.
13536         * sunrpc/xdr_intXX_t.c: Likewise.
13537         * sunrpc/xdr_mem.c: Likewise.
13538         * sunrpc/xdr_rec.c: Likewise.
13539         * sunrpc/xdr_ref.c: Likewise.
13540         * sunrpc/xdr_sizeof.c: Likewise.
13541         * sunrpc/xdr_stdio.c: Likewise.
13542
13543 2012-05-10  Roland McGrath  <roland@hack.frob.com>
13544
13545         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13546         change.  Update copyright years.
13547
13548 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
13549
13550         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13551
13552 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
13553             Joseph Myers  <joseph@codesourcery.com>
13554             Paul Pluzhnikov  <ppluzhnikov@google.com>
13555
13556         [BZ #14012]
13557         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13558         requiring rpcgen.
13559         [cross-compiling] (extra-libs): Likewise.
13560         [cross-compiling] (extra-libs-others): Likewise.
13561         [cross-compiling] (librpcsvc-routines): Likewise.
13562         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13563         [cross-compiling] (omit-deps): Likewise.
13564         (sunrpc-CPPFLAGS): New variable.
13565         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13566         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13567         (cross-rpcgen-objs): New variable.
13568         (extra-objs): Append $(cross-rpcgen-objs).
13569         ($(cross-rpcgen-objs)): New rule.
13570         ($(objpfx)cross-rpcgen): Likewise.
13571         (rpcgen-cmd): Define to use $(built-program-file).  Expand
13572         comment.
13573         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13574         ($(objpfx)x%.stmp): Likewise.
13575         * sunrpc/proto.h [IS_IN_build] (_): Define.
13576         [IS_IN_build] (_libc_intl_domainname): Likewise.
13577
13578 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
13579
13580         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13581         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13582         and R_X86_64_TPOFF64.
13583
13584 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
13585
13586         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13587         sysdeps/unix/sysv/syscalls.list.
13588         (stime): Likewise.
13589         (utime): Likewise.
13590         * sysdeps/unix/sysv/syscalls.list: Remove file.
13591
13592 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
13593
13594         [BZ #3440]
13595         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13596         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13597         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13598         (__LC_IDENTIFICATION): Make these macros useful in #if
13599         expressions, as required by C99.
13600
13601 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
13602
13603         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13604         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
13605         after this.
13606
13607 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
13608
13609         * stdlib/longlong.h: Updated from GCC.
13610
13611 2012-05-09  Andreas Jaeger  <aj@suse.de>
13612
13613         * nscd/nscd.c (run_modes): Make named enum, reorder so that
13614         default is first entry.
13615         (run_mode): Set type.
13616         (main): Remove informal message about syslog.
13617         (options): Fix typo.
13618
13619         [BZ #14053]
13620         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
13621         to asm.
13622         (lrint): Likewise.
13623         (llrintf): Likewise.
13624         (llrint): Likewise.
13625         (rint): Likewise.
13626         (rintf): Likewise.
13627         (nearbyint): Likewise.
13628         (nearbyintf): Likewise.
13629
13630 2012-05-09  Andreas Jaeger  <aj@suse.de>
13631             Pedro Alves  <palves@redhat.com>
13632
13633         * nscd/nscd.c (run_mode): Use enum.
13634         (main): Cleanup coding style issue.
13635
13636 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
13637             Andreas Jaeger  <aj@suse.de>
13638
13639         * nscd/nscd.c (go_background): Replaced with...
13640         (run_mode): ... this.
13641         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
13642         (options): Add -F --foreground.
13643         (main): Implement it.
13644         (parse_opt): Parse it.
13645
13646 2012-05-09  Andreas Jaeger  <aj@suse.de>
13647
13648         [BZ #14083]
13649         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13650         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13651         -Wconversion warning.
13652         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13653         Likewise.
13654
13655 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
13656
13657         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
13658         == 0.
13659         (LC_ALL): Use macro-int-constant.
13660         (LC_COLLATE): Likewise.
13661         (LC_CTYPE): Likewise.
13662         (LC_MESSAGES): Likewise.
13663         (LC_MONETARY): Likewise.
13664         (LC_NUMERIC): Likewise.
13665         (LC_TIME): Likewise.
13666         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13667         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13668         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13669         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13670         Specify type.
13671         [C99-based standards] (float_t): Expect type.
13672         [C99-based standards] (double_t): Expect type.
13673         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
13674         type.
13675         [C99-based standards] (HUGE_VALL): Likewise.
13676         [C99-based standards] (INFINITY): Likewise.
13677         [C99-based standards] (NAN): Likewise.
13678         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13679         [C99-based standards] (FP_NAN): Likewise.
13680         [C99-based standards] (FP_NORMAL): Likewise.
13681         [C99-based standards] (FP_SUBNORMAL): Likewise.
13682         [C99-based standards] (FP_ZERO): Likewise.
13683         [C99-based standards] (FP_FAST_FMA): Use
13684         optional-macro-int-constant.  Specify type.  Require == 1.
13685         [C99-based standards] (FP_FAST_FMAF): Likewise.
13686         [C99-based standards] (FP_FAST_FMAL): Likewise.
13687         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13688         [C99-based standards] (FP_ILOGBNAN): Likewise.
13689         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13690         Specify type.
13691         [C99-based standards] (MATH_ERREXCEPT): Likewise.
13692         [C99-based standards] (math_errhandling): Specify type.
13693         [ISO99 || ISO11] (signgam): Do not allow.
13694         [non-C99-based standards] (copysignf): Do not allow.
13695         [non-C99-based standards] (exp2f): Likewise.
13696         [non-C99-based standards] (log2f): Likewise.
13697         [non-C99-based standards] (modff): Allow.
13698         [non-C99-based standards] (erff): Do not allow.
13699         [non-C99-based standards] (erfcf): Likewise.
13700         [non-C99-based standards] (gammaf): Likewise.
13701         [non-C99-based standards] (hypotf): Likewise.
13702         [non-C99-based standards] (j0f): Likewise.
13703         [non-C99-based standards] (j1f): Likewise.
13704         [non-C99-based standards] (jnf): Likewise.
13705         [non-C99-based standards] (lgammaf): Likewise.
13706         [non-C99-based standards] (tgammaf): Likewise.
13707         [non-C99-based standards] (y0f): Likewise.
13708         [non-C99-based standards] (y1f): Likewise.
13709         [non-C99-based standards] (ynf): Likewise.
13710         [non-C99-based standards] (isnanf): Likewise.
13711         [non-C99-based standards] (acoshf): Likewise.
13712         [non-C99-based standards] (asinhf): Likewise.
13713         [non-C99-based standards] (atanhf): Likewise.
13714         [non-C99-based standards] (cbrtf): Likewise.
13715         [non-C99-based standards] (expm1f): Likewise.
13716         [non-C99-based standards] (ilogbf): Likewise.
13717         [non-C99-based standards] (log1pf): Likewise.
13718         [non-C99-based standards] (logbf): Likewise.
13719         [non-C99-based standards] (nextafterf): Likewise.
13720         [non-C99-based standards] (remainderf): Likewise.
13721         [non-C99-based standards] (rintf): Likewise.
13722         [non-C99-based standards] (scalbf): Likewise.
13723         [non-C99-based standards] (copysignl): Likewise.
13724         [non-C99-based standards] (exp2l): Likewise.
13725         [non-C99-based standards] (log2l): Likewise.
13726         [non-C99-based standards] (modfl): Allow.
13727         [non-C99-based standards] (erfl): Do not allow.
13728         [non-C99-based standards] (erfcl): Likewise.
13729         [non-C99-based standards] (gammal): Likewise.
13730         [non-C99-based standards] (hypotl): Likewise.
13731         [non-C99-based standards] (j0l): Likewise.
13732         [non-C99-based standards] (j1l): Likewise.
13733         [non-C99-based standards] (jnl): Likewise.
13734         [non-C99-based standards] (lgammal): Likewise.
13735         [non-C99-based standards] (tgammal): Likewise.
13736         [non-C99-based standards] (y0l): Likewise.
13737         [non-C99-based standards] (y1l): Likewise.
13738         [non-C99-based standards] (ynl): Likewise.
13739         [non-C99-based standards] (isnanl): Likewise.
13740         [non-C99-based standards] (acoshl): Likewise.
13741         [non-C99-based standards] (asinhl): Likewise.
13742         [non-C99-based standards] (atanhl): Likewise.
13743         [non-C99-based standards] (cbrtl): Likewise.
13744         [non-C99-based standards] (expm1l): Likewise.
13745         [non-C99-based standards] (ilogbl): Likewise.
13746         [non-C99-based standards] (log1pl): Likewise.
13747         [non-C99-based standards] (logbl): Likewise.
13748         [non-C99-based standards] (nextafterl): Likewise.
13749         [non-C99-based standards] (remainderl): Likewise.
13750         [non-C99-based standards] (rintl): Likewise.
13751         [non-C99-based standards] (scalbl): Likewise.
13752         [ISO || ISO99 || ISO11] (*_t): Do not allow.
13753         [non-C99-based standards] (FP_*): Do not allow.
13754         [C99-based standards] (FP_*): Change to
13755         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13756         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13757         allow.
13758         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13759         (SIG_ERR): Likewise.
13760         [X/Open-based standards] (SIG_HOLD): Likewise.
13761         (SIG_IGN): Likewise.
13762         (SIGABRT): Use macro-int-constant.  Specify type.  Require
13763         positive value.
13764         (SIGFPE): Likewise.
13765         (SIGILL): Likewise.
13766         (SIGINT): Likewise.
13767         (SIGSEGV): Likewise.
13768         (SIGTER): Likewise.
13769         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13770         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13771         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13772         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13773         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13774         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13775         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13776         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13777         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13778         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13779         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13780         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13781         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13782         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13783         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13784         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13785         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13786         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13787         [X/Open-based standards] (SIGTRAP): Likewise.
13788         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13789         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13790         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13791         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13792         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13793         allow.
13794
13795 2012-05-08  Ian Wienand  <ianw@vmware.com>
13796
13797         [BZ #14080]
13798         * time/tzset.c (__tzset_parse_tz): Update default rules for
13799         daylight time changes in the Energy Policy Act of 2005.
13800
13801 2012-05-09  Andreas Jaeger  <aj@suse.de>
13802
13803         [BZ #13983]
13804         * elf/ldconfig.c (parse_conf): Change string to make clear that
13805         ldconfig only issued a warning if ld.so.conf does not exist.
13806
13807 2012-05-08  David S. Miller  <davem@davemloft.net>
13808
13809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13810         movxtod instead of popping the value on the stack.
13811
13812         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13813
13814 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
13815
13816         * config.h.in: Add HAVE_ARM_PCS_VFP.
13817
13818 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
13819
13820         [BZ #13979]
13821         * include/features.h: Warn if user requests __FORTIFY_SOURCE
13822         checking but the checks are disabled for any reason.
13823
13824 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
13825
13826         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13827         and ELF64_R_TYPE with ELFW(R_TYPE).
13828
13829 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
13830
13831         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13832         (ulimit): Likewise.
13833
13834         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13835         (settimeofday): Likewise.
13836
13837 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
13838
13839         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
13840         a struct th_u2 inside the union, and move tu_block/tu_code into
13841         a new th_u3 union of tu_block/tu_code inside of that.  Move
13842         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
13843         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
13844         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13845         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13846         (th_stuff): Change to th_u1.tu_stuff.
13847         (th_data): Define.
13848         (th_msg): Change to th_u1.th_u2.tu_data.
13849
13850 2012-05-07  David S. Miller  <davem@davemloft.net>
13851
13852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13853
13854         [BZ #14074]
13855         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13856         (SETUP_PIC_REG): Use it.
13857         (SETUP_PIC_REG_LEAF): Use it.
13858
13859 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
13860
13861         [BZ #13885]
13862         [BZ #13923]
13863         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13864         USE_AS_EXPM1L.
13865         (EXPL_FINITE): Likewise.
13866         (FLDLOG): Likewise.
13867         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13868         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13869         e_expl.S.
13870         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13871         USE_AS_EXPM1L.
13872         (EXPL_FINITE): Likewise.
13873         (FLDLOG): Likewise.
13874         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13875         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13876         e_expl.S.
13877         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
13878         test of -max_value argument for long double.
13879         * sysdeps/i386/fpu/libm-test-ulps: Update.
13880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13881
13882 2012-05-06  David S. Miller  <davem@davemloft.net>
13883
13884         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13885         quad soft-float symbols whose references which are compiler
13886         generated.
13887         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13888
13889 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
13890
13891         [BZ #13884]
13892         [BZ #13914]
13893         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13894         USE_AS_EXP10L.
13895         (EXPL_FINITE): Likewise.
13896         (FLDLOG): Likewise.
13897         (c0): Likewise.
13898         (c1): Likewise.
13899         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
13900         Adjust comments for base varying.
13901         (__expl_finite): Change alias to EXPL_FINITE.
13902         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13903         e_expl.S.
13904         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13905         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13906         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13907         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13908         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13909         USE_AS_EXP10L.
13910         (EXPL_FINITE): Likewise.
13911         (FLDLOG): Likewise.
13912         (c0): Likewise.
13913         (c1): Likewise.
13914         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
13915         Adjust comments for base varying.
13916         (__expl_finite): Change alias to EXPL_FINITE.
13917         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
13918         tests for bugs.
13919         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13920
13921         [BZ #14064]
13922         * math/libm-test.inc (check_float_internal): Correct ulp
13923         calculation for subnormal expected results.
13924
13925 2012-05-06  Andreas Jaeger  <aj@suse.de>
13926
13927         * Makeconfig (+math-flags): New, set to -frounding-math.
13928         (+cflags): Add +math-flags so that all of glibc gets compiled with
13929         it.
13930
13931         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13932
13933 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
13934
13935         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13936         Disable one test.
13937
13938         [BZ #13787]
13939         [BZ #13922]
13940         [BZ #14036]
13941         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13942         (__ieee754_expl): Allow for and saturate large arguments.
13943         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13944         (u_threshold): Likewise.
13945         (__exp): Call __ieee754_exp before checking for overflow and
13946         underflow.
13947         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13948         (u_threshold): Likewise.
13949         (__expf): Call __ieee754_expf before checking for overflow and
13950         underflow.
13951         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13952         (u_threshold): Likewise.
13953         (__expl): Call __ieee754_expl before checking for overflow and
13954         underflow.
13955         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13956         (__ieee754_expl): Allow for and saturate large arguments.
13957         * math/libm-test.inc (exp_test): Add another test.  Do not allow
13958         missing overflow exception on overflow.
13959         (expm1_test): Do not allow missing overflow exception on overflow.
13960
13961         * sysdeps/i386/fpu/e_expl.c: Move to ...
13962         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
13963         rather than using inline asm.
13964         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13965         * sysdeps/x86_64/fpu/e_expl.S: Copy from
13966         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13967
13968         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13969         (nice): Likewise.
13970         (poll): Likewise.
13971         (signal): Likewise.
13972         (time): Likewise.
13973         (times): Likewise.
13974
13975 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
13976
13977         * sysdeps/unix/syscalls.list (adjtime): Add entry from
13978         sysdeps/unix/common/syscalls.list.
13979         (fchmod): Likewise.
13980         (fchown): Likewise.
13981         (ftruncate): Likewise.
13982         (getrusage): Likewise.
13983         (gettimeofday): Likewise.
13984         (setpgid): Likewise.
13985         (setregid): Likewise.
13986         (setreuid): Likewise.
13987         (sigaction): Likewise.
13988         (truncate): Likewise.
13989         (vhangup): Likewise.
13990         * sysdeps/unix/common/syscalls.list: Remove file.
13991         * sysdeps/unix/bsd/Implies: Don't include unix/common.
13992         * sysdeps/unix/sysv/linux/Implies: Likewise.
13993
13994 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
13995
13996         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13997         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13998         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13999         Moved to ...
14000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14001         Here.
14002         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14003         to ...
14004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14005         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14006         to ...
14007         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14008         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14009         to ...
14010         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14011         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14012         to ...
14013         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14014         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14015         to ...
14016         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14017         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14018         to ...
14019         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14020         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14021         to ...
14022         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14023         Here.
14024         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14025         to ...
14026         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14027         Here.
14028         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14029         to ...
14030         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14031         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14032         Moved to ...
14033         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14034         Here.
14035         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14036         to ...
14037         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14038
14039 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14040
14041         * sysdeps/unix/common/bits/dirent.h: Remove file.
14042         * sysdeps/unix/common/bits/fcntl.h: Likewise.
14043
14044         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14045         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14046         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14047         * sysdeps/unix/bsd/isatty.c: Likewise.
14048         * sysdeps/unix/bsd/tcdrain.c: Likewise.
14049         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14050         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14051
14052 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14053
14054         [BZ #13563]
14055         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14056         long double comparison inaccuracies.
14057         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14058         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14059
14060 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
14061
14062         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14063         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14064
14065 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14066
14067         [BZ #14049]
14068         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14069         nonzero digits before rounding a hex value.
14070         * stdlib/tst-strtod.c (tests): Add another test.
14071
14072 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14073
14074         * sysdeps/s390/fpu/libm-test-ulps: Update.
14075
14076 2012-05-03  Andreas Jaeger  <aj@suse.de>
14077
14078         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14079         does not get optimized out.
14080         (malloc_opt_barrier): New.
14081
14082 2012-05-03  Andreas Jaeger  <aj@suse.de>
14083             Roland McGrath  <roland@hack.frob.com>
14084
14085         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14086         intermediate file deletion.
14087         (generated): Add .symlist files.
14088
14089 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
14090
14091         [BZ #13775]
14092         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14093         Redirect under this condition.
14094         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14095         [__USE_GNU] (__dprintf_chk): Not under this condition.
14096         [__USE_GNU] (__vdprintf_chk): Likewise.
14097         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14098         under this condition.
14099         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14100         [__USE_XOPEN2K8] (dprintf): Define under this condition.
14101         [__USE_XOPEN2K8] (vdprintf): Likewise.
14102         [__USE_GNU] (__dprintf_chk): Not under this condition.
14103         [__USE_GNU] (__vdprintf_chk): Likewise.
14104         [__USE_GNU] (dprintf): Likewise.
14105         [__USE_GNU] (vdprintf): Likewise.
14106
14107 2012-05-03  Roland McGrath  <roland@hack.frob.com>
14108
14109         * elf/Makefile (common-generated): Set this instead of generated for
14110         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
14111         $(all-built-dso)-derived lists.
14112
14113 2012-05-03  Andreas Jaeger  <aj@suse.de>
14114
14115         * sysdeps/i386/fpu/libm-test-ulps: Update.
14116
14117         * FAQ: Removed.
14118         * FAQ.in: Likewise.
14119         * scripts/gen-FAQ.pl: Likewise.
14120         * manual/install.texi (Installation): Point to online location of
14121         FAQ.
14122         * Makefile (files-for-dist): Remove FAQ.
14123         (FAQ): Remove.
14124
14125 2012-05-02  Allan McRae  <allan@archlinux.org>
14126
14127         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14128         (LDFLAGS-reldepmod5.so): Likewise.
14129         (LDFLAGS-reldep6mod1.so): Likewise.
14130         (LDFLAGS-reldep6mod4.so): Likewise.
14131         (LDFLAGS-reldep8mod3.so): Likewise.
14132         (LDFLAGS-unload4mod1.so): Likewise.
14133         (LDFLAGS-unload4mod2.so): Likewise.
14134         (LDFLAGS-tst-initorder): Likewise.
14135         (LDFLAGS-tst-initordera2.so): Likewise.
14136         (LDFLAGS-tst-initordera3.so): Likewise.
14137         (LDFLAGS-tst-initordera4.so): Likewise.
14138         (LDFLAGS-tst-initorderb2.so): Likewise.
14139         (LDFLAGS-noload): Likewise.
14140         (LDFLAGS-next): Likewise.
14141         (LDFLAGS-order2mod1.so): Likewise.
14142         (LDFLAGS-order2mod2.so): Likewise.
14143         (LDFLAGS-tst-initorder2): Likewise.
14144         (LDFLAGS-tst-initorder2a.so): Likewise.
14145         (LDFLAGS-tst-initorder2b.so): Likewise.
14146         (LDFLAGS-tst-initorder2c.so): Likewise.
14147         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14148
14149 2012-05-02  David S. Miller  <davem@davemloft.net>
14150
14151         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14152
14153 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
14154
14155         [BZ #14055]
14156         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14157
14158 2012-05-02  Andreas Jaeger  <aj@suse.de>
14159
14160         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14161         since we manipulate rounding mode.
14162         (CPPFLAGS-test-idouble.c): Likewise.
14163         (CPPFLAGS-test-ifloat.c): Likewise.
14164         (CFLAGS-test-ldouble.c): Likewise.
14165         (CFLAGS-test-double.c): Likewise.
14166         (CFLAGS-test-float.c): Likewise.
14167         (CFLAGS-test-misc.c): Likewise.
14168         (CFLAGS-test-test-fenv.c): Likewise.
14169
14170 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14171
14172         [BZ #2550]
14173         [BZ #2570]
14174         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14175         comparisons to determine direction to adjust input.
14176
14177 2012-05-01  Roland McGrath  <roland@hack.frob.com>
14178
14179         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14180         output to the target.
14181
14182         * scripts/localplt.awk: New file.
14183         * elf/Makefile ($(objpfx)check-localplt): Target removed.
14184         (check-localplt-CFLAGS): Variable removed.
14185         ($(all-built-dso:=.jmprel)): New static pattern rule.
14186         (generated): Add those targets.
14187         (localplt-built-dso): New variable.
14188         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14189
14190         * elf/check-localplt.c: File removed.
14191
14192         * scripts/check-execstack.awk: New file.
14193         * elf/Makefile ($(objpfx)check-execstack): Target removed.
14194         (check-execstack-CFLAGS): Variable removed.
14195         ($(objpfx)check-execstack.h): Target removed.
14196         ($(objpfx)execstack-default): New target.
14197         (generated): Add that instead of check-execstack.h.
14198         ($(all-built-dso:=.phdr)): New static pattern rule.
14199         (generated): Add those targets.
14200         * elf/check-execstack.c: File removed.
14201
14202         * scripts/check-textrel.awk: New file.
14203         * elf/Makefile ($(objpfx)check-textrel): Target removed.
14204         (check-textrel-CFLAGS): Variable removed.
14205         (all-built-dso): Use := to define.o
14206         ($(all-built-dso:=.dyn)): New static pattern rule.
14207         (generated): Add those targets.
14208         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14209         * config.make.in (READELF): New substituted variable.
14210         * elf/check-textrel.c: File removed.
14211
14212 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
14213
14214         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14215         allow.
14216         * conform/data/ctype.h-data [C99-based standards] (isblank):
14217         Expect function.
14218         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14219         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14220         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14221         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14222         Specify type.  Require positive value.
14223         (EILSEQ): Likewise.
14224         (ERANGE): Likewise.
14225         [ISO || POSIX] (EILSEQ): Do not expect.
14226         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14227         Specify type.  Require positive value.
14228         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14229         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14230         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14231         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14232         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14233         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14234         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14235         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14236         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14237         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14238         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14239         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14240         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14241         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14242         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14243         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14244         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14245         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14246         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14247         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14248         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14249         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14250         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14251         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14252         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14253         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14254         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14255         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14256         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14257         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14258         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14259         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14260         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14261         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14262         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14263         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14264         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14265         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14266         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14267         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14268         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14269         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14270         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14271         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14272         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14273         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14274         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14275         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14276         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14277         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14278         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14279         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14280         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14281         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14282         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14283         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14284         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14285         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14286         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14287         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14288         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14289         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14290         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14291         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14292         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14293         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14294         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14295         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14296         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14297         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14298         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14299         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14300         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14301         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14302         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14303         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14304         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14305         Require >= 2.
14306         (FLT_ROUNDS): Expect as macro, not constant.
14307         (FLT_MANT_DIG): Use macro-int-constant.
14308         (DBL_MANT_DIG): Likewise.
14309         (LDBL_MANT_DIG): Likewise.
14310         (FLT_DIG): Likewise.
14311         (DBL_DIG): Likewise.
14312         (LDBL_DIG): Likewise.
14313         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
14314         (DBL_MIN_EXP): Likewise.
14315         (LDBL_MIN_EXP): Likewise.
14316         (FLT_MAX_EXP): Use macro-int-constant.
14317         (DBL_MAX_EXP): Likewise.
14318         (LDBL_MAX_EXP): Likewise.
14319         (FLT_MAX_10_EXP): Likewise.
14320         (DBL_MAX_10_EXP): Likewise.
14321         (LDBL_MAX_10_EXP): Likewise.
14322         (FLT_MAX): Use macro-constant.
14323         (DBL_MAX): Likewise.
14324         (LDBL_MAX): Likewise.
14325         (FLT_EPSILON): Use macro-constant.  Give upper bound.
14326         (DBL_EPSILON): Likewise.
14327         (LDBL_EPSILON): Likewise.
14328         (FLT_MIN): Likewise.
14329         (DBL_MIN): Likewise.
14330         (LDBL_MIN): Likewise.
14331         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14332         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14333         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14334         [ISO11] (FLT_HAS_SUBNORM): Likewise.
14335         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14336         [ISO11] (DBL_DECIMAL_DIG): Likewise.
14337         [ISO11] (FLT_DECIMAL_DIG): Likewise.
14338         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14339         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14340         [ISO11] (FLT_TRUE_MIN): Likewise.
14341         [ISO11] (LDBL_TRUE_MIN): Likewise.
14342         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14343         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14344         (SCHAR_MIN): Use macro-int-constant.  Specify type.
14345         (SCHAR_MAX): Likewise.
14346         (UCHAR_MAX): Likewise.
14347         (CHAR_MIN): Likewise.
14348         (CHAR_MAX): Likewise.
14349         (MB_LEN_MAX): Use macro-int-constant.
14350         (SHRT_MIN): Use macro-int-constant.  Specify type.
14351         (SHRT_MAX): Likewise.
14352         (USHRT_MAX): Likewise.
14353         (INT_MAX): Likewise.
14354         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
14355         bound negative.
14356         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14357         bound with "U".
14358         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14359         bound with "L".
14360         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
14361         bound negative.  Suffix upper bound with "L".
14362         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
14363         bound with "UL".
14364         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14365         Specify type.
14366         [C99-based standards] (LLONG_MAX): Likewise.
14367         [C99-based standards] (ULLONG_MAX): Likewise.
14368         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
14369         == 0.
14370         [ISO11] (max_align_t): Require type.
14371         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14372
14373         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14374         from $CFLAGS, without defining away __attribute__ calls.
14375         (checknamespace): Use $CFLAGS_namespace.
14376
14377         * conform/conformtest.pl (@keywords): Only include C99 keywords
14378         for standards based on C99 or C11.
14379
14380         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14381         Disable tests.
14382         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14383         UNIX98]: Likewise.
14384
14385         * conform/conformtest.pl: Handle "macro-int-constant" and test for
14386         usability of symbols in #if.
14387
14388         * conform/conformtest.pl: If macro or constant types start
14389         "promoted:", expect the symbol to be of the following type
14390         promoted by the integer promotions.
14391
14392         * conform/conformtest.pl: Parse all "constant" and "macro" lines
14393         in one place.  Also handle "macro-constant".
14394
14395         * conform/conformtest.pl: Only accept expected macro values with
14396         "==".  Parse all "macro" lines in one place.
14397         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14398
14399         * conform/conformtest.pl: Handle braced types on "constant" lines
14400         instead of handling "typed-constant".
14401         * conform/data/signal.h-data: Use "constant" instead of
14402         "typed-constant".
14403
14404         * conform/conformtest.pl: Handle "optional-" at start of lines in
14405         one place rather than duplicating several cases.  Handle each
14406         format of "macro" line with initial "optional-".
14407
14408         * conform/conformtest.pl: Only accept expected constant or
14409         optional-constant values with "==".  Parse all "constant" lines in
14410         one place.  Parse all "optional-constant" lines in one place.
14411         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14412         * conform/data/fmtmsg.h-data: Likewise.
14413         * conform/data/netinet/in.h-data: Likewise.
14414         * conform/data/tar.h-data: Likewise.
14415         * conform/data/limits.h-data: Use "==" form on "constant" and
14416         "optional-constant" lines.
14417
14418         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14419         Use -std=c99 for XOPEN2K.
14420         (@knownproblems): Remove.
14421         (newtoken): Don't check %isknown.
14422
14423         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14424         Do not expect macro.
14425         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14426         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14427         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14428         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14429         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14430         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14431         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14432         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14433         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14434         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14435         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14436         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14437         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14438         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14439         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14440         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14441         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14442         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14443         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14444         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14445         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14446         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14447         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14448         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14449         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14450         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14451         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14452         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14453         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14454         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14455         [XPG3] (acosh): Likewise.
14456         [XPG3] (asinh): Likewise.
14457         [XPG3] (atanh): Likewise.
14458         [XPG3] (cbrt): Likewise.
14459         [XPG3] (expm1): Likewise.
14460         [XPG3] (ilogb): Likewise.
14461         [XPG3] (log1p): Likewise.
14462         [XPG3] (logb): Likewise.
14463         [XPG3] (nextafter): Likewise.
14464         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14465         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14466         [XPG3] (remainder): Likewise.
14467         [XPG3] (rint): Likewise.
14468         [XPG3 || XPG4 || UNIX98] (round): Likewise.
14469         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14470         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14471         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14472         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14473         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14474         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14475         [UNIX98 || XOPEN2K] (scalb): Expect.
14476         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14477         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14478         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14479         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14480         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14481         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14482         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14483         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14484         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14485         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14486         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14487         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14488         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14489         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14490         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14491         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14492         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14493         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14494         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14495         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14496         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14497         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14498         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14499         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14500         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14501         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14502         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14503         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14504         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14505         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14506         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14507         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14508         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14509         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14510         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14511         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14512         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14513         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14514         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14515         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14516         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14517         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14518         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14519         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14520         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14521         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14522         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14523         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14524         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14525         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14526         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14527         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14528         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14529         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14530         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14531         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14532         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14533         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14534         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14535         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14536         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14537         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14538         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14539         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14540         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14541         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14542         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14543         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14544         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14545         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14546         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14547         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14548         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14549         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14550         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14551         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14552         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14553         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14554         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14555         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14556         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14557         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14558         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14559         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14560         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14561         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14562         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14563         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14564         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14565         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14566         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14567         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14568         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14569         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14570         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14571         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14572         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14573         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14574         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14575         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14576         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14577         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14578         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14579         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14580         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14581         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14582         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14583         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14584         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14585         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14586         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14587         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14588         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14589         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14590         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14591         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14592         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14593         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14594         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14595         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14596         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14597         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14598         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14599         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14600         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14601         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14602         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14603         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14604         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14605         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14606         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14607         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14608         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14609         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14610         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14611         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14612         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14613
14614         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14615         _XOPEN_SOURCE_EXTENDED for XPG4.
14616
14617         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14618
14619         * Makeconfig (localtime): Remove variable.
14620         (inst_localtime-file): Likewise.
14621
14622 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14623
14624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14625         Update.
14626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14627         Update.
14628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14629         Update.
14630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14631         Update.
14632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14633         Update.
14634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14635         Update.
14636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14637         Update.
14638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14639         Update.
14640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14641         Update.
14642
14643 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
14644
14645         [BZ #2550]
14646         [BZ #2570]
14647         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14648         comparisons to determine direction to adjust input.
14649         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14650         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14651         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14652         Likewise.
14653         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14654         Likewise.
14655         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14656         Likewise.
14657         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14658         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14659         Likewise.
14660         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14661         Likewise.
14662         * math/libm-test.inc (nexttoward_test): Add more tests.
14663
14664 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14665
14666         [BZ #14040]
14667         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14668         in version GLIBC_2.1, not GLIBC_2.0.
14669         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14670         Likewise.
14671
14672 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
14673
14674         [BZ #13942]
14675         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14676         (1 - x) * (1 + x).
14677         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14678         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14679         * math/libm-test.inc (acos_test): Add more tests.
14680         (asin_test): Likewise.
14681         * sysdeps/i386/fpu/libm-test-ulps: Update.
14682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14683
14684         [BZ #14034]
14685         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14686         of square root.
14687         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14688         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14689         * math/libm-test.inc (acos_test_tonearest): New function.
14690         (acos_test_towardzero): Likewise.
14691         (acos_test_downward): Likewise.
14692         (acos_test_upward): Likewise.
14693         (asin_test_tonearest): Likewise.
14694         (asin_test_towardzero): Likewise.
14695         (asin_test_downward): Likewise.
14696         (asin_test_upward): Likewise.
14697         (main): Call the new functions.
14698         * sysdeps/i386/fpu/libm-test-ulps: Update.
14699         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14700
14701         [BZ #13884]
14702         [BZ #13924]
14703         * math/e_exp10.c: Include <float.h>.
14704         (__ieee754_exp10): Handle underflow here rather than multiplying
14705         large negative argument by M_LN10.
14706         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14707         of __ieee754_expf.
14708         * math/e_exp10l.c: Include <float.h>.
14709         (__ieee754_exp10l): Handle underflow here rather than multiplying
14710         large negative argument by M_LN10l.
14711         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
14712         spurious overflow exception on underflow.
14713
14714 2012-04-29  Marek Polacek  <polacek@redhat.com>
14715
14716         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14717         (__fortify_function): New macro.
14718         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14719         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14720         __extern_always_inline.
14721         * libio/bits/stdio2.h: Likewise.
14722         * libio/bits/stdio.h: Likewise.
14723         * string/string.h: Likewise.
14724         * string/bits/string3.h: Likewise.
14725         * include/stdio.h: Likewise.
14726         * stdlib/bits/stdlib.h: Likewise.
14727         * stdlib/stdlib.h: Likewise.
14728         * rt/bits/mqueue2.h: Likewise.
14729         * rt/mqueue.h: Likewise.
14730         * posix/bits/unistd.h: Likewise.
14731         * posix/unistd.h: Likewise.
14732         * io/bits/poll2.h: Likewise.
14733         * io/bits/fcntl2.h: Likewise.
14734         * io/fcntl.h: Likewise.
14735         * io/sys/poll.h: Likewise.
14736         * misc/bits/syslog.h: Likewise.
14737         * misc/bits/syslog-ldbl.h: Likewise.
14738         * misc/sys/syslog.h: Likewise.
14739         * socket/bits/socket2.h: Likewise.
14740         * socket/sys/socket.h: Likewise.
14741         * debug/tst-chk1.c: Likewise.
14742         * wcsmbs/bits/wchar2.h: Likewise.
14743         * wcsmbs/bits/wchar-ldbl.h: Likewise.
14744         * wcsmbs/wchar.h: Likewise.
14745
14746 2012-04-29  Andreas Jaeger  <aj@suse.de>
14747
14748         * Makerules (tests): Remove enable-check-abi protection.
14749         (check-abi-warn): Remove.
14750         (check-abi-%): Remove check-abi-warn usage.
14751
14752         * configure.in: Remove check-abi configure option.
14753         * configure: Regenerated.
14754         * config.make.in (enable-check-abi): Remove.
14755
14756 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
14757
14758         [BZ #14033]
14759         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14760         double functions to double *_finite functions.
14761
14762         [BZ #13941]
14763         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14764         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14765         LDBL_MIN_EXP.
14766         * stdio-common/Makefile (tests): Add tst-sprintf3.
14767         * stdio-common/tst-sprintf3.c: New file.
14768
14769         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14770         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14771
14772 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
14773
14774         * conform/conformtest.pl: Remove duplicate typed-constant
14775         handling.
14776
14777 2012-04-28  David S. Miller  <davem@davemloft.net>
14778
14779         * Makerules (%.abilist): Add vpath on sysdep_dirs.
14780         (check-abi-%): Remove AWK script prerequisite and explicit
14781         abilist directory.
14782         (check-abi): Rewrite to just diff the symlist with the abilist.
14783         (config-tls, config-abi-config): Delete, no longer used.
14784         (update-abi-%): Remove AWK script and explicit abilist directory.
14785         (update-abi): Rewrite to simply compare and conditionally copy the
14786         symlist and the sysdep abilist file.  Remove update-abi-config
14787         checks.
14788         * abilist/ld.abilist: Remove.
14789         * abilist/libBrokenLocale.abilist: Remove.
14790         * abilist/libanl.abilist: Remove.
14791         * abilist/libcrypt.abilist: Remove.
14792         * abilist/libdl.abilist: Remove.
14793         * abilist/librt.abilist: Remove.
14794         * abilist/libthread_db.abilist: Remove.
14795         * abilist/libutil.abilist: Remove.
14796         * scripts/extract-abilist.awk: Remove.
14797         * scripts/merge-abilist.awk: Remove.
14798         * sysdeps/generic/libcidn.abilist: New file.
14799         * sysdeps/generic/libnss_compat.abilist: New file.
14800         * sysdeps/generic/libnss_db.abilist: New file.
14801         * sysdeps/generic/libnss_dns.abilist: New file.
14802         * sysdeps/generic/libnss_files.abilist: New file.
14803         * sysdeps/generic/libnss_hesiod.abilist: New file.
14804         * sysdeps/generic/libnss_nis.abilist: New file.
14805         * sysdeps/generic/libnss_nisplus.abilist: New file.
14806         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14807         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14808         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14809         file.
14810         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14811         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14812         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14813         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14814         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14815         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14816         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14817         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14818         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14819         file.
14820         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14821         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14822         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14823         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14824         file.
14825         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14826         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14827         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14828         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14829         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14830         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14831         file.
14832         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14833         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14834         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14835         file.
14836         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14837         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14838         New file.
14839         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14840         New file.
14841         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14842         New file.
14843         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14844         New file.
14845         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14846         New file.
14847         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14848         New file.
14849         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14850         New file.
14851         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14852         New file.
14853         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14854         New file.
14855         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14856         New file.
14857         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14858         New file.
14859         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14860         New file.
14861         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14862         New file.
14863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14864         file.
14865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14866         New file.
14867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14868         New file.
14869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14870         file.
14871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14872         New file.
14873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14874         New file.
14875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14876         file.
14877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14878         New file.
14879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14880         New file.
14881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14882         New file.
14883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14884         New file.
14885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14886         New file.
14887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14888         New file.
14889         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14891         file.
14892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14893         New file.
14894         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14895         file.
14896         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14897         file.
14898         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14899         file.
14900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14901         file.
14902         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14903         file.
14904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14905         New file.
14906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14907         file.
14908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14909         file.
14910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14911         New file.
14912         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14913         file.
14914         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14915         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14916         file.
14917         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14918         New file.
14919         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14920         file.
14921         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14922         file.
14923         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14924         file.
14925         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14926         file.
14927         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14928         file.
14929         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14930         New file.
14931         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14932         file.
14933         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14934         file.
14935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14936         New file.
14937         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14938         file.
14939         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14940         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14941         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14942         file.
14943         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14944         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14945         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14946         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14947         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14948         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14949         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14950         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14951         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14952         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14953         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14954         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14955         file.
14956         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14957         New file.
14958         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14959         file.
14960         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14961         file.
14962         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14963         file.
14964         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14965         file.
14966         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14967         file.
14968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14969         New file.
14970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14971         New file.
14972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14973         file.
14974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14975         New file.
14976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14977         file.
14978         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14979         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14980         file.
14981         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14982         New file.
14983         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14984         file.
14985         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14986         file.
14987         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14988         file.
14989         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14990         file.
14991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14992         file.
14993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14994         New file.
14995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14996         New file.
14997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14998         file.
14999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15000         New file.
15001         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15002         file.
15003
15004 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
15005
15006         * conform/conformtest.pl: Fix typo in handling typed-constant from
15007         allow-header.
15008
15009 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
15010
15011         * README: Cut down references to pre-2.6 Linux kernels and
15012         Linuxthreads.  Update lists of configurations in libc and ports
15013         and sort alphabetically.  Say "or newer" with Linux kernel version
15014         requirements.
15015
15016         * config.h.in [IS_IN_build]: Allow compiling without optimization.
15017
15018 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15019
15020         [BZ #887]
15021         * math/libm-test.inc (logb_test_downward): New test to expose
15022         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15023         rounding mode.
15024
15025 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
15026
15027         [BZ #14027]
15028         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15029         to be done.
15030         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15031         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15032
15033 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
15034
15035         * sysdeps/unix/i386/brk.S: Remove file.
15036         * sysdeps/unix/i386/dl-brk.S: Likewise.
15037         * sysdeps/unix/i386/pipe.S: Likewise.
15038         * sysdeps/unix/i386/sigreturn.S: Likewise.
15039         * sysdeps/unix/i386/syscall.S: Likewise.
15040         * sysdeps/unix/i386/vfork.S: Likewise.
15041         * sysdeps/unix/i386/wait.S: Likewise.
15042
15043         * sysdeps/unix/common/tcsendbrk.c: Move to ...
15044         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15045
15046         * configure.in (arm*-none*): Do not allow without
15047         --enable-hacker-mode.
15048         (netbsd*): Remove case setting base_os.
15049         (386bsd*): Likewise.
15050         (freebsd*): Likewise.
15051         (bsdi*): Likewise.
15052         (osf*): Likewise.
15053         (sunos*): Likewise.
15054         (ultrix*): Likewise.
15055         (newsos*): Likewise.
15056         (dynix*): Likewise.
15057         (*bsd*): Likewise.
15058         (sysv*): Likewise.
15059         (isc*): Likewise.
15060         (esix*): Likewise.
15061         (sco*): Likewise.
15062         (minix*): Likewise.
15063         (irix4*): Likewise.
15064         (irix6*): Likewise.
15065         (solaris[2-9]*): Likewise.
15066         (none): Likewise.
15067         * configure: Regenerated.
15068
15069 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15070
15071         [BZ #11521]
15072         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15073         overflow or cancellation in calculating denominator.
15074         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15075         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15076         down expression to avoid unexpected rounding in newer GCCs.
15077         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15078
15079 2012-04-26  David S. Miller  <davem@davemloft.net>
15080
15081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15082         long-double compat symbols.
15083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15088         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15091         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15092         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15093         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15094         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15096
15097 2012-04-25  David S. Miller  <davem@davemloft.net>
15098
15099         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15100         HWCAP_* values only after the memory barriers have been defined.
15101         (atomic_full_barrier): Define.
15102         (atomic_read_barrier): Define.
15103         (atomic_write_barrier): Define.
15104
15105 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15106
15107         * shlib-versions: Add libgcc_s version information.
15108         * sysdeps/generic/libgcc_s.h: Remove.
15109         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15110         libgcc_s.h.
15111         * sysdeps/gnu/unwind-resume.c: Likewise.
15112         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15113
15114 2012-04-25  David S. Miller  <davem@davemloft.net>
15115
15116         * sysdeps/unix/sparc/brk.S: Delete.
15117         * sysdeps/unix/sparc/dl-brk.S: Delete.
15118         * sysdeps/unix/sparc/pipe.S: Delete.
15119         * sysdeps/unix/sparc/sysdep.S: Delete.
15120         * sysdeps/unix/sparc/sysdep.h: Delete.
15121         * sysdeps/unix/sparc/vfork.S: Delete.
15122         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15123         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15124         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15125         ret_ERRVAL, r0, r1, MOVE): Define.
15126         (JUMPTARGET): Remove.
15127         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15128         sysdeps/unix/sparc/sysdep.h
15129         (ENTRY, END): Remove.
15130         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15131
15132 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
15133
15134         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15135         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15136         -DIS_IN_build.
15137
15138         * timezone/README: Update upstream location and email address for
15139         tzcode and tzdata.
15140         * timezone/zdump.c: Update from tzcode 2012b.
15141         * timezone/zic.c: Likewise.
15142
15143         * configure.in (libc_cv_as_needed): Remove test.
15144         * configure: Regenerated.
15145         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15146         conditional definition.
15147         [$(have-as-needed) != yes] (no-as-needed): Likewise.
15148         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15149         * config.make.in (have-as-needed): Remove variable.
15150
15151 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15152             Paul Pluzhnikov  <ppluzhnikov@google.com>
15153
15154         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15155         strings correctly.
15156
15157 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
15158
15159         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15160         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15161         * sysdeps/sh/strlen.S: Likewise.
15162
15163 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15164
15165         * sysdeps/unix/fork.S: Remove file.
15166         * sysdeps/unix/i386/fork.S: Likewise.
15167         * sysdeps/unix/sparc/fork.S: Likewise.
15168
15169         * sysdeps/unix/system.c: Remove file.
15170         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15171
15172         * sysdeps/unix/getegid.S: Remove file.
15173         * sysdeps/unix/geteuid.S: Likewise.
15174
15175 2012-04-24  Roland McGrath  <roland@hack.frob.com>
15176
15177         * scripts/check-localplt.awk: New file.
15178         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15179         of diff.
15180         * scripts/data/localplt-generic.data: Add a comment.
15181
15182         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15183         NODE when __dir_mkfile failed.
15184         * sysdeps/mach/hurd/symlinkat.c: Likewise.
15185         Reported by Ludovic Courtès <ludo@gnu.org>.
15186
15187 2012-04-24  Andreas Jaeger  <aj@suse.de>
15188
15189         * Makerules (common-clean): Also remove gen-as-const-headers
15190         files.
15191
15192 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15193
15194         * Makerules (native-compile): Do not change working directory for
15195         build.  Use $(OUTPUT_OPTION) in command.
15196         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15197
15198 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15199
15200         [BZ #13886]
15201         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15202         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15203         * math/libm-test.inc (floor_test): Add more tests.
15204         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15205
15206 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
15207
15208         * sysdeps/unix/getdents.c: Remove file.
15209         * sysdeps/unix/sysv/getdents.c: Likewise.
15210         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15211
15212         * sysdeps/unix/syscalls.list (madvise): Add syscall from
15213         sysdeps/unix/mman/syscalls.list.
15214         (mmap): Likewise.
15215         (mprotect): Likewise.
15216         (msync): Likewise.
15217         (munmap): Likewise.
15218         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15219         * sysdeps/unix/mman/syscalls.list: Remove.
15220         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15221
15222         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15223         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15224         * configure: Regenerated.
15225         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15226         $(libgcc_s_suffix).
15227         * config.make.in (libgcc_s_suffix): Remove variable.
15228
15229 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
15230
15231         * sysdeps/unix/sysv/gethostname.c: Move to ...
15232         * sysdeps/posix/gethostname.c: ... here.
15233
15234         * sysdeps/unix/execve.S: Remove file.
15235
15236         * sysdeps/unix/_exit.S: Remove file.
15237
15238 2012-04-23  Andreas Jaeger  <aj@suse.de>
15239
15240         [BZ #13739]
15241         * manual/Makefile: Remove make dist support, there's no
15242         need for a stand-alone documentation tar ball.
15243         (TEXI2DVI): Define always, it's not in Makeconfig.
15244         (dist): Removed.
15245         (tar-it): Removed.
15246         (edition): Removed.
15247         (glibc-doc-$(edition).tar): Removed
15248         (%.Z): Removed.
15249         (%.gz): Removed.
15250         (%.uu): Removed.
15251         (ETAGS): Remove, it's in Makeconfig.
15252         (move-if-change): Remove, it's in Makeconfig.
15253
15254 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
15255
15256         [BZ #13970]
15257         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15258         (strtod, strtof, strtold, strtol, strtoul, strtoq)
15259         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15260         (strtod_l, strtof_l, strtold_l): Remove __wur.
15261         It is not necessarily an error to ignore strtol's return value.
15262         One can reliably look at the stored endptr to decide whether
15263         the number had valid syntax.
15264
15265 2012-04-21  Andreas Jaeger  <aj@suse.de>
15266
15267         [BZ #13739]
15268         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15269
15270 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
15271
15272         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15273         * sysdeps/unix/sysv/Versions: Remove file.
15274
15275 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
15276
15277         [BZ #13927]
15278         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15279
15280 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
15281
15282         [BZ #7064]
15283         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15284         version from __vm86.
15285
15286 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
15287
15288         * sysdeps/unix/common/lxstat.c: Remove file.
15289         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15290
15291         * sysdeps/unix/sysv/Makefile: Remove file.
15292
15293         * sysdeps/unix/sysv/direct.h: Remove file.
15294
15295         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15296         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15297         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15298         * sysdeps/unix/sysv/bits/signum.h: Likewise.
15299         * sysdeps/unix/sysv/bits/stat.h: Likewise.
15300         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15301         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15302
15303         * sysdeps/unix/sysv/setrlimit.c: Remove file.
15304
15305         * sysdeps/unix/xmknod.c: Remove file.
15306         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15307
15308         * sysdeps/unix/sysv/settimeofday.c: Remove file.
15309
15310         * sysdeps/unix/sysv/i386/time.S: Remove file.
15311
15312         * sysdeps/unix/fxstat.c: Remove file.
15313         * sysdeps/unix/xstat.c: Likewise.
15314         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15315
15316         * sysdeps/unix/sysv/sigaction.c: Remove file.
15317
15318         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15319         (sysdep_headers): Remove variable.
15320         [termio.h not in sysdep_headers] (generated): Likewise.
15321         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15322         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15323         * sysdeps/unix/sysv/tcdrain.c: Likewise.
15324         * sysdeps/unix/sysv/tcflow.c: Likewise.
15325         * sysdeps/unix/sysv/tcflush.c: Likewise.
15326         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15327         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15328         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15329         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15330         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15331
15332         * sysdeps/unix/siglist.c: Remove file.
15333
15334         * sysdeps/unix/getppid.S: Remove file.
15335
15336         * sysdeps/unix/mkdir.c: Remove file.
15337         * sysdeps/unix/rmdir.c: Likewise.
15338
15339 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
15340
15341         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15342         ERR_MAX value.
15343         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15344         errlist-compat value.
15345
15346 2012-04-18  David S. Miller  <davem@davemloft.net>
15347
15348         * sysdeps/generic/memcopy.h (reg_char): Delete.
15349         * debug/strcat_chk.c: Use char, not reg_char.
15350         * debug/strcpy_chk.c: Likewise.
15351         * debug/strncat_chk.c: Likewise.
15352         * debug/strncpy_chk.c: Likewise.
15353         * string/memchr.c: Likewise.
15354         * string/memrchr.c: Likewise.
15355         * string/rawmemchr.c: Likewise.
15356         * string/strcat.c: Likewise.
15357         * string/strchr.c: Likewise.
15358         * string/strchrnul.c: Likewise.
15359         * string/strcmp.c: Likewise.
15360         * string/strcpy.c: Likewise.
15361         * string/strncat.c: Likewise.
15362         * string/strncmp.c: Likewise.
15363         * string/strncpy.c: Likewise.
15364
15365 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15366
15367         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15368         __builtin_memcopy is called when src and dest ranges are known to not
15369         overlap.
15370
15371 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15372
15373         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15374         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15375         fwd_align_merge macro call.
15376         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15377         bwd_align_merge macro call.
15378         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15379
15380 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
15381
15382         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15383         bwd_align_merge macros.
15384         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15385         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15386         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15387
15388 2012-04-18  David S. Miller  <davem@davemloft.net>
15389
15390         * sysdeps/sparc/sparc64/memcopy.h: Delete.
15391
15392 2012-04-18  Andreas Jaeger  <aj@suse.de>
15393
15394         [BZ# 6794]
15395         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15396         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15397         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15398
15399         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15400         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15401         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15402
15403         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15404         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15405         Adjust for changed ldbl-128 files.
15406
15407         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15408         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15409         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15410
15411 2012-04-17  David S. Miller  <davem@davemloft.net>
15412
15413         * sysdeps/sparc/sparc32/memcopy.h: Delete.
15414
15415 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
15416
15417         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15418         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15419         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15420         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15421         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15422         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15423
15424 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15425
15426         [BZ #6794]
15427         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15428         * math/libm-test.inc: Add ilogb errno and exception tests.
15429         * math/w_ilogb.c: New file: ilogb wrapper.
15430         * math/w_ilogbf.c: New file: ilogbf wrapper.
15431         * math/w_ilogbl.c: New file: ilogbl wrapper.
15432         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15433         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15434         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15435         exception being thrown with 0.0 as argument.
15436         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15437         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15438         exception being thrown with 0.0 as argument.
15439         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15440         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15441         exception being thrown with 0.0 as argument.
15442         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15443         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15444         exception being thrown with 0.0 as argument.
15445         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15446         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
15447         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
15448         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15449         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15450         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15451         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15452         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15453         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15454
15455 2012-04-17  Petr Baudis  <pasky@ucw.cz>
15456
15457         * include/sys/uio.h: Change __vector to __iovec to avoid clash
15458         with altivec.
15459
15460 2012-04-16  Marek Polacek  <polacek@redhat.com>
15461
15462         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15463
15464 2012-04-16  Marek Polacek  <polacek@redhat.com>
15465
15466         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15467         operands of fdivp instruction.
15468
15469 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
15470
15471         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15472         * elf/tst-auditmod3b.c: Likewise.
15473         * elf/tst-auditmod4b.c: Likewise.
15474         * elf/tst-auditmod5b.c: Likewise.
15475         * elf/tst-auditmod6b.c: Likewise.
15476         * elf/tst-auditmod6c.c: Likewise.
15477         * elf/tst-auditmod7b.c: Likewise.
15478         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15479         * sysdeps/x86_64/preconfigure.in: Likewise.
15480         * sysdeps/x86_64/preconfigure: Regenerated.
15481
15482 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
15483
15484         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15485         __ILP32__.
15486
15487 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
15488
15489         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15490         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15491
15492 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
15493
15494         [BZ #13973]
15495         * locale/iso-639.def: Fix gl language name. Spotted by
15496         Yaron Shahrabani.
15497
15498 2012-04-12  Roland McGrath  <roland@hack.frob.com>
15499
15500         [BZ #2074]
15501         * libio/libio.h (__io_write_fn): Update comment.
15502
15503 2012-04-12  Petr Baudis  <pasky@ucw.cz>
15504
15505         [BZ #2074]
15506         * stdio.texi (Hook Functions): The user provided writer function
15507         is not allowed to return -1.
15508
15509 2012-04-11  David S. Miller  <davem@davemloft.net>
15510
15511         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15512
15513 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
15514
15515         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15516         Add a leading slash to rtkaio.
15517
15518 2012-04-11  Jim Meyering  <meyering@redhat.com>
15519
15520         [BZ #11959]
15521         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15522         It is not necessarily an error to ignore fwrite's return
15523         value.  One can reliably use ferror to test for errors after
15524         the fact.
15525
15526 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
15527
15528         * bits/types.h (__snseconds_t): New type.
15529         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15530
15531         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15532         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15533         (__SNSECONDS_T_TYPE): Likewise.
15534         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15535         (__SNSECONDS_T_TYPE): Likewise.
15536         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15537         (__SNSECONDS_T_TYPE): Likewise.
15538
15539 2012-04-10  Andreas Jaeger  <aj@suse.de>
15540
15541         [BZ #2636]
15542         * manual/time.texi (Processor Time): Return type of times is
15543         elapsed real time since an arbitrary point in the past.
15544         (CPU Time): Move CLK_TCK from here...
15545         (Processor Time): ...to here.  Correct description.
15546         * manual/conf.texi (Constants for Sysconf): Correct description of
15547         _SC_CLK_TCK.
15548
15549 2012-04-10  David S. Miller  <davem@davemloft.net>
15550
15551         [BZ #13967]
15552         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15553         where the is a gap between DT_REL(A) and DT_JMPREL.
15554
15555 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
15556
15557         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15558         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15559         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15560
15561 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15562
15563         * elf/dl-support.c (_dl_inhibit_cache): New variable.
15564         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15565         (dl_main): Handle --inhibit-cache.
15566         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15567         _dl_inhibit_cache.
15568         * elf/dl-load.c (_dl_map_object): Use it.
15569         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15570
15571 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
15572
15573         [BZ #13872]
15574         * sysdeps/i386/fpu/e_powl.S (p78): New object.
15575         (__ieee754_powl): Saturate large exponents rather than testing for
15576         overflow of y*log2(x).
15577         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15578         * math/libm-test.inc (pow_test): Do not permit spurious overflow
15579         exceptions.
15580
15581         [BZ #11521]
15582         * math/s_ctan.c: Include <float.h>.
15583         (__ctan): Avoid internal overflow or cancellation in calculating
15584         denominator.
15585         * math/s_ctanf.c: Likewise.
15586         * math/s_ctanl.c: Likewise.
15587         * math/s_ctanh.c: Likewise.
15588         * math/s_ctanhf.c: Likewise.
15589         * math/s_ctanhl.c: Likewise.
15590         * math/libm-test.inc (ctan_test): Add more tests.
15591         (ctanh_test): Likewise.
15592         * sysdeps/i386/fpu/libm-test-ulps: Update.
15593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15594
15595 2012-04-09  Andreas Jaeger  <aj@suse.de>
15596
15597         [BZ #6894]
15598         * manual/filesys.texi (Directory Entries): Mention that d_namlen
15599         is an optional BSD extension.
15600
15601         [BZ #10254]
15602         * manual/stdio.texi (Opening Streams): Document additional fopen
15603         parameters.
15604
15605 2012-04-09  Roland McGrath  <roland@hack.frob.com>
15606
15607         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15608         %eax without telling the compiler.
15609
15610 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
15611
15612         [BZ # 13963]
15613         * manual/install.texi: Use sourceware.org.
15614
15615 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
15616
15617         [BZ #13873]
15618         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15619         (__ieee754_pow): Generate overflow and underflow using huge*huge
15620         and tiny*tiny rather than just returning constant infinity or zero
15621         for large exponents.
15622         * math/libm-test.inc (pow_test): Require overflow exceptions for
15623         applicable cases of large exponents.
15624
15625         [BZ #706]
15626         * sysdeps/i386/fpu/e_pow.S (p10): New object.
15627         (__ieee754_pow): Use iterative multiplication algorithm only for
15628         integer exponents with absolute value below 1024.  Check for odd
15629         integer exponents when using algorithm for real exponents.
15630         * math/libm-test.inc (pow_test): Add more tests.
15631         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15632
15633 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
15634
15635         [BZ #13705]
15636         * math/libm-test.inc (exp_test): Do not allow overflow exception
15637         on underflow test.
15638
15639 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
15640
15641         [BZ #13705]
15642         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15643         instead of __kernel_standard_f.
15644
15645 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
15646
15647         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15648         * sysdeps/x86_64/memset_chk.S: Likewise.
15649
15650 2012-04-08  Andreas Jaeger  <aj@suse.de>
15651
15652         [BZ #10153]
15653         * manual/startup.texi (Environment Access): Describe return value
15654         for putenv and setenv.
15655
15656         [BZ #6895]
15657         * manual/filesys.texi (Directory Entries): Add description for
15658         DT_LNK.
15659
15660         [BZ #6890]
15661         * manual/filesys.texi (Directory Entries): Clarify that it's file
15662         system not operating system in the description of DT_UNKNOWN.
15663
15664         [BZ #6578]
15665         * manual/syslog.texi (closelog): Fix reference, it's openlog.
15666
15667 2012-04-08  Stephen Compall  <s11@member.fsf.org>
15668
15669         [BZ #6649]
15670         * manual/llio.texi (Opening and Closing Files): Add cross
15671         reference to explain mode argument.
15672
15673 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
15674
15675         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15676         * sysdeps/x86_64/memset_chk.S: Likewise.
15677
15678 2012-04-07  David S. Miller  <davem@davemloft.net>
15679
15680         * elf/elf.h (R_SPARC_WDISP10): Define.
15681         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15682         R_SPARC_SIZE32.
15683         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15684         R_SPARC_SIZE64 and R_SPARC_H34.
15685
15686 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
15687
15688         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15689         conditions and remove no longer applicable assertion.
15690
15691 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
15692
15693         * bits/byteswap.h: Include <features.h>.
15694         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15695         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15696
15697 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
15698
15699         * bits/byteswap.h (__bswap_16): Removed.
15700         Include <bits/byteswap-16.h> to get __bswap_16.
15701         * sysdeps/i386/bits/byteswap.h: Likewise.
15702         * sysdeps/s390/bits/byteswap.h: Likewise.
15703         * sysdeps/x86_64/bits/byteswap.h: Likewise.
15704         * bits/byteswap-16.h: New file.
15705         * sysdeps/i386/bits/byteswap-16.h: Likewise.
15706         * sysdeps/s390/bits/byteswap-16.h: Likewise.
15707         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15708         * string/Makefile (headers): Add bits/byteswap-16.h.
15709
15710 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15711
15712         [BZ #13895]
15713         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15714         extra indirection.
15715         * nss/Makefile (tests-static, tests): Add tst-nss-static.
15716         * nss/tst-nss-static.c: New.
15717
15718 2012-04-06  Robert Millan  <rmh@gnu.org>
15719
15720         [BZ #6486]
15721         * manual/llio.texi (File Position Primitive): lseek
15722         refers to WHENCE when it really means OFFSET.
15723
15724 2012-04-06  Andreas Jaeger  <aj@suse.de>
15725
15726         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15727         strncmp declarations.
15728
15729         * abilist/libc.abilist: Add __poll and __ppoll.
15730
15731 2012-04-05  David S. Miller  <davem@davemloft.net>
15732
15733         * scripts/check-local-headers.sh: Accept a host triplet in the
15734         path matched by the exclude regexp.
15735
15736         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15737         definition.
15738         * sysdeps/powerpc/powerpc32/dl-machine.h
15739         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15740         * sysdeps/s390/s390-32/dl-machine.h
15741         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15742         * sysdeps/sparc/sparc32/dl-machine.h
15743         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15744         * sysdeps/sparc/sparc64/dl-machine.h
15745         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15746
15747         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15748         lazy binding.
15749         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
15750         undefined symbol errors.
15751
15752         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
15753         DT_NEEDED entries.
15754
15755 2012-04-05  Michael Matz  <matz@suse.de>
15756
15757         [BZ #13592]
15758         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15759
15760 2012-04-05  Andreas Jaeger  <aj@suse.de>
15761
15762         [BZ #13908]
15763         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15764         comment.
15765
15766 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15767
15768         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15769         which ROUND is no valid rounding mode.
15770
15771 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15772
15773         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15774         read again.
15775         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15776
15777 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15778
15779         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15780         an exception using FPU order intentionally.
15781
15782 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15783
15784         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15785         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15786         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15787         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15788
15789 2012-04-05  Simon Josefsson  <simon@josefsson.org>
15790
15791         [BZ #12340]
15792         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15793         EINVAL when BUFLEN is too smal.
15794
15795 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
15796
15797         [BZ #13553]
15798         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15799         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15800
15801 2012-04-03  Andreas Jaeger  <aj@suse.de>
15802
15803         [BZ #13938]
15804         * manual/setjmp.texi (System V contexts): Fix sentence.
15805
15806         [BZ #13926]
15807         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15808         New macro for this case.
15809         [!__GNUC__] (__bswap_64): New inline function for this case.
15810         * sysdeps/x86_64/bits/byteswap.h: Likewise.
15811         * bits/byteswap.h: Likewise.
15812         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15813         ull, guard with __GLIBC_HAVE_LONG_LONG.
15814
15815         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15816         __GLIBC_HAVE_LONG_LONG.
15817
15818         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15819         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15820
15821 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15822
15823         [BZ #13691]
15824         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15825         inptr and inend, rather than using last_ch.
15826
15827 2012-04-02  David S. Miller  <davem@davemloft.net>
15828
15829         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15830         * stdio-common/printf-parse.h (read_int): Change return type to
15831         'int', return -1 on INT_MAX overflow.
15832         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15833         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
15834         overflows INT_MAX.  Check for overflow of in-format-string precision
15835         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
15836         SIZE_MAX not INT_MAX for integer overflow test.
15837         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15838         skip the construct in the format string but do not record anything.
15839         * stdio-common/bug22.c: Adjust to test both width/prevision
15840         INT_MAX overflow as well as total length INT_MAX overflow.  Check
15841         explicitly for proper errno values.
15842
15843 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
15844
15845         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15846         CHAR_MAX.
15847         * string/test-strcmp.c [! WIDE]: Likewise.
15848         * time/tst-mktime2.c: Likewise for INT_MAX.
15849         * string/test-string.h: #include <sys/param.h> for MIN.
15850
15851         * csu/init-first.c (__libc_init_first): Call __ctype_init.
15852         * sysdeps/i386/init-first.c (init): Likewise.
15853         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15854         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15855         * sysdeps/sh/init-first.c (init): Likewise.
15856
15857 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
15858
15859         * po/ru.po: Update from translation team.
15860         * po/vi.po: Likewise.
15861
15862 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15863
15864         * resolv/nss_dns/dns-host.c: Merge copyright years.
15865
15866 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15867
15868         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15869         Optimize memcpy with prefetch if
15870         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
15871         src, dst pointers have unequal 16 byte alignments.
15872
15873 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15874
15875         [BZ #13928]
15876         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15877         from a CNAME entry and return the minimum ttl for the query.
15878         (gaih_getanswer_slice): Likewise.
15879
15880 2012-03-30  Jeff Law  <law@redhat.com>
15881
15882         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15883         due to long keys.
15884         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15885         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15886
15887         * resolv/nss_dns/dns-host.c: Update copyright year.
15888
15889 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
15890
15891         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
15892         requests to save a system call.  Fix check that all bytes are sent.
15893
15894         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15895         comments for sendmmsg.
15896
15897 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15898
15899         [BZ #13691]
15900         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15901         with only 1 character between 0x0041 and 0x01b0.
15902         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15903         * wcsmbs/tst-mbsnrtowcs.c: New file.
15904
15905 2012-03-29  David S. Miller  <davem@davemloft.net>
15906
15907         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15908         small copies by hand.
15909
15910 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15911
15912         [BZ #13761]
15913         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15914         _nss_compat_initgroups_dyn): Fall back to malloc/free
15915         for large group memberships.
15916
15917 2012-03-28  David S. Miller  <davem@davemloft.net>
15918
15919         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15920         that branches into memcpy.
15921         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15922         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15923         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15924         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15925         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15926         bits.
15927         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15928         implementation too.
15929         * sysdeps/sparc/mempcpy.S: New file.
15930
15931         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15932         the IFUNC routine in the libc case.
15933         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15934
15935         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15936         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15937         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15938         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15939         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15940         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15941         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15942         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15943
15944         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15945         loop to 256 bytes instead of 64 bytes and fix test signedness.
15946
15947         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15948         * sysdeps/sparc/sparc32/Makefile: rather than here...
15949         * sysdeps/sparc/sparc64/Makefile: and here.
15950
15951 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
15952
15953         * malloc/mallocbug.c: Avoid warnings about unused variables.
15954
15955 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15956
15957         [BZ #13760]
15958         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15959         in the right place. Discard and retry query if response is
15960         larger than input buffer size.
15961
15962 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
15963
15964         [BZ #369]
15965         [BZ #2678]
15966         [BZ #3866]
15967         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15968         x for large integer exponent.
15969         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15970         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
15971         sign of result as needed afterwards.
15972         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15973         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15974         result for underflowing pow the same as for overflow.
15975         (__kernel_standard_l): Handle powl overflow and underflow here
15976         rather than calling __kernel_standard.
15977         * math/libm-test.inc (pow_test): Add more tests.
15978
15979         [BZ #3868]
15980         [BZ #13879]
15981         [BZ #13910]
15982         [BZ #13911]
15983         [BZ #13912]
15984         [BZ #13913]
15985         [BZ #13915]
15986         [BZ #13916]
15987         [BZ #13917]
15988         [BZ #13918]
15989         [BZ #13919]
15990         [BZ #13920]
15991         [BZ #13921]
15992         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15993         * sysdeps/ieee754/k_standard.c: Include <float.h>.
15994         (__kernel_standard_l): New function.
15995         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15996         __kernel_standard.
15997         * math/w_acosl.c (__acosl): Likewise.
15998         * math/w_asinl.c (__asinl): Likewise.
15999         * math/w_atan2l.c (__atan2l): Likewise.
16000         * math/w_atanhl.c (__atanhl): Likewise.
16001         * math/w_coshl.c (__coshl): Likewise.
16002         * math/w_exp10l.c (__exp10l): Likewise.
16003         * math/w_exp2l.c (__exp2l): Likewise.
16004         * math/w_fmodl.c (__fmodl): Likewise.
16005         * math/w_hypotl.c (__hypotl): Likewise.
16006         * math/w_j0l.c (__j0l, __y0l): Likewise.
16007         * math/w_j1l.c (__j1l, __y1l): Likewise.
16008         * math/w_jnl.c (__jnl, __ynl): Likewise.
16009         * math/w_lgammal.c (__lgammal): Likewise.
16010         * math/w_log10l.c (__log10l): Likewise.
16011         * math/w_log2l.c (__log2l): Likewise.
16012         * math/w_logl.c (__logl): Likewise.
16013         * math/w_powl.c (__powl): Likewise.
16014         * math/w_remainderl.c (__remainderl): Likewise.
16015         * math/w_scalbl.c (sysv_scalbl): Likewise.
16016         * math/w_sinhl.c (__sinhl): Likewise.
16017         * math/w_sqrtl.c (__sqrtl): Likewise.
16018         * math/w_tgammal.c (__tgammal): Likewise.
16019         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16020         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16021         * math/libm-test.inc (acos_test): Add more tests.
16022         (acosh_test): Likewise.
16023         (asin_test): Likewise.
16024         (atanh_test): Likewise.
16025         (exp_test): Likewise.
16026         (exp10_test): Likewise.
16027         (exp2_test): Likewise.
16028         (expm1_test): Likewise.
16029         (lgamma_test): Likewise.
16030         (log_test): Likewise.
16031         (log10_test): Likewise.
16032         (log1p_test): Likewise.
16033         (log2_test): Likewise.
16034         (pow_test): Do not allow some spurious overflow exceptions.
16035         (sqrt_test): Add more tests.
16036         (tgamma_test): Likewise.
16037         (y0_test): Likewise.
16038         (y1_test): Likewise.
16039         (yn_test): Likewise.
16040
16041 2012-03-27  Anton Blanchard  <anton@samba.org>
16042
16043         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16044         MAP_HUGETLB.
16045         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16046         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16047         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16048
16049 2012-03-27  David S. Miller  <davem@davemloft.net>
16050
16051         * conform/Makefile: Run run-conformtest.sh using $(BASH).
16052
16053         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16054         have-as-vis3 check.
16055
16056 2012-03-27  Andreas Jaeger  <aj@suse.de>
16057
16058         * sysdeps/x86_64/elf/configure.in: Moved to ...
16059         * sysdeps/x86_64/configure.in: ... here.
16060         * sysdeps/x86_64/elf/start.S: Moved to ...
16061         * sysdeps/x86_64/start.S: ... here.
16062         * sysdeps/x86_64/elf/configure: Delete.
16063
16064         * sysdeps/x86_64/configure.in: Merge contents from
16065         sysdeps/i386/configure.in (without i686 check).
16066
16067         * sysdeps/i386/elf/Versions: Merge into ...
16068         * sysdeps/i386/Versions: ... this.
16069         * sysdeps/i386/elf/Versions: Delete file.
16070         * sysdeps/i386/elf/start.S: Moved to ...
16071         * sysdeps/i386/start.S: ...here.
16072         * sysdeps/i386/elf/configure.in: Merge into...
16073         * sysdeps/i386/configure.in: ...here.
16074         * sysdeps/i386/elf/configure.in: Delete file.
16075         * sysdeps/i386/elf/configure: Delete file.
16076
16077         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16078         * debug/backtracesyms.c: ... here.
16079         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16080         * debug/backtracesymsfd.c: ... here.
16081         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16082         * sysdeps/generic/ifunc-sel.h: ... here.
16083
16084         * sysdeps/unix/i386/start.c: Delete file.
16085         * sysdeps/unix/sparc/start.c: Delete file.
16086         * sysdeps/unix/start.c: Delete file.
16087
16088         * sysdeps/sh/elf/configure.in: Moved to ...
16089         * sysdeps/sh/configure.in: ... here.
16090         * sysdeps/sh/elf/start.S: Moved to ...
16091         * sysdeps/sh/start.S: ... here.
16092         * sysdeps/sh/elf/configure: Delete file.
16093
16094         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16095         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16096         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16097         * sysdeps/powerpc/powerpc64/entry.h: ... here.
16098         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16099         * sysdeps/powerpc/powerpc64/start.S: here.
16100         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16101         * sysdeps/powerpc/powerpc64/Makefile: ... this.
16102         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16103         * sysdeps/powerpc/powerpc64/configure.in: ... this.
16104         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16105
16106         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16107         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16108         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16109         * sysdeps/powerpc/powerpc32/start.S: ... here.
16110         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16111         * sysdeps/powerpc/powerpc32/configure.in: ... this.
16112         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16113
16114         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16115         * sysdeps/powerpc/ifunc-sel.h: ... here.
16116         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16117         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16118
16119         * sysdeps/sparc/elf/configure.in: Moved to ...
16120         * sysdeps/sparc/configure.in: ... here.
16121         * sysdeps/sparc/elf/configure: Delete file.
16122         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16123         * sysdeps/sparc/sparc32/start.S: ... here.
16124         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16125         * sysdeps/sparc/sparc64/start.S: ... here.
16126         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16127         * sysdeps/sparc/sparc32/Makefile: ... this.
16128         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16129         * sysdeps/sparc/sparc64/Makefile: ... this.
16130
16131         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16132         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16133         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16134         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16135         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16136         * sysdeps/s390/s390-32/setjmp.S: ... here.
16137         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16138         * sysdeps/s390/s390-32/configure.in: ... here.
16139         * sysdeps/s390/s390-32/elf/configure: Delete file.
16140         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16141         * sysdeps/s390/s390-32/start.S: ... here.
16142
16143         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16144         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16145         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16146         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16147         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16148         * sysdeps/s390/s390-64/setjmp.S: ... here.
16149         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16150         * sysdeps/s390/s390-64/configure.in: ... here
16151         * sysdeps/s390/s390-64/elf/configure: Delete file.
16152         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16153         * sysdeps/s390/s390-64/start.S: ... here.
16154         * sysdeps/s390/s390-64/elf/configure: Delete.
16155
16156         * configure.in: Remove support for elf directories in sysdeps.
16157
16158         * configure: Regenerated.
16159         * sysdeps/i386/configure: Regenerated.
16160         * sysdeps/powerpc/powerpc32/configure: Regenerated.
16161         * sysdeps/powerpc/powerpc64/configure: Regenerated.
16162         * sysdeps/s390/s390-32/configure: Regenerated.
16163         * sysdeps/s390/s390-64/configure: Regenerated.
16164         * sysdeps/sh/configure: Regenerated.
16165         * sysdeps/sparc/configure: Regenerated.
16166         * sysdeps/x86_64/configure: Regenerated.
16167
16168 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
16169
16170         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16171
16172         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16173         denormal result into account.
16174
16175 2012-03-25  Roland McGrath  <roland@hack.frob.com>
16176
16177         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16178         Reported by Allan McRae <allan@archlinux.org>.
16179
16180 2012-03-23  Jeff Law  <law@redhat.com>
16181
16182         * nss/getnssent.c (__nss_getent): Fix typo.
16183
16184 2012-03-23  David S. Miller  <davem@davemloft.net>
16185
16186         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16187
16188 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
16189
16190         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16191         to pad to uint64_t for each field.
16192         (dl_tls_index): Replace unsigned long with uint64_t.
16193
16194 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
16195         Paul Pluzhnikov  <ppluzhnikov@google.com>
16196
16197         [BZ #6528]
16198         * grp/Makefile (otherlibs): Don't set it.
16199         * inet/Makefile (otherlibs): Likewise.
16200         * login/Makefile (otherlibs): Likewise.
16201         * nscd/Makefile (otherlibs): Likewise.
16202         * posix/Makefile (otherlibs): Likewise.
16203         * pwd/Makefile (otherlibs): Likewise.
16204         * rt/Makefile (otherlibs): Likewise.
16205         * sunrpc/Makefile (otherlibs): Likewise.
16206         * nss/Makefile (otherlibs): Likewise.
16207         Add libnss_files to routines and static-only-routines.
16208         ($(objpfx)getent): Remove rule.
16209         * resolv/Makefile: Add libnss_dns and libresolv to routines and
16210         static-only-routines.
16211
16212 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
16213
16214         [BZ #13892]
16215         * math/s_cexp.c: Include <float.h>.
16216         (__cexp): Handle exp result overflowing not necessarily
16217         overflowing both real and imaginary parts of result.
16218         * math/s_cexpf.c: Likewise.
16219         * math/s_cexpl.c: Likewise.
16220         * math/libm-test.inc (cexp_test): Add more tests.
16221         * sysdeps/i386/fpu/libm-test-ulps: Update.
16222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16223
16224 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16225
16226         * include/link.h (ELFW): New macro.
16227         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16228         Replace ELF64_R_TYPE with ELFW(R_TYPE).
16229
16230 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16231
16232         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16233         with uint64_t.
16234
16235 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16236
16237         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16238         declaration.
16239         (struct La_x32_retval): Likewise.
16240
16241 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16242
16243         * sysdeps/x86_64/preconfigure.in: New file.
16244         * sysdeps/x86_64/preconfigure: New generated file.
16245
16246 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
16247
16248         [BZ #13824]
16249         * math/e_exp2l.c: Include <float.h>.
16250         (__ieee754_exp2l): Handle overflow and underflow cases
16251         separately.  Only pass fractional part of argument to
16252         __ieee754_expl.
16253         * math/libm-test.inc (exp2_test): Add more tests.
16254
16255         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16256         negating x to take absolute value.
16257         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16258         Likewise.
16259         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16260         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16261         Likewise.
16262         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16263         computing low part if x was negated.
16264         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16265
16266 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16267
16268         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16269         la_x32_gnu_pltexit.
16270         (pltexit): Cast int_retval to ptrdiff_t.
16271         * elf/tst-auditmod3b.c: Likewise.
16272         * elf/tst-auditmod4b.c: Likewise.
16273         * elf/tst-auditmod5b.c: Likewise.
16274         * elf/tst-auditmod6b.c: Likewise.
16275         * elf/tst-auditmod6c.c: Likewise.
16276         * elf/tst-auditmod7b.c: Likewise.
16277
16278         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16279         and x32_gnu_pltexit.
16280
16281         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16282         __ELF_NATIVE_CLASS.
16283         (La_x32_regs): New macro.
16284         (La_x32_retval): Likewise.
16285         (la_x32_gnu_pltenter): New function prototype.
16286         (la_x32_gnu_pltexit): Likewise.
16287
16288 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
16289
16290         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16291         exponent.
16292
16293         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16294
16295         * configure.in (libc_cv_cc_nofma): Check for option to disable
16296         generation of FMA instructions.
16297         * configure: Regenerate.
16298         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16299         * sysdeps/ieee754/dbl-64/Makefile: New file.
16300         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16301         Remove brandred-fma4.
16302         (CFLAGS-brandred-fma4.c): Remove.
16303         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16304         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16305         define.
16306         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16307         define.
16308
16309 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16310
16311         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16312         LLONG_MAX != LONG_MAX.
16313         (_itoa_word): Use _ITOA_WORD_TYPE on value.
16314         (_fitoa_word): Likewise.
16315         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16316         LLONG_MAX != LONG_MAX.
16317         * stdio-common/_itowa.h: Include <_itoa.h>.
16318         (_itowa_word): Use _ITOA_WORD_TYPE on value.
16319         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
16320         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
16321         only if not defined.
16322         (_ITOA_WORD_TYPE): Likewise.
16323         (_itoa_word): Use _ITOA_WORD_TYPE on value.
16324         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16325
16326 2012-03-21  David S. Miller  <davem@davemloft.net>
16327
16328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16329
16330 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16331
16332         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16333         of x86_64 when setting libc_cv_slibdir, libdir and
16334         libc_cv_localedir.
16335         * sysdeps/unix/sysv/linux/configure: Regenerated.
16336
16337 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16338
16339         * manual/lang.texi (Old Varargs): Remove section.
16340         (How Variadic): Update menu.
16341         (va_start): Do not mention varargs.h.
16342
16343 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
16344             Joseph Myers  <joseph@codesourcery.com>
16345
16346         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16347         link test.
16348         * configure: Regenerated.
16349
16350 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
16351
16352         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16353         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16354         conformtest.pl
16355
16356 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16357
16358         * NOTES: Remove.
16359         * Makefile (files-for-dist): Remove NOTES.
16360         (NOTES): Remove rule.
16361         * README: Don't refer to NOTES.
16362         * manual/creature.texi: Don't include macros.texi.
16363         * manual/intro.texi (creature.texi): Remove comment referring to
16364         NOTES.
16365
16366         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16367         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16368         * configure: Regenerated.
16369         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16370         LIBC_TRY_CC_OPTION.
16371         (libc_cv_as_i686): Likewise.
16372         (libc_cv_cc_avx): Likewise.
16373         (libc_cv_cc_sse2avx): Likewise.
16374         (libc_cv_cc_fma4): Likewise.
16375         (libc_cv_cc_novzeroupper): Likewise.
16376         * sysdeps/i386/configure: Regenerated.
16377
16378         [BZ #13883]
16379         * sysdeps/i386/fpu/s_cexp.S: Remove.
16380         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16381         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16382         * math/libm-test.inc (cexp_test): Add more tests.
16383         * sysdeps/i386/fpu/libm-test-ulps: Update.
16384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16385
16386 2012-03-21  Allan McRae  <allan@archlinux.org>
16387
16388         * timezone/Makefile: Do not install iso3166.tab and zone.tab
16389
16390 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
16391
16392         [BZ #13871]
16393         * math/w_exp2.c: Do not include <float.h>.
16394         (o_threshold, u_threshold): Remove.
16395         (__exp2): Calculate result before checking finiteness and calling
16396         __kernel_standard.
16397         * math/w_exp2f.c: Likewise.
16398         * math/w_exp2l.c: Likewise.
16399         * math/libm-test.inc (exp2_test): Require overflow exception for
16400         1e6 input.
16401
16402         [BZ #3866]
16403         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16404         range of signed 64-bit integers before using fistpll.  Remove
16405         checks for whether integers fit in mantissa bits.
16406         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16407         the range of signed 32-bit integers before using fistpl.  Remove
16408         checks for whether integers fit in mantissa bits.
16409         * sysdeps/i386/fpu/e_powl.S (p64): New object.
16410         (__ieee754_powl): Test for y outside the range of signed 64-bit
16411         integers before using fistpll.  Reduce 64-bit values to 63-bit
16412         ones as needed.
16413         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16414         divide-by-zero is raised for zero to large negative powers.
16415         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16416         (__ieee754_powl): Test for y outside the range of signed 64-bit
16417         integers before using fistpll.  Reduce 64-bit values to 63-bit
16418         ones as needed.
16419         * math/libm-test.inc (pow_test): Add more tests.
16420
16421 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16422
16423         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16424         <stdio-common/_itoa.h>.
16425         * debug/segfault.c: Likewise.
16426         * elf/dl-cache.c: Likewise.
16427         * elf/dl-minimal.c: Likewise.
16428         * elf/dl-misc.c: Likewise.
16429         * elf/dl-sysdep.c: Likewise.
16430         * elf/dl-version.c: Likewise.
16431         * elf/rtld.c: Likewise.
16432         * hurd/hurdsock.c: Likewise.
16433         * hurd/lookup-retry.c: Likewise.
16434         * malloc/malloc.c: Likewise.
16435         * malloc/mtrace.c: Likewise.
16436         * nscd/nscd_getgr_r.c: Likewise.
16437         * nscd/nscd_getpw_r.c: Likewise.
16438         * nscd/nscd_getserv_r.c: Likewise.
16439         * posix/getopt_init.c: Likewise.
16440         * posix/wordexp.c: Likewise.
16441         * stdio-common/_itoa.c: Likewise.
16442         * stdio-common/printf_fphex.c: Likewise.
16443         * stdio-common/vfprintf.c: Likewise.
16444         * string/_strerror.c: Likewise.
16445         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16446         * sysdeps/i386/i686/hp-timing.h: Likewise.
16447         * sysdeps/mach/_strerror.c: Likewise.
16448         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16449         * sysdeps/mach/hurd/sethostid.c: Likewise.
16450         * sysdeps/mach/hurd/xmknodat.c: Likewise.
16451         * sysdeps/mach/xpg-strerror.c: Likewise.
16452         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16453         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16454         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16455         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16456         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16457         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16458         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16459         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16460         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16461         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16462         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16463         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16464         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16465         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16466         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16467         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16468         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16469         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16470         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16471         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16472         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16473
16474         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16475
16476         * stdio-common/_itoa.h: Moved to ...
16477         * sysdeps/generic/_itoa.h: Here.
16478
16479         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16480
16481         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16482         instead of "_itoa.h" and "_itowa.h".
16483         * stdio-common/vfprintf.: Likewise.
16484
16485 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16486
16487         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16488         <bits/wordsize.h>.
16489         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16490         (__signbit): Likwise.
16491         (llrintf): Likwise.
16492         (llrint): Likwise.
16493
16494 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
16495
16496         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16497         __WORDSIZE != 64.
16498
16499 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
16500
16501         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16502         OVERFLOW_EXCEPTION_OK.
16503         * math/libm-test.inc ("Philosophy"): Update comment about
16504         exception testing.
16505         (OVERFLOW_EXCEPTION): Define.
16506         (OVERFLOW_EXCEPTION_OK): Likewise.
16507         (INVALID_EXCEPTION_OK): Renumber.
16508         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16509         (IGNORE_ZERO_INF_SIGN): Likewise.
16510         (test_exceptions): Handle FE_OVERFLOW.
16511         (exp10_test): Expect overflow exceptions.
16512         (exp2_test): Likewise.
16513         (expm1_test): Likewise.
16514         (nextafter_test): Likewise.
16515         (pow_test): Likewise.
16516         (scalbn_test): Likewise.
16517         (scalbln_test): Likewise.
16518
16519 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16520
16521         * sysdeps/x86_64/bits/atomic.h
16522         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16523         64bit integer.
16524         (atomic_exchange_acq): Likewise.
16525         (__arch_exchange_and_add_body): Likewise.
16526         (__arch_add_body): Likewise.
16527         (atomic_add_negative): Likewise.
16528         (atomic_add_zero): Likewise.
16529
16530 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16531
16532         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
16533         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16534
16535 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16536
16537         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16538         Check __x86_64__ instead of __WORDSIZE.
16539
16540 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16541
16542         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16543
16544 2012-03-19  David S. Miller  <davem@davemloft.net>
16545
16546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16547
16548         * sysdeps/sparc/fpu/fenv_private.h: New file.
16549         * sysdeps/sparc/fpu/math_private.h: Use it.
16550         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16551         Remove.
16552         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16553         (libc_feholdexcept_setroundl): Remove.
16554         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16555         Remove.
16556         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16557         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16558
16559 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16560
16561         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16562         int64_t instead of long int.
16563         (INSERT_WORDS64): Likwise.
16564
16565 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
16566
16567         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16568         _Unwind_GetCFA return to _Unwind_Ptr first.
16569
16570 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
16571
16572         [BZ #13629]
16573         * math/s_clog.c: Include <float.h>.
16574         (__clog): Scale large or subnormal inputs.
16575         * math/s_clogf.c: Likewise.
16576         * math/s_clogl.c: Likewise.
16577         * math/s_clog10.c: Include <float.h>.
16578         (M_LOG10_2): Define.
16579         (__clog10): Scale large or subnormal inputs.
16580         * math/s_clog10f.c: Likewise.
16581         * math/s_clog10l.c: Likewise.
16582         * math/libm-test.inc (clog_test): Add more tests.
16583         (clog10_test): Likewise.
16584         * sysdeps/i386/fpu/libm-test-ulps: Update.
16585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16586
16587         [BZ #11451]
16588         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16589         x and y.
16590         * math/libm-test.inc (atan2_test): Add another test.
16591
16592         * Makerules (common-objdir-compile): Remove.
16593         * sysdeps/unix/Makefile (config-generated): Do not add
16594         $(unix-generated) to variable.
16595         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16596         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16597         Remove rule.
16598         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16599         Likewise.
16600         [generic bits/local_lim.h] (before-compile): Do not append to
16601         variable.
16602         [generic bits/local_lim.h] (common-generated): Likewise.
16603         [generic sys/param.h] (before-compile): Do not append to variable.
16604         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16605         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16606         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16607         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16608         include.
16609         [generic sys/param.h] (sys/param.h-includes): Remove variable.
16610         [generic sys/param.h] (sys/param.h-includes): Remove rule.
16611         [generic sys/param.h] ($(addprefix
16612         $(common-objpfx),$(sys/param.h-includes))): Likewise.
16613         [generic sys/param.h] (common-generated): Do not append to
16614         variable.
16615         [generic sys/param.h] (sysdep_headers): Likewise.
16616         [generic bits/errno.h] (before-compile): Do not append to
16617         variable.
16618         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16619         rule.
16620         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16621         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16622         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16623         [generic bits/errno.h] (common-generated): Do not append to
16624         variable.
16625         [generic bits/ioctls.h] (before-compile): Do not append to
16626         variable.
16627         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16628         rule.
16629         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16630         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16631         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16632         rule.
16633         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16634         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16635         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16636         [generic bits/ioctls.h] (common-generated): Do not append to
16637         variable.
16638         [generic sys/syscall.h] (syscall.h): Remove variable.
16639         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16640         rule.
16641         [generic sys/syscall.h] (before-compile): Do not append to
16642         variable.
16643         [generic sys/syscall.h] (common-generated): Likewise.
16644         * sysdeps/unix/errnos-tmpl.c: Remove file.
16645         * sysdeps/unix/errnos.awk: Likewise.
16646         * sysdeps/unix/ioctls-tmpl.c: Likewise.
16647         * sysdeps/unix/ioctls.awk: Likewise.
16648         * sysdeps/unix/mk-local_lim.c: Likewise.
16649         * sysdeps/unix/snarf-ioctls: Likewise.
16650
16651 2012-03-19  Richard Henderson  <rth@twiddle.net>
16652
16653         * sysdeps/i386/fpu/fenv_private.h: New file.
16654         * sysdeps/i386/fpu/math_private.h: Use it.
16655         (math_opt_barrier, math_force_eval): Remove.
16656         (libc_feholdexcept_setround_53bit): Remove.
16657         (libc_feupdateenv_53bit): Remove.
16658         * sysdeps/x86_64/fpu/math_private.h: Likewise.
16659         (math_opt_barrier, math_force_eval): Remove.
16660         (libc_feholdexcept): Remove.
16661         (libc_feholdexcept_setround): Remove.
16662         (libc_fetestexcept, libc_fesetenv): Remove.
16663         (libc_feupdateenv_test): Remove.
16664         (libc_feupdateenv, libc_feholdsetround): Remove.
16665         (libc_feresetround): Remove.
16666
16667         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16668         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16669
16670         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16671         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16672         (libc_feupdateenv_testl): New.
16673         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16674         (libc_feupdateenv_testf): New.
16675         (libc_feupdateenv): Use libc_feupdateenv_test.
16676         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16677         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16678
16679         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16680         (libc_feholdsetroundf, libc_feholdsetroundl): New.
16681         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16682         (libc_feresetround_noex): New.
16683         (libc_feresetround_noexf): New.
16684         (libc_feresetround_noexl): New.
16685         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16686         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16687         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16688         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16689         SET_RESTORE_ROUND.
16690         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16691         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16692         (__cos): Likewise.
16693         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16694         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16695         SET_RESTORE_ROUND_NOEX.
16696         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16697         SET_RESTORE_ROUND_NOEXF.
16698         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16699         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16700         (libc_feholdsetroundf): New.
16701         (libc_feresetround, libc_feresetroundf): New.
16702
16703         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16704         (libc_feholdexcept_setround_53bit): Convert from macro to function.
16705         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
16706
16707         * sysdeps/generic/math_private.h: Include <fenv.h>.
16708         (default_libc_feholdexcept): New.
16709         (default_libc_feholdexcept_setround): New.
16710         (default_libc_fesetenv, default_libc_feupdateenv): New.
16711         (libc_feholdexcept): Only define if undefined.
16712         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16713         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16714         (libc_feholdexcept_setroundl): Likewise.
16715         (libc_feholdexcept_setround_53bit): Likewise.
16716         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16717         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16718         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16719         (libc_feupdateenv_53bit): Likewise.
16720         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16721         (libc_feholdexcept): Convert from macro to inline function.
16722         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16723         (libc_fesetenv, libc_feupdateenv): Likewise.
16724
16725         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16726         not previously defined.
16727         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16728         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16729         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16730         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16731         * sysdeps/ieee754/flt-32/math_private.h: New file.
16732         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16733         math_private.h below SET_FLOAT_WORD.
16734         (__isnan, __isinf_ns, __finite): Remove.
16735         (__isnanf, __isinf_nsf, __finitef): Remove.
16736
16737 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
16738
16739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16740
16741 2012-03-17  David S. Miller  <davem@davemloft.net>
16742
16743         [BZ #6471]
16744         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16745         for 2.16.
16746
16747 2012-03-16  David S. Miller  <davem@davemloft.net>
16748
16749         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16750         warnings.
16751
16752         [BZ #6471]
16753         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16754         properly.
16755         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16756         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16757         sysdep_routines when subdir is sysvipc.
16758         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16759         __getshmlba helper.
16760
16761         * sysdeps/sparc/fpu/libm-test/ulps: Update.
16762
16763 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16764
16765         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16766         [__LP64__].
16767
16768 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16769
16770         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16771         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16772         (__lround): Renamed to ...
16773         (__llround): This.  Replace long int with long long int.
16774         Define lround functions as aliases of llround functions.
16775         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16776
16777 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16778
16779         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16780         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
16781         adresses to uintptr_t.  Replace "long int" and "unsigned long
16782         int" with "greg_t" on va_arg.
16783
16784 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16785
16786         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16787         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16788
16789         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16790         Move e_machine check before EI_CLASS check.  Handle x32
16791         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16792         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16793         SKIP_EM_IA_64 and include
16794         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16795
16796         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16797         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16798         (add_system_dir): New macro.
16799
16800         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16801         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16802
16803 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
16804
16805         [BZ #2551]
16806         [BZ #2552]
16807         [BZ #2553]
16808         [BZ #2554]
16809         [BZ #2562]
16810         [BZ #2563]
16811         [BZ #2565]
16812         [BZ #2566]
16813         [BZ #2576]
16814         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16815         (y0): Likewise.
16816         * math/w_j0f.c (j0f): Likewise.
16817         (y0f): Likewise.
16818         * math/w_j0l.c (__j0l): Likewise.
16819         (__y0l): Likewise.
16820         * math/w_j1.c (j1): Likewise.
16821         (y1): Likewise.
16822         * math/w_j1f.c (j1f): Likewise.
16823         (y1f): Likewise.
16824         * math/w_j1l.c (__j1l): Likewise.
16825         (__y1l): Likewise.
16826         * math/w_jn.c (jn): Likewise.
16827         (yn): Likewise.
16828         * math/w_jnf.c (jnf): Likewise.
16829         (ynf): Likewise.
16830         * math/w_jnl.c (__jnl): Likewise.
16831         (__ynl): Likewise.
16832         * math/libm-test.inc (j0_test): Add more tests.
16833         (j1_test): Likewise.
16834         (jn_test): Likewise.  Add trailing semicolon to existing test.
16835         (y0_test): Likewise.
16836         (y1_test): Likewise.
16837         * sysdeps/i386/fpu/libm-test-ulps: Update.
16838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16839
16840         [BZ #13851]
16841         [BZ #13854]
16842         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16843         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16844         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16845         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16846         (__tanl): Set errno for infinite argument.
16847         * sysdeps/i386/fpu/mptan.c: Remove.
16848         * sysdeps/i386/fpu/s_tan.S: Likewise.
16849         * sysdeps/i386/fpu/s_tanl.S: Likewise.
16850         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16851         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16852         * math/libm-test.inc (tan_test): Add more tests and enable more
16853         tests for double and long double.
16854         * sysdeps/i386/fpu/libm-test-ulps: Update.
16855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16856
16857 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
16858
16859         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16860         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16861
16862 2012-03-16  Roland McGrath  <roland@hack.frob.com>
16863
16864         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16865         * configure.in: Use it for both main tree and add-ons.
16866         * configure: Regenerated.
16867
16868 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16869
16870         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16871
16872 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
16873
16874         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16875         in comment.
16876
16877         [BZ #13851]
16878         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16879         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16880         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16881         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16882         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16883         infinite argument.
16884         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16885         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16886         != 0 for prec == 2.
16887         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16888         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16889         * sysdeps/i386/fpu/s_cosl.S: Likewise.
16890         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16891         * sysdeps/i386/fpu/s_sinl.S: Likewise.
16892         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16893         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16894         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16895         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16896         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16897         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16898         * math/libm-test.inc (cos_test): Add more tests and enable more
16899         tests for long double.
16900         (sin_test): Likewise.
16901         (sincos_test): Likewise.
16902         * sysdeps/i386/fpu/libm-test-ulps: Update.
16903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16904
16905 2012-03-16  David S. Miller  <davem@davemloft.net>
16906
16907         * sysdeps/sparc/fpu/math_private.h: New file.
16908
16909 2012-03-15  David S. Miller  <davem@davemloft.net>
16910
16911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16912         file.
16913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
16914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16915         file.
16916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16917         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16918         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16919         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16920         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16921         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16922         sysdep routines.
16923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16924
16925         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16926         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16927
16928         * sysdeps/sparc/sparc-ifunc.h: New file.
16929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16930         sparc-ifunc.h
16931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16933         Likewise.
16934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16935         Likewise.
16936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16940         Likewise.
16941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
16945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16946         Likewise.
16947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16948         Likewise.
16949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16953         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16954         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16955         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16956         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16957         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16958         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16959         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16960         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16961         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16962         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16963         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16964         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16965         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16966         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16967         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16968         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16969         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16970         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16971         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16972         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16973
16974 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
16975
16976         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16977         scaling.
16978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16979
16980 2012-03-15  Andreas Jaeger  <aj@suse.de>
16981
16982         [BZ #13852]
16983         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16984         ieee754/flt-32 implementation for sin, cos and sincos.
16985         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16986         * sysdeps/i386/fpu/s_cosf.S: Likewise.
16987         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16988         * sysdeps/i386/fpu/s_sinf.S: Likewise.
16989         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16990         ieee754/flt-32 implementation for tan.
16991
16992         * math/libm-test.inc (cos_test): Enable some large input tests for
16993         float as well
16994         (sin_test): Likewise.
16995         (sincos_test): Likewise.
16996         (tan_test): Add tests for large input.
16997
16998         * sysdeps/i386/fpu/libm-test-ulps: Update.
16999
17000 2012-03-15  Andreas Jaeger  <aj@suse.de>
17001
17002         [BZ #13658]
17003         * math/libm-test.inc (cos_test): Add more test cases.
17004         (sin_test): Likewise.
17005         (sincos_test): Likewise.
17006
17007 2012-03-15  Andreas Jaeger  <aj@suse.de>
17008
17009         [BZ #13837]
17010         * math/libm-test.inc (cos_test): Add a test case for large input
17011         value.
17012         (sin_test): Likewise.
17013         (sincos_test): Likewise.
17014
17015 2012-03-15  Andreas Jaeger  <aj@suse.de>,
17016         Joseph Myers  <joseph@codesourcery.com>
17017
17018         [BZ #13658]
17019         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17020         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17021         * sysdeps/i386/fpu/branred.c: Likewise.
17022         * sysdeps/i386/fpu/dosincos.c: Likewise.
17023         * sysdeps/i386/fpu/mpa.c: Likewise.
17024         * sysdeps/i386/fpu/s_cos.S: Likewise.
17025         * sysdeps/i386/fpu/s_sin.S: Likewise.
17026         * sysdeps/i386/fpu/s_sincos.S: Likewise.
17027         * sysdeps/i386/fpu/sincos32.c: Likewise.
17028
17029         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17030         Define.
17031         (libc_feupdateenv_53bit): Define.
17032         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17033         Define.
17034         (libc_feupdateenv_53bit): Define.
17035
17036         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17037         53 bit (without extend i386 double precision).
17038
17039         * math/libm-test.inc (sincos_test): Add tests for large input.
17040         (sin): Likewise.
17041         (cos): Likewise.
17042
17043         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17044
17045 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
17046
17047         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17048
17049 2012-03-15  David S. Miller  <davem@davemloft.net>
17050
17051         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17052         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17053         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17054         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17059         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17060         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17061         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17062         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17063         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17064         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17065         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17067         file.
17068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17070         file.
17071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17073         file.
17074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17076         file.
17077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17078         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17079         fmin/fmax sysdep routines.
17080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17081
17082 2012-03-14  David S. Miller  <davem@davemloft.net>
17083
17084         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17085         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17086         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17087         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17088         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17089         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17090         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17091         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17092         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17093         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17094         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17095         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17096         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17097         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17098         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17099         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17100         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17101         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17102         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17103         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17104         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17105         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17106         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17107         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17108         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17109         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17110         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17111         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17112         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17113         routines.
17114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17115         file.
17116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17118         file.
17119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17121         file.
17122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17124         file.
17125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17127         file.
17128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17130         file.
17131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17132         file.
17133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17134         file.
17135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17136         file.
17137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17138         New file.
17139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17140         file.
17141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17142         file.
17143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17145         file.
17146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17148         file.
17149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17151         file.
17152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17154         VIS3 routines.
17155
17156         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17157         New file.
17158
17159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17160
17161         * sysdeps/sparc/configure.in: New file.
17162         * sysdeps/sparc/configure: Generate.
17163         * configure.in (libc_cv_sparc_as_vis3): Substitute.
17164         * configure: Regenerate.
17165         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17166         * config.make.in (have-as-vis3): New.
17167         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17168         available use -Av9d instead of -Av9a.
17169         * sysdeps/sparc/sparc64/Makefile: Likewise.
17170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
17171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17172         New file.
17173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17174         file.
17175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17176         New file.
17177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17178         file.
17179         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17180         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17181         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17182         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17183         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17184
17185         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17186         fzeros/fnegs to load 0x80000000 into a float register instead of
17187         using the stack.
17188         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17189
17190 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
17191
17192         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17193         bits/syscall.h.
17194         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17195         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17196         ($(inst_includedir)/bits/syscall.h): Remove rule.
17197         ($(objpfx)bits/syscall.d): Include instead of
17198         $(objpfx)syscall-list.d.
17199         (generated): Change syscall-list.h and syscall-list.d to
17200         bits/syscall.h and bits/syscall.d.
17201
17202 2012-03-14  Roland McGrath  <roland@hack.frob.com>
17203
17204         [BZ #13846]
17205         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17206
17207 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
17208
17209         [BZ #13841]
17210         * math/s_csqrt.c: Include <float.h>.
17211         (__csqrt): Scale large or subnormal inputs.
17212         * math/s_csqrtf.c: Likewise.
17213         * math/s_csqrtl.c: Likewise.
17214         * math/libm-test.inc (csqrt_test): Add more tests.
17215         * sysdeps/i386/fpu/libm-test-ulps: Update.
17216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17217
17218         [BZ #13840]
17219         * math/libm-test.inc (hypot_test): Add more tests.
17220
17221 2012-03-13  David S. Miller  <davem@davemloft.net>
17222
17223         [BZ #13840]
17224         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17225         double-precision for the calculation instead of scaling.
17226
17227 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
17228
17229         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17230         manipulate bits before adding and subtracting TWO52[sx].
17231         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17232         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17233         Likewise.
17234         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17235
17236 2012-03-13  David S. Miller  <davem@davemloft.net>
17237
17238         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17239         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17240         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17241         rtld-global-offsets.h
17242         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17243
17244         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17245         large parameters.
17246
17247         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17248
17249         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17250         'err' in the ifdef scope in which it is actually used.
17251
17252         * nss/nss_db/db-init.c: Include string.h
17253
17254 2012-03-12  David S. Miller  <davem@davemloft.net>
17255
17256         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17257         masking out of the most significant byte of random value used.
17258         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17259         Fix coding style in previous change.
17260
17261         * sysdeps/unix/sysv/linux/kernel-features.h
17262         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17263         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17264         expression.
17265         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17266         later.
17267
17268 2012-03-11  David S. Miller  <davem@davemloft.net>
17269
17270         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17271         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17272         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17273         for 'resultvar' otherwise things get truncated on 64-bit.
17274
17275         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17276         Fix masking out of the most significant byte of random value used.
17277
17278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17279
17280 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
17281
17282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17283
17284 2012-03-09  David S. Miller  <davem@davemloft.net>
17285
17286         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17287         variables with appropriate CPP guards.
17288         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17289         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
17290         on resulting framesize and the management of the outregs buffer for pltexit.
17291         Preserve floating point return values across _dl_call_pltexit call.
17292         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17293         framesize and the management of the outregs buffer for pltexit.
17294         Preserve floating point return values across _dl_call_pltexit
17295         call.
17296         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17297         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17298         (print_exit): Fix format string for return register value.
17299
17300 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
17301
17302         * sunrpc/Makefile (others): Add rpcgen.
17303         ($(objpfx)rpcgen): Remove special build rule and dependency on
17304         libc.
17305         * sunrpc/rpcgen.c: New file.
17306
17307 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
17308
17309         [BZ #13673]
17310         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17311         * stdio-common/bug-vfprintf-nargs.c: Likewise.
17312         * sysdeps/i386/crti.S: Likewise.
17313         * sysdeps/i386/crtn.S: Likewise.
17314         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17315         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17316         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17317         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17318         * sysdeps/sh/crti.S: Likewise.
17319         * sysdeps/sh/crtn.S: Likewise.
17320         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17321
17322         [BZ #13673]
17323         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17324         with URL.
17325         * locale/programs/locfile-kw.gperf: Likewise.
17326         * locale/programs/charmap-kw.h: Regenerated.
17327         * locale/programs/locfile-kw.h: Likewise.
17328
17329         [BZ #13673]
17330         * intl/plural.y: Replace FSF snail mail address with URL.
17331         * intl/plural.c: Regenerated.
17332
17333 2012-03-09  Richard Henderson  <rth@twiddle.net>
17334
17335         * include/math_private.h: Remove file.
17336         * math/math_private.h: Move file ...
17337         * sysdeps/generic/math_private.h: ... here.
17338
17339         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17340         * sysdeps/powerpc/fpu/math_private.h: Likewise.
17341         * sysdeps/x86_64/fpu/math_private.h: Likewise.
17342
17343         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
17344         and <math_private.h>.
17345         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17346         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17347         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17348         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17349         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17350         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17351         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17352         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17353         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17354         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17355         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17356         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17357         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17358         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17359         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17360         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17361         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17362         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17363         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17364         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17365         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17366         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17367         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17368         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17369         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17370         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17371         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17372         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17373         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17374         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17375         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17376         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17377         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17378         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17379         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17380         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17381         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17382         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17383         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17384         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17385         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17386         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17387         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17388         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17389         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17390         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17391         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17392         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17393         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17394         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17395         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17396         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17397         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17398         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17399         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17400         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17401         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17402         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17403         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17404         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17405         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17406         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17407         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17408         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17409         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17410         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17411         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17412         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17413         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17414         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17415         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17416         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17417         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17418         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17419         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17420         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17421         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17422         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17423         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17424         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17425         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17426         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17427         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17428         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17429         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17430         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17431         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17432         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17433         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17434         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17435         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17436         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17437         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17438         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17439         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17440         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17441         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17442         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17443         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17444         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17445         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17446         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17447         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17448         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17449         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17450         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17451         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17452         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17453         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17454         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17455         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17456         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17457         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17458         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17459         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17460         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17461         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17462         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17463         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17464         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17465         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17466         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17467         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17468         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17469         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17470         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17471         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17472         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17473         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17474         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17475         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17476         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17477         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17478         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17479         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17480         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17481         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17482         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17483         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17484         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17485         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17486         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17487         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17488         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17489         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17490         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17491         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17492         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17493         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17494         * sysdeps/ieee754/k_standard.c: Likewise.
17495         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17496         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17497         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17498         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17499         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17500         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17501         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17502         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17503         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17504         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17505         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17506         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17507         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17508         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17509         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17510         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17511         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17512         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17513         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17514         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17515         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17516         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17517         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17518         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17519         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17520         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17521         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17522         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17523         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17524         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17525         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17526         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17527         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17528         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17529         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17530         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17531         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17532         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17533         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17534         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17535         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17536         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17537         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17538         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17539         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17540         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17541         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17542         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17543         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17544         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17545         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17546         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17547         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17548         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17549         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17550         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17551         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17552         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17553         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17554         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17555         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17556         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17557         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17558         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17559         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17560         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17561         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17562         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17563         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17564         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17565         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17566         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17567         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17568         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17569         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17570         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17571         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17572         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17573         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17574         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17575         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17576         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17577         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17578         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17579         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17580         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17581         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17582         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17583         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17584         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17585         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17586         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17587         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17588         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17589         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17590         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17591         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17592         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17593         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17594         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17595         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17596         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17597         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17598         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17599         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17600         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17601         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17602         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17603         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17604         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17605         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17606         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17607         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17608         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17609         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17610         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17611         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17612         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17613         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17614         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17615         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17616         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17617         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17618         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17619         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17620         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17621         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17622         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17623         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17624         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17625         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17626         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17627         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17628         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17629         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17630         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17631         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17632         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17633         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17634         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17635         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17636         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17637         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17638         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17639         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17640         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17641         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17642         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17643         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17644         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17645         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17646         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17647         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17648         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17649         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17650         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17651         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17652         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17653         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17654         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17655         * sysdeps/ieee754/s_lib_version.c: Likewise.
17656         * sysdeps/ieee754/s_matherr.c: Likewise.
17657         * sysdeps/ieee754/s_signgam.c: Likewise.
17658         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17659         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17660         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17661         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17662         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17663         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17664         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17665         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17666         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17667         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17668         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17669         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17670         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17671         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17672         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17673         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17674         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17675         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17676         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17677         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17678         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17679
17680 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
17681
17682         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17683         * sunrpc/rpc_main.c: Likewise.
17684         * sunrpc/rpc_svcout.c: Likewise.
17685
17686 2012-03-09  David S. Miller  <davem@davemloft.net>
17687
17688         * include/math_private.h: New file.
17689
17690 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
17691
17692         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17693         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17694         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17695         from <bits/socket_type.h>.
17696         (enum __socket_type): Don't define here.
17697         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17698         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17699         bits/socket_type.h.
17700
17701         [BZ #13566]
17702         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17703         checking __USE_GNU.
17704
17705         * Makerules ($(inst_includedir)/%.h): New rule.
17706         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17707         (install-others): Remove variable setting.
17708         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17709
17710 2012-03-08  Richard Henderson  <rth@twiddle.net>
17711
17712         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17713         from macro to inline function; merge with the
17714         !__LIBC_INTERNAL_MATH_INLINES version.
17715         (__ieee754_sqrtf): Likewise.
17716
17717         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17718         to inline function.
17719         (__rintf, __floor, __floorf): Likewise.
17720
17721         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17722         macro to inline function.
17723         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17724
17725         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17726         not <math/math_private.h>.
17727
17728 2012-03-08  David S. Miller  <davem@davemloft.net>
17729
17730         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17731         copyright year.
17732         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17733
17734 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
17735
17736         * resolv/gai_misc.c (handle_requests): Fix struct timespec
17737         normalization.
17738         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17739         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17740
17741 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
17742
17743         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
17744         be defined individually, they must be defined as a block.  Define
17745         S for printing a string instead of hidint the different by using a
17746         macro for adding the 'l'.
17747         * stdio-common/tst-fphex-wide.c: Adjust.
17748
17749 2012-03-07  Marek Polacek  <polacek@redhat.com>
17750
17751         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17752
17753 2012-03-08  Marek Polacek  <polacek@redhat.com>
17754
17755         [BZ #13806]
17756         * stdio-common/Makefile (tests): Add tst-fphex-wide.
17757         * stdio-common/tst-fphex.c: Define a few macros to make the
17758         test reusable.  Use them.
17759         * stdio-common/tst-fphex-wide.c: New file.
17760
17761 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
17762
17763         [BZ #6911]
17764         * manual/macros.texi (gnusystems): New macro.
17765         (nongnusystems): Likewise.
17766         (gnulinuxhurdsystems): Likewise.
17767         (gnuhurdsystems): Likewise..
17768         (gnulinuxsystems): Likewise.
17769         * manual/charset.texi: Use new macros or @theglibc{} to refer to
17770         variants of the GNU system, not "GNU system".
17771         * manual/conf.texi: Likewise.
17772         * manual/errno.texi: Likewise.  Update example of errno macro
17773         expansion.
17774         * manual/filesys.texi: Likewise.
17775         (getumask): Document as specific to GNU/Hurd.
17776         * manual/install.texi: Likewise.  Reword some references to
17777         GNU/Linux.
17778         * manual/intro.texi: Likewise.
17779         * manual/io.texi: Likewise.
17780         (File Name Portability): Detail which constraints are inapplicable
17781         to all GNU systems and which are only inapplicable to GNU/Hurd.
17782         * manual/job.texi: Likewise.
17783         * manual/llio.texi: Likewise.
17784         (O_NOCTTY): Document as present on GNU/Linux.
17785         * manual/maint.texi: Likewise.
17786         * manual/memory.texi: Likewise.
17787         * manual/pattern.texi: Likewise.
17788         * manual/pipe.texi: Likewise.
17789         * manual/process.texi: Likewise.
17790         * manual/resource.texi: Likewise.
17791         (RUSAGE_CHILDREN): Remove statement about specifying a particular
17792         child on GNU/Hurd.
17793         * manual/setjmp.texi: Likewise.
17794         * manual/signal.texi: Likewise.
17795         * manual/startup.texi: Likewise.
17796         * manual/stdio.texi: Likewise.
17797         * manual/terminal.texi: Likewise.
17798         (ONLCR): Document as POSIX.
17799         (OXTABS): Document availability on GNU/Linux as XTABS.
17800         (ONOEOT): Document availability separately from other bits.
17801         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17802         * manual/time.texi: Likewise.
17803         * manual/users.texi: Likewise.
17804         * INSTALL: Regenerated.
17805         * sysdeps/gnu/errlist.c: Regenerated.
17806
17807         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17808         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17809         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
17810         puts.
17811         * configure: Regenerated.
17812
17813 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
17814
17815         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17816         default includes instead of AC_HEADER_CHECK.
17817         * sysdeps/i386/configure: Regenerated.
17818
17819         [BZ #10716]
17820         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17821         * math/s_cacoshf.c (__cacoshf): Likewise.
17822         * math/s_cacoshl.c (__cacoshl): Likewise.
17823         * math/s_casinh.c (__casinh): Set signs of result from argument.
17824         * math/s_casinhf.c (__casinhf): Likewise.
17825         * math/s_casinhl.c (__casinhl): Likewise.
17826         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17827         (casinh_test): Add more tests.
17828         * sysdeps/i386/fpu/libm-test-ulps: Update.
17829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17830
17831 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
17832
17833         * po/zh_TW.po: Update from translation team.
17834
17835         * login/Makefile (distribute): Remove variable.
17836         * catgets/Makefile: Likewise.
17837         * mach/Makefile: Likewise.
17838         * malloc/Makefile: Likewise.
17839         * misc/Makefile: Likewise.
17840         * iconv/Makefile: Likewise.
17841         * nscd/Makefile: Likewise.
17842         * hurd/Makefile: Likewise.
17843         * manual/Makefile: Likewise.
17844         * locale/Makefile: Likewise.
17845         * intl/Makefile: Likewise.
17846         * conform/Makefile: Likewise.
17847         * nss/Makefile: Likewise.
17848         * time/Makefile: Likewise.
17849         * soft-fp/Makefile: Likewise.
17850         * dirent/Makefile: Likewise.
17851         * gmon/Makefile: Likewise.
17852         * po/Makefile: Likewise.
17853         * rt/Makefile: Likewise.
17854         * socket/Makefile: Likewise.
17855         * math/Makefile: Likewise.
17856         * signal/Makefile: Likewise.
17857         * debug/Makefile: Likewise.
17858         * elf/Makefile: Likewise.
17859         * timezone/Makefile: Likewise.
17860         * stdlib/Makefile: Likewise.
17861         * iconvdata/Makefile: Likewise.
17862         * sunrpc/Makefile: Likewise.
17863         * io/Makefile: Likewise.
17864         * argp/Makefile: Likewise.
17865         * inet/Makefile: Likewise.
17866         * hesiod/Makefile: Likewise.
17867         * grp/Makefile: Likewise.
17868         * csu/Makefile: Likewise.
17869         * wctype/Makefile: Likewise.
17870         * crypt/Makefile: Likewise.
17871         * libio/Makefile: Likewise.
17872         * string/Makefile: Likewise.
17873         * nis/Makefile: Likewise.
17874         * resolv/Makefile: Likewise.
17875         * stdio-common/Makefile: Likewise.
17876         * wcsmbs/Makefile: Likewise.
17877         * dlfcn/Makefile: Likewise.
17878         * posix/Makefile: Likewise.
17879
17880         [BZ #6959]
17881         * timezone/Makefile: Don't install timezone files, just the programs
17882         and scripts.
17883
17884 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
17885
17886         * nss/databases.def: Add missing gshadow entry.
17887
17888         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
17889
17890 2012-03-06  Marek Polacek  <polacek@redhat.com>
17891
17892         [BZ #13726]
17893         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17894         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17895         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17896         * stdio-common/tst-long-dbl-fphex.c: New file.
17897
17898 2012-03-06  David S. Miller  <davem@davemloft.net>
17899
17900         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17901         (set_obp_int): New function.
17902         (get_obp_int): New function.
17903         (__get_clockfreq_via_dev_openprom): Likewise.
17904         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17905         Avoid unused variable warnings on 'val' and use builtin_expect.
17906         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17907         __builtin_expect.
17908         (INLINE_CLONE_SYSCALL): Likewise.
17909
17910 2012-03-05  David S. Miller  <davem@davemloft.net>
17911
17912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17913
17914 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
17915
17916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17917
17918         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17919         only for |x| >= 40.
17920         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17921
17922 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
17923
17924         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17925         Replace gettimeofday with __vdso_gettimeofday.
17926
17927         * sysdeps/unix/sysv/linux/x86_64/init-first.c
17928         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17929         __vdso_clock_gettime and __vdso_getcpu.
17930
17931         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17932         time with __vdso_time.
17933
17934 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
17935
17936         * manual/lang.texi (size_t): Note types to which size_t may be
17937         equivalent with the GNU C Library, but do not describe when
17938         differences between them are significant.
17939
17940 2012-03-05  Andreas Jaeger  <aj@suse.de>
17941
17942         * sysdeps/i386/fpu/libm-test-ulps: Update.
17943
17944 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
17945
17946         [BZ #3976]
17947         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17948         (__ieee754_pow): Save and restore rounding mode and use
17949         round-to-nearest for main computations.
17950         * math/libm-test.inc (pow_test_tonearest): New function.
17951         (pow_test_towardzero): Likewise.
17952         (pow_test_downward): Likewise.
17953         (pow_test_upward): Likewise.
17954         (main): Call the new functions.
17955         * sysdeps/i386/fpu/libm-test-ulps: Update.
17956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17957
17958         [BZ #3976]
17959         * math/libm-test.inc (cosh_test_tonearest): New function.
17960         (cosh_test_towardzero): Likewise.
17961         (cosh_test_downward): Likewise.
17962         (cosh_test_upward): Likewise.
17963         (sinh_test_tonearest): Likewise.
17964         (sinh_test_towardzero): Likewise.
17965         (sinh_test_downward): Likewise.
17966         (sinh_test_upward): Likewise.
17967         (main): Call the new functions.
17968         * sysdeps/i386/fpu/libm-test-ulps: Update.
17969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17970
17971 2012-03-05  Tom de Vries  <tom@codesourcery.com>
17972
17973         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17974         default stack guard is set in last bytes.
17975         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17976
17977 2012-03-05  Kees Cook  <keescook@chromium.org>
17978
17979         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
17980
17981         [BZ #13656]
17982         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17983         possibly allocate from heap instead of stack.
17984         * stdio-common/bug-vfprintf-nargs.c: New file.
17985         * stdio-common/Makefile (tests): Add nargs overflow test.
17986
17987 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
17988
17989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17990
17991 2012-03-03  Marek Polacek  <polacek@redhat.com>
17992
17993         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17994         * math/math_private.h: Likewise.
17995         * stdlib/tst-strtod.c: Likewise.
17996         * sysdeps/i386/i486/bits/atomic.h: Likewise.
17997         * sysdeps/x86_64/bits/atomic.h: Likewise.
17998
17999 2012-03-02  David S. Miller  <davem@davemloft.net>
18000
18001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18003         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18005         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18006         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18007         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18008         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18009
18010 2012-03-02  Roland McGrath  <roland@hack.frob.com>
18011
18012         [BZ #13792]
18013         * manual/examples/README: New file, says the example source files
18014         can be used under GPL>=2.
18015         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18016         line containing just "*/".
18017         * manual/examples/add.c: Add copyright header (GPL>=2).
18018         * manual/examples/argp-ex1.c: Likewise.
18019         * manual/examples/argp-ex2.c: Likewise.
18020         * manual/examples/argp-ex3.c: Likewise.
18021         * manual/examples/argp-ex4.c: Likewise.
18022         * manual/examples/atexit.c: Likewise.
18023         * manual/examples/db.c: Likewise.
18024         * manual/examples/dir.c: Likewise.
18025         * manual/examples/dir2.c: Likewise.
18026         * manual/examples/execinfo.c: Likewise.
18027         * manual/examples/filecli.c: Likewise.
18028         * manual/examples/filesrv.c: Likewise.
18029         * manual/examples/fmtmsgexpl.c: Likewise.
18030         * manual/examples/genpass.c: Likewise.
18031         * manual/examples/inetcli.c: Likewise.
18032         * manual/examples/inetsrv.c: Likewise.
18033         * manual/examples/isockad.c: Likewise.
18034         * manual/examples/longopt.c: Likewise.
18035         * manual/examples/memopen.c: Likewise.
18036         * manual/examples/memstrm.c: Likewise.
18037         * manual/examples/mkfsock.c: Likewise.
18038         * manual/examples/mkisock.c: Likewise.
18039         * manual/examples/mygetpass.c: Likewise.
18040         * manual/examples/pipe.c: Likewise.
18041         * manual/examples/popen.c: Likewise.
18042         * manual/examples/rprintf.c: Likewise.
18043         * manual/examples/search.c: Likewise.
18044         * manual/examples/select.c: Likewise.
18045         * manual/examples/setjmp.c: Likewise.
18046         * manual/examples/sigh1.c: Likewise.
18047         * manual/examples/sigusr.c: Likewise.
18048         * manual/examples/stpcpy.c: Likewise.
18049         * manual/examples/strdupa.c: Likewise.
18050         * manual/examples/strftim.c: Likewise.
18051         * manual/examples/strncat.c: Likewise.
18052         * manual/examples/subopt.c: Likewise.
18053         * manual/examples/swapcontext.c: Likewise.
18054         * manual/examples/termios.c: Likewise.
18055         * manual/examples/testopt.c: Likewise.
18056         * manual/examples/testpass.c: Likewise.
18057         * manual/examples/timeval_subtract.c: Likewise.
18058
18059         [BZ #13792]
18060         * manual/time.texi (Elapsed Time): Move timeval_subtract example
18061         function to ...
18062         * manual/timeval_subtract.c.texi: ... here, new file.
18063
18064 2012-03-02  David S. Miller  <davem@davemloft.net>
18065
18066         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18067
18068 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
18069
18070         [BZ #3976]
18071         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18072         (__sin): Save and restore rounding mode and use round-to-nearest
18073         for all computations.
18074         (__cos): Save and restore rounding mode and use round-to-nearest
18075         for all computations.
18076         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18077         <fenv.h>.
18078         (tan): Save and restore rounding mode and use round-to-nearest for
18079         all computations.
18080         * math/libm-test.inc (cos_test_tonearest): New function.
18081         (cos_test_towardzero): Likewise.
18082         (cos_test_downward): Likewise.
18083         (cos_test_upward): Likewise.
18084         (sin_test_tonearest): Likewise.
18085         (sin_test_towardzero): Likewise.
18086         (sin_test_downward): Likewise.
18087         (sin_test_upward): Likewise.
18088         (tan_test_tonearest): Likewise.
18089         (tan_test_towardzero): Likewise.
18090         (tan_test_downward): Likewise.
18091         (tan_test_upward): Likewise.
18092         (main): Call the new functions.
18093         * sysdeps/i386/fpu/libm-test-ulps: Update.
18094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18095
18096         [BZ #10135]
18097         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18098         small n, then large n, before computing and testing k+n.
18099         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18100         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18101         Likewise.
18102         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18103         Likewise.
18104         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18105         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18106         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18107         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18108         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18109         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18110         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18111         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18112         * math/libm-test.inc (scalbn_test): Add more tests.
18113         (scalbln_test): Likewise.
18114
18115         * manual/filesys.texi (mode_t): Describe constraints on size and
18116         signedness, not exact equivalence to a particular type.
18117         (ino_t): Likewise.
18118         (ino64_t): Likewise.
18119         (dev_t): Likewise.
18120         (nlink_t): Likewise.
18121         (blkcnt_t): Likewise.
18122         (blkcnt64_t): Likewise.
18123         * manual/llio.texi (off_t): Likewise.
18124
18125         [BZ #3976]
18126         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18127         (__ieee754_exp): Save and restore rounding mode and use
18128         round-to-nearest for all computations.
18129         * math/libm-test.inc (exp_test_tonearest): New function.
18130         (exp_test_towardzero): Likewise.
18131         (exp_test_downward): Likewise.
18132         (exp_test_upward): Likewise.
18133         (main): Call the new functions.
18134         * sysdeps/i386/fpu/libm-test-ulps: Update.
18135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18136
18137 2012-03-01  Chris Demetriou  <cgd@google.com>
18138
18139         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18140         have predictable order.
18141
18142 2012-03-01  David S. Miller  <davem@davemloft.net>
18143
18144         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18145
18146         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18147         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18148         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18149         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18150
18151         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18152         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18153         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18155         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18156         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18157         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18158         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18159         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18160
18161         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18162
18163         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18164         * sysdeps/sparc/fpu/libm-test-ulps: to here.
18165         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18166
18167         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18168         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18169         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18170         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18171         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18172         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18173         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18174         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18175         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18176         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18177         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18178         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18179         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18180         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18181         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18182         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18183         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18184         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18185         * sysdeps/sparc/elf/configure: Regenerated.
18186
18187 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
18188
18189         * configure.in (AS, LD): Require binutils 2.20 or later.
18190         * configure: Regenerated.
18191         * manual/install.texi (Tools for Compilation): Give binutils 2.20
18192         as required minimum version.
18193         * INSTALL: Regenerated.
18194
18195         [BZ #2541]
18196         [BZ #4108]
18197         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18198         before squaring exponent.
18199         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18200         bottom long double and 27 bits of top long double before squaring
18201         exponent.
18202         * math/libm-test.inc (erfc_test): Add more tests.
18203         * sysdeps/i386/fpu/libm-test-ulps: Update.
18204         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18206
18207 2012-03-01  Kai Tietz  <ktietz@redhat.com>
18208
18209         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18210         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18211         containing bit-fields.
18212         * soft-fp/extended.h (_FP_UNION_E): Likewise.
18213         * soft-fp/single.h (_FP_UNION_S): Likewise.
18214         * soft-fp/double.h (_FP_UNION_D): Likewise.
18215
18216 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
18217
18218         [BZ #13786]
18219         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18220         not include ../strcmp.S.
18221         [USE_AS_STRNCASECMP_L]: Likewise.
18222         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18223         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18224         * sysdeps/i386/i686/multiarch/strncase_l-c.c
18225         (__strncasecmp_l_ia32): Define as alias to
18226         __strncasecmp_l_nonascii.
18227
18228         [BZ #5794]
18229         * math/libm-test.inc (expm1_test): Add test for bug 5794.
18230         * sysdeps/i386/fpu/libm-test-ulps: Update.
18231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18232
18233         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18235
18236 2012-02-29  Jeff Law  <law@redhat.com>
18237
18238         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18239         out of bounds read.
18240
18241 2012-02-29  Marek Polacek  <polacek@redhat.com>
18242
18243         [BZ #13706]
18244         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18245         * elf/Makefile: Add rules to run tst-unused-dep.out.
18246
18247 2012-02-28  David S. Miller  <davem@davemloft.net>
18248
18249         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18250         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18251         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18252         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18253         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18254         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18255
18256 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
18257
18258         * math/libm-test.inc (llround_test): Move one test from
18259         lround_test.  Use TEST_f_L in moved test.
18260         (lround_test): Move misplaced test to llround_test.  Add testcase
18261         from bug 2561.
18262
18263 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
18264
18265         * sysdeps/x86_64/fpu/e_expf.S: New file.
18266         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18267
18268 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
18269
18270         [BZ #13637]
18271         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18272         of remain_len that may cause incomplete multi-byte character and
18273         false match.
18274         * posix/bug-regex33.c: New file.
18275         * posix/Makefile (tests): Add bug-regex33.
18276
18277 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
18278
18279         * manual/macros.texi: New file.
18280         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18281         * manual/libc.texinfo: Include macros.texi.
18282         * manual/creatute.texi: Likewise.
18283         * manual/install.texi: Likewise.
18284         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18285         @glibcadj{} in references to the GNU C Library.
18286         * manual/charset.texi: Likewise.
18287         * manual/conf.texi: Likewise.
18288         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
18289         when not using those macros.
18290         * manual/creature.texi: Likewise.
18291         * manual/crypt.texi: Likewise.
18292         * manual/errno.texi: Likewise.
18293         * manual/filesys.texi: Likewise.
18294         * manual/header.texi: Likewise.
18295         * manual/install.texi: Likewise.
18296         * manual/intro.texi: Likewise.
18297         * manual/io.texi: Likewise.
18298         * manual/job.texi: Likewise.
18299         * manual/lang.texi: Likewise.
18300         * manual/libc.texiinfo: Likewise.
18301         * manual/llio.texi: Likewise.
18302         * manual/locale.texi: Likewise.
18303         * manual/maint.texi: Likewise.
18304         * manual/math.texi: Likewise.
18305         * manual/memory.texi: Likewise.
18306         * manual/message.texi: Likewise.
18307         * manual/nss.texi: Likewise.
18308         * manual/pattern.texi: Likewise.
18309         * manual/process.texi: Likewise.
18310         * manual/resource.texi: Likewise.
18311         * manual/search.texi: Likewise.
18312         * manual/setjmp.texi: Likewise.
18313         * manual/signal.texi: Likewise.
18314         * manual/socket.texi: Likewise.
18315         * manual/startup.texi: Likewise.
18316         * manual/stdio.texi: Likewise.
18317         * manual/string.texi: Likewise.
18318         * manual/sysinfo.texi: Likewise.
18319         * manual/syslog.texi: Likewise.
18320         * manual/terminal.texi: Likewise.
18321         * manual/time.texi: Likewise.
18322         * manual/users.texi: Likewise.
18323         * INSTALL: Regenerated.
18324         * NOTES: Regenerated.
18325         * sysdeps/gnu/errlist.c: Regenerated.
18326
18327 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
18328
18329         * include/dirent.h: Include <dirstream.h> before
18330         <dirent/dirent.h>.
18331
18332 2012-02-28  David S. Miller  <davem@davemloft.net>
18333
18334         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18335         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18336         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18337         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18338
18339 2012-02-27  David S. Miller  <davem@davemloft.net>
18340
18341         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18342         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18343         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18344         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18345
18346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18347         frame pointer instead of stack pointer relative arg slot.
18348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18349         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18350         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18351
18352 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
18353
18354         [BZ #3992]
18355         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18356
18357 2012-02-27  David S. Miller  <davem@davemloft.net>
18358
18359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18363         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18364         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18365         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18366         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18367
18368 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
18369
18370         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18371         later.  Allow versions 5-9.
18372         * configure: Regenerated.
18373         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18374         required minimum version and 4.6 as recommended version.  Do not
18375         mention bugs in GCC 2.7 and 2.8.
18376         * INSTALL: Regenerated.
18377
18378 2012-02-27  David S. Miller  <davem@davemloft.net>
18379
18380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18381         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18382         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18384         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18385         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18386         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18387         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18388
18389         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18390         manipulate bits before adding and subtracting TWO112[sx].
18391         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18392
18393 2012-02-27  Roland McGrath  <roland@hack.frob.com>
18394
18395         [BZ #13775]
18396         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18397         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18398         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18399         being in POSIX, because they are in 1003.1-2008.
18400
18401         * rt/tst-aio.c: Include <fcntl.h>.
18402         * rt/tst-aio7.c: Likewise.
18403         * rt/tst-aio64.c: Likewise.
18404
18405         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18406
18407 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
18408
18409         * manual/install.texi (--with-headers): Describe headers as
18410         interface headers, not private headers.
18411         (Specific advice for GNU/Linux systems): Describe use of headers
18412         from "make headers_install", not private headers from older
18413         kernels.
18414         * INSTALL: Regenerated.
18415         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18416         Change to 2.6.19.
18417         * sysdeps/unix/sysv/linux/configure: Regenerated.
18418
18419         * manual/llio.texi (fclean): Remove documentation.
18420
18421         * manual/Makefile (libc-texi-generated): New variable.  Include
18422         version.texi.
18423         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18424         $(libc-texi-generated), not duplicated list of files.
18425         (version.texi, stamp-version): New rules.
18426         (realclean): Remove $(libc-texi-generated), not individual files
18427         from that list.  Do not remove dir-add.texinfo.
18428         * manual/libc.texinfo: Comment out uses of edition numbers and
18429         references to printed manual.  Remove last-updated dates.
18430         (EDITION): Comment out.
18431         (ISBN): Likewise.
18432         (VERSION, UPDATED): Remove.
18433         (version.texi): Include.
18434
18435 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
18436
18437         * sysdeps/posix/spawni.c: Include <signal.h>.
18438         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18439         * sysdeps/pthread/aio_fsync.c: Likewise.
18440
18441 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
18442
18443         * conform/Makefile (tests): Run only when not cross-compiling and
18444         when fast-check is not defined.
18445
18446         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18447         * conform/data/limits.h-data: Fixes for POSIX2008.
18448         * conform/run-conformtest.sh: Run all tests.
18449         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18450         headers.
18451         * include/bits/dlfcn.h: Likewise.
18452         * include/langinfo.h: Likewise.
18453         * include/monetary.h: Likewise.
18454         * include/sys/poll.h: Likewise.
18455
18456         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18457         for __USE_GNU.
18458         * posix/spawn.h: Define __need_sigset_t.
18459         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18460         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18461         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
18462         to get sigevent_t only.
18463         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18464         only for __USE_GNU.
18465         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18466         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18467         process_vm_writev only for __USE_GNU.
18468         * termios/termios.h: Declare tcgetsid also for POSIX2008.
18469
18470         * conform/Makefile: For now ignore errors from run-conformtest.
18471         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
18472         POSIX to avoid namespace pollution.  Don't prepend headers.
18473         * conform/data/aio.h-data: Fixes for POSIX testing.
18474         * conform/data/fcntl.h-data: Likewise.
18475         * conform/data/glob.h-data: Likewise.
18476         * conform/data/grp.h-data: Likewise.
18477         * conform/data/pthread.h-data: Likewise.
18478         * conform/data/pwd.h-data: Likewise.
18479         * conform/data/signal.h-data: Likewise.
18480         * conform/data/spawn.h-data: Likewise.
18481         * conform/data/stdio.h-data: Likewise.
18482         * conform/data/stdlib.h-data: Likewise.
18483         * conform/data/stropts.h-data: Likewise.
18484         * conform/data/sys/mman.h-data: Likewise.
18485         * conform/data/sys/stat.h-data: Likewise.
18486         * conform/data/sys/types.h-data: Likewise.
18487         * conform/data/sys/wait.h-data: Likewise.
18488         * conform/data/time.h-data: Likewise.
18489         * conform/data/unistd.h-data: Likewise.
18490         * conform/data/utime.h-data: Likewise.
18491
18492         * io/sys/stat.h: fchmod was always in POSIX.
18493         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18494         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18495         * rt/aio.h: Define __need_timespec before including <time.h>.
18496         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18497         struct.  Add forward declaration of pthread_attr_t and use it in
18498         sigevent.
18499         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18500         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18501         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18502         always remove CLK_TCK definition.
18503
18504 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
18505
18506         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18507
18508 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
18509
18510         * conform/run-conformtest.sh: New file.
18511         * conform/Makefile: Run run-conformtest for tests.
18512         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
18513         support.
18514
18515         * conform/data/uchar.h-data: New file.
18516         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18517         * conform/data/arpa/inet.h-data: Likewise.
18518         * conform/data/assert.h-data: Likewise.
18519         * conform/data/complex.h-data: Likewise.
18520         * conform/data/cpio.h-data: Likewise.
18521         * conform/data/ctype.h-data: Likewise.
18522         * conform/data/dirent.h-data: Likewise.
18523         * conform/data/dlfcn.h-data: Likewise.
18524         * conform/data/errno.h-data: Likewise.
18525         * conform/data/fcntl.h-data: Likewise.
18526         * conform/data/float.h-data: Likewise.
18527         * conform/data/fmtmsg.h-data: Likewise.
18528         * conform/data/fnmatch.h-data: Likewise.
18529         * conform/data/ftw.h-data: Likewise.
18530         * conform/data/glob.h-data: Likewise.
18531         * conform/data/grp.h-data: Likewise.
18532         * conform/data/iconv.h-data: Likewise.
18533         * conform/data/inttypes.h-data: Likewise.
18534         * conform/data/langinfo.h-data: Likewise.
18535         * conform/data/libgen.h-data: Likewise.
18536         * conform/data/limits.h-data: Likewise.
18537         * conform/data/locale.h-data: Likewise.
18538         * conform/data/math.h-data: Likewise.
18539         * conform/data/monetary.h-data: Likewise.
18540         * conform/data/mqueue.h-data: Likewise.
18541         * conform/data/ndbm.h-data: Likewise.
18542         * conform/data/net/if.h-data: Likewise.
18543         * conform/data/netdb.h-data: Likewise.
18544         * conform/data/netinet/in.h-data: Likewise.
18545         * conform/data/nl_types.h-data: Likewise.
18546         * conform/data/poll.h-data: Likewise.
18547         * conform/data/pthread.h-data: Likewise.
18548         * conform/data/pwd.h-data: Likewise.
18549         * conform/data/regex.h-data: Likewise.
18550         * conform/data/sched.h-data: Likewise.
18551         * conform/data/search.h-data: Likewise.
18552         * conform/data/semaphore.h-data: Likewise.
18553         * conform/data/setjmp.h-data: Likewise.
18554         * conform/data/signal.h-data: Likewise.
18555         * conform/data/spawn.h-data: Likewise.
18556         * conform/data/stdarg.h-data: Likewise.
18557         * conform/data/stdio.h-data: Likewise.
18558         * conform/data/stdlib.h-data: Likewise.
18559         * conform/data/string.h-data: Likewise.
18560         * conform/data/strings.h-data: Likewise.
18561         * conform/data/stropts.h-data: Likewise.
18562         * conform/data/sys/ipc.h-data: Likewise.
18563         * conform/data/sys/mman.h-data: Likewise.
18564         * conform/data/sys/msg.h-data: Likewise.
18565         * conform/data/sys/resource.h-data: Likewise.
18566         * conform/data/sys/select.h-data: Likewise.
18567         * conform/data/sys/sem.h-data: Likewise.
18568         * conform/data/sys/shm.h-data: Likewise.
18569         * conform/data/sys/socket.h-data: Likewise.
18570         * conform/data/sys/stat.h-data: Likewise.
18571         * conform/data/sys/statvfs.h-data: Likewise.
18572         * conform/data/sys/time.h-data: Likewise.
18573         * conform/data/sys/timeb.h-data: Likewise.
18574         * conform/data/sys/times.h-data: Likewise.
18575         * conform/data/sys/types.h-data: Likewise.
18576         * conform/data/sys/uio.h-data: Likewise.
18577         * conform/data/sys/un.h-data: Likewise.
18578         * conform/data/sys/utsname.h-data: Likewise.
18579         * conform/data/sys/wait.h-data: Likewise.
18580         * conform/data/syslog.h-data: Likewise.
18581         * conform/data/tar.h-data: Likewise.
18582         * conform/data/termios.h-data: Likewise.
18583         * conform/data/utime.h-data: Likewise.
18584         * conform/data/utmpx.h-data: Likewise.
18585         * conform/data/varargs.h-data: Likewise.
18586         * conform/data/wchar.h-data: Likewise.
18587         * conform/data/wctype.h-data: Likewise.
18588         * conform/data/wordexp.h-data: Likewise.
18589
18590         * include/stropts.h: New file.
18591         * include/uchar.h: New file.
18592         * include/aio.h: Changes to allow conformtest.pl to use the headers.
18593         * include/assert.h: Likewise.
18594         * include/ctype.h: Likewise.
18595         * include/dirent.h: Likewise.
18596         * include/dlfcn.h: Likewise.
18597         * include/fcntl.h: Likewise.
18598         * include/fnmatch.h: Likewise.
18599         * include/glob.h: Likewise.
18600         * include/grp.h: Likewise.
18601         * include/libio.h: Likewise.
18602         * include/locale.h: Likewise.
18603         * include/math.h: Likewise.
18604         * include/net/if.h: Likewise.
18605         * include/netdb.h: Likewise.
18606         * include/netinet/in.h: Likewise.
18607         * include/pthread.h: Likewise.
18608         * include/pwd.h: Likewise.
18609         * include/regex.h: Likewise.
18610         * include/sched.h: Likewise.
18611         * include/search.h: Likewise.
18612         * include/setjmp.h: Likewise.
18613         * include/signal.h: Likewise.
18614         * include/stdio.h: Likewise.
18615         * include/stdlib.h: Likewise.
18616         * include/string.h: Likewise.
18617         * include/sys/cdefs.h: Likewise.
18618         * include/sys/mman.h: Likewise.
18619         * include/sys/msg.h: Likewise.
18620         * include/sys/resource.h: Likewise.
18621         * include/sys/select.h: Likewise.
18622         * include/sys/socket.h: Likewise.
18623         * include/sys/stat.h: Likewise.
18624         * include/sys/statvfs.h: Likewise.
18625         * include/sys/time.h: Likewise.
18626         * include/sys/times.h: Likewise.
18627         * include/sys/uio.h: Likewise.
18628         * include/sys/utsname.h: Likewise.
18629         * include/sys/wait.h: Likewise.
18630         * include/termios.h: Likewise.
18631         * include/time.h: Likewise.
18632         * include/ulimit.h: Likewise.
18633         * include/unistd.h: Likewise.
18634         * include/utime.h: Likewise.
18635         * include/wchar.h: Likewise.
18636         * include/wctype.h: Likewise.
18637         * include/wordexp.h: Likewise.
18638
18639         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18640
18641         * time/time.h: TIME_UTC must be a macro.
18642         Make timespec_get available for ISO C11 only as well.
18643
18644 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
18645
18646         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18647         Reported by Peng Haitao <penght@cn.fujitsu.com>.
18648
18649 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
18650
18651         * configure.in: Use -o not -a in test for unsupported multi-arch.
18652
18653 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
18654
18655         * manual/texinfo.tex: Update to version 2012-01-19.16.
18656
18657 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
18658
18659         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18660
18661 2012-02-24  Roland McGrath  <roland@hack.frob.com>
18662
18663         [BZ #13738]
18664         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18665         * manual/fdl-1.3.texi: New file.
18666         * manual/fdl-1.1.texi: File removed.
18667
18668         [BZ #13738]
18669         * manual/libc.texinfo (FDL_VERSION): New @set.
18670         Use it for mention of FDL in cover text.
18671         (Documentation License): Use it in @include file name.
18672
18673 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18674             Roland McGrath  <roland@hack.frob.com>
18675
18676         [BZ #5461]
18677         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18678         not LONG_LONG_MAX and LONG_LONG_MIN.
18679         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18680         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
18681         name.
18682         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18683
18684 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18685
18686         [BZ #2547]
18687         [BZ #11365]
18688         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18689         manipulate bits before adding and subtracting TWO23[sx].
18690         * math/libm-test.inc (nearbyint_test): Add more tests.
18691
18692 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18693
18694         [BZ #2548]
18695         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18696         bits before adding and subtracting TWO23[sx].
18697         * math/libm-test.inc (rint_test): Add more tests.
18698         (rint_test_tonearest): Likewise.
18699         (rint_test_towardzero): Likewise.
18700         (rint_test_downward): Likewise.
18701         (rint_test_upward: Likewise.
18702
18703 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18704
18705         [BZ #10110]
18706         * include/stdc-predef.h: New file.  Extracted from features.h.
18707         * include/features.h: Include stdc-predef.h.
18708         * Makefile (headers): Add stdc-predef.h.
18709         * CONFORMANCE (Compiler limitations): Update.
18710
18711 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
18712
18713         * manual/libc.texinfo (VERSION, UPDATED): Revert.
18714
18715 2012-02-21  David S. Miller  <davem@davemloft.net>
18716
18717         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18718         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18719
18720 2012-02-20  David S. Miller  <davem@davemloft.net>
18721
18722         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18723         using a normal save/restore sequence, rather than allocating a
18724         dummy stack frame just to store a frame pointer and restore.
18725         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18726
18727 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
18728
18729         * manual/install.texi: Fix stray word in line-wrapped comment.
18730
18731 2012-02-20  David S. Miller  <davem@davemloft.net>
18732
18733         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18734         both binutils and gcc support GOTDATA.
18735
18736         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18737         "rd %pc" in the PIC register setup sequences.
18738
18739         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18740         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18741         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18742         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18743         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18744         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18745         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18746         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18747         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18748         (SYSCALL_ERROR_HANDLER): Likewise.
18749         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18750         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18751         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18752         (SYSCALL_ERROR_HANDLER): Likewise.
18753
18754         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18755         (HAVE_GCC_GOTDATA): New.
18756         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18757         relocation support in both binutils and gcc.
18758         * sysdeps/sparc/elf/configure: Regenerate.
18759
18760         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18761         * sysdeps/sparc/sparc32/elf/configure: Delete.
18762         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18763         * sysdeps/sparc/sparc64/elf/configure: Delete.
18764         * sysdeps/sparc/elf/configure.in: New file.
18765         * sysdeps/sparc/elf/configure: Generate.
18766
18767         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18768         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18769         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18770         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18771         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18772
18773 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
18774
18775         * manual/install.texi: Do not mention specific glibc version
18776         numbers.
18777         * manual/libc.texinfo (VERSION, UPDATED): Update.
18778         (@copying): Use @copyright{} and range of years.
18779
18780 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
18781
18782         [BZ #13695]
18783         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18784         [crti.S not in sysdirs] (generated): Do not append.
18785         [crti.S not in sysdirs] (omit-deps): Likewise.
18786         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18787         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18788         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18789         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18790         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18791         Likewise.
18792         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18793         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18794         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18795         * csu/defs.awk: Remove file.
18796         * sysdeps/generic/initfini.c: Likewise.
18797         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18798         variable.
18799         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18800         Likewise.
18801
18802 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
18803
18804         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18805         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18806         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18807         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18808         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18809         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18810         <bits/epoll.h>.
18811         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18812         (__EPOLL_PACKED): Define to empty if not defined by
18813         <bits/epoll.h>.
18814         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18815         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18816         bits/epoll.h.
18817
18818 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
18819
18820         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18821         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18822         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18823         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18824         <bits/timerfd.h>.
18825         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18826         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18827         bits/timerfd.h.
18828
18829 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
18830
18831         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18832         in C locale.
18833         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18834         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18835         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18837
18838 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
18839
18840         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18841         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18842
18843 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
18844
18845         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18846         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18847         defined.
18848         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18849         Likewise.
18850         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18851         entry for 2.16.
18852
18853 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
18854
18855         * math/w_acos.c: Use non-signaling floating-point comparisons.
18856         * math/w_acosf.c: Likewise.
18857         * math/w_acosh.c: Likewise.
18858         * math/w_acoshf.c: Likewise.
18859         * math/w_acoshl.c: Likewise.
18860         * math/w_acosl.c: Likewise.
18861         * math/w_asin.c: Likewise.
18862         * math/w_asinf.c: Likewise.
18863         * math/w_asinl.c: Likewise.
18864         * math/w_atanh.c: Likewise.
18865         * math/w_atanhf.c: Likewise.
18866         * math/w_atanhl.c: Likewise.
18867         * math/w_exp2.c: Likewise.
18868         * math/w_exp2f.c: Likewise.
18869         * math/w_exp2l.c: Likewise.
18870         * math/w_j0.c: Likewise.
18871         * math/w_j0f.c: Likewise.
18872         * math/w_j0l.c: Likewise.
18873         * math/w_j1.c: Likewise.
18874         * math/w_j1f.c: Likewise.
18875         * math/w_j1l.c: Likewise.
18876         * math/w_jn.c: Likewise.
18877         * math/w_jnf.c: Likewise.
18878         * math/w_log.c: Likewise.
18879         * math/w_log10.c: Likewise.
18880         * math/w_log10f.c: Likewise.
18881         * math/w_log10l.c: Likewise.
18882         * math/w_log2.c: Likewise.
18883         * math/w_log2f.c: Likewise.
18884         * math/w_log2l.c: Likewise.
18885         * math/w_logf.c: Likewise.
18886         * math/w_logl.c: Likewise.
18887         * math/w_sqrt.c: Likewise.
18888         * math/w_sqrtf.c: Likewise.
18889         * math/w_sqrtl.c: Likewise.
18890         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18891         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18892         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18893         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18894         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18895
18896 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
18897
18898         [BZ #9739]
18899         * manual/string.texi (strnlen): Use correct parameter name in
18900         equivalent expression.
18901
18902 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
18903
18904         [BZ #11174]
18905         * manual/users.texi (seteuid): Consistently use neweuid for
18906         argument name.
18907
18908 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
18909
18910         [BZ #13704]
18911         * manual/nss.texi (Services in the NSS configuration): Correct
18912         list of services in example configuration file.
18913
18914 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
18915
18916         [BZ #11322]
18917         * manual/arith.texi: Remove statements about negative zero
18918         behaving identically to zero.
18919
18920 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
18921
18922         [BZ #5993]
18923         * manual/install.texi: Do not document upgrading from libc5.
18924
18925 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
18926
18927         [BZ #4596]
18928         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18929
18930 2012-02-18  David S. Miller  <davem@davemloft.net>
18931
18932         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18933         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18934         %o7 across the call.
18935         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18936         instead.
18937         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18938         SETUP_PIC_REG_LEAF.
18939         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18940         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18941         * sysdeps/sparc/crtn.S: Likewise.
18942
18943 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
18944
18945         * aout/Makefile: Remove.
18946
18947 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
18948
18949         [BZ #13058]
18950         * manual/examples/argp-ex1.c (main): Format definition in GNU
18951         style.
18952         * manual/examples/argp-ex2.c (main): Likewise.
18953         * manual/examples/argp-ex3.c (main): Likewise.
18954         * manual/examples/argp-ex4.c (main): Likewise.
18955         * manual/examples/longopt.c (main): Use new-style prototype
18956         definition.
18957         * manual/examples/strncat.c (main): Specify return type and use
18958         (void) for arguments.
18959         * manual/examples/subopt.c (main): Use char **argv argument.
18960
18961 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18962
18963         [BZ #5077]
18964         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18965         rounding modes.
18966
18967 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
18968
18969         [BZ #6907]
18970         * manual/string.texi (strchr): Change when strchrnul is
18971         recommended.
18972
18973 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
18974
18975         [BZ #174]
18976         * manual/locale.texi (setlocale): Document LOCPATH.
18977
18978 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
18979
18980         [BZ #10210]
18981         * manual/process.texi (execle): Move @dots{} before last argument.
18982
18983 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
18984
18985         [BZ #12047]
18986         * manual/charset.texi (Generic Charset Conversion): Fix typo
18987         (LC_TYPE -> LC_CTYPE).
18988
18989 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
18990
18991         [BZ #5805]
18992         * manual/arith.texi (scalbn): Use @var{} on parameter names.
18993         (scalbnf): Likewise.
18994         (scalbnl): Likewise.
18995         (scalbln): Likewise.
18996         (scalblnf): Likewise.
18997         (scalblnl): Likewise.
18998         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18999         (vwarnx): Likewise.
19000         (verr): Likewise.
19001         (verrx): Likewise.
19002         * manual/filesys.texi (telldir): Use braces around return type.
19003         * manual/llio.texi (mmap): Add space after comma.
19004         (mmap64): Likewise.
19005         * manual/math.texi (jn): Use @var{} on parameter names.
19006         (jnf): Likewise.
19007         (jnl): Likewise.
19008         (yn): Likewise.
19009         (ynf): Likewise.
19010         (ynl): Likewise.
19011         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19012         line.
19013         * manual/resource.texi (ulimit): Use @dots{} instead of literal
19014         "...".
19015         (sched_get_priority_min): Remove semicolon on @deftypefun line.
19016         (sched_get_priority_max): Likewise.
19017         * manual/signal.texi (sigvec): Add space after comma.
19018         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19019         names.
19020         (if_indextoname): Likewise.
19021         (if_freenameindex): Likewise.
19022         (sendto): Use ',' instead of '.' in prototype.
19023         * manual/startup.texi (syscall): Use @dots{} instead of literal
19024         "...".
19025         * manual/stdio.texi (__fpending): Separate initial words of
19026         paragraph from @deftypefun line.
19027         * manual/syslog.texi (syslog): Use @dots{} instead of literal
19028         "...".
19029         (vsyslog): Use @var{} on parameter names.
19030         * manual/terminal.texi (stty): Use @var{} on parameter names.
19031         * manual/users.texi (getutmp): Use @var{} on parameter names.
19032         (getutmpx): Likewise.
19033
19034 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19035
19036         [BZ #6884]
19037         * manual/stdio.texi (fopen): Fix typos in description of
19038         ",ccs=STRING".
19039
19040 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
19041
19042         [BZ #4026]
19043         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19044         get clock_id definition.
19045
19046 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
19047
19048         [BZ #4822]
19049         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19050         (madvise): Cast every argument to void on its own.
19051
19052 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19053
19054         [BZ #9902]
19055         * manual/startup.texi (Exit Status): Fix typo.
19056
19057 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19058
19059         [BZ #10140]
19060         * manual/examples/argp-ex1.c: Include <stdlib.h>.
19061         * manual/examples/argp-ex2.c: Likewise.
19062         * manual/examples/argp-ex3.c: Likewise.
19063
19064 2012-02-16  Richard Henderson  <rth@redhat.com>
19065
19066         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19067         * sysdeps/s390/s390-32/initfini.c: Remove.
19068         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19069         * sysdeps/s390/s390-64/initfini.c: Remove.
19070
19071 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19072
19073         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19074         compiler output for sysdeps/generic/initfini.c.
19075         * sysdeps/sh/elf/initfini.c: Remove file.
19076
19077 2012-02-16  David S. Miller  <davem@davemloft.net>
19078
19079         [BZ #11494]
19080         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19081
19082         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19083         * sysdeps/sparc/crti.S: New file.
19084         * sysdeps/sparc/crtn.S: New file.
19085         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19086         * sysdeps/sparc/sparc64/Makefile: Likewise.
19087
19088 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
19089
19090         [BZ #3335]
19091         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19092
19093 2012-02-15  Roland McGrath  <roland@hack.frob.com>
19094
19095         [BZ #4822]
19096         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19097
19098         * mach/devstream.c (cookie_io_functions_t): Macro removed.
19099         (write, read, close): Likewise.
19100         Patch by Aurelien Jarno <aurelien@aurel32.net>.
19101
19102 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
19103
19104         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19105         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19106         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19107         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19108         <bits/signalfd.h>.
19109         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19110         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19111         bits/signalfd.h.
19112
19113 2012-02-14  Marek Polacek  <polacek@redhat.com>
19114
19115         * sysdeps/x86_64/crti.S: New file.
19116         * sysdeps/x86_64/crtn.S: New file.
19117         * sysdeps/x86_64/elf/initfini.c: Remove file.
19118
19119 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
19120
19121         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19122         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19123         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19124         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19125         <bits/inotify.h>.
19126         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19127         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19128         bits/inotify.h.
19129
19130 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
19131
19132         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19133         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19134         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19135         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19136         <bits/eventfd.h>.
19137         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19138         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19139         bits/eventfd.h.
19140
19141 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
19142
19143         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19144         __feraiseexcept instead of feraiseexcept.
19145
19146         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19147         nanosleep invocations.
19148         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19149         strings, and add error checking for a nanosleep invocations.
19150
19151 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
19152
19153         Replace FSF snail mail address with URLs, as per GNU coding standards.
19154         Most of the snail mail addresses were wrong anyway, and omitting
19155         them makes the source code easier to maintain.  Almost all of the
19156         changes are to license notices and to locale LC_IDENTIFICATION
19157         addresses, except for this one:
19158         * manual/libc.texinfo: In "Published by", give the FSF's URL,
19159         not its snail mail address.
19160
19161 2012-02-09  Richard Henderson  <rth@twiddle.net>
19162
19163         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19164         of kernel-features.h.
19165
19166         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19167
19168 2012-02-08  Marek Polacek  <polacek@redhat.com>
19169
19170         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19171         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19172         * sysdeps/gnu/_G_config.h: Likewise.
19173         * sysdeps/generic/_G_config.h: Likewise.
19174
19175 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
19176
19177         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19178         tests.
19179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19180
19181         * sysdeps/powerpc/powerpc32/crti.S: New file.
19182         * sysdeps/powerpc/powerpc32/crtn.S: New file.
19183         * sysdeps/powerpc/powerpc64/crti.S: New file.
19184         * sysdeps/powerpc/powerpc64/crtn.S: New file.
19185
19186         * Makeconfig (have-initfini): Don't set.
19187         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19188         * configure.in (nopic_initfini): Don't substitute.
19189         * config.h.in (HAVE_INITFINI): Don't #undef.
19190         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19191         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19192
19193 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
19194
19195         Support crti.S and crtn.S provided directly by architectures.
19196         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19197         [crti.S in sysdirs] (omit-deps): Likewise.
19198         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19199         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19200         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19201         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19202         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19203         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19204         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19205         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19206         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19207         compiler output for sysdeps/generic/initfini.c.
19208         * sysdeps/i386/elf/Makefile: Remove file.
19209         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19210
19211 2012-02-07  Marek Polacek  <polacek@redhat.com>
19212
19213         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19214         * sysdeps/gnu/_G_config.h: Likewise.
19215         * sysdeps/mach/hurd/_G_config.h: Likewise.
19216
19217 2012-02-07  Marek Polacek  <polacek@redhat.com>
19218
19219         * math/Makefile (tests): Add tst-CMPLX2.
19220         * math/tst-CMPLX2.c: New file.
19221
19222 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
19223
19224         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19225
19226         * math/libm-test.inc (jn_test): Add missing L suffix.
19227
19228 2012-02-06  Marek Polacek  <polacek@redhat.com>
19229
19230         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19231         * sysdeps/i386/fpu/e_powf.S: Likewise.
19232         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19233         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19234         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19235         * sysdeps/i386/fpu/e_pow.S: Likewise.
19236         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19237         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19238         * sysdeps/i386/fpu/s_expm1.S: Likewise.
19239         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19240         * sysdeps/i386/fpu/e_log2.S: Likewise.
19241         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19242         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19243         * sysdeps/i386/fpu/e_powl.S: Likewise.
19244         * sysdeps/i386/fpu/s_log1p.S: Likewise.
19245         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19246         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19247         * sysdeps/i386/fpu/e_logl.S: Likewise.
19248         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19249         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19250         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19251         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19252         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19253         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19254         * sysdeps/i386/fpu/e_log.S: Likewise.
19255         * sysdeps/i386/fpu/s_cexp.S: Likewise.
19256         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19257         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19258         * sysdeps/i386/fpu/e_logf.S: Likewise.
19259         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19260         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19261         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19262         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19263         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19264         * sysdeps/i386/fpu/e_log10.S: Likewise.
19265         * sysdeps/i386/fpu/s_frexp.S: Likewise.
19266         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19267         * sysdeps/i386/fpu/s_asinh.S: Likewise.
19268         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19269         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19270         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19271         * sysdeps/i386/asm-syntax.h: Likewise.
19272         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19273         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19274         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19275         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19276         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19277         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19278         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19279         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19280         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19281         * sysdeps/powerpc/sysdep.h: Likewise.
19282         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19283         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19284
19285 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
19286
19287         [BZ #411]
19288         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19289
19290 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
19291
19292         * sysdeps/i386/sysdep.h: Include <features.h>.
19293         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19294         version.
19295
19296 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
19297
19298         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19299         Define.
19300         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19301         LOAD_PIC_REG_STR.
19302
19303 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19304
19305         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19306         (SETUP_PIC_REG): Use GET_PC_THUNK.
19307         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19308         macro.
19309
19310 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19311
19312         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19313         for non-PIC compilation.
19314         (SETUP_PIC_REG): Add .p2align directive.
19315         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19316         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19317         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19318         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19319         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19320         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19321         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19322         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19323         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19324         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19325         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19326         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19327         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19328         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19329         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19330         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19331         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19332         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19333         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19334         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19335         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19336         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19337         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19338         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19339         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19340         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19341         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19342         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19343         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19344         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19345         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19346         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19347         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19348         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19349         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19350         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19351         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19352         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19353         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19354         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19355         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19356
19357 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
19358
19359         * math/tst-CMPLX.c: Include <stdio.h>.
19360
19361 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
19362
19363         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19364         float.
19365         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19366         * sysdeps/sparc/bits/mathdef.h: Likewise.
19367
19368 2012-01-31  Marek Polacek  <polacek@redhat.com>
19369
19370         * libio/libio.h: Don't define _PARAMS.
19371         * locale/programs/config.h: Don't define PARAMS.
19372         * stdlib/strtol_l.c: Likewise.
19373         (__strtol_l): Remove PARAMS from the prototype.
19374
19375 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
19376
19377         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
19378         names.  Just use the correct names.  Remove unnecessary wrapper
19379         functions.
19380         * malloc/arena.c: Likewise.
19381         * malloc/hooks.c: Likewise.
19382
19383         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19384         ARENA_TEST says not to.  Simplify test for creation of a new arena.
19385         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19386
19387 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
19388
19389         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19390         into tail calls.
19391         (update_get_addr): New function.
19392         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19393         GET_ADDR_MODULE parameter.
19394
19395 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
19396
19397         * crypt/cert.c: Remove __STDC__ conditionals.
19398         * crypt/crypt-entry.c: Likewise.
19399         * crypt/crypt_util.c: Likewise.
19400         * libio/filedoalloc.c: Likewise.
19401         * libio/fileops.c: Likewise.
19402         * libio/genops.c: Likewise.
19403         * libio/iofclose.c: Likewise.
19404         * libio/iofdopen.c: Likewise.
19405         * libio/iofopen.c: Likewise.
19406         * libio/iofopen64.c: Likewise.
19407         * libio/iogetdelim.c: Likewise.
19408         * libio/iopopen.c: Likewise.
19409         * libio/obprintf.c: Likewise.
19410         * libio/oldfileops.c: Likewise.
19411         * libio/oldiofclose.c: Likewise.
19412         * libio/oldiofdopen.c: Likewise.
19413         * libio/oldiofopen.c: Likewise.
19414         * libio/oldiopopen.c: Likewise.
19415         * libio/wfiledoalloc.c: Likewise.
19416         * libio/wgenops.c: Likewise.
19417         * locale/programs/xmalloc.c: Likewise.
19418         * misc/syslog.c: Likewise.
19419         * stdio-common/xbug.c: Likewise.
19420         * string/memchr.c: Likewise.
19421         * string/memcmp.c: Likewise.
19422         * string/memrchr.c: Likewise.
19423         * string/rawmemchr.c: Likewise.
19424         * sysdeps/posix/getcwd.c: Likewise.
19425         * time/strftime_l.c: Likewise.
19426
19427 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
19428
19429         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
19430         * config.make.in (config-cflags-sse2avx): Define.
19431         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19432         Fix typo.
19433
19434 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
19435
19436         * scripts/config.guess: Update from upstream config git repository.
19437         * scripts/config.sub: Likewise.
19438
19439 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
19440
19441         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19442         (EM_NUM): Update.
19443         (R_TILEPRO_*, R_TILEGX_*): New macros.
19444
19445         * scripts/firstversions.awk: Fix bug in version range handling.
19446
19447         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19448
19449         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19450
19451         * include/sys/epoll.h: New file.
19452         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19453         libc_hidden_def.
19454
19455 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
19456
19457         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19458         Avoid unnecessary __WORDSIZE == 64 test.
19459         (fmaxf): Use VEX format if possible.
19460         (fmax): Likewise.
19461         (fminf): Likewise.
19462         (fmin): Likewise.
19463
19464         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19465         * math/math_private.h: Remove libc_fegetround* and
19466         libc_fesetround*.
19467         * sysdeps/i386/configure.in: Check for -msse2avx.
19468         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19469         also if SSE2AVX is defined.
19470         Remove libc_fegetround* and libc_fesetround*.
19471         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19472         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
19473         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19474         of HAS_YMM_USABLE.
19475         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19476         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19477         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19478         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19479         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19480
19481         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19482
19483 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19484
19485         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19486         size is not set.
19487         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19488
19489 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
19490
19491         [BZ #13618]
19492         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19493         relocation.
19494         * Makeconfig (libm): Define.
19495         * elf/Makefile: Add rules to build and run tst-relsort1.
19496         * elf/tst-relsort1.c: New file.
19497         * elf/tst-relsort1mod1.c: New file.
19498         * elf/tst-relsort1mod2.c: New file.
19499
19500 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
19501
19502         * math/s_ldexp.c: Remove __STDC__ conditionals.
19503         * math/s_ldexpf.c: Likewise.
19504         * math/s_ldexpl.c: Likewise.
19505         * math/s_nextafter.c: Likewise.
19506         * math/s_nexttowardf.c: Likewise.
19507         * math/s_significand.c: Likewise.
19508         * math/s_significandf.c: Likewise.
19509         * math/s_significandl.c: Likewise.
19510         * math/w_jnl.c: Likewise.
19511         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19512         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19513         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19514         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19515         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19516         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19517         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19518         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19519         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19520         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19521         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19522         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19523         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19524         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19525         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19526         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19527         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19528         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19529         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19530         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19531         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19532         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19533         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19534         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19535         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19536         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19537         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19538         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19539         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19540         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19541         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19542         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19543         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19544         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19545         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19546         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19547         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19548         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19549         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19550         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19551         * sysdeps/ieee754/k_standard.c: Likewise.
19552         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19553         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19554         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19555         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19556         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19557         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19558         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19559         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19560         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19561         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19562         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19563         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19564         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19565         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19566         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19567         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19568         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19569         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19570         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19571         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19572         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19573         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19574         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19575         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19576         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19577         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19578         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19579         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19580         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19581         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19582         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19583         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19584         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19585         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19586         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19587         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19588         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19589         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19590         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19591         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19592         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19593         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19594         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19595         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19596         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19597         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19598         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19599         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19600         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19601         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19602         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19603         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19604         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19605         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19606         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19607         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19608         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19609         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19610         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19611         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19612         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19613         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19614         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19615         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19616         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19617         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19618         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19619         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19620         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19621         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19622         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19623         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19624         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19625         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19626         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19627         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19628         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19629         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19630         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19631         * sysdeps/ieee754/s_matherr.c: Likewise.
19632         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19633         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19634         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19635         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19636
19637 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
19638
19639         * crypt/md5.h: Remove __STDC__ conditionals.
19640         * libio/libioP.h: Likewise.
19641         * locale/programs/config.h: Likewise.
19642         * sysdeps/generic/sysdep.h: Likewise.
19643         * sysdeps/i386/asm-syntax.h: Likewise.
19644         * sysdeps/s390/asm-syntax.h: Likewise.
19645         * sysdeps/unix/sysdep.h: Likewise.
19646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19648
19649 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
19650
19651         * libio/libio.h: Remove __STDC__ conditionals.
19652         * malloc/obstack.h: Likewise.
19653         * math/complex.h: Likewise.
19654         * math/math.h: Likewise.
19655         * sysdeps/generic/_G_config.h: Likewise.
19656         * sysdeps/gnu/_G_config.h: Likewise.
19657         * sysdeps/mach/hurd/_G_config.h: Likewise.
19658         * sysdeps/powerpc/bits/mathdef.h: Likewise.
19659         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19660         * sysdeps/sparc/bits/mathdef.h: Likewise.
19661
19662 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
19663
19664         [BZ #13583]
19665         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
19666         Clean up HAS_* macros.
19667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
19668         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19669         possible.
19670         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19671         HAS_AVX.
19672         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19673         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19674         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19675         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19676         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19677
19678 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
19679
19680         * elf/tst-unique3.cc (gets): Remove declaration.
19681         * elf/tst-unique3lib.cc (gets): Likewise.
19682         * elf/tst-unique3lib2.cc (gets): Likewise.
19683         * elf/tst-unique4.cc (gets): Likewise.
19684
19685 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
19686
19687         * include/stdio.h: Add C++ protection.  Add gets declarations and
19688         definitions.
19689         * debug/tst-chk1.c: Don't declare gets here.
19690         * stdio-common/tst-gets.c: Likewise.
19691
19692 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
19693
19694         * posix/glob: Remove directory.
19695
19696 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
19697
19698         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19699
19700 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
19701
19702         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19703         of the non-standard EPFNOSUPPORT.
19704
19705 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19706
19707         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19708         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19709         ANYWHERE set to 1 only on KERN_NO_SPACE error.
19710
19711 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
19712
19713         * wcsmbs/uchar.h: Test __STDC_VERSION__.
19714
19715 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
19716
19717         * nscd/aicache.c (addhstaiX): Do not cache negative results of
19718         transient errors.
19719         * nscd/grpcache.c (cache_addgr): Likewise.
19720         * nscd/hstcache.c (cache_addhst): Likewise.
19721         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19722         * nscd/pwdcache.c (cache_addpw): Likewise.
19723         * nscd/servicescache.c (cache_addserv): Likewise.
19724
19725 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
19726
19727         * malloc/malloc.c: Various cleanups.
19728         * malloc/hooks.c: Likewise.
19729
19730         * stdlib/Makefile (tests): Add bug-fmtmsg1.
19731         * stdlib/bug-fmtmsg1.c: New file.
19732
19733         * stdlib/fmtmsg.c (init): Add missing unlock.
19734         Patch by Peng Haitao <penght@cn.fujitsu.com>.
19735
19736 2012-01-12  Marek Polacek  <polacek@redhat.com>
19737
19738         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19739         and _GNU_SOURCE.
19740
19741 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
19742
19743         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19744         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19745         macro to ensure uniqueness of label name.
19746         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19747         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19748
19749 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
19750
19751         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19752
19753         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19754         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19755         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19756         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19757
19758 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
19759
19760         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19761
19762         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19763         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19764         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19765
19766         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19767
19768         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
19769         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19770         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19771         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
19772
19773         * math/bits/math-finite.h: Add ldexp support.
19774
19775 2012-01-10  Marek Polacek  <polacek@redhat.com>
19776
19777         * locale/programs/localedef.h (show_archive_content): Add noreturn
19778         attribute.
19779
19780 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
19781
19782         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19783
19784 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
19785
19786         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19787
19788         * io/Makefile (headers): Add bits/poll2.h.
19789
19790 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
19791
19792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19793         typo #include statement.
19794
19795 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
19796
19797         * include/sys/cdefs.h: Define __attribute_alloc_size.
19798         * catgets/gencat.c: Add alloc_size attribute and apply consistently
19799         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19800         * elf/pldd.c: Likewise.
19801         * iconv/iconv_charmap.c: Likewise.
19802         * iconv/iconvconfig.c: Likewise.
19803         * iconv/strtab.c: Likewise.
19804         * locale/programs/locale.c: Likewise.
19805         * locale/programs/localedef.h: Likewise.
19806         * locale/programs/simple-hash.c: Likewise.
19807         * nscd/nscd.h: Likewise.
19808         * nss/makedb.c: Likewise.
19809         * sysdeps/generic/ldconfig.h: Likewise.
19810         * locale/programs/localedef.c: Remove xmalloc prototype.
19811         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19812
19813 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19814
19815         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19816         appropriate.
19817
19818 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
19819
19820         * math/Makefile (tests): Add tst-CMPLX.
19821         * math/tst-CMPLX.c: New file.
19822
19823         * math/complex.h (CMPLXL): Fix typo.
19824
19825         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19826         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19827         GLIBC_2.16.
19828         * debug/tst-chk1.c: Add poll and ppoll tests.
19829         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19830         * include/sys/poll.h: Add hidden proto for ppoll.
19831         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19832         * sysdeps/mach/hurd/ppoll.c: Likewise.
19833         * io/ppoll.c: Likewise.
19834         * debug/poll_chk.c: New file.
19835         * debug/ppoll_chk.c: New file.
19836         * include/bits/poll2.h: New file.
19837         * io/bits/poll2.h: New file.
19838
19839         [BZ #1350]
19840         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19841
19842         * configure.in: static is always set to yes.  Remove.
19843         * config.make.in: Don't set build-static.
19844         * Makeconfig: Remove use of build-static.
19845         * dlfcn/Makefile: Likewise.
19846         * elf/Makefile: Likewise.
19847         * math/Makefile: Likewise.
19848         * misc/Makefile: Likewise.
19849         * nptl/Makefile: Likewise.
19850         * sysdeps/mach/hurd/Makefile: Likewise.
19851
19852         * configure.in: PWD_P is not used anymore.
19853         * config.make.in: Remove PWD_P entry.
19854
19855         * configure.in: Remove last remnants of RANLIB.
19856         No need to check for signed size_t anymore.
19857         Don't set libc_commonpagesize and libc_relro_required here for Alpha
19858         and IA-64.
19859         Remove __builtin_expect test because we require at least gcc 3.4.
19860         * aclocal.m4: Likewise.
19861
19862         * wcsmbs/mbrtoc16.c: Implement using towc function.
19863         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19864         * wcsmbs/wcsmbsload.c: Likewise.
19865         * iconv/gconv_simple.c: Likewise.
19866         * iconv/gconv_int.h: Likewise.
19867         * iconv/gconv_builtin.h: Likewise.
19868         * iconv/iconv_prog.c: Remove CHAR16 handling.
19869
19870         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19871
19872         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19873
19874         * configure.in: Remove --with-elf and --enable-bounded options.
19875         Dont set base_machine for ia64.  More non-ELF conditions removed.
19876         Remove testing and setting of leading underscore information.
19877         * config.make.in (build-bounded): Set to no.
19878         * config.h.in: Remove NO_UNDERSCORES entry.
19879         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
19880         them.
19881         * csu/start.c: Remove !NO_UNDERSCORE code.
19882         * locale/localeinfo.h: Likewise.
19883         * sysdeps/generic/machine-gmon.h: Likewise.
19884         * sysdeps/generic/sysdep.h: Likewise.
19885         * sysdeps/i386/sysdep.h: Likewise.
19886         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19887         * sysdeps/mach/sysdep.h: Likewise.
19888         * sysdeps/s390/s390-32/sysdep.h: Likewise.
19889         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19890         * sysdeps/sh/sysdep.h: Likewise.
19891         * sysdeps/sparc/sparc32/alloca.S: Likewise.
19892         * sysdeps/unix/i386/sysdep.S: Likewise.
19893         * sysdeps/unix/sparc/start.c: Likewise.
19894         * sysdeps/unix/sparc/sysdep.S: Likewise.
19895         * sysdeps/unix/sparc/sysdep.h: Likewise.
19896         * sysdeps/unix/start.c: Likewise.
19897         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19898         * sysdeps/x86_64/sysdep.h: Likewise.
19899
19900 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
19901
19902         [BZ #13553]
19903         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19904         for non-gcc.
19905         * argp/argp-fmtstream.h: Use const instead __const.
19906         * argp/argp.h: Likewise.
19907         * assert/assert.h: Likewise.
19908         * bits/fenv.h: Likewise.
19909         * bits/sched.h: Likewise.
19910         * bits/sigset.h: Likewise.
19911         * bits/sigthread.h: Likewise.
19912         * catgets/nl_types.h: Likewise.
19913         * conform/data/pthread.h-data: Likewise.
19914         * crypt/crypt-private.h: Likewise.
19915         * crypt/crypt.h: Likewise.
19916         * crypt/crypt_util.c: Likewise.
19917         * ctype/ctype.h: Likewise.
19918         * debug/execinfo.h: Likewise.
19919         * debug/mbsnrtowcs_chk.c: Likewise.
19920         * debug/mbsrtowcs_chk.c: Likewise.
19921         * debug/wcsnrtombs_chk.c: Likewise.
19922         * debug/wcsrtombs_chk.c: Likewise.
19923         * debug/wcstombs_chk.c: Likewise.
19924         * dirent/dirent.h: Likewise.
19925         * dlfcn/dlfcn.h: Likewise.
19926         * elf/neededtest4.c: Likewise.
19927         * grp/grp.h: Likewise.
19928         * gshadow/gshadow.h: Likewise.
19929         * iconv/gconv.h: Likewise.
19930         * iconv/gconv_int.h: Likewise.
19931         * iconv/gconv_simple.c: Likewise.
19932         * iconv/iconv.h: Likewise.
19933         * iconv/loop.c: Likewise.
19934         * iconv/skeleton.c: Likewise.
19935         * include/aio.h: Likewise.
19936         * include/aliases.h: Likewise.
19937         * include/argz.h: Likewise.
19938         * include/arpa/inet.h: Likewise.
19939         * include/assert.h: Likewise.
19940         * include/dirent.h: Likewise.
19941         * include/dlfcn.h: Likewise.
19942         * include/execinfo.h: Likewise.
19943         * include/fcntl.h: Likewise.
19944         * include/fenv.h: Likewise.
19945         * include/glob.h: Likewise.
19946         * include/grp.h: Likewise.
19947         * include/libintl.h: Likewise.
19948         * include/mntent.h: Likewise.
19949         * include/netdb.h: Likewise.
19950         * include/pwd.h: Likewise.
19951         * include/rpc/netdb.h: Likewise.
19952         * include/sched.h: Likewise.
19953         * include/search.h: Likewise.
19954         * include/shadow.h: Likewise.
19955         * include/signal.h: Likewise.
19956         * include/stdio.h: Likewise.
19957         * include/stdlib.h: Likewise.
19958         * include/string.h: Likewise.
19959         * include/sys/socket.h: Likewise.
19960         * include/sys/stat.h: Likewise.
19961         * include/sys/statfs.h: Likewise.
19962         * include/sys/statvfs.h: Likewise.
19963         * include/sys/syslog.h: Likewise.
19964         * include/sys/time.h: Likewise.
19965         * include/sys/uio.h: Likewise.
19966         * include/time.h: Likewise.
19967         * include/unistd.h: Likewise.
19968         * include/utmp.h: Likewise.
19969         * include/wchar.h: Likewise.
19970         * include/wctype.h: Likewise.
19971         * inet/aliases.h: Likewise.
19972         * inet/arpa/inet.h: Likewise.
19973         * inet/netinet/ether.h: Likewise.
19974         * inet/netinet/in.h: Likewise.
19975         * intl/libintl.h: Likewise.
19976         * io/bits/fcntl2.h: Likewise.
19977         * io/fcntl.h: Likewise.
19978         * io/ftw.h: Likewise.
19979         * io/sys/poll.h: Likewise.
19980         * io/sys/stat.h: Likewise.
19981         * io/sys/statfs.h: Likewise.
19982         * io/sys/statvfs.h: Likewise.
19983         * io/utime.h: Likewise.
19984         * libio/bits/stdio.h: Likewise.
19985         * libio/bits/stdio2.h: Likewise.
19986         * libio/libio.h: Likewise.
19987         * libio/libioP.h: Likewise.
19988         * libio/stdio.h: Likewise.
19989         * locale/lc-ctype.c: Likewise.
19990         * locale/locale.h: Likewise.
19991         * login/utmp.h: Likewise.
19992         * malloc/arena.c: Likewise.
19993         * malloc/malloc.c: Likewise.
19994         * malloc/malloc.h: Likewise.
19995         * malloc/mcheck.c: Likewise.
19996         * malloc/mtrace.c: Likewise.
19997         * math/bits/mathcalls.h: Likewise.
19998         * math/fenv.h: Likewise.
19999         * math/math_private.h: Likewise.
20000         * misc/bits/error.h: Likewise.
20001         * misc/bits/syslog.h: Likewise.
20002         * misc/err.h: Likewise.
20003         * misc/error.h: Likewise.
20004         * misc/fstab.h: Likewise.
20005         * misc/mntent.h: Likewise.
20006         * misc/regexp.h: Likewise.
20007         * misc/search.h: Likewise.
20008         * misc/sgtty.h: Likewise.
20009         * misc/sys/mman.h: Likewise.
20010         * misc/sys/syslog.h: Likewise.
20011         * misc/sys/uio.h: Likewise.
20012         * misc/sys/xattr.h: Likewise.
20013         * misc/ttyent.h: Likewise.
20014         * nis/rpcsvc/ypclnt.h: Likewise.
20015         * nss/nss.h: Likewise.
20016         * posix/bits/unistd.h: Likewise.
20017         * posix/fnmatch.h: Likewise.
20018         * posix/glob.h: Likewise.
20019         * posix/sched.h: Likewise.
20020         * posix/spawn.h: Likewise.
20021         * posix/sys/wait.h: Likewise.
20022         * posix/unistd.h: Likewise.
20023         * posix/wordexp.h: Likewise.
20024         * pwd/pwd.h: Likewise.
20025         * resolv/netdb.h: Likewise.
20026         * resource/sys/resource.h: Likewise.
20027         * rt/aio.h: Likewise.
20028         * rt/bits/mqueue2.h: Likewise.
20029         * rt/mqueue.h: Likewise.
20030         * shadow/shadow.h: Likewise.
20031         * signal/signal.h: Likewise.
20032         * socket/send.c: Likewise.
20033         * socket/sendto.c: Likewise.
20034         * socket/sys/socket.h: Likewise.
20035         * stdio-common/printf.h: Likewise.
20036         * stdlib/bits/stdlib.h: Likewise.
20037         * stdlib/fmtmsg.h: Likewise.
20038         * stdlib/monetary.h: Likewise.
20039         * stdlib/stdlib.h: Likewise.
20040         * stdlib/ucontext.h: Likewise.
20041         * streams/stropts.h: Likewise.
20042         * string/argz.h: Likewise.
20043         * string/bits/string2.h: Likewise.
20044         * string/string.h: Likewise.
20045         * string/strings.h: Likewise.
20046         * sunrpc/rpc/auth.h: Likewise.
20047         * sunrpc/rpc/auth_des.h: Likewise.
20048         * sunrpc/rpc/clnt.h: Likewise.
20049         * sunrpc/rpc/netdb.h: Likewise.
20050         * sunrpc/rpc/pmap_clnt.h: Likewise.
20051         * sunrpc/rpc/xdr.h: Likewise.
20052         * sysdeps/generic/inttypes.h: Likewise.
20053         * sysdeps/generic/net/if.h: Likewise.
20054         * sysdeps/generic/sys/swap.h: Likewise.
20055         * sysdeps/gnu/net/if.h: Likewise.
20056         * sysdeps/gnu/utmpx.h: Likewise.
20057         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20058         * sysdeps/i386/i486/bits/string.h: Likewise.
20059         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20060         * sysdeps/s390/bits/string.h: Likewise.
20061         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20062         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20063         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20064         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20065         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20066         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20067         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20068         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20069         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20070         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20071         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20072         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20073         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20074         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20075         * sysdeps/unix/sysv/linux/readv.c: Likewise.
20076         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20077         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20078         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20079         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20080         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20081         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20082         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20083         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20084         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20085         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20086         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20087         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20088         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20089         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20090         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20091         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20092         * sysvipc/sys/ipc.h: Likewise.
20093         * sysvipc/sys/msg.h: Likewise.
20094         * sysvipc/sys/sem.h: Likewise.
20095         * sysvipc/sys/shm.h: Likewise.
20096         * termios/termios.h: Likewise.
20097         * time/sys/time.h: Likewise.
20098         * time/time.h: Likewise.
20099         * wcsmbs/bits/wchar2.h: Likewise.
20100         * wcsmbs/uchar.h: Likewise.
20101         * wcsmbs/wchar.h: Likewise.
20102         * wctype/wctype.h: Likewise.
20103
20104         [BZ #13551]
20105         * Makeconfig: Remove all but ELF support including AIX support.
20106         * Makerules: Likewise.
20107         * config.h.in: Likewise.
20108         * config.make.in: Likewise.
20109         * configure: Likewise.
20110         * configure.in: Likewise.
20111         * csu/Makefile: Likewise.
20112         * csu/version.c: Likewise.
20113         * debug/Makefile: Likewise.
20114         * dlfcn/Makefile: Likewise.
20115         * elf/Makefile: Likewise.
20116         * extra-lib.mk: Likewise.
20117         * iconv/Makefile: Likewise.
20118         * include/libc-symbols.h: Likewise.
20119         * include/shlib-compat.h: Likewise.
20120         * resolv/Makefile: Likewise.
20121         * resolv/res_libc.c: Likewise.
20122         * rt/Makefile: Likewise.
20123         * sysdeps/i386/asm-syntax.h: Likewise.
20124         * sysdeps/i386/sysdep.h: Likewise.
20125         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20126         * sysdeps/mach/sysdep.h: Likewise.
20127         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20128         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20129         * sysdeps/s390/asm-syntax.h: Likewise.
20130         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20131         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20132         * sysdeps/sh/sysdep.h: Likewise.
20133         * sysdeps/unix/sparc/sysdep.h: Likewise.
20134         * sysdeps/wordsize-32/divdi3.c: Likewise.
20135         * sysdeps/x86_64/sysdep.h: Likewise.
20136
20137         * argp/Versions: Remove _argp_unlock_xxx.
20138
20139         [BZ #13559]
20140         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
20141         * abilist/libBrokenLocale.abilist: Likewise.
20142         * abilist/libanl.abilist: Likewise.
20143         * abilist/libc.abilist: Likewise.
20144         * abilist/libcrypt.abilist: Likewise.
20145         * abilist/libdl.abilist: Likewise.
20146         * abilist/libm.abilist: Likewise.
20147         * abilist/libnsl.abilist: Likewise.
20148         * abilist/libpthread.abilist: Likewise.
20149         * abilist/libresolv.abilist: Likewise.
20150         * abilist/librt.abilist: Likewise.
20151         * abilist/libthread_db.abilist: Likewise.
20152         * abilist/libutil.abilist: Likewise.
20153         * abilist/libnss_db.abilist: New file.
20154
20155         * scripts/abilist.awk: Add support for indirect functions.
20156
20157         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20158
20159         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20160
20161         * shlib-versions: Remove entries for ports architectures.
20162
20163         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
20164         files in ports.
20165         * elf/stackguard-macros.h: Remove support for IA-64.
20166         * elf/tst-auditmod1.c: Likewise.
20167         * sysdeps/generic/ldsodefs.h: Likewise.
20168
20169         * sysdeps/unix/sysv/linux/configure.in: Ports should define
20170         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20171         configure files.
20172
20173         [BZ #13552]
20174         * configure.in: Remove --enable-omitfp support.
20175         * FAQ.in: Adjust.
20176         * config.make.in: Likewise.
20177         * Makeconfig: Likewise.
20178         * manual/install.texi: Likewise.
20179
20180         In case anyone cares, the IA-64 architecture could move to ports.
20181         * sysdeps/ia64/*: Removed.
20182         * sysdeps/unix/sysv/linux/ia64/*: Removed.
20183         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
20184
20185         [BZ #13555]
20186         * configure.in: Remove entries for unsupported architectures.
20187
20188         [BZ #13533]
20189         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20190         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
20191         routines.
20192         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20193         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20194         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
20195         fall back to using wcrtomb.
20196         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20197         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
20198         renaming.
20199         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20200         * wcsmbs/tst-c16c32-1.c: New file.
20201
20202         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20203         local variable.
20204
20205         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20206
20207         * elf/tst-unique3.cc: Add explicit declaration of gets.
20208         * elf/tst-unique3lib.cc: Likewise.
20209         * elf/tst-unique3lib2.cc: Likewise.
20210         * elf/tst-unique4.cc: Likewise.
20211
20212         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20213
20214 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
20215
20216         [BZ #13566]
20217         * assert/assert.h (static_assert): Don't define for C++.
20218         * libio/stdio.h (gets): Do declare for C++ <= C++11.
20219         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20220
20221 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
20222
20223         * iconv/loop.c (single loop): Fix assertion in storing of
20224         remaining bytes.
20225
20226         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20227
20228 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
20229
20230         * posix/getconf.c: Update copyright year.
20231         * nss/getent.c: Likewise.
20232         * nss/makedb.c: Likewise.
20233         * iconv/iconvconfig.c: Likewise.
20234         * iconv/iconv_prog.c: Likewise.
20235         * elf/ldconfig.c: Likewise.
20236         * elf/pldd.c: Likewise.
20237         * elf/sotruss.ksh: Likewise.
20238         * catgets/gencat.c: Likewise.
20239         * csu/version.c: Likewise.
20240         * elf/ldd.bash.in: Likewise.
20241         * elf/sprof.c (print_version): Likewise.
20242         * locale/programs/locale.c: Likewise.
20243         * locale/programs/localedef.c: Likewise.
20244         * login/programs/pt_chown.c: Likewise.
20245         * nscd/nscd.c (print_version): Likewise.
20246         * debug/xtrace.sh: Likewise.
20247         * malloc/memusage.sh: Likewise.
20248         * malloc/mtrace.pl: Likewise.
20249         * debug/catchsegv.sh: Likewise.
20250
20251 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
20252
20253         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20254         pure attribute.
20255
20256 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
20257
20258         [BZ #13533]
20259         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20260         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20261         transformations.
20262         * iconv/gconv_int.h: Likewise.
20263         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20264         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20265         from libc for GLIBC_2.16.
20266         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20267         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20268         * wcsmbs/uchar.h: Really define mbstate_t.
20269         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20270         * wcsmbs/c16rtomb.c: New file.
20271         * wcsmbs/mbrtoc16.c: New file.
20272         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20273         for C/POSIX locale.
20274         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20275         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20276
20277         * wcsmbs/wchar.h: Add missing __restrict.
20278
20279 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
20280
20281         [BZ #13532]
20282         * time/Makefile (routines): Add timespec_get.
20283         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20284         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
20285         timespec for ISO C11.
20286         * time/timespec_get.c: New file.
20287         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20288         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20289
20290         [BZ #13531]
20291         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20292         * stdlib/stdlib.h: Declare aligned_alloc.
20293         * Versions.def: Add GLIBC_2.16 for libc.
20294         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20295
20296         [BZ 13527]
20297         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20298         ISO C11.
20299
20300         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
20301         code.
20302
20303         [BZ #13528]
20304         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20305
20306         [BZ #13529]
20307         * assert/assert.h (static_assert): Define.
20308
20309         * version.h: Update for 2.16 development version.
20310
20311         [BZ #13526]
20312         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20313         _ISOC11_SOURCE.
20314
20315         * version.h (RELEASE): Bump for 2.15 release.
20316         * include/features.h (__GLIBC_MINOR__): Bump to 15.
20317
20318         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20319         Patch by Marek Polacek <mpolacek@redhat.com>.
20320
20321         * bits/byteswap.h: Protect long long constants with __extension__.
20322         * sysdeps/i386/bits/byteswap.h: Likewise.
20323         * sysdeps/ia64/bits/byteswap.h: Likewise.
20324         * sysdeps/s390/bits/byteswap.h: Likewise.
20325         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20326
20327 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20328
20329         [BZ #13540]
20330         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20331         destination buffer.
20332         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20333
20334 2011-12-23  Marek Polacek  <polacek@redhat.com>
20335
20336         * elf/dl-addr.c (determine_info): Add inline keyword.
20337         * elf/tst-auditmod4b.c (check_avx): Likewise.
20338         * elf/tst-auditmod6b.c (check_avx): Likewise.
20339         * elf/tst-auditmod6c.c (check_avx): Likewise.
20340         * elf/tst-auditmod7b.c (check_avx): Likewise.
20341
20342 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
20343
20344         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20345         !__SSE_MATH__.
20346
20347 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20348
20349         [BZ #13540]
20350         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20351         processing for last bytes.
20352
20353 2011-08-06  Bruno Haible  <bruno@clisp.org>
20354
20355         [BZ #13061]
20356         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20357         U+0385, not to U+1FEE.
20358
20359         [BZ #13062]
20360         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20361         entry for U+00A5 U+0301.
20362
20363 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
20364
20365         [BZ #13166]
20366         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20367         buffer for the output is too small.
20368
20369         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20370         optimization.
20371
20372         [BZ #13185]
20373         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20374         SSE flags if possible.
20375
20376 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20377
20378         [BZ #13540]
20379         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20380         processing for last bytes.
20381
20382 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
20383
20384         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20385         (syscall-list-default-options, syscall-list-default-condition)
20386         (syscall-list-includes): Define.
20387         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20388         list of ABIs and options and #if conditions for each ABI.  Do not
20389         handle common syscalls between ABIs specially.
20390         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20391         Remove.
20392         (syscall-list-variants, syscall-list-32bit-options)
20393         (syscall-list-32bit-condition, syscall-list-64bit-options)
20394         (syscall-list-64bit-condition): Define.
20395         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20396         (syscall-list-variants, syscall-list-32bit-options)
20397         (syscall-list-32bit-condition, syscall-list-64bit-options)
20398         (syscall-list-64bit-condition): Define.
20399         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20400         Remove.
20401         (syscall-list-variants, syscall-list-32bit-options)
20402         (syscall-list-32bit-condition, syscall-list-64bit-options)
20403         (syscall-list-64bit-condition): Define.
20404         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20405         Remove.
20406         (syscall-list-variants, syscall-list-32bit-options)
20407         (syscall-list-32bit-condition, syscall-list-64bit-options)
20408         (syscall-list-64bit-condition): Define.
20409
20410 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
20411
20412         * locale/iso-639.def: Add brx entry.
20413
20414         [BZ #13328]
20415         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20416         Proposed by Mariusz_Cukr <marcukr@op.pl>.
20417
20418         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20419         __feraiseexcept_renamed.
20420
20421 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
20422
20423         [BZ #13538]
20424         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20425         EPOLLET with unsigned values.
20426         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20427         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20428
20429         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20430         to large cancellation.
20431         * math/s_cacoshf.c: Likewise.
20432         * math/s_cacoshl.c: Likewise.
20433
20434 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
20435
20436         [BZ #13305]
20437         [BZ #12786]
20438         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20439         * math/s_cacoshf.c: Likewise.
20440         * math/s_cacoshl.c: Likewise.
20441
20442 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
20443
20444         [BZ #13439]
20445         * iconv/gconv.h: Define __GCONV_SWAP.
20446         * iconvdata/unicode.c: The swap bit must be stored in __flags.
20447         * iconvdata/utf-16.c: Likewise.
20448         * iconvdata/utf-32.c: Likewise.
20449
20450 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
20451
20452         [BZ #13524]
20453         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20454         numerator after shifting it by one limb.
20455
20456 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
20457
20458         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20459         under [__USE_EXTERN_INLINES].
20460
20461 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
20462
20463         [BZ #13446]
20464         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20465
20466 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20467
20468         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20469         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20470         optimized code.
20471         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20472         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20473         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20474         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20475         for strncasecmp/strncasecmp_l compilation.
20476         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20477         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20478
20479 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
20480
20481         [BZ #13484]
20482         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20483         of __asm__.
20484
20485 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
20486
20487         [BZ #13506]
20488         * time/tzfile.c (__tzfile_read): Check values from file header.
20489
20490 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
20491
20492         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20493         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20494         * powerpc/powerpc32/dl-start.S: Likewise.
20495         * powerpc/powerpc32/elf/start.S: Likewise.
20496         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20497         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20498         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20499         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20500         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20501         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20502         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20503         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20504         * powerpc/powerpc32/fpu/s_round.S: Likewise.
20505         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20506         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20507         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20508         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20509         * powerpc/powerpc32/memset.S: Likewise.
20510         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20511         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20512         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20513         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20514         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20515         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20516         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20517         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20518         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20519         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20520         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20521         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20522         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20523
20524 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20525
20526         * math/libm-test.inc: Added more nearbyint tests.
20527         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20528         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20529         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20530         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20531
20532 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
20533
20534         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20535         FD_CLOEXEC.
20536
20537 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20538
20539         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20540         Add wcscpy-ssse3 wcscpy-c.
20541         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20542         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20543         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20544         * sysdeps/x86_64/wcschr.S: New file.
20545         * sysdeps/x86_64/wcsrchr.S: New file.
20546         * string/test-strcmp.c: Remove checking of wcscmp function for
20547         wrong alignments.
20548         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20549         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20550         wcsrchr-sse2 wcsrchr-c.
20551         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20552         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20553         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20554         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20555         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20556         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20557         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20558         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20559         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20560         * wcsmbc/wcschr.c (WCSCHR): New macro.
20561
20562 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20563
20564         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20565         * wcsmbs/test-wcsrchr.c: New file.
20566         * string/test-strrchr.c: Add wcsrchr support.
20567         (WIDE): New macro.
20568         * wcsmbs/test-wcscpy.c: New file.
20569         * string/test-strcpy.c: Add wcscpy support.
20570         (WIDE): New macro.
20571
20572 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
20573
20574         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20575         the inner loop.
20576
20577 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
20578
20579         [BZ #13472]
20580         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20581
20582 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
20583
20584         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
20585         Minor optimizations.
20586
20587         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20588         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20589         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20590
20591 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
20592
20593         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20594         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20595         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20596         for gcc to avoid warnings.
20597         * inet/Makefile (tests): Add tst-checks.
20598         * inet/tst-checks.c: New file.
20599
20600         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20601         warning.
20602
20603         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20604         __wmemcmp_sse2.
20605
20606         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20607         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20608
20609         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20610
20611 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
20612
20613         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20614         problem.
20615
20616         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20617
20618 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
20619
20620         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20621         conditional on GCC version.
20622         (__arch_compare_and_exchange_val_8_acq)
20623         (__arch_compare_and_exchange_val_16_acq)
20624         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20625         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20626         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20627
20628 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
20629
20630         * sysdeps/sh/backtrace.c: New file.
20631
20632 2011-12-02  Andreas Schwab  <schwab@redhat.com>
20633
20634         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
20635         parenthesis.
20636
20637 2011-12-01  Andreas Schwab  <schwab@redhat.com>
20638
20639         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20640         falling back to utime.
20641
20642 2011-11-30  Andreas Schwab  <schwab@redhat.com>
20643
20644         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20645         expectations for float.
20646
20647 2011-11-29  Andreas Schwab  <schwab@redhat.com>
20648
20649         * locale/weight.h (findidx): Add parameter len.
20650         * locale/weightwc.h (findidx): Likewise.
20651         * posix/fnmatch_loop.c (FCT): Adjust caller.
20652         * posix/regcomp.c (build_equiv_class): Likewise.
20653         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20654         * posix/regexec.c (check_node_accept_bytes): Likewise.
20655         * string/strcoll_l.c (STRCOLL): Likewise.
20656         * string/strxfrm_l.c (STRXFRM): Likewise.
20657
20658 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
20659
20660         * Makefile.in: Remove CVSOPT handling.
20661         * configure.in: Remove use of AC_REVISION.
20662         * iconvdata/Makefile (distribute): No need to filter out CVS.
20663         * scripts/list-sources.sh: Remove CVS, subversion and monotone
20664         handling.
20665
20666 2011-11-16  Andreas Schwab  <schwab@redhat.com>
20667
20668         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20669         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20670         [USE_AS_STRNCASECMP_L]: Likewise.
20671         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20672         NO_TLS_DIRECT_SEG_REFS.
20673         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20674         Fix argument offsets for non-PIC.
20675         [USE_AS_STRNCASECMP_L]: Likewise.
20676         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20677         NO_TLS_DIRECT_SEG_REFS.
20678
20679 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
20680
20681         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
20682         O_CLOEXEC.
20683         * locale/loadlocale.c (_nl_load_locale): Likewise.
20684
20685 2011-11-15  Andreas Schwab  <schwab@redhat.com>
20686
20687         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20688         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20689         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20690         (SYSCALL_GETTIME): Set errno on error.
20691
20692         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20693         count references to noai6ai_cached.
20694
20695 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
20696
20697         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20698
20699         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20700         FD_CLOEXEC for /proc/self/maps.
20701
20702         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20703         FD_CLOEXEC for /proc/meminfo.
20704
20705         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20706         gai.conf.
20707
20708         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
20709         FD_CLOEXEC for given file.
20710
20711         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20712
20713         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20714         FD_CLOEXEC for /etc/hosts.
20715         (_gethtent): Likewise.
20716
20717         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20718
20719         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20720         cancellation and set FD_CLOEXEC for /etc/netgroup.
20721
20722         * nss/nss_files/files-key.c (search): Don't allow cancellation when
20723         reading /etc/publickey.
20724
20725         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20726         allow cancellation when reading /etc/group.
20727
20728         * nss/nss_files/files-alias.c (internal_setent): Don't allow
20729         cancellation.
20730         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
20731
20732         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20733         when using data file.
20734
20735         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20736
20737         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20738         (write_nis_obj): Use "c" and "e" in fopen.
20739
20740         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20741
20742         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20743
20744         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20745
20746         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20747
20748         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20749         locale.alias.
20750
20751         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20752
20753         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20754
20755         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20756
20757         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20758         file parsing and set FD_CLOEXEC.
20759
20760 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
20761
20762         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20763
20764 2011-11-14  Andreas Schwab  <schwab@redhat.com>
20765
20766         * malloc/arena.c (arena_get2): Don't call reused_arena when
20767         _int_new_arena failed.
20768
20769 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
20770
20771         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20772         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20773         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20774         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20775         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20776         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20777         to compile strcasecmp and strncasecmp.
20778         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20779         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20780
20781         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20782
20783 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
20784
20785         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20786         locale-defines.sym to gen-as-const-headers.
20787         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20788         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20789         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20790         to compile strcasecmp and strncasecmp.
20791         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20792         strcasecmp_l and strncasecmp_l.
20793         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20794         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20795         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20796         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20797         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20798         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20799         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20800         * sysdeps/i386/i686/multiarch/strncase.S: New file.
20801         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20802         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20803         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20804
20805 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
20806
20807         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20808         result of SYSDEP_GETTIME_CPU to retval.
20809         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20810         parameter list to macro.  Remove trailing semicolon.  Adjust users.
20811
20812         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20813         variable.
20814
20815         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20816         mantissa words.
20817         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20818
20819         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20820         from unused variable.
20821
20822         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20823         DWARF definitions.
20824         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20825         for assembling.
20826
20827         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20828         over namespaces.
20829
20830         * sunrpc/rpc_prot.c (rejected): Fix case value.
20831
20832         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20833         unsigned long long int to avoid warnings in shift.
20834
20835         * posix/regex_internal.c (re_string_reconstruct): Actually use result
20836         of use of trans.
20837         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20838         variable tmp.
20839
20840         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20841         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20842         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20843
20844         * nis/nis_table.c (nis_list): Use variable of correct type for
20845         result of __follow_path call.
20846
20847 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20848
20849         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20850         of math functions ceil, trunc, floor, round, and sqrt, when
20851         avaliable on the platform.
20852         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20853         name clash.
20854         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20855         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20856         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20857
20858 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
20859
20860         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20861         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20862
20863 2011-11-11  Roland McGrath  <roland@hack.frob.com>
20864
20865         * include/unistd.h: Fix __readlink return type.
20866         Reported by Chris Metcalf <cmetcalf@tilera.com>.
20867
20868 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
20869
20870         * stdlib/ucontext.h: Undo last change for makecontext.
20871
20872 2011-11-11  Andreas Schwab  <schwab@redhat.com>
20873
20874         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20875
20876         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20877         * setjmp/setjmp.h: Mark functions as non-leaf.
20878         * setjmp/bits/setjmp2.h: Likewise.
20879         * stdlib/ucontext.h: Likewise.
20880
20881 2011-11-10  Andreas Schwab  <schwab@redhat.com>
20882
20883         * malloc/arena.c (_int_new_arena): Don't increment narenas.
20884         (reused_arena): Don't check arena limit.
20885         (arena_get2): Atomically check arena limit.
20886
20887 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
20888
20889         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20890         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20891
20892         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20893         instructions.
20894
20895 2011-11-07  Andreas Schwab  <schwab@redhat.com>
20896
20897         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20898         handler when locking.
20899
20900         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20901         Fix size of allocated buffer.
20902
20903 2011-11-04  Andreas Schwab  <schwab@redhat.com>
20904
20905         [BZ #10103]
20906         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20907         declarations for long double functions.
20908         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20909
20910         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20911
20912 2011-11-03  Andreas Schwab  <schwab@redhat.com>
20913
20914         * nscd/nscd.c (main): Don't start AVC thread until credentials are
20915         installed.
20916
20917         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20918         is disabled.
20919
20920 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20921
20922         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20923
20924 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
20925
20926         * include/alloca.h (stackinfo_alloca_round): Define.
20927         (extend_alloca): Use it.
20928         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20929         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20930         here.
20931
20932         * scripts/check-local-headers.sh: Ignore libaudit.h.
20933
20934         * nscd/Makefile (extra-objs): Make recursively expanded.
20935
20936 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
20937
20938         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20939         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20940
20941         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20942         * posix/tst-rfc3484-2.c: Likewise.
20943         * posix/tst-rfc3484-3.c: Likewise.
20944
20945         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20946         process_vm_writev.
20947         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20948         process_vm_writev.
20949         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20950         process_vm_writev from libc using GLIBC_2.15 version.
20951
20952         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20953
20954 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
20955
20956         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20957         stack usage.
20958
20959 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
20960
20961         [BZ #13367]
20962         * nss/getent.c (initgroups_keys): Show error message in case no group
20963         names are given.
20964
20965         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20966         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20967         __bump_nl_timestamp.
20968         * nscd/connections (nscd_init): When host database is served open
20969         netlink socket and request notification about configuration changes.
20970         (main_loop_poll): Track netlink file descriptor and bump timestamp
20971         in case data becomes available.
20972         (main_loop_epoll): Likewise.
20973         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20974         (database_pers_head): Add extra_data fileds.
20975         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20976         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20977         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20978         Adjust caller.
20979         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20980         in6ai data, call __free_in6ai.
20981         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20982         Add -DHAVE_NETLINK.
20983         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
20984         interface information.  Reuse previous data if netlink timestamp
20985         is not changed.
20986         (__bump_nl_timestamp): New function.
20987         (__free_in6ai): New function.
20988
20989 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
20990
20991         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20992         close_not_cancel_no_status here.
20993         (__check_pf): Reorganize code a bit to not call close twice if OOM.
20994
20995 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
20996
20997         [BZ #13276]
20998         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20999         return value.
21000
21001         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
21002         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21003         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21004
21005 2011-07-03  Andreas Jaeger  <aj@suse.de>
21006
21007         [BZ #10709]
21008         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21009         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21010         * math/libm-test.inc (sin_test): Add test case.
21011
21012 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
21013
21014         [BZ #13337]
21015         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21016         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21017
21018         * elf/chroot_canon.c (chroot_canon): Cleanups.
21019
21020         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21021
21022         [BZ #13335]
21023         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21024         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21025
21026         * string/test-strchr.c: Make usable for strchrnul testing.
21027         * string/test-strchrnul.c: New file.
21028         * string/Makefile (strop-tests): Add strchrnul.
21029
21030         * po/it.po: Update from translation team.
21031         * po/es.po: Likewise.
21032
21033 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
21034
21035         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21036         the three constants needed as parameters.  Drop the others.
21037         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21038         __m128i_strloadu_tolower.
21039         Create and initialize variable zero and use it in all the places
21040         where _mm_setzero_si128 was used.
21041
21042         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21043         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21044         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21045         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21046         anymore.
21047         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21048         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21049         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21050         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21051         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21052         __mpranred, __mptan.
21053         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21054         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21055         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21056         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21057         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21058         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21059         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21060         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21061         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21062
21063 2011-10-28  Andreas Schwab  <schwab@redhat.com>
21064
21065         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21066         redefine if SHARED.
21067         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21068
21069         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21070         wide char related routines to wcsmbs subdir.
21071
21072 2011-10-27  Andreas Schwab  <schwab@redhat.com>
21073
21074         [BZ #13344]
21075         * misc/sys/cdefs.h (__THROWNL): Define.
21076         * posix/unistd.h: Use __THREADNL instead of __THREAD
21077         for memory synchronization functions.
21078
21079 2011-10-26  Roland McGrath  <roland@hack.frob.com>
21080
21081         [BZ #13349]
21082         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21083         doesn't exist.
21084         * manual/stdio.texi (Obstack Streams): Node removed.
21085
21086 2011-10-26  Andreas Schwab  <schwab@redhat.com>
21087
21088         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21089         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21090         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21091
21092         * math/math_private.h (math_force_eval): Allow non-addressable
21093         arguments.
21094         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21095
21096 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21097
21098         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21099         file is not needed.
21100
21101         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21102         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21103         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21104         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21105         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21106         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21107         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21108         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21109         Add AVX variants.
21110         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21111         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21112         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21113         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21114         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21115         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21116         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21117         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21118         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21119         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21120         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21121         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21122         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21123         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21124         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21125         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21126         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21127         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21128         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21129
21130         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21131         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
21132
21133         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21134         place.  Use VEX encoding when compiling for AVX.
21135
21136 2011-10-25  Andreas Schwab  <schwab@redhat.com>
21137
21138         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21139         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21140
21141         * string/test-strchr.c (do_test): Don't generate NUL bytes.
21142
21143 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21144
21145         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21146         useless if() expression.
21147         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21148         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21149         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21150         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21151         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21152         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21153         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21154         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21155         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21156         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21157         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21158         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21159         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21160         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21161         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21162         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21163         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21164         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21165         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21166
21167         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21168
21169 2011-10-25  Andreas Schwab  <schwab@redhat.com>
21170
21171         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21172         condition.
21173         * elf/dl-fini.c (_dl_sort_fini): Likewise.
21174
21175 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21176
21177         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21178         .text section.  Avoid duplicate constants.
21179         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21180         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21181         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21182         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21183         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21184         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21185         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21186         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21187         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21188         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21189         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21190         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21191         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21192         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21193         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21194         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21195         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21196         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21197         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21198         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21199         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21200         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21201         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21202         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21203         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21204         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21205         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21206         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21207         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21208         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21209         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21210         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21211         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21212         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21213         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21214         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21215         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21216         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21217         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21218         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21219         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21220         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21221         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21222         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21223         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21224
21225 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
21226
21227         * sysdeps/x86_64/dla.h: Move to ...
21228         * sysdeps/x86_64/fpu/dla.h: ...here.
21229         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21230         situations.  Use __builtin_fma only for gcc 4.6 and up.
21231
21232         * config.make.in: Add have-mfma4 entry.
21233         * configure.in: Substitute libc_cv_cc_fma4.
21234         * math/Makefile (dbl-only-routines): Add sincostab.
21235         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21236         Use __sincostab not sincos.
21237         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21238         name is a macro.
21239         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21240         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21241         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21242         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
21243         using __copysign.
21244         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
21245         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
21246         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21247         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21248         and __inv.
21249         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21250         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21251         __copysign.
21252         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
21253         define aliases when function name is a macro.
21254         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21255         sysdeps/ieee754/dbl-64/sincos.tbl.
21256         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21257         fma4-enabled routines.
21258         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21259         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21260         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21261         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21262         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21263         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21264         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21265         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21266         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21267         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21268         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21269         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21270         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21271         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21272         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21273         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21274         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21275         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21276         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21277         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21278         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21279         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21280         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21281         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21282         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21283         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21284         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21285         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21286         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21287         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21288
21289         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21290         rename.
21291         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21292         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21293         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21294         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21295         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21296         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21297         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21298         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21299
21300 2011-10-24  Andreas Schwab  <schwab@redhat.com>
21301
21302         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21303
21304 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21305
21306         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21307
21308         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21309         prediction.
21310         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21311
21312         * string/strnlen.c: Don't define STRNLEN, reverse logic.
21313         Remove unused variable magic_bits.
21314         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21315
21316         * string/strnlen.c: Define and use STRNLEN macro.
21317         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21318         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21319         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21320         * wcsmbs/wcslen.c: Define and use WCSLEN.
21321         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21322         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21323         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21324         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21325         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21326         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21327         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21328
21329 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21330
21331         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21332         strnlen-sse2-no-bsf.
21333         Rename strlen-no-bsf to strlen-sse2-no-bsf.
21334         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21335         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21336         Add strnlen support.
21337         (USE_AS_STRNLEN): New macro.
21338         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21339         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21340         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21341         * sysdeps/x86_64/wcslen.S: New file.
21342
21343 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
21344
21345         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21346         XMM-moves are used for copying on small sizes.
21347
21348 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21349
21350         * wcsmbs/Makefile (strop-tests): Add wcschr.
21351         * wcsmbs/test-wcschr.c: New file.
21352         * string/test-strchr.c: Update.
21353         Add wcschr support.
21354         (WIDE): New macro.
21355
21356 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21357
21358         * wcsmbs/Makefile (strop-tests): Add wcslen.
21359         * wcsmbs/test-wcslen.c: New file.
21360         * string/test-strlen.c: Update.
21361         Add wcslen support.
21362         (WIDE): New macro.
21363
21364 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21365
21366         * po/it.po: Update from translation team.
21367
21368 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21369
21370         * sysdeps/x86_64/wcscmp.S: Update.
21371         Fix wrong comparison semantics.
21372         wcscmp shall use signed comparison not unsigned.
21373         Don't use substraction to avoid overflow bug.
21374         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21375         * wcsmbc/wcscmp.c: Likewise.
21376         * string/test-strcmp.c: Likewise.
21377         Add new tests to check cases with negative values.
21378
21379 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
21380
21381         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21382         * sysdeps/x86_64/dla.h: ...here.  New file.
21383         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21384         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21385         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21386         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21387         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21388         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21389         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21390         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21391         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21392
21393 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
21394
21395         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21396         __ynl_finite aliases.
21397
21398 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
21399
21400         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21401
21402         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21403         define DLA_FMA.
21404         [DLA_FMA] (EMULV): Use DLA_FMA.
21405         [DLA_FMA] (MUL12): Use EMULV.
21406         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21407         that are not needed.
21408         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21409         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21410         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21411         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21412         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21413         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21414         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21415
21416 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
21417
21418         * math/s_nan.c: Undef __nan.
21419         * math/s_nanf.c: Undef __nanf.
21420         * math/s_nanl.c: Undef __nanl.
21421         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21422         "math_private.h".
21423
21424 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
21425
21426         * math/s_catan.c: Add branch predictions.
21427         * math/s_catanf.c: Likewise.
21428         * math/s_catanh.c: Likewise.
21429         * math/s_catanhf.c: Likewise.
21430         * math/s_catanhl.c: Likewise.
21431         * math/s_catanl.c: Likewise.
21432         * math/s_cexp.c: Likewise.
21433         * math/s_cexpf.c: Likewise.
21434         * math/s_cexpl.c: Likewise.
21435         * math/s_clog.c: Likewise.
21436         * math/s_clog10.c: Likewise.
21437         * math/s_clog10f.c: Likewise.
21438         * math/s_clog10l.c: Likewise.
21439         * math/s_clogf.c: Likewise.
21440         * math/s_clogl.c: Likewise.
21441         * math/s_csqrt.c: Likewise.
21442         * math/s_csqrtf.c: Likewise.
21443         * math/s_csqrtl.c: Likewise.
21444         * math/s_ctanf.c: Likewise.
21445         * math/s_ctanh.c: Likewise.
21446         * math/s_ctanhf.c: Likewise.
21447         * math/s_ctanhl.c: Likewise.
21448         * math/s_ctanl.c: Likewise.
21449
21450         * math/math_private.h: Define __nan, __nanf, __nanl.
21451         * math/s_cacosh.c: Include <math_private.h>.
21452         * math/s_cacoshl.c: Likewise.
21453         * math/s_casinh.c: Likewise.
21454         * math/s_casinhf.c: Likewise.
21455         * math/s_casinhl.c: Likewise.
21456         * math/s_ccos.c: Rely entire on ccosh.
21457         * math/s_ccosf.c: Rely entire on ccoshf.
21458         * math/s_ccosl.c: Rely entirely on ccoshl.
21459         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
21460         Remove tests for FE_INVALID.
21461         * math/s_ccoshf.c: Likewise.
21462         * math/s_ccoshl.c: Likewise.
21463         * math/s_csin.c: Likewise.
21464         * math/s_csinf.c: Likewise.
21465         * math/s_csinh.c Likewise.
21466         * math/s_csinhf.c: Likewise.
21467         * math/s_csinhl.c: Likewise.
21468         * math/s_csinl.c: Likewise.
21469         * math/s_ctan.c: Likewise.
21470         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21471         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21472         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21473
21474 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
21475
21476         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21477         compilation problems.
21478
21479         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21480         __builtin_expect.
21481
21482 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
21483
21484         * sysdeps/i386/configure.in: Test for -mfma4 option.
21485         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21486         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21487         COMMON_CPUID_INDEX_80000001.
21488         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21489         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21490         use it if FMA3 is not supported.
21491         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21492
21493         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21494         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21495
21496 2011-10-20  Andreas Schwab  <schwab@redhat.com>
21497
21498         [BZ #12892]
21499         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21500         it would create a cycle with a link time dependency.
21501
21502 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
21503
21504         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21505         instruction.
21506         * string/Makefile (strop-tests): Add rawmemchr.
21507         * string/test-rawmemchr.c: New file.
21508
21509         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21510         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
21511         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
21512         when compiling str{,n}casecmp and when AVX is available.  Hook up
21513         new optimized code in initializers.
21514
21515 2011-10-19  Andreas Schwab  <schwab@redhat.com>
21516
21517         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21518         __feraiseexcept instead of feraiseexcept.
21519
21520 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
21521
21522         * math/math_private.h: Define defaults for libc_fetestexcept and
21523         libc_feupdateenv.
21524         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21525         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21526         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21527         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21528         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21529         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21530         libc_fetestexcept and libc_feupdateenv.
21531
21532         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21533         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21534         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21535         * sysdeps/x86_64/fpu/math_private.h: Define special version of
21536         libc_feholdexcept_setround.
21537
21538         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21539         Add s_nearbyint-c and s_nearbyintf-c.
21540         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21541         nearbyintf inlines.
21542         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21543         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21544         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21545         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21546
21547         * math/math_private.h: Define defaults for libc_fegetround,
21548         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21549         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21550         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21551         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21552         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21553         standard functions.
21554         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21555         Remove comments and hacks for old compiler versions.
21556         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21557         libc_fegetround, libc_fesetround, libc_feholdexcept, and
21558         libc_feholdexceptl.
21559
21560 2011-10-18  Andreas Schwab  <schwab@redhat.com>
21561
21562         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
21563         (__feraiseexcept_renamed): Add __NTH.
21564         (feraiseexcept): Add __NTH.  Rename local variables to fix
21565         namespace violations.
21566
21567 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
21568
21569         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21570
21571         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21572
21573         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21574         recently added interfaces.
21575         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21576
21577         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21578         about macro parameter expansion.
21579
21580         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21581         __NO_MATH_INLINES is defined.  Cleanups.
21582
21583         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21584         and __floorf is target has SSE4.1.
21585         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21586         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21587         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21588         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21589
21590         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21591         name.
21592         (floorf): Likewise.
21593
21594         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21595
21596 2011-10-17  Andreas Schwab  <schwab@redhat.com>
21597
21598         * misc/sys/cdefs.h: Fix last change.
21599
21600         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21601         database lookup.
21602
21603 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
21604
21605         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21606
21607         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21608         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21609         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21610         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21611         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21612         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21613         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21614         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21615         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21616         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21617         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21618         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21619         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21620         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21621         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21622         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21623         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21624         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21625         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21626         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21627         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21628         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21629
21630         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21631         ceil, ceilf, floor, floorf.
21632
21633         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21634         Perform IRELATIVE relocations last.
21635
21636         * elf/do-rel.h: Add another parameter nrelative, replacing the
21637         local variable with the same name.  Change name of the function
21638         to end in Rel or Rela (uppercase).
21639         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21640         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
21641         elf_dynamic_do_##reloc function.
21642
21643 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
21644
21645         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21646         is sufficient, at least on modern CPUs.
21647
21648         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21649
21650         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21651         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21652
21653         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21654         __expl_finite.
21655         * math/bits/math-finite.h: Add entries for exp.
21656         * math/e_expl.c: Add __*_finite alias.
21657         * sysdeps/i386/fpu/e_exp.S: Likewise.
21658         * sysdeps/i386/fpu/e_expf.S: Likewise.
21659         * sysdeps/i386/fpu/e_expl.c: Likewise.
21660         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21661         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21662         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21663         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21664         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21665         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21666         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21667
21668         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21669         is sufficient, at least on modern CPUs.
21670
21671         * ctype/ctype-info.c (__ctype_init): Define.
21672         * include/ctype.h (__ctype_init): Declare.
21673         (__ctype_b_loc): The variable is always initialized.
21674         (__ctype_toupper_loc): Likewise.
21675         (__ctype_tolower_loc): Likewise.
21676         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21677         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21678
21679 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
21680
21681         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21682
21683         * configure.in: Also look in $cxxmachine/include for C++ system
21684         headers.
21685
21686 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21687
21688         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21689         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21690         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21691         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
21692         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21693         (USE_AS_WMEMCMP): New macro.
21694         Fixing indents.
21695         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21696         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21697         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21698         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21699         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21700         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21701         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21702         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21703         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21704         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21705         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21706         (USE_AS_WMEMCMP): New macro.
21707         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21708         * sysdeps/string/test-memcmp.c: Update.
21709         Fix simple_wmemcmp.
21710         Add new tests.
21711         * wcsmbs/wmemcmp.c: Update.
21712         (WMEMCMP): New macro.
21713         Fix overflow bug.
21714
21715 2011-10-12  Andreas Jaeger  <aj@suse.de>
21716
21717         [BZ #13268]
21718         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21719
21720 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
21721
21722         * libio/iofwide.c (do_length): Avoid warning.
21723
21724         * ctype/ctype.h (__isctype_f): Add missing __THROW.
21725
21726 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
21727
21728         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21729
21730         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21731         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21732         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21733         * sysdeps/i386/i686/fpu/e_log.S: New file.
21734         * sysdeps/i386/i686/fpu/e_logf.S: New file.
21735         * sysdeps/i386/i686/fpu/e_logl.S: New file.
21736
21737         * ctype/ctype.h: Add support for inlined isXXX functions when
21738         compiling C++ code.
21739
21740 2011-10-14  Andreas Schwab  <schwab@redhat.com>
21741
21742         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21743
21744         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21745
21746 2011-10-13  Roland McGrath  <roland@hack.frob.com>
21747
21748         [BZ #13291]
21749         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21750
21751 2011-10-13  Andreas Schwab  <schwab@redhat.com>
21752
21753         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21754         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21755         feraiseexcept.
21756
21757         * sysdeps/x86_64/memrchr.S: Check for zero size.
21758
21759         * string/stratcliff.c: Add memrchr tests.
21760
21761 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21762
21763         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21764         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21765         rawmemchr-sse2 rawmemchr-sse2-bsf.
21766         * sysdeps/i386/i686/multiarch/memchr.S: New file.
21767         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21768         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21769         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21770         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21771         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21772         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21773         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21774         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21775         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21776         * string/memrchr.c (MEMRCHR): New macro.
21777
21778 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
21779
21780         Add integration with gcc's -ffinite-math-only and optimize wrapper
21781         functions in libm.
21782         * Versions.def: Define GLIBC_2.15 version for libm.
21783         * math/Makefile (headers): Add bits/math-finite.h.
21784         * math/bits/math-finite.h: New file.
21785         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21786         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21787         * math/e_acoshl.c: Add __*_finite alias.
21788         * math/e_acosl.c: Likewise.
21789         * math/e_asinl.c: Likewise.
21790         * math/e_atan2l.c: Likewise.
21791         * math/e_atanhl.c: Likewise.
21792         * math/e_coshl.c: Likewise.
21793         * math/e_exp10.c: Likewise.
21794         * math/e_exp10f.c: Likewise.
21795         * math/e_exp10l.c: Likewise.
21796         * math/e_exp2l.c: Likewise.
21797         * math/e_fmodl.c: Likewise.
21798         * math/e_gammal_r.c: Likewise.
21799         * math/e_hypotl.c: Likewise.
21800         * math/e_j0l.c: Likewise.
21801         * math/e_j1l.c: Likewise.
21802         * math/e_jnl.c: Likewise.
21803         * math/e_lgammal_r.c: Likewise.
21804         * math/e_log10l.c: Likewise.
21805         * math/e_log2l.c: Likewise.
21806         * math/e_logl.c: Likewise.
21807         * math/e_powl.c: Likewise.
21808         * math/e_sinhl.c: Likewise.
21809         * math/e_sqrtl.c: Likewise.
21810         * math/e_scalb.c: Completely rewritten and optimized.
21811         * math/e_scalbf.c: Likewise.
21812         * math/e_scalbl.c: Likewise.
21813         * math/w_acos.c: Likewise.
21814         * math/w_acosf.c: Likewise.
21815         * math/w_acosl.c: Likewise.
21816         * math/w_acosh.c: Likewise.
21817         * math/w_acoshf.c: Likewise.
21818         * math/w_acoshl.c: Likewise.
21819         * math/w_asin.c: Likewise.
21820         * math/w_asinf.c: Likewise.
21821         * math/w_asinl.c: Likewise.
21822         * math/w_atan2.c: Likewise.
21823         * math/w_atan2f.c: Likewise.
21824         * math/w_atan2l.c: Likewise.
21825         * math/w_atanh.c: Likewise.
21826         * math/w_atanhf.c: Likewise.
21827         * math/w_atanhl.c: Likewise.
21828         * math/w_exp10.c: Likewise.
21829         * math/w_exp10f.c: Likewise.
21830         * math/w_exp10l.c: Likewise.
21831         * math/w_fmod.c: Likewise.
21832         * math/w_fmodf.c: Likewise.
21833         * math/w_fmodl.c: Likewise.
21834         * math/w_j0.c: Likewise.
21835         * math/w_j0f.c: Likewise.
21836         * math/w_j0l.c: Likewise.
21837         * math/w_j1.c: Likewise.
21838         * math/w_j1f.c: Likewise.
21839         * math/w_j1l.c: Likewise.
21840         * math/w_jn.c: Likewise.
21841         * math/w_jnf.c: Likewise.
21842         * math/w_log.c: Likewise.
21843         * math/w_logf.c: Likewise.
21844         * math/w_logl.c: Likewise.
21845         * math/w_log10.c: Likewise.
21846         * math/w_log10f.c: Likewise.
21847         * math/w_log10l.c: Likewise.
21848         * math/w_log2.c: Likewise.
21849         * math/w_log2f.c: Likewise.
21850         * math/w_log2l.c: Likewise.
21851         * math/w_pow.c: Likewise.
21852         * math/w_powf.c: Likewise.
21853         * math/w_powl.c: Likewise.
21854         * math/w_remainder.c: Likewise.
21855         * math/w_remainderf.c: Likewise.
21856         * math/w_remainderl.c: Likewise.
21857         * math/w_scalb.c: Likewise.
21858         * math/w_scalbf.c: Likewise.
21859         * math/w_scalbl.c: Likewise.
21860         * math/w_sqrt.c: Likewise.
21861         * math/w_sqrtf.c: Likewise.
21862         * math/w_sqrtl.c: Likewise.
21863         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21864         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
21865         used.
21866         * math/math_private.h: Declare __kernel_standard_f.
21867         * math/w_cosh.c: Remove cruft and optimize a bit.
21868         * math/w_coshf.c: Likewise.
21869         * math/w_coshl.c: Likewise.
21870         * math/w_exp2.c: Likewise.
21871         * math/w_exp2f.c: Likewise.
21872         * math/w_exp2l.c: Likewise.
21873         * math/w_hypot.c: Likewise.
21874         * math/w_hypotf.c: Likewise.
21875         * math/w_hypotl.c: Likewise.
21876         * math/w_lgamma.c: Likewise.
21877         * math/w_lgamma_r.c: Likewise.
21878         * math/w_lgammaf.c: Likewise.
21879         * math/w_lgammaf_r.c: Likewise.
21880         * math/w_lgammal.c: Likewise.
21881         * math/w_lgammal_r.c: Likewise.
21882         * math/w_sinh.c: Likewise.
21883         * math/w_sinhf.c: Likewise.
21884         * math/w_sinhl.c: Likewise.
21885         * math/w_tgamma.c: Likewise.
21886         * math/w_tgammaf.c: Likewise.
21887         * math/w_tgammal.c: Likewise.
21888         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21889         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21890         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21891         Minor optimizations.  Pretty printing.  Remove cruft.
21892         * sysdeps/i386/fpu/e_acosf.S: Likewise.
21893         * sysdeps/i386/fpu/e_acosh.S: Likewise.
21894         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21895         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21896         * sysdeps/i386/fpu/e_acosl.c: Likewise.
21897         * sysdeps/i386/fpu/e_asin.S: Likewise.
21898         * sysdeps/i386/fpu/e_asinf.S: Likewise.
21899         * sysdeps/i386/fpu/e_atan2.S: Likewise.
21900         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21901         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21902         * sysdeps/i386/fpu/e_atanh.S: Likewise.
21903         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21904         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21905         * sysdeps/i386/fpu/e_exp10.S: Likewise.
21906         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21907         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21908         * sysdeps/i386/fpu/e_exp2.S: Likewise.
21909         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21910         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21911         * sysdeps/i386/fpu/e_fmod.S: Likewise.
21912         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21913         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21914         * sysdeps/i386/fpu/e_hypot.S: Likewise.
21915         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21916         * sysdeps/i386/fpu/e_log.S: Likewise.
21917         * sysdeps/i386/fpu/e_log10.S: Likewise.
21918         * sysdeps/i386/fpu/e_log10f.S: Likewise.
21919         * sysdeps/i386/fpu/e_log10l.S: Likewise.
21920         * sysdeps/i386/fpu/e_log2.S: Likewise.
21921         * sysdeps/i386/fpu/e_log2f.S: Likewise.
21922         * sysdeps/i386/fpu/e_log2l.S: Likewise.
21923         * sysdeps/i386/fpu/e_logf.S: Likewise.
21924         * sysdeps/i386/fpu/e_logl.S: Likewise.
21925         * sysdeps/i386/fpu/e_pow.S: Likewise.
21926         * sysdeps/i386/fpu/e_powf.S: Likewise.
21927         * sysdeps/i386/fpu/e_powl.S: Likewise.
21928         * sysdeps/i386/fpu/e_remainder.S: Likewise.
21929         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21930         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21931         * sysdeps/i386/fpu/e_scalb.S: Likewise.
21932         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21933         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21934         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21935         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21936         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21937         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21938         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21939         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21940         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21941         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21942         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21943         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21944         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21945         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21946         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21947         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21948         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21949         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21950         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21951         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21952         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21953         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21954         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21955         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21956         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21957         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21958         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21959         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21960         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21961         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21962         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21963         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21964         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21965         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21966         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21967         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21968         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21969         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21970         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21971         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21972         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21973         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21974         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21975         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21976         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21977         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21978         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21979         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21980         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21981         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21982         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21983         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21984         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21985         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21986         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21987         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21988         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21989         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21990         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21991         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21992         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21993         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21994         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21995         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21996         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21997         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21998         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21999         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22000         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22001         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22002         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22003         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22004         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22005         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22006         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22007         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22008         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22009         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22010         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22011         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22012         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22013         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22014         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22015         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22016         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22017         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22018         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22019         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22020         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22021         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22022         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22023         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22024         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22025         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22026         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22027         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22028         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22029         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22030         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22031         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22032         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22033         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22034         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22035         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22036         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22037         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22038         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22039         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22040         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22041         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22042         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22043         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22044         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22045         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22046         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22047         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
22048         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22049         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22050         (__isnanf): Likewise.
22051         (__isinf_ns): Likewise.
22052         (__isinf_nsf): Likewise.
22053         (__finite): Likewise.
22054         (__finitef): Likewise.
22055         (__ieee754_sqrt): Define as macro.
22056         (__ieee754_sqrtf): Define as macro.
22057         (__ieee754_sqrtl): Define as macro.
22058         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22059         inlined copy.
22060         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22061         __FINITE_MATH_ONLY__ consistent.
22062         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22063
22064 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
22065
22066         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22067         of rawmemchr.
22068
22069         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22070
22071 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
22072
22073         * po/ja.po: Update from translation team.
22074
22075 2011-10-08  Roland McGrath  <roland@hack.frob.com>
22076
22077         * locale/programs/locarchive.c (prepare_address_space): New function.
22078         (create_archive, enlarge_archive, open_archive): Use it.
22079
22080         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22081         inside [SHARED], where it is used.
22082
22083         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22084
22085         * nss/getent.c (netgroup_keys): Remove unused variable.
22086         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22087
22088 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
22089
22090         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22091         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22092         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22093         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22094         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22095         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22096         * math/Makefile (libm-calls): Add s_isinf_ns.
22097         * math/divtc3.c: Use __isinf_nsl instead of isinf.
22098         * math/multc3.c: Likewise.
22099         * math/s_casin.c: Likewise.
22100         * math/s_casinf.c: Likewise.
22101         * math/s_casinl.c: Likewise.
22102         * math/s_ccos.c: Likewise.
22103         * math/s_ccosf.c: Likewise.
22104         * math/s_ccosl.c: Likewise.
22105         * math/s_ctan.c: Likewise.
22106         * math/s_ctanf.c: Likewise.
22107         * math/s_ctanh.c: Likewise.
22108         * math/s_ctanhf.c: Likewise.
22109         * math/s_ctanhl.c: Likewise.
22110         * math/s_ctanl.c: Likewise.
22111         * math/w_fmod.c: Likewise.
22112         * math/w_fmodf.c: Likewise.
22113         * math/w_fmodl.c: Likewise.
22114         * math/w_remainder.c: Likewise.
22115         * math/w_remainderf.c: Likewise.
22116         * math/w_remainderl.c: Likewise.
22117         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22118         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22119         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22120         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22121         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22122         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22123         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22124         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22125
22126         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22127         of the number.
22128         * stdio-common/printf_fphex.c: Likewise.
22129         * stdio-common/printf_size.c: Likewise.
22130
22131         * math/e_exp10.c: Include math_private.h using <...> not "...".
22132         * math/e_exp10f.c: Likewise.
22133         * math/e_exp10l.c: Likewise.
22134         * math/e_exp2l.c: Likewise.
22135         * math/e_j0l.c: Likewise.
22136         * math/e_j1l.c: Likewise.
22137         * math/e_jnl.c: Likewise.
22138         * math/e_lgammal_r.c: Likewise.
22139         * math/e_rem_pio2l.c: Likewise.
22140         * math/e_scalb.c: Likewise.
22141         * math/e_scalbf.c: Likewise.
22142         * math/e_scalbl.c: Likewise.
22143         * math/k_cosl.c: Likewise.
22144         * math/k_sinl.c: Likewise.
22145         * math/k_tanl.c: Likewise.
22146         * math/s_cacoshf.c: Likewise.
22147         * math/s_catan.c: Likewise.
22148         * math/s_catanf.c: Likewise.
22149         * math/s_catanh.c: Likewise.
22150         * math/s_catanhf.c: Likewise.
22151         * math/s_catanhl.c: Likewise.
22152         * math/s_catanl.c: Likewise.
22153         * math/s_ccosh.c: Likewise.
22154         * math/s_ccoshf.c: Likewise.
22155         * math/s_ccoshl.c: Likewise.
22156         * math/s_cexp.c: Likewise.
22157         * math/s_cexpf.c: Likewise.
22158         * math/s_cexpl.c: Likewise.
22159         * math/s_clog.c: Likewise.
22160         * math/s_clog10.c: Likewise.
22161         * math/s_clog10f.c: Likewise.
22162         * math/s_clog10l.c: Likewise.
22163         * math/s_clogf.c: Likewise.
22164         * math/s_clogl.c: Likewise.
22165         * math/s_csin.c: Likewise.
22166         * math/s_csinf.c: Likewise.
22167         * math/s_csinh.c: Likewise.
22168         * math/s_csinhf.c: Likewise.
22169         * math/s_csinhl.c: Likewise.
22170         * math/s_csinl.c: Likewise.
22171         * math/s_csqrt.c: Likewise.
22172         * math/s_csqrtf.c: Likewise.
22173         * math/s_csqrtl.c: Likewise.
22174         * math/s_ctan.c: Likewise.
22175         * math/s_ctanf.c: Likewise.
22176         * math/s_ctanh.c: Likewise.
22177         * math/s_ctanhf.c: Likewise.
22178         * math/s_ctanhl.c: Likewise.
22179         * math/s_ctanl.c: Likewise.
22180         * math/s_ldexp.c: Likewise.
22181         * math/s_ldexpf.c: Likewise.
22182         * math/s_ldexpl.c: Likewise.
22183         * math/s_significand.c: Likewise.
22184         * math/s_significandf.c: Likewise.
22185         * math/s_significandl.c: Likewise.
22186         * math/w_acos.c: Likewise.
22187         * math/w_acosf.c: Likewise.
22188         * math/w_acosh.c: Likewise.
22189         * math/w_acoshf.c: Likewise.
22190         * math/w_acoshl.c: Likewise.
22191         * math/w_acosl.c: Likewise.
22192         * math/w_asin.c: Likewise.
22193         * math/w_asinf.c: Likewise.
22194         * math/w_asinl.c: Likewise.
22195         * math/w_atan2.c: Likewise.
22196         * math/w_atan2f.c: Likewise.
22197         * math/w_atan2l.c: Likewise.
22198         * math/w_atanh.c: Likewise.
22199         * math/w_atanhf.c: Likewise.
22200         * math/w_atanhl.c: Likewise.
22201         * math/w_cosh.c: Likewise.
22202         * math/w_coshf.c: Likewise.
22203         * math/w_coshl.c: Likewise.
22204         * math/w_dremf.c: Likewise.
22205         * math/w_exp10.c: Likewise.
22206         * math/w_exp10f.c: Likewise.
22207         * math/w_exp10l.c: Likewise.
22208         * math/w_exp2.c: Likewise.
22209         * math/w_exp2f.c: Likewise.
22210         * math/w_fmod.c: Likewise.
22211         * math/w_fmodf.c: Likewise.
22212         * math/w_fmodl.c: Likewise.
22213         * math/w_hypot.c: Likewise.
22214         * math/w_hypotf.c: Likewise.
22215         * math/w_hypotl.c: Likewise.
22216         * math/w_j0.c: Likewise.
22217         * math/w_j0f.c: Likewise.
22218         * math/w_j0l.c: Likewise.
22219         * math/w_j1.c: Likewise.
22220         * math/w_j1f.c: Likewise.
22221         * math/w_j1l.c: Likewise.
22222         * math/w_jn.c: Likewise.
22223         * math/w_jnf.c: Likewise.
22224         * math/w_jnl.c: Likewise.
22225         * math/w_lgamma.c: Likewise.
22226         * math/w_lgamma_r.c: Likewise.
22227         * math/w_lgammaf.c: Likewise.
22228         * math/w_lgammaf_r.c: Likewise.
22229         * math/w_lgammal.c: Likewise.
22230         * math/w_lgammal_r.c: Likewise.
22231         * math/w_log.c: Likewise.
22232         * math/w_log10.c: Likewise.
22233         * math/w_log10f.c: Likewise.
22234         * math/w_log10l.c: Likewise.
22235         * math/w_log2.c: Likewise.
22236         * math/w_log2f.c: Likewise.
22237         * math/w_log2l.c: Likewise.
22238         * math/w_logf.c: Likewise.
22239         * math/w_logl.c: Likewise.
22240         * math/w_pow.c: Likewise.
22241         * math/w_powf.c: Likewise.
22242         * math/w_powl.c: Likewise.
22243         * math/w_remainder.c: Likewise.
22244         * math/w_remainderf.c: Likewise.
22245         * math/w_remainderl.c: Likewise.
22246         * math/w_scalb.c: Likewise.
22247         * math/w_scalbf.c: Likewise.
22248         * math/w_scalbl.c: Likewise.
22249         * math/w_sinh.c: Likewise.
22250         * math/w_sinhf.c: Likewise.
22251         * math/w_sinhl.c: Likewise.
22252         * math/w_sqrt.c: Likewise.
22253         * math/w_sqrtf.c: Likewise.
22254         * math/w_sqrtl.c: Likewise.
22255         * math/w_tgamma.c: Likewise.
22256         * math/w_tgammaf.c: Likewise.
22257         * math/w_tgammal.c: Likewise.
22258
22259         * po/ja.po: Update from translation team.
22260
22261 2011-09-29  Andreas Jaeger  <aj@suse.de>
22262
22263         [BZ #13179]
22264         * sunrpc/netname.c (netname2host): Fix logic.
22265
22266         [BZ #6779]
22267         [BZ #6783]
22268         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22269         correctly.
22270         * math/w_remainder.c (__remainder): Likewise.
22271         * math/w_remainderf.c (__remainderf): Likewise.
22272         * math/libm-test.inc (remainder_test): Add test cases.
22273
22274 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22275
22276         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
22277         sdiv_qrnnd.
22278
22279 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
22280
22281         * string/test-memcmp.c: Avoid unncessary #defines.
22282         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22283
22284 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22285
22286         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22287         Use new sse2 version for core i3 - i7 as it's faster
22288         than sse42 version.
22289         (bit_Prefer_PMINUB_for_stringop): New.
22290         * sysdeps/x86_64/rawmemchr.S: Update.
22291         Replace with faster SSE2 version.
22292         * sysdeps/x86_64/memrchr.S: New file.
22293         * sysdeps/x86_64/memchr.S: Update.
22294         Replace with faster SSE2 version.
22295
22296 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
22297
22298         * elf/dl-load.c (lose): Add cast to avoid warning.
22299
22300 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
22301
22302         * po/ca.po: Update from translation team.
22303
22304         * inet/getnetgrent_r.c: Hook up nscd.
22305         * nscd/Makefile (routines): Add nscd_netgroup.
22306         (nscd-modules): Add netgroupcache.
22307         (CFLAGS-netgroupcache.c): Define.
22308         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22309         (cache_search): Add const to second parameter.
22310         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22311         INNETGR.
22312         (dbs): Add netgrdb entry.
22313         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22314         (verify_persistent_db): Handle netgrdb.
22315         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22316         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22317         GETFDNETGR.
22318         (netgroup_response_header): Define.
22319         (innetgroup_response_header): Define.
22320         (datahead): Add netgroup_response_header and innetgroup_response_header
22321         elements.
22322         * nscd/nscd.conf: Add entries for netgroup cache.
22323         * nscd/nscd.h (dbtype): Add netgrdb.
22324         (_PATH_NSCD_NETGROUP_DB): Define.
22325         (netgroup_iov_disabled): Declare.
22326         (xmalloc, xcalloc, xrealloc): Move declarations here.
22327         (cache_search): Adjust prototype.
22328         Add netgroup-related prototypes.
22329         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22330         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22331         (__nscd_innetgr): Declare.
22332         * nscd/selinux.c (perms): Use access_vector_t as element type and
22333         add netgroup-related initializers.
22334         * nscd/netgroupcache.c: New file.
22335         * nscd/nscd_netgroup.c: New file.
22336         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22337         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22338         For four parameters use innetgr.
22339         * nss/nss_files/files-init.c: Add definition and callback for netgr.
22340         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22341         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22342         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22343
22344         * nscd/connections.c (register_traced_file): Don't register file
22345         for disabled databases.
22346
22347 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
22348
22349         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22350
22351         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22352         from tree and freeing node.
22353
22354 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
22355
22356         * nss/nsswitch.c (__nss_database_lookup): Handle
22357         nss_parse_service_list out of memory case.
22358
22359 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
22360
22361         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22362         out of memory case.
22363
22364 2011-10-04  Andreas Schwab  <schwab@redhat.com>
22365
22366         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22367         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22368         pass it down.
22369         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22370         elf_machine_rela, elf_machine_lazy_rel.
22371         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22372         (ELF_DYNAMIC_DO_REL): Likewise.
22373         (ELF_DYNAMIC_DO_RELA): Likewise.
22374         (ELF_DYNAMIC_RELOCATE): Likewise.
22375         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22376         to ELF_DYNAMIC_DO_REL.
22377         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22378         (dl_main): In trace mode always set __RTLD_NOIFUNC.
22379         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22380         elf_machine_rela.
22381         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22382         skip_ifunc, don't call ifunc function if non-zero.
22383         (elf_machine_rela): Likewise.
22384         (elf_machine_lazy_rel): Likewise.
22385         (elf_machine_lazy_rela): Likewise.
22386         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22387         (elf_machine_lazy_rel): Likewise.
22388         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22389         Likewise.
22390         (elf_machine_lazy_rel): Likewise.
22391         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22392         Likewise.
22393         (elf_machine_lazy_rel): Likewise.
22394         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22395         (elf_machine_lazy_rel): Likewise.
22396         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22397         (elf_machine_lazy_rel): Likewise.
22398         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22399         (elf_machine_lazy_rel): Likewise.
22400         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22401         (elf_machine_lazy_rel): Likewise.
22402         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22403         (elf_machine_lazy_rel): Likewise.
22404         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22405         (elf_machine_lazy_rel): Likewise.
22406
22407 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
22408
22409         * nss/nss_files/files-init.c (_nss_files_init): Use static
22410         initialization for all the *_traced_file variables.
22411
22412 2011-09-28  Andreas Schwab  <schwab@redhat.com>
22413
22414         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22415
22416 2011-09-27  Roland McGrath  <roland@hack.frob.com>
22417
22418         [BZ #13226]
22419         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22420
22421 2011-09-27  Andreas Schwab  <schwab@redhat.com>
22422
22423         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22424         Reread the line before reparsing it.
22425
22426 2011-09-26  Andreas Schwab  <schwab@redhat.com>
22427
22428         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22429
22430 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
22431             Maxim Kuvyrkov  <maxim@codesourcery.com>
22432             Joseph Myers  <joseph@codesourcery.com>
22433
22434         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22435         if needed for __stack_chk_guard.
22436
22437 2011-09-19  Roland McGrath  <roland@hack.frob.com>
22438
22439         * sysdeps/posix/spawni.c (script_execute): Always define it.
22440         It will be optimized away if unused.
22441         (maybe_script_execute): New function.
22442         (__spawni): Call it.
22443
22444         * Makerules: Don't include tls.make.
22445         (config-tls): Always set to thread.
22446         * tls.make.c: File removed.
22447
22448 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
22449
22450         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22451         * config.make.in (CPPFLAGS-config): New substituted variable.
22452
22453 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
22454
22455         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22456
22457         [BZ #13192]
22458         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22459         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22460
22461 2011-09-15  Roland McGrath  <roland@hack.frob.com>
22462
22463         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22464         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22465         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22466         (CALL_FAIL): Likewise.
22467         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22468         (CALL_FAIL): Macro removed.
22469         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22470
22471 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
22472
22473         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22474         for __FINITE_MATH_ONLY__ == 1.
22475
22476 2011-09-15  Andreas Schwab  <schwab@redhat.com>
22477
22478         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22479         __ieee754_sqrt instead of sqrt.
22480         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22481         __ieee754_sqrtf instead of sqrtf.
22482         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22483         __floorf instead of floorf.
22484         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22485         __floorf, __truncf instead of floorf, truncf.
22486
22487 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
22488
22489         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22490
22491         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22492         __extern_always_inline.
22493         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22494         32-bit.
22495
22496 2011-09-14  Andreas Schwab  <schwab@redhat.com>
22497
22498         * elf/rtld.c (dl_main): Also relocate in dependency order when
22499         doing symbol dependency testing.
22500
22501 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
22502
22503         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22504         Always define `refsym'.
22505
22506 2011-09-13  Andreas Schwab  <schwab@redhat.com>
22507
22508         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22509         (__FD_ELT): Renamed from __FDELT.
22510         * misc/bits/select2.h (__FD_ELT): Likewise.
22511         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22512         __FD_MASK instead of __FDELT, __FDMASK.
22513         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22514         Likewise.
22515         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22516         Likewise.
22517
22518         * elf/Makefile (gen-ldd): Fix pattern.
22519
22520         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22521         (init_tls): Likewise.
22522
22523 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
22524
22525         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22526
22527 2011-09-12  Andreas Schwab  <schwab@redhat.com>
22528
22529         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22530         `struct cmsghdr *' instead of `void *'.
22531         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22532         Likewise.
22533
22534 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
22535
22536         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22537         if non-absolute.
22538         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22539         ldd_rewrite_script.
22540
22541 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
22542
22543         * configure.in: Remove --with-tls option.
22544         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22545         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22546         out in case it is missing.
22547         * sysdeps/ia64/elf/configure.in: Likewise.
22548         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22549         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22550         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22551         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22552         * sysdeps/sh/elf/configure.in: Likewise.
22553         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22554         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22555         * sysdeps/x86_64/elf/configure.in: Likewise.
22556         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22557         * sysdeps/mach/hurd/tls.h: Likewise.
22558
22559         [BZ #13067]
22560         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22561
22562         [BZ #13090]
22563         * configure.in: Fix use of AC_INIT.
22564
22565         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22566
22567 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
22568
22569         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22570         __set_errno.
22571         * malloc/hooks.c: Likewise.
22572
22573         [BZ #11929]
22574         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
22575         variables statically.
22576         (narenas): Initialize.
22577         (list_lock): Initialize.
22578         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
22579         initializtion of main_arena and list_lock.  Small cleanups.
22580         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22581         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
22582         Add initializers to main_arena and mp_.
22583         (malloc_state): Remove pagesize member.  Change all users to use
22584         GLRO(dl_pagesize).
22585
22586         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22587         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
22588         is always initialized.
22589
22590         * malloc/malloc.c: Removed unused configurations and dead code.
22591         * malloc/arena.c: Likewise.
22592         * malloc/hooks.c: Likewise.
22593         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22594
22595         * include/tls.h: Removed.  USE___THREAD must always be defined.
22596         * bits/libc-tsd.h: Don't handle !USE___THREAD.
22597         * elf/dl-libc.c: Likewise.
22598         * elf/dl-tsd.c: Likewise.
22599         * include/errno.h: Likewise.
22600         * include/netdb.h: Likewise.
22601         * include/resolv.h: Likewise.
22602         * inet/herrno-loc.c: Likewise.
22603         * inet/herrno.c: Likewise.
22604         * malloc/arena.c: Likewise.
22605         * malloc/hooks.c: Likewise.
22606         * malloc/malloc.c: Likewise.
22607         * resolv/res-state.c: Likewise.
22608         * resolv/res_libc.c: Likewise.
22609         * sysdeps/i386/dl-machine.h: Likewise.
22610         * sysdeps/ia64/dl-machine.h: Likewise.
22611         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22612         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22613         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22614         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22615         * sysdeps/sh/dl-machine.h: Likewise.
22616         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22617         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22618         * sysdeps/unix/i386/sysdep.S: Likewise.
22619         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22620         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22621         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22622         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22623         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22624         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22625         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22626         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22627         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22628         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22629         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22630         * sysdeps/x86_64/dl-machine.h: Likewise.
22631         * tls.make.c: Likewise.
22632
22633         * configure.in: Remove --with-__thread option.  Make tests for
22634         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22635         tls_model attribute fail if no support is available.  Remove
22636         USE_IN_LIBIO.
22637         * Makeconfig: Adjust for dropped configure option.  All features are
22638         now mandatory.
22639         * Makerules: Likewise.
22640         * Versions.def: Likewise.
22641         * argp/argp-fmtstream.c: Likewise.
22642         * argp/argp-fmtstream.h: Likewise.
22643         * argp/argp-help.c: Likewise.
22644         * assert/assert.c: Likewise.
22645         * config.h.in: Likewise.
22646         * config.make.in: Likewise.
22647         * configure: Likewise.
22648         * configure.in: Likewise.
22649         * csu/Versions: Likewise.
22650         * csu/init.c: Likewise.
22651         * elf/tst-audit2.c: Likewise.
22652         * elf/tst-tls10.c: Likewise.
22653         * elf/tst-tls10.h: Likewise.
22654         * elf/tst-tls11.c: Likewise.
22655         * elf/tst-tls12.c: Likewise.
22656         * elf/tst-tls14.c: Likewise.
22657         * elf/tst-tlsmod11.c: Likewise.
22658         * elf/tst-tlsmod12.c: Likewise.
22659         * elf/tst-tlsmod13.c: Likewise.
22660         * elf/tst-tlsmod13a.c: Likewise.
22661         * elf/tst-tlsmod14a.c: Likewise.
22662         * elf/tst-tlsmod15b.c: Likewise.
22663         * elf/tst-tlsmod16a.c: Likewise.
22664         * elf/tst-tlsmod16b.c: Likewise.
22665         * elf/tst-tlsmod7.c: Likewise.
22666         * elf/tst-tlsmod8.c: Likewise.
22667         * elf/tst-tlsmod9.c: Likewise.
22668         * gmon/gmon.c: Likewise.
22669         * grp/fgetgrent_r.c: Likewise.
22670         * grp/putgrent.c: Likewise.
22671         * hurd/fopenport.c: Likewise.
22672         * include/libc-symbols.h: Likewise.
22673         * include/tls.h: Likewise.
22674         * intl/gettextP.h: Likewise.
22675         * intl/loadinfo.h: Likewise.
22676         * locale/global-locale.c: Likewise.
22677         * locale/localeinfo.h: Likewise.
22678         * mach/devstream.c: Likewise.
22679         * malloc/arena.c: Likewise.
22680         * malloc/set-freeres.c: Likewise.
22681         * misc/err.c: Likewise.
22682         * misc/getttyent.c: Likewise.
22683         * misc/mntent_r.c: Likewise.
22684         * posix/getopt.c: Likewise.
22685         * posix/wordexp.c: Likewise.
22686         * pwd/fgetpwent_r.c: Likewise.
22687         * resolv/Versions: Likewise.
22688         * resolv/res_hconf.c: Likewise.
22689         * shadow/fgetspent_r.c: Likewise.
22690         * shadow/putspent.c: Likewise.
22691         * stdio-common/printf_fphex.c: Likewise.
22692         * stdio-common/tmpfile.c: Likewise.
22693         * stdlib/abort.c: Likewise.
22694         * stdlib/fmtmsg.c: Likewise.
22695         * sunrpc/auth_unix.c: Likewise.
22696         * sunrpc/clnt_perr.c: Likewise.
22697         * sunrpc/clnt_tcp.c: Likewise.
22698         * sunrpc/clnt_udp.c: Likewise.
22699         * sunrpc/clnt_unix.c: Likewise.
22700         * sunrpc/openchild.c: Likewise.
22701         * sunrpc/svc_simple.c: Likewise.
22702         * sunrpc/svc_tcp.c: Likewise.
22703         * sunrpc/svc_udp.c: Likewise.
22704         * sunrpc/svc_unix.c: Likewise.
22705         * sunrpc/xdr.c: Likewise.
22706         * sunrpc/xdr_array.c: Likewise.
22707         * sunrpc/xdr_rec.c: Likewise.
22708         * sunrpc/xdr_ref.c: Likewise.
22709         * sunrpc/xdr_stdio.c: Likewise.
22710
22711 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
22712
22713         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22714
22715 2011-07-03  Andreas Jaeger  <aj@suse.de>
22716
22717         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22718         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22719         regenerate with gen-libm-tests.pl.
22720
22721 2010-05-12  Petr Baudis  <pasky@suse.cz>
22722
22723         [BZ #11589]
22724         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22725         around j0() zero points by switching to j1().
22726         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22727         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22728         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22729         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22730
22731 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
22732
22733         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22734         instead of 0.
22735         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
22736         instead of 0.
22737         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22738         Patch in part by Pavel Roskin <proski@gnu.org>.
22739
22740         [BZ #13138]
22741         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22742         realloc.
22743         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
22744         Free memory block if necessary.
22745
22746         [BZ #12847]
22747         * libio/genops.c (INTDEF): For string streams the _lock pointer can
22748         be NULL.  Don't lock in this case.
22749
22750 2011-09-09  Roland McGrath  <roland@hack.frob.com>
22751
22752         * elf/elf.h (ELFOSABI_GNU): New macro.
22753         (ELFOSABI_LINUX): Define to that.
22754
22755 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
22756
22757         * string/strncat.c (strncat): Undef the symbol in case it has been
22758         defined in bits/string.h.
22759
22760 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
22761
22762         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22763
22764         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
22765         link map.
22766
22767 2011-08-17  Andreas Jaeger  <aj@suse.de>
22768
22769         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22770
22771 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
22772             Ian Lance Taylor  <iant@google.com>
22773
22774         * math/libm-test.inc (lround_test): New testcase.
22775         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22776
22777 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
22778
22779         * Makefile: Remove support for automatic cvs check-ins.
22780         * Makerules: Likewise.
22781         * config.make.in: Likewise.
22782         * configure.in: Likewise.
22783         * intl/Makefile: Likewise.
22784         * locale/Makefile: Likewise.
22785         * po/Makefile: Likewise.
22786         * posix/Makefile: Likewise.
22787         * sysdeps/gnu/Makefile: Likewise.
22788         * sysdeps/mach/hurd/Makefile: Likewise.
22789         * sysdeps/sparc/sparc32/Makefile: Likewise.
22790
22791         [BZ #13118]
22792         * posix/Makefile (bug-regex32-ENV): Define.
22793         Patch by John Stanley <jpsinthemix@verizon.net>.
22794
22795         * misc/Makefile (headers): Add bits/select2.h.
22796         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22797         * misc/bits/select2.h: New file.
22798         * include/bits/select2.h: New file.
22799         * debug/Makefile (routines): Add fdelt_chk.
22800         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22801         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22802         FD_ISSET.
22803         * debug/fdelt_chk.c: New file.
22804
22805         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
22806         * wcsmbs/test-wmemcmp.c: Likewise.
22807         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
22808         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
22809
22810 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22811
22812         * string/Makefile (strop-tests): Add memcmp.
22813         * string/test-wmemcmp.c: New file.
22814         * string/test-memcmp.c: Add wmemcmp support.
22815
22816 2011-09-08  Roland McGrath  <roland@hack.frob.com>
22817
22818         [BZ #13153]
22819         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22820         2011-07-19 change.
22821
22822         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22823         garbage value in a __mach_port_mod_refs call in the cases of the
22824         task-self and thread-self ports.
22825
22826 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22827
22828         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22829
22830 2011-09-08  Andreas Schwab  <schwab@redhat.com>
22831
22832         * elf/dl-load.c (lose): Check for non-null L.
22833
22834 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
22835
22836         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22837
22838         * elf/dl-libc.c (dlerror_run): Pass back error code from
22839         dl_catch_error.
22840
22841         [BZ #13123]
22842         * elf/dl-load.c (lose): Free l_origin if it is valid.
22843
22844         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22845         names.
22846         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22847         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22848         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22849         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22850         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22851         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22852
22853 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22854
22855         * sysdeps/powerpc/fpu/e_hypot.c: New file.
22856         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22857         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22858         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22859         * sysdeps/powerpc/fpu/k_cosf.c: New file.
22860         * sysdeps/powerpc/fpu/k_sinf.c: New file.
22861         * sysdeps/powerpc/fpu/s_cosf.c: New file.
22862         * sysdeps/powerpc/fpu/s_sinf.c: New file.
22863         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22864         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22865
22866 2011-08-15  Alan Modra  <amodra@gmail.com>
22867
22868         [BZ #13092]
22869         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22870         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22871         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
22872         ppc_mcount to static-only-routines.
22873         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22874         __mcount_internal.
22875         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22876         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
22877
22878 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
22879
22880         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22881         for finite and infinity parameters.
22882
22883 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
22884
22885         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22886         and add nop instructions for throughput optimization.
22887         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22888
22889 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
22890
22891         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22892         aligned copy for power7 with vector-scalar instructions.
22893         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22894
22895 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
22896
22897         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22898         AVX check.
22899
22900 2011-09-07  Andreas Schwab  <schwab@redhat.com>
22901
22902         [BZ #13144]
22903         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22904         last change.
22905
22906 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
22907
22908         * sysdeps/unix/sysv/linux/x86_64/init-first.c
22909         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22910         syscall wrapper around clock_gettime in __vdso_clock_gettime.
22911         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22912         clock_gettime.
22913
22914 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
22915
22916         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22917         Forgot to demangle the pointer.
22918
22919         * sysdeps/i386/sysdep.h: Define atom_text_section.
22920         * sysdeps/x86_64/sysdep.h: Likewise.
22921         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22922         section with atom_text_section.
22923         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22924         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22925         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22926         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22927         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22928
22929         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22930         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22931         already be defined.  Change to take two parameters and don't assign
22932         result to variable.  Adjust all users.
22933         Define INTERNAL_GETTIME if not already defined.
22934         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22935         call.
22936         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22937         HAVE_CLOCK_GETTIME_VSYSCALL.
22938         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22939
22940         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22941         gettimeofday vsyscall, just use time.
22942
22943 2011-09-06  Andreas Schwab  <schwab@redhat.com>
22944
22945         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22946         <errno.h>.
22947
22948 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
22949
22950         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22951         syscall on x86-64.
22952         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22953         syscall.
22954         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22955         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22956         syscall if possible.
22957
22958 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
22959
22960         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22961         e_ident.  Don't pass to find_mapsXX.
22962         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22963
22964 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22965
22966         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22967         strchr-sse2-no-bsf strrchr-sse2-no-bsf
22968         * sysdeps/x86_64/multiarch/strchr.S: Update.
22969         Check bit_slow_BSF bit.
22970         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22971         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22972         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22973
22974 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
22975
22976         [BZ #13134]
22977         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22978         before glibc 2.15.
22979         (tryshell): Define.
22980         (__spawni): Change last parameter to be flag.  Test
22981         SPAWN_XFLAGS_USE_PATH flag to use path or not.
22982         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22983         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22984         * posix/spawni.c: Likewise.
22985         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22986         * posix/spawnp.c: Likewise.  Change normal version to use
22987         SPAWN_XFLAGS_USE_PATH.
22988         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22989         SPAWN_XFLAGS_TRY_SHELL.
22990
22991         [BZ #13150]
22992         * posix/glob.h: Remove gcc 1.x support.
22993
22994         [BZ #13068]
22995         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22996
22997 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22998
22999         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23000         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23001         strrchr-sse2-bsf
23002         * sysdeps/i386/i686/multiarch/strchr.S: New file.
23003         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23004         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23005         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23006         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23007         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23008
23009 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23010
23011         * sysdeps/x86_64/wcscmp.S: New file.
23012
23013         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23014         wcscmp-c wcscmp-sse2
23015         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23016         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23017         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23018         * wcsmbs/wcscmp.c: Allow renaming.
23019
23020 2011-09-05  David S. Miller  <davem@davemloft.net>
23021
23022         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23023         stack slot, rather than the struct return pointer slot.
23024         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23025         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23026         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23027         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23028
23029 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23030
23031         * po/ja.po: Update from translation team.
23032
23033         [BZ #13144]
23034         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23035         kernel in 64-bit binaries.
23036
23037 2011-09-01  David S. Miller  <davem@davemloft.net>
23038
23039         * elf/elf.h (HWCAP_SPARC_*): Move to..
23040         * sysdeps/sparc/sysdep.h: this new file and add new values.
23041         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23042         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23043         _DL_HWCAP_COUNT to 24.
23044         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23045         entries.
23046         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23047         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23048         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23049         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23050         instead of magic constants.
23051         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23052
23053 2011-08-31  David S. Miller  <davem@davemloft.net>
23054
23055         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23056         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23057         Reimplement to do errno handling inline.
23058         (SYSCALL_ERROR_HANDLER): New macro.
23059         (__SYSCALL_STRING): Do not do errno handling in asm.
23060         (__CLONE_SYSCALL_STRING): Delete.
23061         (__INTERNAL_SYSCALL_STRING): Delete.
23062         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23063         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23064         (PSEUDO): Reimplement to do errno handling inline.
23065         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23066         (SYSCALL_ERROR_HANDLER): New macro.
23067         (__SYSCALL_STRING): Do not do errno handling in asm.
23068         (__CLONE_SYSCALL_STRING): Delete.
23069         (__INTERNAL_SYSCALL_STRING): Delete.
23070         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23071         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23072         i386.
23073         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23074         (inline_syscall*): Add 'err' argument.
23075         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23076         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23077         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23078         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23079
23080         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23081         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23082
23083 2011-08-30  Andreas Schwab  <schwab@redhat.com>
23084
23085         * elf/rtld.c (dl_main): Relocate objects in dependency order.
23086
23087 2011-08-29  Jiri Olsa <jolsa@redhat.com>
23088
23089         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23090         directive.
23091
23092 2011-08-24  David S. Miller  <davem@davemloft.net>
23093
23094         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23095
23096 2011-08-24  Andreas Schwab  <schwab@redhat.com>
23097
23098         * elf/Makefile: Add rules to build and run unload8 test.
23099         * elf/unload8.c: New file.
23100         * elf/unload8mod1.c: New file.
23101         * elf/unload8mod1x.c: New file.
23102         * elf/unload8mod2.c: New file.
23103         * elf/unload8mod3.c: New file.
23104
23105         * elf/dl-close.c (_dl_close_worker): Reset private search list if
23106         it wasn't used.
23107
23108 2011-08-23  David S. Miller  <davem@davemloft.net>
23109
23110         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23111         subtract stack bias.
23112         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23113         %sp not %fp in calculations.
23114         (_JMPBUF_UNWINDS_ADJ): Likewise.
23115
23116         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23117         (aio_suspend): Call it to force an exception region around the
23118         AIO_MISC_WAIT() invocation.
23119
23120 2011-08-23  Andreas Schwab  <schwab@redhat.com>
23121
23122         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23123         backslash.
23124
23125 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
23126
23127         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23128         protection macro.
23129         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23130         and <dl-machine.h>.
23131         (Elf64_FuncDesc): Remove.
23132
23133 2011-08-22  David S. Miller  <davem@davemloft.net>
23134
23135         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23136         sigaltstack check, add missing cfi directives.
23137         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23138         missing cfi directives, and sigaltstack handling.
23139
23140 2011-08-16  Andreas Schwab  <schwab@redhat.com>
23141
23142         [BZ #11724]
23143         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23144         object is seen twice.
23145         * elf/dl-fini.c (_dl_sort_fini): Likewise.
23146
23147         * elf/Makefile (distribute): Add tst-initorder2.c.
23148         (tests): Add tst-initorder2.
23149         (modules-names): Add tst-initorder2a tst-initorder2b
23150         tst-initorder2c tst-initorder2d.  Add rules to build them.
23151         ($(objpfx)tst-initorder2.out): New rule.
23152         * elf/tst-initorder2.c: New file.
23153         * elf/tst-initorder2.exp: New file.
23154
23155 2011-08-22  Andreas Schwab  <schwab@redhat.com>
23156
23157         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23158
23159         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23160         dependencies back to end of function.
23161
23162         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23163         $(elfobjdir)/ld.so.
23164
23165 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
23166
23167         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23168         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23169         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23170         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23171         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23172         of __vdso_gettimeofday.
23173         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23174         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
23175         attribute_hidden.
23176         (_libc_vdso_platform_setup): Remove initialization of
23177         __vdso_gettimeofday and __vdso_time.
23178
23179 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
23180
23181         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23182         and fgetc_unlocked.
23183         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23184         getc_unlocked.
23185
23186         * elf/dl-open.c (add_to_global): Report additions to the global scope
23187         for LD_DEBUG=scopes.
23188         (dl_open_worker): Also print scope of newly loaded dependencies.
23189         (_dl_show_scope): Indicate if there is no scope.
23190
23191         [BZ #13114]
23192         * stdio-common/Makefile (tests): Add bug24.
23193         * stdio-common/bug24.c: New file.
23194
23195 2011-08-19  Andreas Jaeger  <aj@suse.de>
23196
23197         [BZ #13114]
23198         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23199         non-existant file when using close-on-exec mode.
23200
23201 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
23202
23203         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23204         the very first instruction.
23205
23206         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23207         the CFI state in the end.
23208         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23209         inclusion of dl-trampoline.h.
23210         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23211
23212 2011-08-19  Andreas Schwab  <schwab@redhat.com>
23213
23214         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23215         expectations for long double.
23216
23217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23218         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23219
23220 2011-08-14  David S. Miller  <davem@davemloft.net>
23221
23222         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23223         artificual limit depends upon the system page size.
23224
23225 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
23226
23227         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23228         * resolv/Makefile: Define CFLAGS-libresolv.
23229
23230 2011-08-17  Andreas Schwab  <schwab@redhat.com>
23231
23232         * nss/makedb.c (compute_tables): Make variables used in nested
23233         function static.
23234
23235 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
23236
23237         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23238         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23239         if buffer was too small.
23240
23241         * elf/pldd.c (main): Attach to all threads in the process.
23242         Rewrite /proc handling to use *at functions.
23243
23244 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
23245
23246         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23247         specifies first scope to show.
23248         (dl_open_worker): Update callers.  Move printing scope of new
23249         object to before the relocation.
23250         * elf/rtld.c (dl_main): Update _dl_show_scope call.
23251         * sysdeps/generic/ldsodefs.h: Update declaration.
23252
23253         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23254         string for the scope number.
23255
23256 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
23257
23258         * nscd/servicescache.c (cache_addserv): Make sure written is always
23259         initialized.
23260
23261 2011-08-14  Roland McGrath  <roland@hack.frob.com>
23262
23263         * sysdeps/i386/i486/bits/atomic.h
23264         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23265         statement expression, so as to suppress "set but not used" warning.
23266         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23267
23268         * string/strncat.c (STRNCAT): Use prototype definition.
23269
23270         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23271         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23272         -Iprograms here.
23273         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23274         (localedef-modules): Add localedef.
23275         (locale-modules): Add locale.
23276
23277         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23278         * elf/rtld.c (dl_main): Invert order of assignment in last change,
23279         to avoid a warning.
23280
23281 2011-08-14  David S. Miller  <davem@davemloft.net>
23282
23283         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23284         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23285
23286 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
23287
23288         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
23289         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23290         * elf/rtld.c (dl_main): Set l_name of vDSO.
23291         Call _dl_show_scope when DL_DEBUG_SCOPES.
23292         (process_dl_debug): Recognize scopes flag and also set it for all.
23293         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23294         Declare _dl_show_scope.
23295
23296         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23297         (do_dlopen): Pass caller_dlopen to dl_open.
23298         (__libc_dlopen_mode): Initialize caller_dlopen.
23299
23300         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23301         of libc.  Make tolower call locale-independent.  Optimize a bit by
23302         using isdigit instead of isalnum.
23303         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23304
23305 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
23306
23307         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23308         was a dependency or dynamically loaded.
23309
23310 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
23311
23312         * intl/l10nflist.c: Allow architecture-specific pop function.
23313         * sysdeps/x86_64/l10nflist.c: New file.
23314
23315         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23316         classification.
23317
23318 2011-08-10  Andreas Schwab  <schwab@redhat.com>
23319
23320         * include/dirent.h: Add libc_hidden_proto for scandirat and
23321         scandirat64.  Don't declare __scandirat64.
23322         * dirent/scandirat.c: Add libc_hidden_def.
23323         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23324         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23325
23326 2011-08-10  David S. Miller  <davem@davemloft.net>
23327
23328         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23329         enum.
23330         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23331         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23332         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23333
23334 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
23335
23336         * Versions.def [libc]: Add GLIBC_2.15.
23337         * dirent/Makefile (routines): Add scandirat and scandirat64.
23338         * dirent/Versions [libc]: Export scandirat and scandirat64 for
23339         GLIBC_2.15.
23340         * dirent/dirent.h: Declare scandirat and scandirat64.
23341         * dirent/scandirat.c: New file.
23342         * dirent/scandirat64.c: New file.
23343         * sysdeps/wordsize-64/scandirat.c: New file.
23344         * sysdeps/wordsize-64/scandirat64.c: New file.
23345         * dirent/opendir.c: Define opendirat.
23346         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
23347         using scandirat.
23348         * dirent/scandir64.c: Adjust for scandir.c change.
23349         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
23350         __scandirat64, and __scandir_cancel_handler.
23351         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
23352         additional parameter and use openat instead of open (outside of ld.so).
23353         Add new __opendir as wrapper around __opendirat.
23354         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23355         here without requiring old scandirat implementation.
23356
23357 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
23358
23359         * dirent/scandir.c (cancel_handler): Renamed to
23360         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
23361         defined.  Adjust users.
23362         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23363         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23364
23365 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
23366
23367         * string/test-string.h (IMPL): Use __STRING to expand name and then
23368         stringify it.
23369
23370         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
23371         of cleanups.
23372
23373 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23374
23375         * string/Makefile: Update.
23376         (strop-tests): Append strncat.
23377         * string/test-wcscmp.c: New file.
23378         New comprehensive test for wcscmp.
23379         * string/test-strcmp.c: Update.
23380         (WIDE): New define.
23381
23382 2011-07-22  Andreas Schwab  <schwab@redhat.com>
23383
23384         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23385         line.
23386
23387 2011-07-26  Andreas Schwab  <schwab@redhat.com>
23388
23389         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23390         encoding to ACE if AI_IDN.
23391
23392 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
23393
23394         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23395         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23396
23397 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23398
23399         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23400         Fix overflow bug in strncat.
23401         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23402
23403         * string/test-strncat.c: Update.
23404         Add new tests for checking overflow bugs.
23405
23406 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23407
23408         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23409         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23410         * sysdeps/i386/i686/multiarch/strcat.S: New file.
23411         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23412         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23413         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23414         * sysdeps/i386/i686/multiarch/strncat.S: New file.
23415         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23416         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23417
23418         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23419         (USE_AS_STRCAT): Define.
23420         Add strcat and strncat support.
23421         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23422
23423 2011-07-25  Andreas Schwab  <schwab@redhat.com>
23424
23425         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23426         __n bigger than INT_MAX+1.
23427         (__strncmp_g): Likewise.
23428
23429 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
23430
23431         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23432         * libio/stido.h: Likewise.
23433
23434         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23435         (AF_NFC): Define.
23436         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23437         (AF_NFC): Define.
23438
23439         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23440         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23441         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23442         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23443         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23444
23445         [BZ #13021]
23446         * scripts/test-installation.pl: Don't expect libnss_test1 to be
23447         installed.
23448
23449         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23450         typo.
23451         (_dl_x86_64_save_sse): Likewise.
23452
23453 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
23454
23455         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23456         OSXSAVE.
23457         (_dl_x86_64_save_sse): Likewise.
23458
23459         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23460
23461         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23462
23463 2011-07-21  Andreas Schwab  <schwab@redhat.com>
23464
23465         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23466         change.
23467         (_dl_x86_64_save_sse): Use correct AVX check.
23468
23469 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23470
23471         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23472         bug in strncpy/strncat.
23473         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23474
23475 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
23476
23477         * string/tester.c (test_strcat): Add tests for different alignments
23478         of source and destination.
23479         (test_strncat): Likewise.
23480
23481 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
23482
23483         [BZ #12852]
23484         * posix/glob.c (glob): Check passed in values before using them in
23485         expressions to avoid some overflows.
23486         (glob_in_dir): Likewise.
23487
23488         [BZ #13007]
23489         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23490         check for AVX enablement so that we don't crash with old kernels and
23491         new hardware.
23492         * elf/tst-audit4.c: Add same checks here.
23493         * elf/tst-audit6.c: Likewise.
23494
23495         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
23496
23497 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
23498
23499         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23500
23501 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
23502
23503         * po/cs.po: Update from translation team.
23504         * po/bg.po: Likewise.
23505
23506 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
23507
23508         * misc/sys/cdefs.h: Add support for const attribute.
23509         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23510         to gnu_dev_{major,minor,makedev} functions.
23511
23512 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
23513
23514         * intl/dcigettext.c (get_output_charset): Add missing bracket.
23515
23516 2011-07-20  Andreas Schwab  <schwab@redhat.com>
23517
23518         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23519         strlen results.
23520
23521 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23522
23523         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23524         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23525         register in order to avoid conflicts with the soft frame pointer
23526         being held in r11 when necessary.
23527         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23528         (INTERNAL_VSYSCALL_NCS): Likewise.
23529
23530 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
23531
23532         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23533         * elf/dl-fini.c (_dl_fini): Adjust caller.
23534         * elf/dl-close.c (_dl_close_worker): Likewise.
23535         * sysdeps/generic/ldsodefs.h: Adjust declaration.
23536
23537 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
23538
23539         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23540         "aux_cache->nlibs < 0".
23541
23542         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23543         in the reload-count case.
23544
23545 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23546
23547         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23548         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23549         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23550         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23551         * sysdeps/x86_64/multiarch/strcat.S: New file.
23552         * sysdeps/x86_64/multiarch/strncat.S: New file.
23553         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23554         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23555         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23556         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23557         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23558         (USE_AS_STRCAT): Define.
23559         Add strcat and strncat support.
23560         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23561         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23562         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23563         * string/strncat.c: Update.
23564         (USE_AS_STRNCAT): Define.
23565         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23566         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23567         and i7.
23568         * sysdeps/x86_64/multiarch/init-arch.h
23569         (bit_Prefer_PMINUB_for_stringop): New.
23570         (index_Prefer_PMINUB_for_stringop): Likewise.
23571         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23572         bit_Prefer_PMINUB_for_stringop.
23573
23574 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
23575
23576         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23577         buffer64.
23578         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23579         of casting of buffer.
23580         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23581         buffer32 and buffer64.
23582         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23583         writes instead of casting of buffer.
23584         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23585         buffer32.
23586         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23587         casting of buffer.
23588
23589 2011-07-19  Andreas Schwab  <schwab@redhat.com>
23590
23591         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23592
23593 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
23594
23595         * nscd/nscd.c (termination_handler): Don't do anything for a database
23596         if it has not yet been initialized.
23597
23598 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
23599
23600         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23601
23602 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
23603
23604         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23605
23606 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
23607
23608         * po/nl.po: Update from translation team.
23609         * po/sv.po: Likewise.
23610
23611 2011-07-16  Roland McGrath  <roland@hack.frob.com>
23612
23613         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23614         now disallowed by GCC.
23615
23616         * configure.in (use-default-link): Default to yes if a test -shared
23617         link meets our qualifications.
23618         * configure: Regenerated.
23619
23620         * config.make.in (output-format): New variable.
23621         * configure.in: Check for ld --print-output-format support.
23622         * configure: Regenerated.
23623         * Makerules ($(common-objpfx)format.lds)
23624         [$(output-format) != unknown]: Just use $(output-format),
23625         instead of the linker-script munging.
23626
23627 2011-07-14  Roland McGrath  <roland@hack.frob.com>
23628
23629         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23630         of $(common-objpfx)shlib.lds.
23631         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23632
23633         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23634         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23635
23636         * configure.in (-z relro check): Adjust test code to add a large
23637         writable data section after it.
23638         * configure: Regenerated.
23639
23640 2011-07-11  Roland McGrath  <roland@hack.frob.com>
23641
23642         * configure.in (-z relro check): Fix test code to make the variable
23643         truly const.
23644         * configure: Regenerated.
23645
23646 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
23647
23648         * nscd/nscd.h (struct traced_file): Define.
23649         (struct database_dyn): Remove inotify_descr, reset_res, and filename
23650         elements.  Add traced_files.
23651         (inotify_fd): Declare.
23652         (register_traced_file): Declare.
23653         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23654         (inotify_fd): Export.
23655         (resolv_conf_descr): Remove.
23656         (nscd_init): Move inotify descriptor creation to main.
23657         Don't register files for notification here.
23658         (register_traced_file): New function.
23659         (invalidate_cache): Don't use reset_res to determine whether to call
23660         res_init, go through the list of registered files.
23661         (main_loop_poll): The inotify descriptors are now stored in the
23662         structures for the traced files.
23663         (main_loop_epoll): Likewise
23664         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
23665         to __nss_disable_nscd.
23666         * nscd/cache.c (prune_cache): There is no single inotify descriptor
23667         for a database anymore.  Check the records for all the registered
23668         files instead.
23669         * nss/Makefile (libnss_files-routines): Add files-init.
23670         (libnss_db-routines): Add db-init.
23671         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23672         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23673         * nss/nss_db/db-init.c: New file.
23674         * nss/nss_files/files-init.c: New file.
23675         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
23676         __nss_lookup_function.
23677         (__nss_lookup_function): Call nss_load_library.
23678         (nss_load_all_libraries): New function.
23679         (__nss_disable_nscd): Take parameter with callback function for files
23680         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
23681         used for the cached services.
23682         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23683         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23684         options for features to all the files in nscd.
23685
23686         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23687
23688 2011-07-10  Roland McGrath  <roland@hack.frob.com>
23689
23690         * csu/elf-init.c (__libc_csu_init): Comment typo.
23691
23692 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
23693
23694         * po/pl.po: Update from translation team.
23695         * po/ja.po: Likewise.
23696         * po/ru.po: Likewise.
23697         * po/ko.po: Likewise.
23698         * po/fr.po: Likewise.
23699
23700 2011-07-09  Roland McGrath  <roland@hack.frob.com>
23701
23702         * configure.in (.ctors/.dtors header and trailer check):
23703         Use an empirical test on a built program.
23704         * configure: Regenerated.
23705
23706         * configure.in (-z relro check): Use an empirical test on a built DSO.
23707         Detect, but do not require, on ia64.
23708         * configure: Regenerated.
23709
23710         * configure.in (READELF): Find it with AC_CHECK_TOOL.
23711         Update tests that use readelf to use $READELF instead.
23712         * configure: Regenerated.
23713
23714 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
23715
23716         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23717         if the result is not used.
23718
23719 2011-07-05  Andreas Jaeger  <aj@suse.de>
23720
23721         [BZ#9696]
23722         * stdlib/tst-strtod.c: Add testcase.
23723
23724 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
23725
23726         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
23727         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
23728         The latter has a higher limit.  Take additional parameter to pass to
23729         the new function.
23730         (__pathconf): Pass file to __statfs_link_max.
23731         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23732         __statfs_link_max.
23733         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23734         __statfs_link_max.
23735
23736         [BZ #12868]
23737         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23738         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23739         Handle Lustre.
23740         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23741         (__statfs_filesize_max): Likewise.
23742         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23743
23744 2011-07-05  Andreas Jaeger  <aj@suse.de>
23745
23746         * resolv/res_comp.c (dn_skipname): Remove unused variable.
23747
23748 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
23749
23750         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23751         `status' variable.
23752         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23753         Likewise.
23754
23755 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
23756
23757         * Makefile (strop-tests): Add strncat.
23758         * string/test-strncat.c: New file.
23759
23760 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
23761
23762         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23763
23764 2011-06-21  Andreas Jaeger  <aj@suse.de>
23765
23766         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23767         Copy rule from iconvdata/Makefile.
23768
23769 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
23770
23771         [BZ #12922]
23772         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23773         but no long options are defined, just return 'W'.
23774
23775 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
23776
23777         [BZ #9696]
23778         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23779
23780 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
23781
23782         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23783         netgroups to read.
23784         (innetgr): Likewise.
23785
23786 2011-07-05  Roland McGrath  <roland@hack.frob.com>
23787
23788         * config.make.in (install_root): Default to $(DESTDIR).
23789
23790 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
23791
23792         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23793
23794 2011-07-02  Roland McGrath  <roland@hack.frob.com>
23795
23796         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23797
23798         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23799         containing directory rather than embedding absolute directory names.
23800
23801         * scripts/check-local-headers.sh: Rewritten using awk.
23802         Match by word, not by line.  Print error messages for matches.
23803         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23804
23805         * Makerules [shlib-lds-flags empty]:
23806         ($(common-objpfx)libc_pic.opts): New target.
23807         ($(common-objpfx)libc_pic.os.clean): New target.
23808         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23809
23810         * config.make.in (OBJCOPY): New variable.
23811         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23812         * configure: Regenerated.
23813
23814         * config.make.in (use-default-link): New variable.
23815         * configure.in (use_default_link): Grok --with-default-link to set it.
23816         * configure: Regenerated.
23817         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23818         (shlib-lds, shlib-lds-flags): Define to empty.
23819
23820         * Makerules (shlib-lds): New variable.
23821         (shlib-lds-flags): New variable.
23822         (build-shlib, build-moduile, build-module-asneeded): Use it.
23823         ($(common-objpfx)libc.so): Use $(shlib-lds).
23824         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23825         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23826
23827         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23828         DT_FLAGS/DT_FLAGS_1 with zero flags.
23829
23830         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23831         linker script munging.
23832
23833 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
23834
23835         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23836         as 128-bit value.
23837         * crypt/sha512.c (sha512_process_block): Perform total addition using
23838         128-bit if possible.
23839         (__sha512_finish_ctx): Likewise.
23840         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23841         as 64-bit value.
23842         * crypt/sha256.c (SWAP64): Define.
23843         (sha256_process_block): Perform total addition using 64-bit if
23844         possible.
23845         (__sha256_finish_ctx): Likewise.
23846
23847 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
23848
23849         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
23850         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23851         * nscd/hstcache.c (cache_addhst): Likewise.
23852         * nscd/grpcache.c (cache_addgr): Likewise.
23853         * nscd/aicache.c (addhstaiX): Likewise
23854         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23855
23856 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
23857
23858         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23859         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23860         * nscd/hstcache.c (cache_addhst): Likewise.
23861         * nscd/grpcache.c (cache_addgr): Likewise.
23862         * nscd/aicache.c (addhstaiX): Likewise
23863
23864 2011-07-01  Andreas Schwab  <schwab@redhat.com>
23865
23866         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23867         domain only when needed.
23868
23869 2011-06-30  Andreas Schwab  <schwab@redhat.com>
23870
23871         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23872         is always restored.
23873
23874 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
23875
23876         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23877         are re-adding the entry.
23878         * nscd/servicescache.c (cache_addserv): Likewise.
23879
23880 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
23881
23882         * sysdeps/generic/dl-irel.h: fix protection against multiple
23883         inclusions.
23884         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23885
23886 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
23887
23888         [BZ #12935]
23889         * malloc/memusage.sh: Fix quoting in message.
23890         * debug/xtrace.sh: Likewise.
23891
23892         * configure.in: Remove support for --experimental-malloc option, make
23893         it the default.
23894         * config.make.in: Likewise.
23895         * malloc/Makefile: Likewise.
23896
23897 2011-06-27  Andreas Schwab  <schwab@redhat.com>
23898
23899         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23900         two-byte characters.
23901
23902 2011-06-27  Roland McGrath  <roland@hack.frob.com>
23903
23904         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23905         AC_CACHE_CHECK invocation.
23906         * configure: Regenerated.
23907
23908         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23909
23910 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
23911
23912         [BZ #12350]
23913         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
23914         bit from old_res_options.
23915
23916         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23917
23918         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23919         value type for setfct.
23920
23921 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
23922
23923         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23924         __gettimeofday instead of gettimeofday.
23925
23926 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
23927
23928         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23929
23930 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
23931
23932         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23933
23934         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23935         info.
23936
23937 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
23938
23939         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23940         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23941         strcpy-sse2-unaligned strncpy-sse2-unaligned
23942         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23943         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23944         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23945         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23946         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23947         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23948         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23949         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23950         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23951         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23952         (STRCPY): Support SSE2 and SSSE3 versions.
23953
23954 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
23955
23956         [BZ #12874]
23957         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23958         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23959         kernels which artificially limit size of requests.
23960
23961 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
23962
23963         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23964         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23965         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23966         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23967         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23968         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23969         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23970         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23971         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23972         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23973         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23974         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23975         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23976         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23977         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23978         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23979         Enable unaligned load optimization for Intel Core i3, i5 and i7
23980         processors.
23981         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23982         Define.
23983         (index_Fast_Unaligned_Load): Define.
23984         (HAS_FAST_UNALIGNED_LOAD): Define.
23985
23986 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
23987
23988         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23989
23990 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
23991
23992         [BZ #12907]
23993         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23994         until it is clear that the information is realy needed.
23995         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23996
23997 2011-06-22  Andreas Schwab  <schwab@redhat.com>
23998
23999         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24000
24001 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
24002
24003         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24004         /sys/devices/system/cpu/online if it is usable.
24005
24006         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24007         reading the information from the /proc filesystem to once a second.
24008
24009 2011-06-21  Andreas Jaeger  <aj@suse.de>
24010
24011         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24012         NULL after inclusion of kernel headers.
24013
24014 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
24015
24016         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24017         calls to internal_setent.
24018
24019         [BZ #12885]
24020         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24021         addresses using gethostbyname4_r ignore IPv4 addresses.
24022
24023         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24024         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
24025
24026         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24027
24028 2011-06-20  David S. Miller  <davem@davemloft.net>
24029
24030         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24031         inclusions.
24032         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24033
24034         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24035         (elf_irel): Use it.
24036         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24037         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24038         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24039         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24040         * sysdeps/x86_64/dl-irel.h: Likewise.
24041
24042         * elf/dl-runtime.c: Use elf_ifunc_invoke.
24043         * elf/dl-sym.c: Likewise.
24044
24045 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
24046
24047         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
24048         need to dereference resplen2.
24049
24050 2011-06-14  Andreas Schwab  <schwab@redhat.com>
24051
24052         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24053
24054 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
24055
24056         * Makeconfig: Define vardbdir and inst_vardbdir.
24057         * nss/Makefile: Add rules to install db-Makefile.
24058
24059         * nss/nss_db/db-XXX.c: Cleanup.
24060
24061         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24062         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24063         GLIBC_PRIVATE.
24064         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24065         * nss/makedb.c: Implement -g option to specify that value strings
24066         are generated and should not be added to table iterated over for
24067         get*ent calls.
24068         * nss/nss_db/db-initgroups.c: New file.
24069
24070         * nss/getent.c: Add support for initgroups lookups through getgrouplist
24071         interface.
24072
24073         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24074         (internal_getgrouplist): Adjust to name change.
24075         Update use_initgroups_entry if this is not the first call.
24076         * nss/databases.def: Add initgroups entry.
24077
24078         * nss/makedb.c (compute_tables): Check result of multiple hash table
24079         sizes to minimize maximum chain length.
24080
24081 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
24082
24083         * Versions.def: Add entry for libnss_db.
24084         * shlib-versions: Likewise.
24085         * nss/Makefile: Add rules to build libnss_db.
24086         * nss/Versions: Add libnss_db information.  Organize libnss_files
24087         entries better.
24088         * nss/db-Makefile: Add gshadow support.  Change rules for the new
24089         makedb progra.  Some minor improvements to generate smaller files.
24090         * nss/nss_db/nss_db.h: Move NSS database header data structures to
24091         here from...
24092         * nss/makedb.c: ...here.
24093         Improve database format to be smaller and require less memory at
24094         runtime.
24095         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
24096         db anymore.
24097         * nss/nss_db/db-netgrp.c: Likewise.
24098         * nss/nss_db/db-open.c: Likewise.
24099         * nss/nss_files/flies-XXX.x: Adjust comments.
24100         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24101         * nss/nss_files/files-grp.c: Likewise.
24102         * nss/nss_files/files-hosts.c: Likewise.
24103         * nss/nss_files/files-network.c: Likewise.
24104         * nss/nss_files/files-proto.c: Likewise.
24105         * nss/nss_files/files-pwd.c: Likewise.
24106         * nss/nss_files/files-rpc.c: Likewise.
24107         * nss/nss_files/files-service.c: Likewise.
24108         * nss/nss_files/files-sgrp.c: Likewise.
24109         * nss/nss_files/files-spwd.c: Likewise.
24110         * nss/nss_db/db-alias.c: Removed.
24111         * nss/nss_db/dummy-db.h: Removed.
24112
24113 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
24114
24115         * nss/makedb.c: Rewritten to not use database library.
24116         * nss/Makefile: Update to build new makedb program.
24117
24118 2011-06-14  Andreas Jaeger  <aj@suse.de>
24119
24120         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24121         memset declaration.
24122
24123 2011-06-10  Andreas Schwab  <schwab@redhat.com>
24124
24125         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24126         tmpbuf.
24127
24128 2011-06-10  Roland McGrath  <roland@hack.frob.com>
24129
24130         * Makerules (shlib.lds): Fail if the linker script comes out empty.
24131         * elf/Makefile ($(objpfx)ld.so): Likewise.
24132
24133         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24134         Don't list ld.so twice in dependencies.
24135
24136         * posix/bug-regex31.c: Include <stdlib.h>.
24137
24138         * nscd/hstcache.c (cache_addhst): Remove unused variable.
24139
24140         * nis/nss_compat/compat-spwd.c
24141         (getspent_next_nss_netgr): Remove unused variable.
24142         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24143
24144         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24145         nonmembers" output to use the right array.
24146
24147         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24148
24149         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24150
24151         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24152         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24153         * catgets/gencat.c (read_input_file): Likewise.
24154         * locale/programs/locarchive.c (enlarge_archive): Likewise.
24155
24156         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24157         variable definition inside #if's controlling its use.
24158
24159         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24160
24161         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24162
24163         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24164
24165         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24166         unreachable code.
24167
24168         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24169
24170         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24171         * configure: Regenerated.
24172
24173         * Makerules: Revert last change.
24174         * elf/Makefile: Likewise.
24175
24176 2011-06-09  Roland McGrath  <roland@hack.frob.com>
24177
24178         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24179         * elf/Makefile ($(objpfx)librtld.os): Likewise.
24180         (reloc-link): Likewise.
24181
24182 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
24183
24184         * elf/Makefile: Add rules to build pldd.
24185         * elf/pldd.c: New file.
24186         * elf/pldd-xx.c: New file.
24187
24188 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
24189
24190         * version.h: Update for 2.15 development version.
24191
24192 2011-06-07  David S. Miller  <davem@davemloft.net>
24193
24194         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24195         ifuncs.
24196         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24197         elf_machine_lazy_rel): Likewise.
24198         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24199         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24200         elf_machine_lazy_rel): Likewise.
24201         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24202         dl_hwcap via passed in argument.
24203         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24204         Likewise.
24205
24206 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24207
24208         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
24209
24210 2011-06-06  Roland McGrath  <roland@hack.frob.com>
24211
24212         [BZ #12849]
24213         * manual/fdl-1.1.texi: New file, verbatim from:
24214         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24215         * manual/lgpl-2.1.texi: New file, verbatim from:
24216         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24217         * manual/Makefile (licenses): New variable, list those new file names.
24218         (texis): Use it.
24219         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24220
24221         * manual/fdl.texi: File removed.
24222         * manual/lesser.texi: File removed.
24223         * manual/libc.texinfo (Copying, Documentation License):
24224         Use new @include file names, put @appendix directive before @include.
24225
24226 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
24227
24228         [BZ #12841]
24229         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24230         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24231         (mq_open): Add __NTH.
24232
24233 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
24234
24235         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24236         Assume Intel Core i3/i5/i7 processor if AVX is available.
24237
24238 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
24239
24240         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24241         typo.
24242
24243 2011-05-31  Andreas Schwab  <schwab@redhat.com>
24244
24245         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24246         memory.  Use alloca_account.  Fix memory leak when retrying.
24247
24248 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
24249
24250         * version.h (RELEASE): Bump for 2.14 release.
24251         * include/features.h (__GLIBC_MINOR__): Bump to 14.
24252
24253         * config.make.in (RANLIB): Remove entry.
24254
24255 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
24256
24257         * po/Makefile (po-sed-cmd): Add ksh to extensions.
24258         (libc.pot): Work around missing support for .ksh extension in xgettext.
24259
24260         [BZ #12684]
24261         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24262         if both request failed.
24263         (send_dg): In case of server errors clear resplen or *resplen2.
24264
24265         [BZ #12454]
24266         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24267         when there are multiple maps.
24268         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24269         (_dl_fini): Remove test here.
24270
24271         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24272
24273 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
24274
24275         [BZ #12350]
24276         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24277         bit from old_res_options.
24278         (gaih_inet): Likewise.
24279
24280         [BZ #11099]
24281         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
24282         as signed.
24283
24284         * resolv/res_init.c (res_setoptions): Make the code more compact.
24285
24286         [BZ #11558]
24287         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24288         set RES_USEVC.
24289
24290         [BZ #11634]
24291         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24292
24293         * malloc/malloc.h: Mark malloc hook variables as deprecated.
24294
24295         [BZ #11781]
24296         * malloc/malloc.h: Declare malloc hook variables as volatile.
24297
24298         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24299         in last patch.
24300
24301         [BZ #11799]
24302         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
24303         raise in the comment.
24304         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24305         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24306         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
24307
24308 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
24309
24310         [BZ #12811]
24311         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24312         grow the buffers more if it already has to be sufficient.
24313         (build_wcs_upper_buffer): Likewise.
24314         * posix/regexec.c (check_matching): Likewise.
24315         (clean_state_log_if_needed): Likewise.
24316         (extend_buffers): Don't enlarge buffers beyond size of the input
24317         buffer.
24318         Patches mostly by Emil Wojak <emil@wojak.eu>.
24319         * posix/bug-regex32.c: New file.
24320         * posix/Makefile (tests): Add bug-regex32.
24321
24322         * locale/findlocale.c (_nl_find_locale): Return right away if
24323         _nl_explode_name failed.
24324         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24325
24326         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24327
24328         * debug/xtrace.sh: Unify messages.
24329         * malloc/memusage.sh: Likewise.
24330
24331         [BZ #12813]
24332         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24333         time symbol from vDSO.  Substitute with vsyscall if not available.
24334         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24335         __vdso_time.
24336
24337         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24338         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24339         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24340         Add sendmmsg and internal_sendmmsg.
24341         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24342         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24343         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24344
24345         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24346         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24347         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24348
24349 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
24350
24351         [BZ #12813]
24352         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24353         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
24354         available.
24355         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24356         __vdso_getcpu.
24357
24358         [BZ #12814]
24359         * iconvdata/Makefile (tests): Add bug-iconv9.
24360         * iconvdata/bug-iconv9.c: New file.
24361
24362 2011-05-27  Andreas Schwab  <schwab@redhat.com>
24363
24364         [BZ #12814]
24365         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24366
24367 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
24368
24369         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24370         (struct user_regs_struct): Change intcs field back to cs.
24371
24372 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
24373
24374         * po/ja.po: Update from translation team.
24375
24376 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
24377
24378         [BZ #12795]
24379         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24380         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24381
24382 2011-05-20  Andreas Schwab  <schwab@redhat.com>
24383
24384         * stdlib/longlong.h: Update from GCC.
24385
24386 2011-05-23  Andreas Schwab  <schwab@redhat.com>
24387
24388         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24389         parameter name.
24390         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24391         Add parameter name.
24392         (__sysconf): Pass it down.
24393
24394 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
24395
24396         [BZ #12671]
24397         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24398         some situations.
24399         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24400         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24401         add in in __libc_use_alloca calls.  Adjust callers.
24402         (glob): Use malloc in some situations.
24403
24404         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24405         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24406         pltexit.
24407
24408 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
24409
24410         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24411         and CLOCK_BOOTTIME_ALARM.
24412
24413         [BZ #12782]
24414         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24415         is returned.
24416
24417         * string/_strerror.c (__strerror_r): Print negative errors as signed
24418         numbers.
24419
24420         [BZ #12777]
24421         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24422         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24423         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24424
24425         * configure.in: Fix typo in redirection and correct removal of test
24426         files in two cases.
24427
24428         [BZ #12788]
24429         * locale/setlocale.c (new_composite_name): Fix test to check for
24430         identical name of all categories.
24431
24432         [BZ #12792]
24433         * libio/filedoalloc.c (local_isatty): New function.
24434         (_IO_file_doallocate): Use local_isatty.
24435         * stdio-common/perror.c (perror): In case a new stream is used
24436         forward the stream error.
24437         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24438         error flag.
24439
24440 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
24441
24442         [BZ #11869]
24443         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24444         alloca.
24445         * include/alloca.h (extend_alloca_account): Define.
24446
24447         [BZ #11857]
24448         * posix/regex.h: Fix comments with documentation of user-accessible
24449         fields after compilation and describe correct free'ing of pattern
24450         after re_compile_pattern.
24451         Patch by Reuben Thomas <rrt@sc3d.org>.
24452
24453 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
24454
24455         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24456         and -mno-altivec to prevent the compiler from using Altivec and/or
24457         VSX instructions when the corresponding registers are not available.
24458
24459 2011-05-19  Andreas Schwab  <schwab@redhat.com>
24460
24461         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24462
24463 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
24464
24465         * libio/freopen.c (freopen): Use __dup2, not dup2.
24466         * libio/freopen64.c (freopen64): Likewise.
24467
24468 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24469
24470         [BZ #12775]
24471         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24472         * math/Makefile (tests): Add test-powl.
24473         (CFLAGS-test-powl.c): Define.
24474         * math/test-powl.c: New file.
24475
24476 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24477
24478         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24479
24480 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
24481
24482         [BZ #11837]
24483         * iconvdata/gb18030.c: Update to GB18020-2005.
24484
24485 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
24486
24487         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24488         RE_SYNTAX_POSIX_AWK): Update to match recent development.
24489         Patch by Aharon Robbins <arnold@skeeve.com>.
24490
24491         [BZ #11892]
24492         * stdlib/putenv.c (putenv): Don't always create copy of the variable
24493         on the stack.
24494
24495         [BZ #11895]
24496         * misc/pselect.c (__pselect): Handle timeout value errors hidden
24497         through underflows.
24498
24499         [BZ #12766]
24500         * misc/error.c (error_at_line): Ensure file_name and old_file_name
24501         point to strings before performing equality test for error_one_per_line
24502         mode.
24503
24504         [BZ #11697]
24505         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24506
24507         [BZ #11820]
24508         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24509         (struct user_fpregs_struct): Avoid __uint*_t types.
24510
24511         [BZ #6420]
24512         * malloc/mtrace.c (tr_where): Add additional parameter to point to
24513         symbol info.  Use it instead of calling _dl_addr locally.
24514         (lock_and_info): New function.
24515         (tr_freehook): Call lock_and_info and pass symbol info as additional
24516         parameter to tr_where.
24517         (tr_mallochook): Likewise.
24518         (tr_reallochook): Likewise.
24519         (tr_memalignhook): Likewise.
24520
24521         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
24522         used and couldn't be at all thread-safe.
24523
24524 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
24525
24526         * libio/freopen.c (freopen): Don't close old file descriptor
24527         before the new one is opened.  Instead dup the new file descriptor
24528         to the old one after the new stream is created.
24529         * libio/freopen64.c (freopen64): Likewise.
24530         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24531         * libio/fileops.c (_IO_new_file_close_it): Handle new
24532         _IO_FLAGS2_NOCLOSE flag.
24533         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24534         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24535         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24536         _IO_FLAGS2_NOCLOSE flag.
24537         * include/unistd.h: Add hidden_proto for dup3.
24538         Define __have_dup3.
24539         * io/dup3.c: Define hidden symbol.
24540         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24541
24542         [BZ #7101]
24543         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24544         when an incomplete long option is used.
24545         * posix/tst-getopt_long1.c: New file.
24546         * posix/Makefile (tests): Add tst-getopt_long1.
24547
24548         [BZ #10138]
24549         * scripts/config.guess: Update from autoconf-2.68.
24550         * scripts/config.sub: Likewise.
24551
24552         [BZ #10157]
24553         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24554         tests into ...
24555         (has_cpuclock): ...this.  New function.
24556         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24557         macro here based on has_cpuclock code.
24558
24559         [BZ #10149]
24560         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24561         First byte (not low byte) is now always NUL.
24562         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24563
24564         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24565         Use non-cancelable interfaces.
24566
24567         [BZ #9809]
24568         * locale/iso-639.def: Add entry for Sorani.
24569
24570         [BZ #11901]
24571         * include/stdlib.h: Move include protection to the right place.
24572         Define abort_msg_s.  Declare __abort_msg with it.
24573         * stdlib/abort.c (__abort_msg): Adjust type.
24574         * assert/assert.c (__assert_fail_base): New function.  Majority
24575         of code from __assert_fail.  Allocate memory for __abort_msg with
24576         mmap.
24577         (__assert_fail): Now call __assert_fail_base.
24578         * assert/assert-perr.c: Remove bulk of implementation.  Use
24579         __assert_fail_base.
24580         * include/assert.hL Declare __assert_fail_base.
24581         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24582         mmap.
24583         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24584
24585 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
24586
24587         [BZ #11952]
24588         [BZ #12453]
24589         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24590         until all modules are registered in the DTV.
24591         * elf/Makefile: Add rules to build and run tst-tls19.
24592         * elf/tst-tls19.c: New file.
24593         * elf/tst-tls19mod1.c: New file.
24594         * elf/tst-tls19mod2.c: New file.
24595         * elf/tst-tls19mod3.c: New file.
24596         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24597
24598         [BZ #12083]
24599         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24600         correctly.
24601
24602         [BZ #12601]
24603         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24604         two-byte sequence errors.
24605         * iconvdata/Makefile (tests): Add bug-iconv8.
24606         * iconvdata/bug-iconv8.c: New file.
24607
24608         [BZ #12626]
24609         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24610         buf2 definition.
24611
24612         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24613
24614         [BZ #12432]
24615         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24616         (dummy_getcfa): New function.
24617         (init): Get _Unwind_GetCFA address, use dummy if not found.
24618         (backtrace_helper): In recursion check, also check whether CFA changes.
24619         (__backtrace): Completely initialize arg.
24620
24621         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
24622         storing incomplete byte sequence in state object.  Avoid testing for
24623         guaranteed too small input if we know there is enough data available.
24624
24625 2011-05-11  Andreas Schwab  <schwab@redhat.com>
24626
24627         * Makeconfig (+link-pie): Indent.
24628         * Rules (binaries-pie): Define if $(have-fpie) and
24629         $(build-shared).
24630         (binaries-shared): Also filter out $(binaries-pie).
24631         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24632         * nscd/Makefile (others-pie): Add nscd.
24633         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24634         ($(objpfx)nscd): Remove command override.
24635         * login/Makefile (others-pie): Add pt_chown.
24636         ($(objpfx)pt_chown): Remove command override.
24637         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24638         remove command overrides.
24639
24640 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
24641
24642         * libio/tst_putwc.c: Fix error messages.
24643
24644         [BZ #12724]
24645         * libio/fileops.c (_IO_new_file_close_it): Always flush when
24646         currently writing and seek to current position when not.
24647         * libio/Makefile (tests): Add bug-fclose1.
24648         * libio/bug-fclose1.c: New file.
24649
24650 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
24651
24652         [BZ #12511]
24653         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24654         don't set DF_1_NODELETE here.
24655         (do_lookup_x): When entering new entry test for copy relocation
24656         and if necessary set DF_1_NODELETE flag.
24657         * elf/tst-unique4.cc: New file.
24658         * elf/tst-unique4.h: New file.
24659         * elf/tst-unique4lib.cc: New file.
24660         * elf/Makefile: Add rules to build and run tst-unique4.
24661         Patch by Piotr Bury <pbury@goahead.com>.
24662
24663 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
24664
24665         [BZ #12052]
24666         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24667
24668         [BZ #12625]
24669         * misc/mntent_r.c (addmntent): Flush the stream after the output
24670
24671         [BZ #12393]
24672         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24673         (is_trusted_path_normalize): Skip initial colon.  Append slash
24674         to empty buffer.  Duplicate is_trusted_path code but allow
24675         constructed patch to be prefix.
24676         (is_dst): Allow $ORIGIN followed by /.
24677         (_dl_dst_substitute): Correct clearing of check_for_trusted.
24678         Correct testing of result of is_trusted_path_normalize
24679         (decompose_rpath): Fix warning.
24680
24681 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
24682
24683         [BZ #11257]
24684         * grp/initgroups.c (internal_getgrouplist): When we found the service
24685         list through the initgroups entry in nsswitch.conf do not always
24686         continue on a successful lookup.  Don't always use the
24687         __nss_group_database value if it is set.
24688         * nss/nsswitch.conf (initgroups): Change action for successful db
24689         lookup to continue for compatibility.
24690
24691 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
24692
24693         [BZ #11532]
24694         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24695         and CP774 modules.
24696         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24697         and CP774 modules.
24698         * iconvdata/tst-tables.sh: Likewise.
24699         * iconvdata/cp770.c: New file.
24700         * iconvdata/cp771.c: New file.
24701         * iconvdata/cp772.c: New file.
24702         * iconvdata/cp773.c: New file.
24703         * iconvdata/cp774.c: New file.
24704         * iconvdata/testdata/CP770: New file.
24705         * iconvdata/testdata/CP770..UTF8: New file.
24706         * iconvdata/testdata/CP771: New file.
24707         * iconvdata/testdata/CP771..UTF8: New file.
24708         * iconvdata/testdata/CP772: New file.
24709         * iconvdata/testdata/CP772..UTF8: New file.
24710         * iconvdata/testdata/CP773: New file.
24711         * iconvdata/testdata/CP773..UTF8: New file.
24712         * iconvdata/testdata/CP774: New file.
24713         * iconvdata/testdata/CP774..UTF8: New file.
24714
24715         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24716         END CHARMAP line.
24717         * iconvdata/gen-8bit-gap.sh: Likewise.
24718         * iconvdata/gen-8bit.sh: Likewise.
24719
24720         * locale/iso-639.def: Add ary entry.
24721
24722         [BZ #11258]
24723         * locale/C-translit.h.in: Add U20A1 transliteration.
24724
24725         [BZ #12178]
24726         * locale/iso-639.def: Add wae entry.
24727         Patch by Kevin Bortis <bortis@translate-wae.ch>.
24728
24729         [BZ #12545]
24730         * locale/programs/localedef.c (construct_output_path): Use ssize_t
24731         for n.
24732
24733         [BZ #12711]
24734         * locale/C-translit.h.in: Add entry for U20B9.
24735         Patch by pravin.d.s@gmail.com.
24736
24737 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
24738
24739         [BZ #12713]
24740         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24741         ENAMETOOLONG use generic getcwd.
24742         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
24743         in rtld.  Use *stat64.
24744         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
24745         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
24746         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
24747         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24748         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24749         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24750         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24751         __fstatat64 macros.
24752         * include/dirent.h: Add libc_hidden_proto for rewinddir.
24753         * dirent/rewinddir.c: Add libc_hidden_def.
24754         * sysdeps/mach/hurd/rewinddir.c: Likewise.
24755         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
24756
24757         * include/dirent.h (__alloc_dir): Add flags parameter.
24758         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24759         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24760         __alloc_dir.
24761         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
24762         from fdopendir if O_CLOEXEC is already set.
24763
24764 2011-03-15  Alan Modra  <amodra@gmail.com>
24765
24766         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24767         l_tls_firstbyte_offset non-zero.  Save padding offset in
24768         l_tls_firstbyte_offset for later use.
24769         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24770         freeing static tls block.
24771
24772 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
24773
24774         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24775         where #ifdef was intended.  The intent is to prevent ARG_MAX from
24776         being defined by the kernel headers.
24777
24778 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
24779
24780         [BZ #12734]
24781         * resolv/resolv.h: Define RES_NOTLDQUERY.
24782         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24783         no-tld-query and set RES_NOTLDQUERY.
24784         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24785         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24786         modern BIND to search name as TLD unless forbidden.
24787
24788 2011-05-07  Petr Baudis  <pasky@suse.cz>
24789             Ulrich Drepper  <drepper@gmail.com>
24790
24791         [BZ #12393]
24792         * elf/dl-load.c (fillin_rpath): Move trusted path check...
24793         (is_trusted_path): ...to here.
24794         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
24795         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
24796         using is_trusted_path_normalize() in setuid scripts.
24797
24798 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24799
24800         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24801         __BEGIN/__END_DECLS.
24802
24803 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
24804
24805         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24806         NSS_STATUS_NOTFOUND if no record was found.
24807
24808 2011-05-05  Andreas Schwab  <schwab@redhat.com>
24809
24810         * sunrpc/Makefile (headers): Add rpc/netdb.h.
24811         (headers-not-in-tirpc): Remove rpc/netdb.h
24812         * resolv/netdb.h: Revert last change.
24813
24814 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24815
24816         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24817         circular dependency between libgcc.a and libc.a.
24818
24819 2011-05-05  Andreas Schwab  <schwab@redhat.com>
24820
24821         * resolv/netdb.h: Don't include <rpc/netdb.h>.
24822         * nis/Makefile: Don't install rpcsvc/*.
24823         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24824         instead of <rpc/types.h>.
24825         (MAXHOSTNAMELEN): Define.
24826
24827 2011-05-03  Andreas Schwab  <schwab@redhat.com>
24828
24829         * elf/ldconfig.c (add_dir): Don't crash on empty path.
24830
24831 2011-04-28  Maciej Babinski  <mbabinski@google.com>
24832
24833         [BZ #12714]
24834         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24835         gethostbyname4_r when IPv6 results are possible.
24836
24837 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
24838
24839         [BZ #12723]
24840         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24841         _PC_PIPE_BUF handling.
24842
24843 2011-04-30  Bruno Haible  <bruno@clisp.org>
24844
24845         [BZ #12717]
24846         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24847         * resolv/netdb.h (getnameinfo): Change type of flags parameter
24848         to 'int'.
24849         * inet/getnameinfo.c (getnameinfo): Likewise.
24850
24851 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
24852
24853         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24854         to groups setting in database lookup.
24855         * nss/nsswitch.conf: Add initgroups entry.
24856
24857 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
24858
24859         [BZ #12685]
24860         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24861         mode string.
24862         Patch by Eric Blake <eblake@redhat.com>.
24863
24864 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
24865
24866         * sunrpc/Makefile (need-export-routines): Add svc_run.
24867         (routines): Remove svc_run.
24868         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24869         * sunrpc/clnt_perr.c (clnt_perrno): Export.
24870         * sunrpc/svc_run.c (svc_run): Likewise.
24871         * sunrpc/svc_udp.c (svcudp_create): Likewise.
24872
24873 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
24874
24875         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24876         problem in reallocation in last patch.
24877
24878 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
24879
24880         * sunrpc/Makefile: Move inclusion of Rules.
24881
24882 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
24883
24884         * nss/nss_files/files-initgroups.c: New file.
24885         * nss/Makefile (libnss_files-routines): Add files-initgroups.
24886         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24887         _nss_files_initgroups_dyn.
24888
24889 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
24890
24891         * elf/elf.h (R_ARM_IRELATIVE): Define.
24892
24893 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
24894
24895         * po/ru.po: Update from translation team.
24896
24897 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
24898
24899         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24900         dependencies.
24901
24902 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
24903
24904         [BZ #12653]
24905         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24906         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24907         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24908         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24909         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24910
24911 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
24912
24913         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24914         differing bytes.
24915         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24916         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24917         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24918
24919 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
24920
24921         [BZ #12420]
24922         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24923         storing it.
24924         * stdlib/bug-getcontext.c: New file.
24925         * stdlib/Makefile: Add rules to build and run bug-getcontext.
24926
24927 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24928
24929         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24930         instructions into .machine "z9-109".
24931         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24932         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24933
24934 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24935
24936         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24937         between environment variables and auxiliary vector.
24938
24939 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
24940
24941         * Makefile: Add rules to build linkobj/libc.so.
24942         * include/libc-symbols.h: Define libc_hidden_nolink.
24943         * include/rpc/auth.h: Mark functions which are to be hidden.
24944         * include/rpc/auth_des.h: Likewise.
24945         * include/rpc/auth_unix.h: Likewise.
24946         * include/rpc/clnt.h: Likewise.
24947         * include/rpc/des_crypt.h: Likewise.
24948         * include/rpc/key_prot.h: Likewise.
24949         * include/rpc/pmap_clnt.h: Likewise.
24950         * include/rpc/pmap_prot.h: Likewise.
24951         * include/rpc/pmap_rmt.h: Likewise.
24952         * include/rpc/rpc_msg.h: Likewise.
24953         * include/rpc/svc.h: Likewise.
24954         * include/rpc/svc_auth.h: Likewise.
24955         * include/rpc/xdr.h: Likewise.
24956         * nis/Makefile: Link all DSOs against linkobj/libc.so.
24957         * nss/Makefile: Likewise.
24958         * sunrpc/Makefile: Don't install headers.  Build library with normal
24959         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
24960         * sunrpc/auth_des.c: Hide exported symbols by default, export some
24961         for the compat linking library.  Remove use of INTDEF/INTUSE.
24962         * sunrpc/auth_none.c: Likewise.
24963         * sunrpc/auth_unix.c: Likewise.
24964         * sunrpc/authdes_prot.c: Likewise.
24965         * sunrpc/authuxprot.c: Likewise.
24966         * sunrpc/clnt_gen.c: Likewise.
24967         * sunrpc/clnt_perr.c: Likewise.
24968         * sunrpc/clnt_raw.c: Likewise.
24969         * sunrpc/clnt_simp.c: Likewise.
24970         * sunrpc/clnt_tcp.c: Likewise.
24971         * sunrpc/clnt_udp.c: Likewise.
24972         * sunrpc/clnt_unix.c: Likewise.
24973         * sunrpc/des_crypt.c: Likewise.
24974         * sunrpc/des_soft.c: Likewise.
24975         * sunrpc/get_myaddr.c: Likewise.
24976         * sunrpc/key_call.c: Likewise.
24977         * sunrpc/key_prot.c: Likewise.
24978         * sunrpc/netname.c: Likewise.
24979         * sunrpc/pm_getmaps.c: Likewise.
24980         * sunrpc/pm_getport.c: Likewise.
24981         * sunrpc/pmap_clnt.c: Likewise.
24982         * sunrpc/pmap_prot.c: Likewise.
24983         * sunrpc/pmap_prot2.c: Likewise.
24984         * sunrpc/pmap_rmt.c: Likewise.
24985         * sunrpc/publickey.c: Likewise.
24986         * sunrpc/rpc_cmsg.c: Likewise.
24987         * sunrpc/rpc_common.c: Likewise.
24988         * sunrpc/rpc_dtable.c: Likewise.
24989         * sunrpc/rpc_prot.c: Likewise.
24990         * sunrpc/rpc_thread.c: Likewise.
24991         * sunrpc/rtime.c: Likewise.
24992         * sunrpc/svc.c: Likewise.
24993         * sunrpc/svc_auth.c: Likewise.
24994         * sunrpc/svc_authux.c: Likewise.
24995         * sunrpc/svc_raw.c: Likewise.
24996         * sunrpc/svc_run.c: Likewise.
24997         * sunrpc/svc_simple.c: Likewise.
24998         * sunrpc/svc_tcp.c: Likewise.
24999         * sunrpc/svc_udp.c: Likewise.
25000         * sunrpc/svc_unix.c: Likewise.
25001         * sunrpc/svcauth_des.c: Likewise.
25002         * sunrpc/xcrypt.c: Likewise.
25003         * sunrpc/xdr.c: Likewise.
25004         * sunrpc/xdr_array.c: Likewise.
25005         * sunrpc/xdr_float.c: Likewise.
25006         * sunrpc/xdr_intXX_t.c: Likewise.
25007         * sunrpc/xdr_mem.c: Likewise.
25008         * sunrpc/xdr_rec.c: Likewise.
25009         * sunrpc/xdr_ref.c: Likewise.
25010         * sunrpc/xdr_sizeof.c: Likewise.
25011         * sunrpc/xdr_stdio.c: Likewise.
25012
25013 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
25014
25015         [BZ #12650]
25016         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25017         * sysdeps/ia64/dl-tls.h: Likewise.
25018         * sysdeps/powerpc/dl-tls.h: Likewise.
25019         * sysdeps/s390/dl-tls.h: Likewise.
25020         * sysdeps/sh/dl-tls.h: Likewise.
25021         * sysdeps/sparc/dl-tls.h: Likewise.
25022         * sysdeps/x86_64/dl-tls.h: Likewise.
25023         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25024
25025 2011-03-14  Andreas Schwab  <schwab@redhat.com>
25026
25027         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25028         rpath element also skip the following colon.
25029         (expand_dynamic_string_token): Add is_path parameter and pass
25030         down to DL_DST_REQUIRED and _dl_dst_substitute.
25031         (decompose_rpath): Call expand_dynamic_string_token with
25032         non-zero is_path.  Ignore empty rpaths.
25033         (_dl_map_object_from_fd): Call expand_dynamic_string_token
25034         with zero is_path.
25035
25036 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
25037
25038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25039         Make cancelable.
25040
25041 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
25042
25043         [BZ #12655]
25044         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25045         Patch by Filipe David Manana <fdmanana@apache.org>.
25046
25047 2011-04-07  Andreas Schwab  <schwab@redhat.com>
25048
25049         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25050         Maintain aligned stack.
25051         (CHECK_RSP): Remove unused macro.
25052
25053 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
25054
25055         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25056         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25057
25058 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
25059
25060         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25061
25062         * include/features.h: Mention __USE_XOPEN2K8 in comment.
25063
25064 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
25065
25066         [BZ #12518]
25067         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25068         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25069         * sysdeps/x86_64/memmove.c: New file.
25070         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25071         (memcpy): Renamed to ...
25072         (__new_memcpy): This.
25073         (memcpy): Provide GLIBC_2_14 memcpy.
25074         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25075         (memcpy): Provide GLIBC_2_2_5 memcpy.
25076
25077 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25078
25079         [BZ #12631]
25080         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25081
25082 2011-03-30  Andreas Schwab  <schwab@redhat.com>
25083
25084         * misc/syncfs.c: New file.
25085         * misc/Makefile (routines): Add syncfs.
25086         * posix/unistd.h: Declare syncfs.
25087         * sysdeps/unix/syscalls.list: Add syncfs.
25088
25089 2011-04-01  Andreas Schwab  <schwab@redhat.com>
25090
25091         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25092         open_by_handle_at.
25093         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25094         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25095         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25096         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25097         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25098         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25099         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25100
25101 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25102
25103         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25104         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25105         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25106         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25107         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25108         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25109         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25110
25111         * io/Makefile: Compile fallocate.c, fallocate64.c, and
25112         sync_file_range.c with -fexceptions.
25113         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25114         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25115         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25116         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25117         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25118         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25119         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25120         sync_file_range as cancellation point
25121         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
25122         now a wrapper around __call_sync_file_range with cancellation handling.
25123         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25124         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
25125         function name to __call_sync_file_range.
25126         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25127         Add call_sync_file_range.
25128
25129 2011-04-01  Andreas Schwab  <schwab@redhat.com>
25130
25131         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25132         bits/timex.h.
25133
25134 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25135
25136         * iconv/iconv.h: Fix typo in comment.
25137         * io/fcntl.h: Likewise.
25138         * libio/stdio.h: Likewise.
25139         * posix/spawn.h: Likewise.
25140         * posix/unistd.h: Likewise.
25141         * stdlib/stdlib.h: Likewise.
25142         * time/time.h: Likewise.
25143         * wcsmbs/wchar.h: Likewise.
25144
25145         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25146         open_by_handle): Add.
25147         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25148         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
25149         Augment a few comments.
25150         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25151         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25152         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25153         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25154         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25155         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25156         open_by_handle.
25157
25158         * io/fcntl.h (AT_EMPTY_PATH): Define.
25159
25160 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
25161
25162         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25163         * sysdeps/unix/sysv/linux/bits/time.h: New file.
25164         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25165         to...
25166         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
25167         * Versions.def: Add GLIBC_2.14.
25168         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25169         Export.
25170
25171 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
25172
25173         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25174         round counter.
25175         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25176
25177 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
25178
25179         [BZ #12597]
25180         * string/test-strncmp.c (do_page_test): New function.
25181         (check2): Likewise.
25182         (test_main): Call check2.
25183         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25184
25185 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
25186
25187         [BZ #12587]
25188         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25189         Handle cache information in CPU leaf 4.
25190         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25191
25192 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
25193
25194         [BZ #12583]
25195         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25196         character representation.
25197         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25198
25199 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
25200
25201         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25202         END(__isnan) to END(__isnanf) to match function entry point/label
25203         EALIGN(__isnanf,...).
25204
25205 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
25206
25207         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25208
25209 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
25210
25211         [BZ #12510]
25212         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25213         copy from the symbol referenced in the relocation to initialize the
25214         used variable.
25215         Patch by Piotr Bury <pbury@goahead.com>.
25216         * elf/Makefile: Add rules to build and tst-unique3.
25217         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25218         * elf/tst-unique3.cc: New file.
25219         * elf/tst-unique3.h: New file.
25220         * elf/tst-unique3lib.cc: New file.
25221         * elf/tst-unique3lib2.cc: New file.
25222
25223         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25224
25225 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
25226
25227         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25228         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
25229         to _start.
25230
25231 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
25232
25233         * elf/dl-load.c (_dl_map_object): If we are looking for the first
25234         to-be-loaded object along a path to loader is ld.so.
25235
25236 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
25237             Ulrich Drepper  <drepper@gmail.com>
25238
25239         * sysdeps/x86_64/memset.S: After aligning destination, code
25240         branches to different locations depending on the value of
25241         misalignment, when multiarch is enabled. Fix this.
25242
25243 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
25244
25245         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25246         Set _x86_64_preferred_memory_instruction for AMD processsors.
25247         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25248         Set bit_Prefer_SSE_for_memop for AMD processors.
25249
25250 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
25251
25252         * libio/fmemopen.c (fmemopen): Optimize a bit.
25253
25254 2011-03-03  Andreas Schwab  <schwab@redhat.com>
25255
25256         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25257
25258 2011-03-03  Roland McGrath  <roland@redhat.com>
25259
25260         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25261
25262 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
25263
25264         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
25265         __bzero_ultra1 instead of __memset_ultra1.
25266
25267 2011-02-23  Andreas Schwab  <schwab@redhat.com>
25268             Ulrich Drepper  <drepper@gmail.com>
25269
25270         [BZ #12509]
25271         * include/link.h (struct link_map): Add l_orig_initfini.
25272         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25273         returning unsuccessfully.
25274         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25275         close of a file loaded at startup, restore the original l_initfini
25276         list.
25277         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25278         list, store the pointer.
25279         * elf/Makefile ($(objpfx)noload-mem): New rule.
25280         (noload-ENV): Define.
25281         (tests): Add $(objpfx)noload-mem.
25282         * elf/noload.c: Include <memcheck.h>.
25283         (main): Call mtrace.  Close all opened handles.
25284
25285 2011-02-17  Andreas Schwab  <schwab@redhat.com>
25286
25287         [BZ #12454]
25288         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25289         dependencies are missing.
25290
25291 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25292
25293         Fix __if_freereq crash: Unlike the generic version which uses free,
25294         Hurd needs munmap.
25295         * sysdeps/mach/hurd/ifreq.h: New file.
25296
25297 2011-01-27  Petr Baudis  <pasky@suse.cz>
25298             Ulrich Drepper  <drepper@gmail.com>
25299
25300         [BZ 12445]#
25301         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25302         to extend_alloca().
25303         * stdio-common/bug23.c: New file.
25304         * stdio-common/Makefile (tests): Add bug23.
25305
25306 2010-09-28  Andreas Schwab  <schwab@redhat.com>
25307             Ulrich Drepper  <drepper@gmail.com>
25308
25309         [BZ #12489]
25310         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25311         before performing relro protection.  At old place add assertion
25312         to make sure nothing changed.
25313
25314 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
25315             Glauber de Oliveira Costa  <glommer@gmail.com>
25316
25317         * elf/elf.h: Add new ARM TLS relocs.
25318
25319 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
25320
25321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25322         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25323         cast from r3.
25324         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
25325         'tests' variable.
25326         * sysdeps/wordsize-64/tst-writev.c: New file.
25327
25328 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
25329
25330         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25331         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25332         insns in _dl_start to prevent a TOC reference before relocs are
25333         resolved.
25334
25335 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
25336
25337         [BZ #12469]
25338         * Makeconfig: Remove RANLIB definition.
25339         * Makerules: Don't use RANLIB.
25340         * aclocal.m4: Remove ranlib test.
25341         * configure.in: No need to check for ranlib.
25342         * elf/rtld-Rules: Don't use RANLIB.
25343
25344 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25345
25346         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25347         protection macro.
25348         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25349         inclusion protection macro.
25350
25351         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25352         SIGRTMIN and SIGRTMAX and print information in that case only when
25353         SIGRTMIN is defined.
25354
25355 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
25356
25357         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25358         arginfo fn returning -1.
25359
25360         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25361         and thousands string is zero terminated.
25362
25363 2011-02-03  Andreas Schwab  <schwab@redhat.com>
25364
25365         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25366         sysdeps/unix/sysv/linux/bits/socket.h.
25367
25368 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25369
25370         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25371         (__CPU_COUNT): Remove old macros.
25372         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25373         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25374         (__CPU_ALLOC, __CPU_FREE): Add macros.
25375         (__sched_cpualloc, __sched_cpufree): Add declarations.
25376
25377 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
25378
25379         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25380         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25381         * nscd/aicache.c (addhstaiX): Return timeout of added value.
25382         (readdhstai): Return value of addhstaiX call.
25383         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25384         (addgrbyX): Return value returned by cache_addgr.
25385         (readdgrbyname): Return value returned by addgrbyX.
25386         (readdgrbygid): Likewise.
25387         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25388         (addpwbyX): Return value returned by cache_addpw.
25389         (readdpwbyname): Return value returned by addhstbyX.
25390         (readdpwbyuid): Likewise.
25391         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25392         (addservbyX): Return value returned by cache_addserv.
25393         (readdservbyname): Return value returned by addservbyX:
25394         (readdservbyport): Likewise.
25395         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25396         (addhstbyX): Return value returned by cache_addhst.
25397         (readdhstbyname): Return value returned by addhstbyX.
25398         (readdhstbyaddr): Likewise.
25399         (readdhstbynamev6): Likewise.
25400         (readdhstbyaddrv6): Likewise.
25401         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25402         (readdinitgroups): Return value returned by addinitgroupsX.
25403         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25404         (prune_cache): Keep track of timeout value of re-added entries.
25405         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25406         * nscd/nscd.h: Adjust prototypes of readd* functions.
25407
25408 2011-02-04  Roland McGrath  <roland@redhat.com>
25409
25410         * nis/nis_server.c (nis_servstate): Use the right name for 0.
25411         (nis_stats): Likewise.
25412         * nis/nis_modify.c (nis_modify): Likewise.
25413         * nis/nis_remove.c (nis_remove): Likewise.
25414         * nis/nis_add.c (nis_add): Likewise.
25415
25416         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25417
25418         * posix/fnmatch_loop.c: Add some consts.
25419
25420         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25421
25422 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
25423
25424         [BZ #12460]
25425         * config.make.in (config-cflags-novzeroupper): Define.
25426         * configure.in: Substitute libc_cv_cc_novzeroupper.
25427         * elf/Makefile (AVX-CFLAGS): Define.
25428         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25429         (CFLAGS-tst-auditmod4a.c): Likewise.
25430         (CFLAGS-tst-auditmod4b.c): Likewise.
25431         (CFLAGS-tst-auditmod6b.c): Likewise.
25432         (CFLAGS-tst-auditmod6c.c): Likewise.
25433         (CFLAGS-tst-auditmod7b.c): Likewise.
25434         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25435
25436 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
25437
25438         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25439         function to the callback.
25440         Patch partly by Jiri Olsa <jolsa@redhat.com>.
25441
25442 2011-02-02  Andreas Schwab  <schwab@redhat.com>
25443
25444         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25445         of errno.
25446
25447 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
25448
25449         [BZ #11724]
25450         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25451         of constructors.
25452         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25453         of destructors.
25454         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25455
25456         [BZ #11724]
25457         * elf/Makefile: Add rules to build and run new test.
25458         * elf/tst-initorder.c: New file.
25459         * elf/tst-initorder.exp: New file.
25460         * elf/tst-initordera1.c: New file.
25461         * elf/tst-initordera2.c: New file.
25462         * elf/tst-initordera3.c: New file.
25463         * elf/tst-initordera4.c: New file.
25464         * elf/tst-initorderb1.c: New file.
25465         * elf/tst-initorderb2.c: New file.
25466         * elf/tst-order-a1.c: New file.
25467         * elf/tst-order-a2.c: New file.
25468         * elf/tst-order-a3.c: New file.
25469         * elf/tst-order-a4.c: New file.
25470         * elf/tst-order-b1.c: New file.
25471         * elf/tst-order-b2.c: New file.
25472         * elf/tst-order-main.c: New file.
25473         New test case by George Gensure <werkt0@gmail.com>.
25474
25475 2010-10-01  Andreas Schwab  <schwab@redhat.com>
25476
25477         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25478         decoding ACE if AI_CANONIDN.
25479
25480 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
25481
25482         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25483
25484 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
25485
25486         * version.h (RELEASE): Bump for 2.13 release.
25487         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25488
25489         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25490
25491         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25492         MADV_NOHUGEPAGE.
25493         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25494         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25495         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25496         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25497         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25498         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25499
25500         * posix/getconf.c: Update copyright year.
25501         * catgets/gencat.c: Likewise.
25502         * csu/version.c: Likewise.
25503         * debug/catchsegv.sh: Likewise.
25504         * debug/xtrace.sh: Likewise.
25505         * elf/ldconfig.c: Likewise.
25506         * elf/ldd.bash.in: Likewise.
25507         * elf/sprof.c (print_version): Likewise.
25508         * iconv/iconv_prog.c: Likewise.
25509         * iconv/iconvconfig.c: Likewise.
25510         * locale/programs/locale.c: Likewise.
25511         * locale/programs/localedef.c: Likewise.
25512         * malloc/memusage.sh: Likewise.
25513         * malloc/mtrace.pl: Likewise.
25514         * nscd/nscd.c (print_version): Likewise.
25515         * nss/getent.c: Likewise.
25516
25517         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25518         PF_CAIF, and PF_ALG.
25519         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25520
25521 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
25522
25523         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25524         (modules-names): Use them.
25525         (ifunc-test-modules, ifunc-pie-tests): Define.
25526         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25527         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25528         (test-extras): Likewise.
25529         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25530         $(compile-command.c).
25531         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25532         (all-built-dso): Define.
25533         (check-textrel.out, check-execstack.out): Depend on it.
25534
25535         * configure.in: Don't override --enable-multi-arch.
25536
25537 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
25538
25539         [BZ #6812]
25540         * nscd/hstcache.c (tryagain): Define.
25541         (cache_addhst): Return tryagain not notfound for temporary errors.
25542         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25543         failed.
25544
25545 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
25546
25547         [BZ #10563]
25548         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25549         to make the syscall.
25550         * sysdeps/unix/sysv/linux/setgroups.c: New file.
25551
25552         [BZ #12378]
25553         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25554         and fall back to matching as normal character if the string ends before
25555         the matching ']' is found.  This is what POSIX requires.
25556         * posix/testfnm.c: Adjust test result.
25557         * posix/globtest.sh: Adjust test result.  Add new test.
25558         * posix/tst-fnmatch.input: Likewise.
25559         * posix/tst-fnmatch2.c: Add new test.
25560
25561 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
25562
25563         * elf/Makefile (check-execstack): Revert last change.  Depend on
25564         check-execstack.h.
25565         (check-execstack.h): New target.
25566         (generated): Add check-execstack.h.
25567         * elf/check-execstack.c: Include "check-execstack.h".
25568         (main): Revert last change.
25569         (handle_file): Return zero if GNU_STACK is absent and
25570         DEFAULT_STACK_PERMS doesn't include PF_X.
25571
25572 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
25573
25574         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25575         in child fails because the descriptor is already closed.
25576         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25577         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25578         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
25579
25580         [BZ #12397]
25581         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25582         syscall.
25583
25584         [BZ #10484]
25585         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25586         temporary buffer used to handle multi lookups locally.
25587         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
25588
25589 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
25590
25591         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25592         loader is ld.so.
25593
25594 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
25595
25596         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25597         alignment for SSE2.
25598
25599 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
25600
25601         [BZ #12394]
25602         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25603         characters.  When rounding increased number of integer digits recompute
25604         number of groups.
25605         * stdio-common/tst-grouping.c: New file.
25606         * stdio-common/Makefile: Add rules to build and run tst-grouping.
25607
25608 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
25609
25610         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25611         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
25612
25613         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25614         void.
25615         * bits/select.h: Likewise.
25616
25617 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
25618
25619         * po/ja.po: Update from translation team.
25620
25621 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
25622
25623         [BZ #11155]
25624         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25625         implementation just like for lxstat, fxstatat, et al.
25626
25627 2010-12-27  Jim Meyering  <meyering@redhat.com>
25628
25629         [BZ #12348]
25630         * posix/regexec.c (build_trtable): Return failure indication upon
25631         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
25632
25633 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
25634
25635         [BZ #12201]
25636         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25637         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25638         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25639         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25640
25641         [BZ #12207]
25642         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25643
25644         [BZ #12204]
25645         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25646         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25647
25648 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
25649
25650         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25651         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25652         script has SORT_BY_INIT_PRIORITY.
25653         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25654         NO_CTORS_DTORS_SECTIONS is defined.
25655         * elf/soinit.c: Likewise.
25656         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25657         NO_CTORS_DTORS_SECTIONS is defined.
25658         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25659         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25660         * sysdeps/sh/init-first.c: Likewise.
25661         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25662
25663 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
25664
25665         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25666         always use the slow path.
25667
25668 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
25669
25670         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25671         similar rule which adds the sysdep directories to the header search in
25672         order to pick up the correct platform stackinfo.h.
25673         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25674         perform test if it is, otherwise return successfully without testing.
25675         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25676         DEFAULT_STACK_PERMS define in stackinfo.h.
25677         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25678         defined in stackinfo.h.
25679         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25680         DEFAULT_STACK_PERMS defined in stackinfo.h.
25681         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25682         * sysdeps/ia64/stackinfo.h: Likewise.
25683         * sysdeps/s390/stackinfo.h: Likewise.
25684         * sysdeps/sh/stackinfo.h: Likewise.
25685         * sysdeps/sparc/stackinfo.h: Likewise.
25686         * sysdeps/x86_64/stackinfo.h: Likewise.
25687         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25688         PF_X for powerpc64.  Retain PF_X for powerpc32.
25689
25690 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
25691
25692         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25693         accurately.
25694         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25695         GETDENTS_64BIT_ALIGNED.
25696
25697 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
25698
25699         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
25700
25701 2010-12-10  Andreas Schwab  <schwab@redhat.com>
25702
25703         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25704         _GNU_SOURCE.
25705
25706         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25707         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25708         Remove __restrict.
25709         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25710         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25711
25712 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
25713
25714         [BZ #11655]
25715         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25716         are initialized.
25717
25718 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
25719
25720         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25721
25722 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
25723
25724         * po/it.po: Update from translation team.
25725
25726 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
25727
25728         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25729         unused codes.
25730
25731 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
25732
25733         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25734
25735 2010-11-24  Andreas Schwab  <schwab@redhat.com>
25736
25737         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25738         specially.
25739         (gaih_getanswer_slice): Likewise.
25740
25741 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
25742
25743         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25744
25745 2010-05-31  Petr Baudis  <pasky@suse.cz>
25746
25747         [BZ #11149]
25748         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25749         silently even in the chroot mode.
25750
25751 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
25752
25753         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25754         last patch a bit.  Pretty printing
25755
25756 2010-05-31  Petr Baudis <pasky@suse.cz>
25757
25758         [BZ #10085]
25759         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25760         initialization of skip_initgroups_dyn.
25761
25762 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
25763
25764         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25765         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25766
25767 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
25768
25769         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25770
25771 2010-11-11  Andreas Schwab  <schwab@redhat.com>
25772
25773         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25774         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25775         (tst-fnmatch-ENV): Set MALLOC_TRACE.
25776         ($(objpfx)tst-fnmatch-mem): New rule.
25777         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25778         * posix/tst-fnmatch.c (main): Call mtrace.
25779
25780 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
25781
25782         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25783         Support Intel processor model 6 and model 0x2c.
25784
25785 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
25786
25787         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25788           signed comparison.
25789
25790 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
25791
25792         [BZ #12205]
25793         * string/test-strncasecmp.c (check_result): New function.
25794         (do_one_test): Use it.
25795         (check1): New function.
25796         (test_main): Use it.
25797         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25798         Support strcasecmp and strncasecmp.
25799
25800 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
25801
25802         [BZ #12194]
25803         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25804         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25805
25806 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25807
25808         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25809         IFUNC support.
25810         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25811         memset-x86-64.
25812         * sysdeps/x86_64/multiarch/bzero.S: New file.
25813         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25814         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25815         * sysdeps/x86_64/multiarch/memset.S: New file.
25816         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25817         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25818         Set bit_Prefer_SSE_for_memop for Intel processors.
25819         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25820         Define.
25821         (index_Prefer_SSE_for_memop): Define.
25822         (HAS_PREFER_SSE_FOR_MEMOP): Define.
25823
25824 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
25825
25826         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25827         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25828
25829 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
25830
25831         [BZ #12191]
25832         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25833         (__x86_64_raw_data_cache_size_half): Likewise.
25834         (__x86_64_raw_shared_cache_size): Likewise.
25835         (__x86_64_raw_shared_cache_size_half): Likewise.
25836
25837         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25838         (__x86_64_raw_data_cache_size_half): Likewise.
25839         (__x86_64_raw_shared_cache_size): Likewise.
25840         (__x86_64_raw_shared_cache_size_half): Likewise.
25841         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25842         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25843         and __x86_64_raw_shared_cache_size_half.  Round
25844         __x86_64_data_cache_size_half, __x86_64_data_cache_size
25845         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25846         to multiple of 256 bytes.
25847
25848 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
25849
25850         [BZ #12167]
25851         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25852         of inacessible symlinks.  Verify result of symlink before returning it.
25853         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25854         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25855
25856 2010-10-28  Erich Ritz  <erichritz@gmail.com>
25857
25858         * math/math.h (isinf): Fix typo in comment.
25859
25860 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
25861
25862         * po/da.po: Update from translation team.
25863
25864 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
25865
25866         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25867         is added to the list.
25868
25869 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25870             Ulrich Drepper  <drepper@gmail.com>
25871
25872         * elf/dl-object.c (_dl_new_object): Don't append the new object to
25873         the global list here.  Move code to...
25874         (_dl_add_to_namespace_list): ...here.  New function.
25875         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25876         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25877         * elf/dl-load.c (lose): Don't remove the element from the list.
25878         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25879         (_dl_map_object): Likewise.
25880
25881 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
25882
25883         [BZ #12159]
25884         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25885         into all bytes of SSE register.
25886         Patch by Richard Li <richardpku@gmail.com>.
25887
25888 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
25889
25890         [BZ #12140]
25891         * malloc/malloc.c (_int_free): Fill correct number of bytes when
25892         perturbing.
25893
25894 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
25895
25896         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25897         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25898         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25899         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25901         submachine.
25902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25903
25904 2010-10-22  Andreas Schwab  <schwab@redhat.com>
25905
25906         * include/dlfcn.h (__RTLD_SECURE): Define.
25907         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
25908         mode & __RTLD_SECURE instead.
25909         (open_path): Rename preloaded parameter to secure.
25910         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25911         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25912         * elf/dl-deps.c (openaux): Likewise.
25913         * elf/rtld.c (struct map_args): Remove is_preloaded.
25914         (map_doit): Don't use it.
25915         (dl_main): Likewise.
25916         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25917         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25918
25919 2010-09-09  Andreas Schwab  <schwab@redhat.com>
25920
25921         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25922         (sysd-rules-targets): Remove duplicates.
25923         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25924         rtld-%.$o dependency.
25925
25926 2010-10-18  Andreas Schwab  <schwab@redhat.com>
25927
25928         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25929         _dl_map_object do it.
25930
25931 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
25932
25933         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25934         fast fma builtins, define the macros in the C99 standard.
25935         (FP_FAST_FMAF): Likewise.
25936         (FP_FAST_FMAL): Likewise.
25937         * sysdeps/x86_64/bits/mathdef.h: Likewise.
25938
25939         * bits/mathdef.h: Update copyright year.
25940         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25941
25942 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
25943
25944         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25945         builtins, define the macros in the C99 standard.
25946         (FP_FAST_FMAF): Likewise.
25947         (FP_FAST_FMAL): Likewise.
25948         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25949         multiply/add.
25950         (FP_FAST_FMAF): Likewise.
25951
25952 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
25953
25954         [BZ #3268]
25955         * math/libm-test.inc (fma_test): Some new testcases.
25956         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25957         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25958         y and infinite z.  Do multiplication by C already in long double.
25959         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25960         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25961         y and infinite z.  Do bitwise or of inexact bit into u.d.
25962         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25963         * sysdeps/i386/fpu/s_fmaf.S: Removed.
25964         * sysdeps/i386/fpu/s_fma.S: Removed.
25965         * sysdeps/i386/fpu/s_fmal.S: Removed.
25966
25967 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
25968
25969         [BZ #3268]
25970         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25971         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25972         computation is not scheduled after fetestexcept.  Fix value
25973         of minimum denormal long double.
25974
25975 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
25976
25977         [BZ #3268]
25978         * math/libm-test.inc (fma_test): Add some more tests.
25979         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25980         correctly.
25981
25982 2010-10-15  Andreas Schwab  <schwab@redhat.com>
25983
25984         * scripts/data/localplt-s390-linux-gnu.data: New file.
25985         * scripts/data/localplt-s390x-linux-gnu.data: New file.
25986
25987 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
25988
25989         [BZ #3268]
25990         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25991         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25992         instead of dbl-64.
25993         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25994         inlines.
25995         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25996         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25997         if one of x and y is very large and the other is subnormal.
25998         * sysdeps/s390/fpu/s_fmaf.c: New file.
25999         * sysdeps/s390/fpu/s_fma.c: New file.
26000         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26001         * sysdeps/powerpc/fpu/s_fma.S: New file.
26002         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26003         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26004         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26005
26006 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
26007
26008         [BZ #3268]
26009         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26010         fma tests.
26011         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26012         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26013         * sysdeps/i386/i686/multiarch/s_fma.c: Include
26014         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26015         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26016         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26017         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26018
26019 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
26020
26021         [BZ #12078]
26022         * posix/regcomp.c (parse_branch): One more memory leak plugged.
26023         * posix/bug-regex31.input: Add test case.
26024
26025 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
26026
26027         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26028         * posix/bug-regex31.input: New file.
26029
26030         [BZ #12078]
26031         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26032         (parse_sub_exp): Fix last change, use postorder.
26033
26034         * posix/bug-regex31.c: New file.
26035         * posix/Makefile: Add rules to build and run bug-regex31.
26036
26037         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26038
26039         [BZ #12078]
26040         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26041
26042         [BZ #12108]
26043         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26044         to have entries in sys_siglist.
26045
26046         [BZ #12093]
26047         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26048         be NULL.
26049
26050 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
26051
26052         [BZ #3268]
26053         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26054         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26055         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26056         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26057         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26058         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26059         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26060         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26061         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26062         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26063         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26064         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26065         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26066         * math/ftestexcept.c (fetestexcept): Likewise.
26067         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26068         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26069         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26070         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26071         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26072         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26073         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26074
26075 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
26076
26077         [BZ #12107]
26078         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26079         newline.
26080
26081 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
26082
26083         * string/bug-strstr1.c: New file.
26084         * string/Makefile: Add rules to build and run bug-strstr1.
26085
26086 2010-10-05  Eric Blake  <eblake@redhat.com>
26087
26088         [BZ #12092]
26089         * string/str-two-way.h (two_way_long_needle): Always clear memory
26090         when skipping input due to the shift table.
26091
26092 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
26093
26094         [BZ #12005]
26095         * malloc/mcheck.c: Handle large requests.
26096
26097         [BZ #12077]
26098         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26099         for strncmp and strncasecmp.
26100         * string/stratcliff.c: Add tests for strcmp and strncmp.
26101         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26102
26103 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26104
26105         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26106         __set_fpscr.
26107
26108 2010-09-30  Andreas Jaeger  <aj@suse.de>
26109
26110         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26111         (CGROUP_SUPER_MAGIC): Define.
26112         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26113         Handle btrfs and cgroup file systems.
26114         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26115         Likewise.
26116
26117 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
26118
26119         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26120         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26121
26122 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26123
26124         [BZ #12067]
26125         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26126         trying to locate the ELF header.
26127
26128 2010-09-27  Andreas Schwab  <schwab@redhat.com>
26129
26130         [BZ #11611]
26131         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26132         Mask out sign-bit copies when constructing f_fsid.
26133
26134 2010-09-24  Petr Baudis <pasky@suse.cz>
26135
26136         * debug/stack_chk_fail_local.c: Add missing licence exception.
26137         * debug/warning-nop.c: Likewise.
26138
26139 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
26140
26141         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26142         implementing getdents64 using getdents syscall, set d_type if
26143         __ASSUME_GETDENTS32_D_TYPE.
26144
26145 2010-09-16  Andreas Schwab  <schwab@redhat.com>
26146
26147         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26148         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26149
26150 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
26151
26152         [BZ #12037]
26153         * posix/unistd.h: Undo change of feature selection for ftruncate from
26154         2010-01-11.
26155
26156 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
26157
26158         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26159         detection.
26160
26161 2010-09-20  Andreas Schwab  <schwab@redhat.com>
26162
26163         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26164         fanotify_mark.
26165         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26166
26167 2010-09-14  Andreas Schwab  <schwab@redhat.com>
26168
26169         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26170         variables after CHECK_SP call.
26171         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26172
26173 2010-09-13  Andreas Schwab  <schwab@redhat.com>
26174             Ulrich Drepper  <drepper@redhat.com>
26175
26176         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26177         re-relocationg ld.so.
26178         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26179         _dl_init_paths call.
26180         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
26181         here anymore.
26182
26183 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
26184
26185         * resolv/res_init.c (__res_vinit): Count the default server we added.
26186
26187 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
26188             Ulrich Drepper  <drepper@redhat.com>
26189
26190         [BZ #11968]
26191         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26192         (____longjmp_chk): Use %ebx for saving value across system call.
26193         Add unwind info.
26194
26195 2010-09-06  Andreas Schwab  <schwab@redhat.com>
26196
26197         * manual/Makefile: Don't mix pattern rules with normal rules.
26198
26199 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
26200
26201         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26202         operation.
26203         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26204         * libio/iofopncook.c (_IO_cookie_init): Likewise.
26205         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26206         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26207         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26208         Likewise.
26209
26210 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
26211
26212         [BZ #11979]
26213         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26214         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26215
26216 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
26217
26218         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26219         * sysdeps/x86_64/addmul_1.S: Likewise.
26220         * sysdeps/x86_64/lshift.S: Likewise.
26221         * sysdeps/x86_64/mul_1.S: Likewise.
26222         * sysdeps/x86_64/rshift.S: Likewise.
26223         * sysdeps/x86_64/sub_n.S: Likewise.
26224         * sysdeps/x86_64/submul_1.S: Likewise.
26225
26226 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26227
26228         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26229         Define __sched_param instead of SCHED_* and sched_param when
26230         <bits/sched.h> is included with __need_schedparam defined.
26231         * bits/sched.h [__need_schedparam]
26232         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
26233         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26234         (__defined_schedparam): Define to 1.
26235         (__sched_param): New structure, identical to sched_param.
26236         (__need_schedparam): Undefine.
26237
26238 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
26239
26240         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26241         (epoll_create1): Declare.
26242
26243         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26244
26245 2010-08-31  Andreas Schwab  <schwab@redhat.com>
26246
26247         [BZ #7066]
26248         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26249         shifting retval into place.
26250
26251 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
26252
26253         * nis/rpcsvc/nis.h: Update copyright notice.
26254         * nis/rpcsvc/nis.x: Likewise.
26255         * nis/rpcsvc/nis_callback.h: Likewise.
26256         * nis/rpcsvc/nis_callback.x: Likewise.
26257         * nis/rpcsvc/nis_object.x: Likewise.
26258         * nis/rpcsvc/nis_tags.h: Likewise.
26259         * nis/rpcsvc/yp.h: Likewise.
26260         * nis/rpcsvc/yp.x: Likewise.
26261         * nis/rpcsvc/ypupd.h: Likewise.
26262         * nis/yp_xdr.c: Likewise.
26263         * nis/ypupdate_xdr.c: Likewise.
26264
26265         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
26266         mainly the body of pmap_getport.  Add parameters to specify timeouts.
26267         (pmap_getport): Use __libc_rpc_getport.
26268         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26269         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26270         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26271
26272 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
26273
26274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26275         fanotify_mark.
26276
26277 2010-08-27  Roland McGrath  <roland@redhat.com>
26278
26279         * sysdeps/i386/i686/multiarch/Makefile
26280         (CFLAGS-varshift.c): New variable.
26281
26282 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
26283
26284         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26285         * sysdeps/i386/i686/multiarch/varshift.c: New file.
26286
26287         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26288
26289         * sysdeps/x86_64/strlen.S: Minimal code improvement.
26290
26291 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
26292
26293         * sysdeps/x86_64/strlen.S: Unroll the loop.
26294         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26295         strlen-sse2 strlen-sse2-bsf.
26296         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26297         __strlen_no_bsf if bit_Slow_BSF is set.
26298         (__strlen_sse42): Removed.
26299         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26300         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26301
26302 2010-08-25  Roland McGrath  <roland@redhat.com>
26303
26304         * sysdeps/x86_64/multiarch/varshift.S: File removed.
26305         * sysdeps/x86_64/multiarch/varshift.c: New file.
26306         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26307         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26308         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26309         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26310
26311 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26312
26313         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26314         strlen-sse2 strlen-sse2-bsf.
26315         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26316         __strlen_sse2_bsf if bit_Slow_BSF is unset.
26317         (__strlen_sse2): Removed.
26318         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26319         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26320         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26321         bit_Slow_BSF for Atom.
26322         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26323         (index_Slow_BSF): Define.
26324         (HAS_SLOW_BSF): Define.
26325
26326 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
26327
26328         [BZ #10851]
26329         * resolv/res_init.c (__res_vinit): When no server address at all
26330         is given default to loopback.
26331
26332 2010-08-24  Roland McGrath  <roland@redhat.com>
26333
26334         * configure.in: Remove config-name.h generation.
26335         * configure: Regenerated.
26336         * config-name.in: File removed.
26337         * scripts/config-uname.sh: New file.
26338         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26339         ($(objdir)config-name.h): New target.
26340
26341         * sunrpc/rpc_parse.h: Avoid nested comment.
26342
26343 2010-08-24  Richard Henderson  <rth@redhat.com>
26344             Ulrich Drepper  <drepper@redhat.com>
26345             H.J. Lu  <hongjiu.lu@intel.com>
26346
26347         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26348         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26349         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26350         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
26351         _mm_alignr_epi8 with _mm_loadu_si128.
26352         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26353         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26354         (__m128i_shift_right): Removed.
26355         * sysdeps/i386/i686/multiarch/varshift.h: New file.
26356         * sysdeps/i386/i686/multiarch/varshift.S: New file.
26357         * sysdeps/x86_64/multiarch/varshift.h: New file.
26358         * sysdeps/x86_64/multiarch/varshift.S: New file.
26359
26360 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
26361
26362         * configure.in: Move assembler checks to before sysdep dir checking.
26363
26364 2010-08-20  Petr Baudis  <pasky@suse.cz>
26365
26366         * LICENSES: Sync the sunrpc license.
26367
26368 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
26369
26370         * sunrpc/auth_des.c: Update copyright notice once again.
26371         * sunrpc/auth_none.c: Likewise.
26372         * sunrpc/auth_unix.c: Likewise.
26373         * sunrpc/authdes_prot.c: Likewise.
26374         * sunrpc/authuxprot.c: Likewise.
26375         * sunrpc/bindrsvprt.c: Likewise.
26376         * sunrpc/clnt_gen.c: Likewise.
26377         * sunrpc/clnt_perr.c: Likewise.
26378         * sunrpc/clnt_raw.c: Likewise.
26379         * sunrpc/clnt_simp.c: Likewise.
26380         * sunrpc/clnt_tcp.c: Likewise.
26381         * sunrpc/clnt_udp.c: Likewise.
26382         * sunrpc/clnt_unix.c: Likewise.
26383         * sunrpc/des_crypt.c: Likewise.
26384         * sunrpc/des_soft.c: Likewise.
26385         * sunrpc/get_myaddr.c: Likewise.
26386         * sunrpc/getrpcport.c: Likewise.
26387         * sunrpc/key_call.c: Likewise.
26388         * sunrpc/key_prot.c: Likewise.
26389         * sunrpc/openchild.c: Likewise.
26390         * sunrpc/pm_getmaps.c: Likewise.
26391         * sunrpc/pm_getport.c: Likewise.
26392         * sunrpc/pmap_clnt.c: Likewise.
26393         * sunrpc/pmap_prot.c: Likewise.
26394         * sunrpc/pmap_prot2.c: Likewise.
26395         * sunrpc/pmap_rmt.c: Likewise.
26396         * sunrpc/rpc/auth.h: Likewise.
26397         * sunrpc/rpc/auth_unix.h: Likewise.
26398         * sunrpc/rpc/clnt.h: Likewise.
26399         * sunrpc/rpc/des_crypt.h: Likewise.
26400         * sunrpc/rpc/key_prot.h: Likewise.
26401         * sunrpc/rpc/netdb.h: Likewise.
26402         * sunrpc/rpc/pmap_clnt.h: Likewise.
26403         * sunrpc/rpc/pmap_prot.h: Likewise.
26404         * sunrpc/rpc/pmap_rmt.h: Likewise.
26405         * sunrpc/rpc/rpc.h: Likewise.
26406         * sunrpc/rpc/rpc_des.h: Likewise.
26407         * sunrpc/rpc/rpc_msg.h: Likewise.
26408         * sunrpc/rpc/svc.h: Likewise.
26409         * sunrpc/rpc/svc_auth.h: Likewise.
26410         * sunrpc/rpc/types.h: Likewise.
26411         * sunrpc/rpc/xdr.h: Likewise.
26412         * sunrpc/rpc_clntout.c: Likewise.
26413         * sunrpc/rpc_cmsg.c: Likewise.
26414         * sunrpc/rpc_common.c: Likewise.
26415         * sunrpc/rpc_cout.c: Likewise.
26416         * sunrpc/rpc_dtable.c: Likewise.
26417         * sunrpc/rpc_hout.c: Likewise.
26418         * sunrpc/rpc_main.c: Likewise.
26419         * sunrpc/rpc_parse.c: Likewise.
26420         * sunrpc/rpc_parse.h: Likewise.
26421         * sunrpc/rpc_prot.c: Likewise.
26422         * sunrpc/rpc_sample.c: Likewise.
26423         * sunrpc/rpc_scan.c: Likewise.
26424         * sunrpc/rpc_scan.h: Likewise.
26425         * sunrpc/rpc_svcout.c: Likewise.
26426         * sunrpc/rpc_tblout.c: Likewise.
26427         * sunrpc/rpc_util.c: Likewise.
26428         * sunrpc/rpc_util.h: Likewise.
26429         * sunrpc/rpcinfo.c: Likewise.
26430         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26431         * sunrpc/rpcsvc/key_prot.x: Likewise.
26432         * sunrpc/rpcsvc/klm_prot.x: Likewise.
26433         * sunrpc/rpcsvc/mount.x: Likewise.
26434         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26435         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26436         * sunrpc/rpcsvc/rex.x: Likewise.
26437         * sunrpc/rpcsvc/rstat.x: Likewise.
26438         * sunrpc/rpcsvc/rusers.x: Likewise.
26439         * sunrpc/rpcsvc/sm_inter.x: Likewise.
26440         * sunrpc/rpcsvc/spray.x: Likewise.
26441         * sunrpc/rpcsvc/yppasswd.x: Likewise.
26442         * sunrpc/rtime.c: Likewise.
26443         * sunrpc/svc.c: Likewise.
26444         * sunrpc/svc_auth.c: Likewise.
26445         * sunrpc/svc_authux.c: Likewise.
26446         * sunrpc/svc_raw.c: Likewise.
26447         * sunrpc/svc_run.c: Likewise.
26448         * sunrpc/svc_simple.c: Likewise.
26449         * sunrpc/svc_tcp.c: Likewise.
26450         * sunrpc/svc_udp.c: Likewise.
26451         * sunrpc/svc_unix.c: Likewise.
26452         * sunrpc/svcauth_des.c: Likewise.
26453         * sunrpc/xcrypt.c: Likewise.
26454         * sunrpc/xdr.c: Likewise.
26455         * sunrpc/xdr_array.c: Likewise.
26456         * sunrpc/xdr_float.c: Likewise.
26457         * sunrpc/xdr_mem.c: Likewise.
26458         * sunrpc/xdr_rec.c: Likewise.
26459         * sunrpc/xdr_ref.c: Likewise.
26460         * sunrpc/xdr_sizeof.c: Likewise.
26461         * sunrpc/xdr_stdio.c: Likewise.
26462
26463         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26464         handling.
26465
26466 2010-08-19  Andreas Schwab  <schwab@redhat.com>
26467
26468         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26469
26470 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
26471
26472         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26473         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26474         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26475         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26476         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26477         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26478         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26479         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26480         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26481         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26482         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26483         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26484         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26485         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26486
26487 2010-07-26  Anton Blanchard  <anton@samba.org>
26488
26489         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26490         * malloc/arena.c (heap_trim): Likewise.
26491
26492 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
26493
26494         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26495         here.  Not...
26496         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26497         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26498
26499 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
26500
26501         * sysdeps/i386/elf/Makefile: New file.
26502
26503 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
26504
26505         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26506         from fanotify_init.
26507         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26508         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26509
26510 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
26511
26512         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26513         of strncasecmp_l.
26514         * sysdeps/multiarch/strcmp.S: Likewise.
26515
26516 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
26517
26518         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26519         strncase_l-nonascii.
26520         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26521         Add strncase_l-ssse3.
26522         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26523         * sysdeps/x86_64/strcmp.S: Likewise.
26524         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26525         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26526         * sysdeps/x86_64/strncase.S: New file.
26527         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26528         * sysdeps/x86_64/strncase_l.S: New file.
26529         * string/Makefile (strop-tests): Add strncasecmp.
26530         * string/test-strncasecmp.c: New file.
26531
26532         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26533         warning.
26534
26535         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26536         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26537
26538 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
26539
26540         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26541
26542 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
26543
26544         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26545         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26546         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26547
26548 2010-05-01  Alan Modra  <amodra@gmail.com>
26549
26550         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26551         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26552         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26553         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26554         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26555         tidying.  Don't tail-call __sigjmp_save for static lib.
26556         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26557         save location.
26558         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26559         (CALL_MCOUNT): Add eh info, and nop after bl.
26560         (TAIL_CALL_SYSCALL_ERROR): New macro.
26561         (PSEUDO_RET): Use it.
26562         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26563         Correct save location of integer regs and cr.
26564         (_dl_profile_resolve): Correct cr save location.  Delete nops
26565         after bl when SHARED.  Reduce cfi size a little by better
26566         placement of cfi directives.
26567         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26568         make a stack frame.  Instead use parm save area as a temp.
26569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26570         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
26571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26572         Don't make a stack frame for parent, use parm save area.
26573         Increase child stack frame to 112 bytes.  Don't save unused reg,
26574         and adjust reg usage.  Set up cfi on error recovery and
26575         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26577         (__makecontext): Add dummy nop after jump to exit.
26578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26579         Use correct parm save area and cr save, reduce stack frame.
26580         Correct cfi for possible PSEUDO_RET frame setup.
26581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26582         Branch to local label emitted by PSEUDO_RET rather than
26583         __syscall_error.
26584
26585 2010-08-12  Andreas Schwab  <schwab@redhat.com>
26586
26587         [BZ #11904]
26588         * locale/programs/locale.c (print_assignment): New function.
26589         (show_locale_vars): Use it.
26590
26591 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
26592
26593         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26594         field.
26595         (struct statfs64): Likewise.
26596         (_STATFS_F_FLAGS): Define.
26597         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26598         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26599         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26600         (ST_VALID): Define locally.
26601         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26602         __statvfs_getflags, use the provided value.
26603         * sysdeps/unix/sysv/linux/kernel-features.h: Define
26604         __ASSUME_STATFS_F_FLAGS.
26605
26606         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26607
26608         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26609         Add sys/fanotify.h.
26610         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26611         fanotify_mask for GLIBC_2.13.
26612         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26613         fanotify_init and fanotify_mark.
26614         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26615         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26616
26617         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26618         Add prlimit.
26619         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26620         prlimit64 for GLIBC_2.13.
26621         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26622         prlimit64.
26623         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26624         syscall.
26625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26626         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26627         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26628         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26629         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
26630         add prlimit alias.
26631         * sysdeps/unix/sysv/linux/prlimit.c: New file.
26632
26633         [BZ #11903]
26634         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26635         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26636
26637         * nss/Makefile: Add rules to build and run tst-nss-test1.
26638         * shlib-versions: Add entry for libnss_test1.
26639         * nss/nss_test1.c: New file.
26640         * nss/tst-nss-test1.c: New file.
26641
26642         * nss/nsswitch.c (__nss_database_custom): Define new variable.
26643         (__nss_configure_lookup): Set appropriate entry in
26644         __nss_configure_lookup to true.
26645         * nss/nsswitch.h: Define enum with indeces of databases in
26646         databases and __nss_database_custom arrays.  Declare
26647         __nss_database_custom.
26648         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26649         to avoid using nscd when custom rules are installed.
26650         * nss/getXXbyYY_r.c: Likewise.
26651         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26652
26653         * nss/nss_files/files-parse.c: Whitespace fixes.
26654
26655 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
26656
26657         [BZ #11883]
26658         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26659         * posix/fnmatch_loop.c: Likewise.
26660
26661 2010-07-17  Andi Kleen  <ak@linux.intel.com>
26662
26663         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26664         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26665         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26666         * Versions.def [GLIBC_2.13]: Add.
26667
26668 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
26669
26670         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26671         Also fail if tpwd after pwuid call is NULL.
26672
26673 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26674
26675         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26676         when converting to ms.
26677
26678 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26679
26680         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26681         EOPNOTSUPP errors with ENOTTY.
26682         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26683         EOPNOTSUPP errors with ENOTTY.
26684
26685 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
26686
26687         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26688         Add strcasecmp_l-ssse3.
26689         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26690         strcasecmp.
26691         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26692         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26693         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26694
26695 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
26696
26697         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26698
26699         * string/Makefile (strop-tests): Add strcasecmp.
26700         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26701         strcasecmp_l-nonascii.
26702         (gen-as-const-headers): Add locale-defines.sym.
26703         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26704         * sysdeps/x86_64/strcasecmp.S: New file.
26705         * sysdeps/x86_64/strcasecmp_l.S: New file.
26706         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26707         * sysdeps/x86_64/locale-defines.sym: New file.
26708         * string/test-strcasecmp.c: New file.
26709
26710         * string/test-strcasestr.c: Test both ends of the range of characters.
26711         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26712
26713 2010-07-29  Roland McGrath  <roland@redhat.com>
26714
26715         [BZ #11856]
26716         * manual/locale.texi (Yes-or-No Questions): Fix example code.
26717
26718 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
26719
26720         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26721         for ld.so.
26722
26723 2010-07-27  Andreas Schwab  <schwab@redhat.com>
26724
26725         * manual/memory.texi (Malloc Tunable Parameters): Document
26726         M_PERTURB.
26727
26728 2010-07-26  Roland McGrath  <roland@redhat.com>
26729
26730         [BZ #11840]
26731         * configure.in (-fgnu89-inline check): Set and substitute
26732         gnu89_inline, not libc_cv_gnu89_inline.
26733         * configure: Regenerated.
26734         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26735
26736 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
26737
26738         * string/test-strnlen.c: New file.
26739         * string/Makefile (strop-tests): Add strnlen.
26740         * string/tester.c (test_strnlen): Add a few more test cases.
26741         * string/tst-strlen.c: Better error reporting.
26742
26743         * sysdeps/x86_64/strnlen.S: New file.
26744
26745 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
26746
26747         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26748         lower-latency instructions.
26749
26750 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
26751
26752         * string/test-strcasestr.c: New file.
26753         * string/test-strstr.c: New file.
26754         * string/Makefile (strop-tests): Add strstr and strcasestr.
26755         * string/str-two-way.h: Don't undefine MAX.
26756         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26757
26758 2010-07-21  Andreas Schwab  <schwab@redhat.com>
26759
26760         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26761         strcasestr-nonascii.
26762         (CFLAGS-strcasestr-nonascii.c): Define.
26763         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26764         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26765         Remove unused attribute.
26766
26767 2010-07-20  Roland McGrath  <roland@redhat.com>
26768
26769         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26770         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
26771         ld.so.cache was broken.  With it, there is no way to disable dsocaps
26772         like LD_HWCAP_MASK can disable hwcaps.
26773
26774 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
26775
26776         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26777
26778 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
26779
26780         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26781         call in strcasestr.
26782         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26783         __strcasestr_sse42_nonascii.
26784         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26785         strcasestr-nonascii.c.
26786         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26787
26788 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
26789
26790         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26791         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26792         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26793         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26794
26795 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
26796
26797         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26798         fcntl.
26799
26800 2010-07-06  Andreas Schwab  <schwab@redhat.com>
26801
26802         [BZ #11577]
26803         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26804         dl_signal_cerror.
26805
26806 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
26807
26808         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26809         _PC_PIPE_BUF using F_GETPIPE_SZ.
26810
26811 2010-07-05  Roland McGrath  <roland@redhat.com>
26812
26813         * manual/arith.texi (Rounding Functions): Fix rint description
26814         implicit in round description.
26815
26816 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
26817
26818         * elf/Makefile: Fix linking for a few tests to make recent linker
26819         happy.
26820
26821 2010-06-30  Andreas Schwab  <schwab@redhat.com>
26822
26823         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26824         $(common-objpfx)libc_nonshared.a.
26825
26826 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
26827
26828         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26829         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26830         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26831         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26832         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26833         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26834         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26835         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26850         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26851         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26852         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26853         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26854         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26855         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26856         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26857         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26858         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26859         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26860         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26861         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26876
26877 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
26878
26879         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26880         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
26881         * string/memmove.c (memmove): Renamed to ...
26882         (MEMMOVE): ...this.  Default to memmove.
26883         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26884         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26885         (END_CHK): Define.
26886         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26887         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26888         mempcpy-ssse3-back memmove-ssse3-back.
26889         * sysdeps/x86_64/multiarch/bcopy.S: New file .
26890         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26891         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26892         * sysdeps/x86_64/multiarch/memcpy.S: New file.
26893         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26894         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26895         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26896         * sysdeps/x86_64/multiarch/memmove.c: New file.
26897         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26898         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26899         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26900         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26901         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26902         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26903         Define.
26904         (index_Fast_Copy_Backward): Define.
26905         (HAS_ARCH_FEATURE): Define.
26906         (HAS_FAST_REP_STRING): Define.
26907         (HAS_FAST_COPY_BACKWARD): Define.
26908
26909 2010-06-21  Andreas Schwab  <schwab@redhat.com>
26910
26911         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26912         Restore proper fallback handling.
26913
26914 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
26915
26916         [BZ #11701]
26917         * posix/group_member.c (__group_member): Correct checking loop.
26918
26919         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26920         OOM in getpwuid_r correctly.  Return error number when the caller
26921         should return, otherwise -1.
26922         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26923         call returning > 0 value.
26924         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26925
26926 2010-06-07  Andreas Schwab  <schwab@redhat.com>
26927
26928         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26929         libc_nonshared.a from targets in modules-names.
26930
26931 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
26932
26933         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26934         requires it.
26935
26936 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
26937
26938         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26939         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26940         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26941         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26942
26943 2010-06-02  Andreas Schwab  <schwab@redhat.com>
26944
26945         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26946
26947 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
26948
26949         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26950         and F_GETPIPE_SZ.
26951         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26952         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26953         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26954         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26955         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26956         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26957
26958 2010-06-14  Roland McGrath  <roland@redhat.com>
26959
26960         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26961
26962 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
26963
26964         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26965         __REDIRECT followed by __THROW.
26966         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26967         * posix/getopt.h (getopt): Likewise.
26968
26969 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
26970
26971         * hurd/lookup-at.c (__file_name_lookup_at): Accept
26972         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
26973         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26974         in AT_FLAGS.
26975         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26976         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26977
26978 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
26979
26980         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26981
26982 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
26983
26984         [BZ #11640]
26985         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26986         Properly check family and model.
26987
26988 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
26989
26990         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26991
26992 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
26993
26994         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26995
26996 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
26997
26998         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26999         symbol reference.
27000
27001 2010-05-19  Andreas Schwab  <schwab@redhat.com>
27002
27003         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27004         symbol reference.
27005
27006 2010-05-21  Andreas Schwab  <schwab@redhat.com>
27007
27008         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27009         and internal_recvmmsg.
27010         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27011         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27012         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27013         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27014
27015         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27016         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27017         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27018
27019 2010-05-20  Andreas Schwab  <schwab@redhat.com>
27020
27021         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27022
27023 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
27024
27025         POWER7 optimizations.
27026         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27027         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27028
27029 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
27030
27031         * version.h: Update for 2.13 development version.
27032
27033 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
27034
27035         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27036         exceptions.  Return 0.
27037
27038 2010-05-07  Roland McGrath  <roland@redhat.com>
27039
27040         * elf/ldconfig.c (main): Add a const.
27041
27042 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
27043
27044         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27045         (args_options): Add no-idn option.
27046         (ahosts_keys_int): Add idn_flags to ai_flags.
27047         (parse_option): Handle 'i' option to clear idn_flags.
27048
27049         * malloc/malloc.c (_int_free): Possible race in the most recently
27050         added check.  Only act on the data if no current modification
27051         happened.
27052
27053 See ChangeLog.17 for earlier changes.