Move abilist files into sysdep dirs.
[platform/upstream/glibc.git] / ChangeLog
1 2012-04-28  David S. Miller  <davem@davemloft.net>
2
3         * Makerules (%.abilist): Add vpath on sysdep_dirs.
4         (check-abi-%): Remove AWK script prerequisite and explicit
5         abilist directory.
6         (check-abi): Rewrite to just diff the symlist with the abilist.
7         (config-tls, config-abi-config): Delete, no longer used.
8         (update-abi-%): Remove AWK script and explicit abilist directory.
9         (update-abi): Rewrite to simply compare and conditionally copy the
10         symlist and the sysdep abilist file.  Remove update-abi-config
11         checks.
12         * abilist/ld.abilist: Remove.
13         * abilist/libBrokenLocale.abilist: Remove.
14         * abilist/libanl.abilist: Remove.
15         * abilist/libcrypt.abilist: Remove.
16         * abilist/libdl.abilist: Remove.
17         * abilist/librt.abilist: Remove.
18         * abilist/libthread_db.abilist: Remove.
19         * abilist/libutil.abilist: Remove.
20         * scripts/extract-abilist.awk: Remove.
21         * scripts/merge-abilist.awk: Remove.
22         * sysdeps/generic/libcidn.abilist: New file.
23         * sysdeps/generic/libnss_compat.abilist: New file.
24         * sysdeps/generic/libnss_db.abilist: New file.
25         * sysdeps/generic/libnss_dns.abilist: New file.
26         * sysdeps/generic/libnss_files.abilist: New file.
27         * sysdeps/generic/libnss_hesiod.abilist: New file.
28         * sysdeps/generic/libnss_nis.abilist: New file.
29         * sysdeps/generic/libnss_nisplus.abilist: New file.
30         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33         file.
34         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43         file.
44         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
46         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
47         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
48         file.
49         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
50         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
51         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
52         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
53         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
54         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
55         file.
56         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
57         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
58         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
59         file.
60         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
61         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
62         New file.
63         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
64         New file.
65         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
66         New file.
67         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
68         New file.
69         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
70         New file.
71         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
72         New file.
73         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
74         New file.
75         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
76         New file.
77         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
78         New file.
79         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
80         New file.
81         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
82         New file.
83         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
84         New file.
85         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
86         New file.
87         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
88         file.
89         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
90         New file.
91         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
92         New file.
93         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
94         file.
95         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
96         New file.
97         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
98         New file.
99         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
100         file.
101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
102         New file.
103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
104         New file.
105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
106         New file.
107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
108         New file.
109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
110         New file.
111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
112         New file.
113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
115         file.
116         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
117         New file.
118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
119         file.
120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
121         file.
122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
123         file.
124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
125         file.
126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
127         file.
128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
129         New file.
130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
131         file.
132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
133         file.
134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
135         New file.
136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
137         file.
138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
140         file.
141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
142         New file.
143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
144         file.
145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
146         file.
147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
148         file.
149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
150         file.
151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
152         file.
153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
154         New file.
155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
156         file.
157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
158         file.
159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
160         New file.
161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
162         file.
163         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
164         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
165         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
166         file.
167         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
168         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
169         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
170         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
171         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
172         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
173         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
174         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
175         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
176         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
178         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
179         file.
180         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
181         New file.
182         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
183         file.
184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
185         file.
186         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
187         file.
188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
189         file.
190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
191         file.
192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
193         New file.
194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
195         New file.
196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
197         file.
198         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
199         New file.
200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
201         file.
202         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
203         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
204         file.
205         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
206         New file.
207         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
208         file.
209         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
210         file.
211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
212         file.
213         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
214         file.
215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
216         file.
217         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
218         New file.
219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
220         New file.
221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
222         file.
223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
224         New file.
225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
226         file.
227
228 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
229
230         * conform/conformtest.pl: Fix typo in handling typed-constant from
231         allow-header.
232
233 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
234
235         * README: Cut down references to pre-2.6 Linux kernels and
236         Linuxthreads.  Update lists of configurations in libc and ports
237         and sort alphabetically.  Say "or newer" with Linux kernel version
238         requirements.
239
240         * config.h.in [IS_IN_build]: Allow compiling without optimization.
241
242 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
243
244         [BZ #887]
245         * math/libm-test.inc (logb_test_downward): New test to expose
246         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
247         rounding mode.
248
249 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
250
251         [BZ #14027]
252         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
253         to be done.
254         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
255         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
256
257 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
258
259         * sysdeps/unix/i386/brk.S: Remove file.
260         * sysdeps/unix/i386/dl-brk.S: Likewise.
261         * sysdeps/unix/i386/pipe.S: Likewise.
262         * sysdeps/unix/i386/sigreturn.S: Likewise.
263         * sysdeps/unix/i386/syscall.S: Likewise.
264         * sysdeps/unix/i386/vfork.S: Likewise.
265         * sysdeps/unix/i386/wait.S: Likewise.
266
267         * sysdeps/unix/common/tcsendbrk.c: Move to ...
268         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
269
270         * configure.in (arm*-none*): Do not allow without
271         --enable-hacker-mode.
272         (netbsd*): Remove case setting base_os.
273         (386bsd*): Likewise.
274         (freebsd*): Likewise.
275         (bsdi*): Likewise.
276         (osf*): Likewise.
277         (sunos*): Likewise.
278         (ultrix*): Likewise.
279         (newsos*): Likewise.
280         (dynix*): Likewise.
281         (*bsd*): Likewise.
282         (sysv*): Likewise.
283         (isc*): Likewise.
284         (esix*): Likewise.
285         (sco*): Likewise.
286         (minix*): Likewise.
287         (irix4*): Likewise.
288         (irix6*): Likewise.
289         (solaris[2-9]*): Likewise.
290         (none): Likewise.
291         * configure: Regenerated.
292
293 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
294
295         [BZ #11521]
296         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
297         overflow or cancellation in calculating denominator.
298         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
299         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
300         down expression to avoid unexpected rounding in newer GCCs.
301         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
302
303 2012-04-26  David S. Miller  <davem@davemloft.net>
304
305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
306         long-double compat symbols.
307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
314         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
315         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
320
321 2012-04-25  David S. Miller  <davem@davemloft.net>
322
323         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
324         HWCAP_* values only after the memory barriers have been defined.
325         (atomic_full_barrier): Define.
326         (atomic_read_barrier): Define.
327         (atomic_write_barrier): Define.
328
329 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
330
331         * shlib-versions: Add libgcc_s version information.
332         * sysdeps/generic/libgcc_s.h: Remove.
333         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
334         libgcc_s.h.
335         * sysdeps/gnu/unwind-resume.c: Likewise.
336         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
337
338 2012-04-25  David S. Miller  <davem@davemloft.net>
339
340         * sysdeps/unix/sparc/brk.S: Delete.
341         * sysdeps/unix/sparc/dl-brk.S: Delete.
342         * sysdeps/unix/sparc/pipe.S: Delete.
343         * sysdeps/unix/sparc/sysdep.S: Delete.
344         * sysdeps/unix/sparc/sysdep.h: Delete.
345         * sysdeps/unix/sparc/vfork.S: Delete.
346         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
347         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
348         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
349         ret_ERRVAL, r0, r1, MOVE): Define.
350         (JUMPTARGET): Remove.
351         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
352         sysdeps/unix/sparc/sysdep.h
353         (ENTRY, END): Remove.
354         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
355
356 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
357
358         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
359         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
360         -DIS_IN_build.
361
362         * timezone/README: Update upstream location and email address for
363         tzcode and tzdata.
364         * timezone/zdump.c: Update from tzcode 2012b.
365         * timezone/zic.c: Likewise.
366
367         * configure.in (libc_cv_as_needed): Remove test.
368         * configure: Regenerated.
369         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
370         conditional definition.
371         [$(have-as-needed) != yes] (no-as-needed): Likewise.
372         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
373         * config.make.in (have-as-needed): Remove variable.
374
375 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
376             Paul Pluzhnikov  <ppluzhnikov@google.com>
377
378         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
379         strings correctly.
380
381 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
382
383         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
384         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
385         * sysdeps/sh/strlen.S: Likewise.
386
387 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
388
389         * sysdeps/unix/fork.S: Remove file.
390         * sysdeps/unix/i386/fork.S: Likewise.
391         * sysdeps/unix/sparc/fork.S: Likewise.
392
393         * sysdeps/unix/system.c: Remove file.
394         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
395
396         * sysdeps/unix/getegid.S: Remove file.
397         * sysdeps/unix/geteuid.S: Likewise.
398
399 2012-04-24  Roland McGrath  <roland@hack.frob.com>
400
401         * scripts/check-localplt.awk: New file.
402         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
403         of diff.
404         * scripts/data/localplt-generic.data: Add a comment.
405
406         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
407         NODE when __dir_mkfile failed.
408         * sysdeps/mach/hurd/symlinkat.c: Likewise.
409         Reported by Ludovic Courtès <ludo@gnu.org>.
410
411 2012-04-24  Andreas Jaeger  <aj@suse.de>
412
413         * Makerules (common-clean): Also remove gen-as-const-headers
414         files.
415
416 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
417
418         * Makerules (native-compile): Do not change working directory for
419         build.  Use $(OUTPUT_OPTION) in command.
420         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
421
422 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
423
424         [BZ #13886]
425         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
426         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
427         * math/libm-test.inc (floor_test): Add more tests.
428         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
429
430 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
431
432         * sysdeps/unix/getdents.c: Remove file.
433         * sysdeps/unix/sysv/getdents.c: Likewise.
434         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
435
436         * sysdeps/unix/syscalls.list (madvise): Add syscall from
437         sysdeps/unix/mman/syscalls.list.
438         (mmap): Likewise.
439         (mprotect): Likewise.
440         (msync): Likewise.
441         (munmap): Likewise.
442         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
443         * sysdeps/unix/mman/syscalls.list: Remove.
444         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
445
446         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
447         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
448         * configure: Regenerated.
449         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
450         $(libgcc_s_suffix).
451         * config.make.in (libgcc_s_suffix): Remove variable.
452
453 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
454
455         * sysdeps/unix/sysv/gethostname.c: Move to ...
456         * sysdeps/posix/gethostname.c: ... here.
457
458         * sysdeps/unix/execve.S: Remove file.
459
460         * sysdeps/unix/_exit.S: Remove file.
461
462 2012-04-23  Andreas Jaeger  <aj@suse.de>
463
464         [BZ #13739]
465         * manual/Makefile: Remove make dist support, there's no
466         need for a stand-alone documentation tar ball.
467         (TEXI2DVI): Define always, it's not in Makeconfig.
468         (dist): Removed.
469         (tar-it): Removed.
470         (edition): Removed.
471         (glibc-doc-$(edition).tar): Removed
472         (%.Z): Removed.
473         (%.gz): Removed.
474         (%.uu): Removed.
475         (ETAGS): Remove, it's in Makeconfig.
476         (move-if-change): Remove, it's in Makeconfig.
477
478 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
479
480         [BZ #13970]
481         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
482         (strtod, strtof, strtold, strtol, strtoul, strtoq)
483         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
484         (strtod_l, strtof_l, strtold_l): Remove __wur.
485         It is not necessarily an error to ignore strtol's return value.
486         One can reliably look at the stored endptr to decide whether
487         the number had valid syntax.
488
489 2012-04-21  Andreas Jaeger  <aj@suse.de>
490
491         [BZ #13739]
492         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
493
494 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
495
496         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
497         * sysdeps/unix/sysv/Versions: Remove file.
498
499 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
500
501         [BZ #13927]
502         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
503
504 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
505
506         [BZ #7064]
507         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
508         version from __vm86.
509
510 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
511
512         * sysdeps/unix/common/lxstat.c: Remove file.
513         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
514
515         * sysdeps/unix/sysv/Makefile: Remove file.
516
517         * sysdeps/unix/sysv/direct.h: Remove file.
518
519         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
520         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
521         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
522         * sysdeps/unix/sysv/bits/signum.h: Likewise.
523         * sysdeps/unix/sysv/bits/stat.h: Likewise.
524         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
525         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
526
527         * sysdeps/unix/sysv/setrlimit.c: Remove file.
528
529         * sysdeps/unix/xmknod.c: Remove file.
530         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
531
532         * sysdeps/unix/sysv/settimeofday.c: Remove file.
533
534         * sysdeps/unix/sysv/i386/time.S: Remove file.
535
536         * sysdeps/unix/fxstat.c: Remove file.
537         * sysdeps/unix/xstat.c: Likewise.
538         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
539
540         * sysdeps/unix/sysv/sigaction.c: Remove file.
541
542         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
543         (sysdep_headers): Remove variable.
544         [termio.h not in sysdep_headers] (generated): Likewise.
545         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
546         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
547         * sysdeps/unix/sysv/tcdrain.c: Likewise.
548         * sysdeps/unix/sysv/tcflow.c: Likewise.
549         * sysdeps/unix/sysv/tcflush.c: Likewise.
550         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
551         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
552         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
553         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
554         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
555
556         * sysdeps/unix/siglist.c: Remove file.
557
558         * sysdeps/unix/getppid.S: Remove file.
559
560         * sysdeps/unix/mkdir.c: Remove file.
561         * sysdeps/unix/rmdir.c: Likewise.
562
563 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
564
565         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
566         ERR_MAX value.
567         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
568         errlist-compat value.
569
570 2012-04-18  David S. Miller  <davem@davemloft.net>
571
572         * sysdeps/generic/memcopy.h (reg_char): Delete.
573         * debug/strcat_chk.c: Use char, not reg_char.
574         * debug/strcpy_chk.c: Likewise.
575         * debug/strncat_chk.c: Likewise.
576         * debug/strncpy_chk.c: Likewise.
577         * string/memchr.c: Likewise.
578         * string/memrchr.c: Likewise.
579         * string/rawmemchr.c: Likewise.
580         * string/strcat.c: Likewise.
581         * string/strchr.c: Likewise.
582         * string/strchrnul.c: Likewise.
583         * string/strcmp.c: Likewise.
584         * string/strcpy.c: Likewise.
585         * string/strncat.c: Likewise.
586         * string/strncmp.c: Likewise.
587         * string/strncpy.c: Likewise.
588
589 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
590
591         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
592         __builtin_memcopy is called when src and dest ranges are known to not
593         overlap.
594
595 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
596
597         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
598         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
599         fwd_align_merge macro call.
600         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
601         bwd_align_merge macro call.
602         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
603
604 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
605
606         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
607         bwd_align_merge macros.
608         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
609         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
610         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
611
612 2012-04-18  David S. Miller  <davem@davemloft.net>
613
614         * sysdeps/sparc/sparc64/memcopy.h: Delete.
615
616 2012-04-18  Andreas Jaeger  <aj@suse.de>
617
618         [BZ# 6794]
619         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
620         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
621         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
622
623         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
624         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
625         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
626
627         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
628         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
629         Adjust for changed ldbl-128 files.
630
631         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
632         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
633         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
634
635 2012-04-17  David S. Miller  <davem@davemloft.net>
636
637         * sysdeps/sparc/sparc32/memcopy.h: Delete.
638
639 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
640
641         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
642         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
643         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
644         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
645         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
646         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
647
648 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
649
650         [BZ #6794]
651         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
652         * math/libm-test.inc: Add ilogb errno and exception tests.
653         * math/w_ilogb.c: New file: ilogb wrapper.
654         * math/w_ilogbf.c: New file: ilogbf wrapper.
655         * math/w_ilogbl.c: New file: ilogbl wrapper.
656         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
657         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
658         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
659         exception being thrown with 0.0 as argument.
660         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
661         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
662         exception being thrown with 0.0 as argument.
663         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
664         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
665         exception being thrown with 0.0 as argument.
666         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
667         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
668         exception being thrown with 0.0 as argument.
669         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
670         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
671         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
672         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
673         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
674         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
675         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
676         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
677         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
678
679 2012-04-17  Petr Baudis  <pasky@ucw.cz>
680
681         * include/sys/uio.h: Change __vector to __iovec to avoid clash
682         with altivec.
683
684 2012-04-16  Marek Polacek  <polacek@redhat.com>
685
686         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
687
688 2012-04-16  Marek Polacek  <polacek@redhat.com>
689
690         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
691         operands of fdivp instruction.
692
693 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
694
695         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
696         * elf/tst-auditmod3b.c: Likewise.
697         * elf/tst-auditmod4b.c: Likewise.
698         * elf/tst-auditmod5b.c: Likewise.
699         * elf/tst-auditmod6b.c: Likewise.
700         * elf/tst-auditmod6c.c: Likewise.
701         * elf/tst-auditmod7b.c: Likewise.
702         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
703         * sysdeps/x86_64/preconfigure.in: Likewise.
704         * sysdeps/x86_64/preconfigure: Regenerated.
705
706 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
707
708         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
709         __ILP32__.
710
711 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
712
713         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
714         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
715
716 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
717
718         [BZ #13973]
719         * locale/iso-639.def: Fix gl language name. Spotted by
720         Yaron Shahrabani.
721
722 2012-04-12  Roland McGrath  <roland@hack.frob.com>
723
724         [BZ #2074]
725         * libio/libio.h (__io_write_fn): Update comment.
726
727 2012-04-12  Petr Baudis  <pasky@ucw.cz>
728
729         [BZ #2074]
730         * stdio.texi (Hook Functions): The user provided writer function
731         is not allowed to return -1.
732
733 2012-04-11  David S. Miller  <davem@davemloft.net>
734
735         * sysdeps/sparc/fpu/libm-test-ulps: Update.
736
737 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
738
739         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
740         Add a leading slash to rtkaio.
741
742 2012-04-11  Jim Meyering  <meyering@redhat.com>
743
744         [BZ #11959]
745         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
746         It is not necessarily an error to ignore fwrite's return
747         value.  One can reliably use ferror to test for errors after
748         the fact.
749
750 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
751
752         * bits/types.h (__snseconds_t): New type.
753         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
754
755         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
756         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
757         (__SNSECONDS_T_TYPE): Likewise.
758         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
759         (__SNSECONDS_T_TYPE): Likewise.
760         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
761         (__SNSECONDS_T_TYPE): Likewise.
762
763 2012-04-10  Andreas Jaeger  <aj@suse.de>
764
765         [BZ #2636]
766         * manual/time.texi (Processor Time): Return type of times is
767         elapsed real time since an arbitrary point in the past.
768         (CPU Time): Move CLK_TCK from here...
769         (Processor Time): ...to here.  Correct description.
770         * manual/conf.texi (Constants for Sysconf): Correct description of
771         _SC_CLK_TCK.
772
773 2012-04-10  David S. Miller  <davem@davemloft.net>
774
775         [BZ #13967]
776         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
777         where the is a gap between DT_REL(A) and DT_JMPREL.
778
779 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
780
781         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
782         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
783         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
784
785 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
786
787         * elf/dl-support.c (_dl_inhibit_cache): New variable.
788         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
789         (dl_main): Handle --inhibit-cache.
790         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
791         _dl_inhibit_cache.
792         * elf/dl-load.c (_dl_map_object): Use it.
793         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
794
795 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
796
797         [BZ #13872]
798         * sysdeps/i386/fpu/e_powl.S (p78): New object.
799         (__ieee754_powl): Saturate large exponents rather than testing for
800         overflow of y*log2(x).
801         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
802         * math/libm-test.inc (pow_test): Do not permit spurious overflow
803         exceptions.
804
805         [BZ #11521]
806         * math/s_ctan.c: Include <float.h>.
807         (__ctan): Avoid internal overflow or cancellation in calculating
808         denominator.
809         * math/s_ctanf.c: Likewise.
810         * math/s_ctanl.c: Likewise.
811         * math/s_ctanh.c: Likewise.
812         * math/s_ctanhf.c: Likewise.
813         * math/s_ctanhl.c: Likewise.
814         * math/libm-test.inc (ctan_test): Add more tests.
815         (ctanh_test): Likewise.
816         * sysdeps/i386/fpu/libm-test-ulps: Update.
817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
818
819 2012-04-09  Andreas Jaeger  <aj@suse.de>
820
821         [BZ #6894]
822         * manual/filesys.texi (Directory Entries): Mention that d_namlen
823         is an optional BSD extension.
824
825         [BZ #10254]
826         * manual/stdio.texi (Opening Streams): Document additional fopen
827         parameters.
828
829 2012-04-09  Roland McGrath  <roland@hack.frob.com>
830
831         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
832         %eax without telling the compiler.
833
834 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
835
836         [BZ # 13963]
837         * manual/install.texi: Use sourceware.org.
838
839 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
840
841         [BZ #13873]
842         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
843         (__ieee754_pow): Generate overflow and underflow using huge*huge
844         and tiny*tiny rather than just returning constant infinity or zero
845         for large exponents.
846         * math/libm-test.inc (pow_test): Require overflow exceptions for
847         applicable cases of large exponents.
848
849         [BZ #706]
850         * sysdeps/i386/fpu/e_pow.S (p10): New object.
851         (__ieee754_pow): Use iterative multiplication algorithm only for
852         integer exponents with absolute value below 1024.  Check for odd
853         integer exponents when using algorithm for real exponents.
854         * math/libm-test.inc (pow_test): Add more tests.
855         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
856
857 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
858
859         [BZ #13705]
860         * math/libm-test.inc (exp_test): Do not allow overflow exception
861         on underflow test.
862
863 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
864
865         [BZ #13705]
866         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
867         instead of __kernel_standard_f.
868
869 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
870
871         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
872         * sysdeps/x86_64/memset_chk.S: Likewise.
873
874 2012-04-08  Andreas Jaeger  <aj@suse.de>
875
876         [BZ #10153]
877         * manual/startup.texi (Environment Access): Describe return value
878         for putenv and setenv.
879
880         [BZ #6895]
881         * manual/filesys.texi (Directory Entries): Add description for
882         DT_LNK.
883
884         [BZ #6890]
885         * manual/filesys.texi (Directory Entries): Clarify that it's file
886         system not operating system in the description of DT_UNKNOWN.
887
888         [BZ #6578]
889         * manual/syslog.texi (closelog): Fix reference, it's openlog.
890
891 2012-04-08  Stephen Compall  <s11@member.fsf.org>
892
893         [BZ #6649]
894         * manual/llio.texi (Opening and Closing Files): Add cross
895         reference to explain mode argument.
896
897 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
898
899         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
900         * sysdeps/x86_64/memset_chk.S: Likewise.
901
902 2012-04-07  David S. Miller  <davem@davemloft.net>
903
904         * elf/elf.h (R_SPARC_WDISP10): Define.
905         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
906         R_SPARC_SIZE32.
907         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
908         R_SPARC_SIZE64 and R_SPARC_H34.
909
910 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
911
912         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
913         conditions and remove no longer applicable assertion.
914
915 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
916
917         * bits/byteswap.h: Include <features.h>.
918         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
919         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
920
921 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
922
923         * bits/byteswap.h (__bswap_16): Removed.
924         Include <bits/byteswap-16.h> to get __bswap_16.
925         * sysdeps/i386/bits/byteswap.h: Likewise.
926         * sysdeps/s390/bits/byteswap.h: Likewise.
927         * sysdeps/x86_64/bits/byteswap.h: Likewise.
928         * bits/byteswap-16.h: New file.
929         * sysdeps/i386/bits/byteswap-16.h: Likewise.
930         * sysdeps/s390/bits/byteswap-16.h: Likewise.
931         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
932         * string/Makefile (headers): Add bits/byteswap-16.h.
933
934 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
935
936         [BZ #13895]
937         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
938         extra indirection.
939         * nss/Makefile (tests-static, tests): Add tst-nss-static.
940         * nss/tst-nss-static.c: New.
941
942 2012-04-06  Robert Millan  <rmh@gnu.org>
943
944         [BZ #6486]
945         * manual/llio.texi (File Position Primitive): lseek
946         refers to WHENCE when it really means OFFSET.
947
948 2012-04-06  Andreas Jaeger  <aj@suse.de>
949
950         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
951         strncmp declarations.
952
953         * abilist/libc.abilist: Add __poll and __ppoll.
954
955 2012-04-05  David S. Miller  <davem@davemloft.net>
956
957         * scripts/check-local-headers.sh: Accept a host triplet in the
958         path matched by the exclude regexp.
959
960         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
961         definition.
962         * sysdeps/powerpc/powerpc32/dl-machine.h
963         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
964         * sysdeps/s390/s390-32/dl-machine.h
965         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
966         * sysdeps/sparc/sparc32/dl-machine.h
967         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
968         * sysdeps/sparc/sparc64/dl-machine.h
969         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
970
971         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
972         lazy binding.
973         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
974         undefined symbol errors.
975
976         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
977         DT_NEEDED entries.
978
979 2012-04-05  Michael Matz  <matz@suse.de>
980
981         [BZ #13592]
982         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
983
984 2012-04-05  Andreas Jaeger  <aj@suse.de>
985
986         [BZ #13908]
987         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
988         comment.
989
990 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
991
992         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
993         which ROUND is no valid rounding mode.
994
995 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
996
997         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
998         read again.
999         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1000
1001 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1002
1003         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1004         an exception using FPU order intentionally.
1005
1006 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1007
1008         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1009         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1010         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1011         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1012
1013 2012-04-05  Simon Josefsson  <simon@josefsson.org>
1014
1015         [BZ #12340]
1016         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1017         EINVAL when BUFLEN is too smal.
1018
1019 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
1020
1021         [BZ #13553]
1022         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1023         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1024
1025 2012-04-03  Andreas Jaeger  <aj@suse.de>
1026
1027         [BZ #13938]
1028         * manual/setjmp.texi (System V contexts): Fix sentence.
1029
1030         [BZ #13926]
1031         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1032         New macro for this case.
1033         [!__GNUC__] (__bswap_64): New inline function for this case.
1034         * sysdeps/x86_64/bits/byteswap.h: Likewise.
1035         * bits/byteswap.h: Likewise.
1036         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1037         ull, guard with __GLIBC_HAVE_LONG_LONG.
1038
1039         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1040         __GLIBC_HAVE_LONG_LONG.
1041
1042         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1043         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1044
1045 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1046
1047         [BZ #13691]
1048         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1049         inptr and inend, rather than using last_ch.
1050
1051 2012-04-02  David S. Miller  <davem@davemloft.net>
1052
1053         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1054         * stdio-common/printf-parse.h (read_int): Change return type to
1055         'int', return -1 on INT_MAX overflow.
1056         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1057         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
1058         overflows INT_MAX.  Check for overflow of in-format-string precision
1059         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
1060         SIZE_MAX not INT_MAX for integer overflow test.
1061         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1062         skip the construct in the format string but do not record anything.
1063         * stdio-common/bug22.c: Adjust to test both width/prevision
1064         INT_MAX overflow as well as total length INT_MAX overflow.  Check
1065         explicitly for proper errno values.
1066
1067 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
1068
1069         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1070         CHAR_MAX.
1071         * string/test-strcmp.c [! WIDE]: Likewise.
1072         * time/tst-mktime2.c: Likewise for INT_MAX.
1073         * string/test-string.h: #include <sys/param.h> for MIN.
1074
1075         * csu/init-first.c (__libc_init_first): Call __ctype_init.
1076         * sysdeps/i386/init-first.c (init): Likewise.
1077         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1078         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1079         * sysdeps/sh/init-first.c (init): Likewise.
1080
1081 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
1082
1083         * po/ru.po: Update from translation team.
1084         * po/vi.po: Likewise.
1085
1086 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1087
1088         * resolv/nss_dns/dns-host.c: Merge copyright years.
1089
1090 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1091
1092         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1093         Optimize memcpy with prefetch if
1094         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
1095         src, dst pointers have unequal 16 byte alignments.
1096
1097 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1098
1099         [BZ #13928]
1100         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1101         from a CNAME entry and return the minimum ttl for the query.
1102         (gaih_getanswer_slice): Likewise.
1103
1104 2012-03-30  Jeff Law  <law@redhat.com>
1105
1106         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1107         due to long keys.
1108         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1109         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1110
1111         * resolv/nss_dns/dns-host.c: Update copyright year.
1112
1113 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
1114
1115         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
1116         requests to save a system call.  Fix check that all bytes are sent.
1117
1118         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1119         comments for sendmmsg.
1120
1121 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1122
1123         [BZ #13691]
1124         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1125         with only 1 character between 0x0041 and 0x01b0.
1126         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1127         * wcsmbs/tst-mbsnrtowcs.c: New file.
1128
1129 2012-03-29  David S. Miller  <davem@davemloft.net>
1130
1131         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1132         small copies by hand.
1133
1134 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1135
1136         [BZ #13761]
1137         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1138         _nss_compat_initgroups_dyn): Fall back to malloc/free
1139         for large group memberships.
1140
1141 2012-03-28  David S. Miller  <davem@davemloft.net>
1142
1143         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1144         that branches into memcpy.
1145         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1146         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1147         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1148         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1149         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1150         bits.
1151         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1152         implementation too.
1153         * sysdeps/sparc/mempcpy.S: New file.
1154
1155         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1156         the IFUNC routine in the libc case.
1157         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1158
1159         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1160         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1161         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1162         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1163         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1164         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1165         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1166         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1167
1168         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1169         loop to 256 bytes instead of 64 bytes and fix test signedness.
1170
1171         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1172         * sysdeps/sparc/sparc32/Makefile: rather than here...
1173         * sysdeps/sparc/sparc64/Makefile: and here.
1174
1175 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
1176
1177         * malloc/mallocbug.c: Avoid warnings about unused variables.
1178
1179 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1180
1181         [BZ #13760]
1182         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1183         in the right place. Discard and retry query if response is
1184         larger than input buffer size.
1185
1186 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
1187
1188         [BZ #369]
1189         [BZ #2678]
1190         [BZ #3866]
1191         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1192         x for large integer exponent.
1193         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1194         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
1195         sign of result as needed afterwards.
1196         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1197         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1198         result for underflowing pow the same as for overflow.
1199         (__kernel_standard_l): Handle powl overflow and underflow here
1200         rather than calling __kernel_standard.
1201         * math/libm-test.inc (pow_test): Add more tests.
1202
1203         [BZ #3868]
1204         [BZ #13879]
1205         [BZ #13910]
1206         [BZ #13911]
1207         [BZ #13912]
1208         [BZ #13913]
1209         [BZ #13915]
1210         [BZ #13916]
1211         [BZ #13917]
1212         [BZ #13918]
1213         [BZ #13919]
1214         [BZ #13920]
1215         [BZ #13921]
1216         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1217         * sysdeps/ieee754/k_standard.c: Include <float.h>.
1218         (__kernel_standard_l): New function.
1219         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1220         __kernel_standard.
1221         * math/w_acosl.c (__acosl): Likewise.
1222         * math/w_asinl.c (__asinl): Likewise.
1223         * math/w_atan2l.c (__atan2l): Likewise.
1224         * math/w_atanhl.c (__atanhl): Likewise.
1225         * math/w_coshl.c (__coshl): Likewise.
1226         * math/w_exp10l.c (__exp10l): Likewise.
1227         * math/w_exp2l.c (__exp2l): Likewise.
1228         * math/w_fmodl.c (__fmodl): Likewise.
1229         * math/w_hypotl.c (__hypotl): Likewise.
1230         * math/w_j0l.c (__j0l, __y0l): Likewise.
1231         * math/w_j1l.c (__j1l, __y1l): Likewise.
1232         * math/w_jnl.c (__jnl, __ynl): Likewise.
1233         * math/w_lgammal.c (__lgammal): Likewise.
1234         * math/w_log10l.c (__log10l): Likewise.
1235         * math/w_log2l.c (__log2l): Likewise.
1236         * math/w_logl.c (__logl): Likewise.
1237         * math/w_powl.c (__powl): Likewise.
1238         * math/w_remainderl.c (__remainderl): Likewise.
1239         * math/w_scalbl.c (sysv_scalbl): Likewise.
1240         * math/w_sinhl.c (__sinhl): Likewise.
1241         * math/w_sqrtl.c (__sqrtl): Likewise.
1242         * math/w_tgammal.c (__tgammal): Likewise.
1243         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1244         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1245         * math/libm-test.inc (acos_test): Add more tests.
1246         (acosh_test): Likewise.
1247         (asin_test): Likewise.
1248         (atanh_test): Likewise.
1249         (exp_test): Likewise.
1250         (exp10_test): Likewise.
1251         (exp2_test): Likewise.
1252         (expm1_test): Likewise.
1253         (lgamma_test): Likewise.
1254         (log_test): Likewise.
1255         (log10_test): Likewise.
1256         (log1p_test): Likewise.
1257         (log2_test): Likewise.
1258         (pow_test): Do not allow some spurious overflow exceptions.
1259         (sqrt_test): Add more tests.
1260         (tgamma_test): Likewise.
1261         (y0_test): Likewise.
1262         (y1_test): Likewise.
1263         (yn_test): Likewise.
1264
1265 2012-03-27  Anton Blanchard  <anton@samba.org>
1266
1267         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1268         MAP_HUGETLB.
1269         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1270         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1271         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1272
1273 2012-03-27  David S. Miller  <davem@davemloft.net>
1274
1275         * conform/Makefile: Run run-conformtest.sh using $(BASH).
1276
1277         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1278         have-as-vis3 check.
1279
1280 2012-03-27  Andreas Jaeger  <aj@suse.de>
1281
1282         * sysdeps/x86_64/elf/configure.in: Moved to ...
1283         * sysdeps/x86_64/configure.in: ... here.
1284         * sysdeps/x86_64/elf/start.S: Moved to ...
1285         * sysdeps/x86_64/start.S: ... here.
1286         * sysdeps/x86_64/elf/configure: Delete.
1287
1288         * sysdeps/x86_64/configure.in: Merge contents from
1289         sysdeps/i386/configure.in (without i686 check).
1290
1291         * sysdeps/i386/elf/Versions: Merge into ...
1292         * sysdeps/i386/Versions: ... this.
1293         * sysdeps/i386/elf/Versions: Delete file.
1294         * sysdeps/i386/elf/start.S: Moved to ...
1295         * sysdeps/i386/start.S: ...here.
1296         * sysdeps/i386/elf/configure.in: Merge into...
1297         * sysdeps/i386/configure.in: ...here.
1298         * sysdeps/i386/elf/configure.in: Delete file.
1299         * sysdeps/i386/elf/configure: Delete file.
1300
1301         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1302         * debug/backtracesyms.c: ... here.
1303         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1304         * debug/backtracesymsfd.c: ... here.
1305         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1306         * sysdeps/generic/ifunc-sel.h: ... here.
1307
1308         * sysdeps/unix/i386/start.c: Delete file.
1309         * sysdeps/unix/sparc/start.c: Delete file.
1310         * sysdeps/unix/start.c: Delete file.
1311
1312         * sysdeps/sh/elf/configure.in: Moved to ...
1313         * sysdeps/sh/configure.in: ... here.
1314         * sysdeps/sh/elf/start.S: Moved to ...
1315         * sysdeps/sh/start.S: ... here.
1316         * sysdeps/sh/elf/configure: Delete file.
1317
1318         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1319         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1320         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1321         * sysdeps/powerpc/powerpc64/entry.h: ... here.
1322         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1323         * sysdeps/powerpc/powerpc64/start.S: here.
1324         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1325         * sysdeps/powerpc/powerpc64/Makefile: ... this.
1326         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1327         * sysdeps/powerpc/powerpc64/configure.in: ... this.
1328         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1329
1330         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1331         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1332         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1333         * sysdeps/powerpc/powerpc32/start.S: ... here.
1334         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1335         * sysdeps/powerpc/powerpc32/configure.in: ... this.
1336         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1337
1338         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1339         * sysdeps/powerpc/ifunc-sel.h: ... here.
1340         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1341         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1342
1343         * sysdeps/sparc/elf/configure.in: Moved to ...
1344         * sysdeps/sparc/configure.in: ... here.
1345         * sysdeps/sparc/elf/configure: Delete file.
1346         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1347         * sysdeps/sparc/sparc32/start.S: ... here.
1348         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1349         * sysdeps/sparc/sparc64/start.S: ... here.
1350         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1351         * sysdeps/sparc/sparc32/Makefile: ... this.
1352         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1353         * sysdeps/sparc/sparc64/Makefile: ... this.
1354
1355         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1356         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1357         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1358         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1359         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1360         * sysdeps/s390/s390-32/setjmp.S: ... here.
1361         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1362         * sysdeps/s390/s390-32/configure.in: ... here.
1363         * sysdeps/s390/s390-32/elf/configure: Delete file.
1364         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1365         * sysdeps/s390/s390-32/start.S: ... here.
1366
1367         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1368         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1369         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1370         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1371         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1372         * sysdeps/s390/s390-64/setjmp.S: ... here.
1373         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1374         * sysdeps/s390/s390-64/configure.in: ... here
1375         * sysdeps/s390/s390-64/elf/configure: Delete file.
1376         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1377         * sysdeps/s390/s390-64/start.S: ... here.
1378         * sysdeps/s390/s390-64/elf/configure: Delete.
1379
1380         * configure.in: Remove support for elf directories in sysdeps.
1381
1382         * configure: Regenerated.
1383         * sysdeps/i386/configure: Regenerated.
1384         * sysdeps/powerpc/powerpc32/configure: Regenerated.
1385         * sysdeps/powerpc/powerpc64/configure: Regenerated.
1386         * sysdeps/s390/s390-32/configure: Regenerated.
1387         * sysdeps/s390/s390-64/configure: Regenerated.
1388         * sysdeps/sh/configure: Regenerated.
1389         * sysdeps/sparc/configure: Regenerated.
1390         * sysdeps/x86_64/configure: Regenerated.
1391
1392 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
1393
1394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1395
1396         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1397         denormal result into account.
1398
1399 2012-03-25  Roland McGrath  <roland@hack.frob.com>
1400
1401         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1402         Reported by Allan McRae <allan@archlinux.org>.
1403
1404 2012-03-23  Jeff Law  <law@redhat.com>
1405
1406         * nss/getnssent.c (__nss_getent): Fix typo.
1407
1408 2012-03-23  David S. Miller  <davem@davemloft.net>
1409
1410         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1411
1412 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
1413
1414         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1415         to pad to uint64_t for each field.
1416         (dl_tls_index): Replace unsigned long with uint64_t.
1417
1418 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
1419         Paul Pluzhnikov  <ppluzhnikov@google.com>
1420
1421         [BZ #6528]
1422         * grp/Makefile (otherlibs): Don't set it.
1423         * inet/Makefile (otherlibs): Likewise.
1424         * login/Makefile (otherlibs): Likewise.
1425         * nscd/Makefile (otherlibs): Likewise.
1426         * posix/Makefile (otherlibs): Likewise.
1427         * pwd/Makefile (otherlibs): Likewise.
1428         * rt/Makefile (otherlibs): Likewise.
1429         * sunrpc/Makefile (otherlibs): Likewise.
1430         * nss/Makefile (otherlibs): Likewise.
1431         Add libnss_files to routines and static-only-routines.
1432         ($(objpfx)getent): Remove rule.
1433         * resolv/Makefile: Add libnss_dns and libresolv to routines and
1434         static-only-routines.
1435
1436 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
1437
1438         [BZ #13892]
1439         * math/s_cexp.c: Include <float.h>.
1440         (__cexp): Handle exp result overflowing not necessarily
1441         overflowing both real and imaginary parts of result.
1442         * math/s_cexpf.c: Likewise.
1443         * math/s_cexpl.c: Likewise.
1444         * math/libm-test.inc (cexp_test): Add more tests.
1445         * sysdeps/i386/fpu/libm-test-ulps: Update.
1446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1447
1448 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1449
1450         * include/link.h (ELFW): New macro.
1451         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1452         Replace ELF64_R_TYPE with ELFW(R_TYPE).
1453
1454 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1455
1456         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1457         with uint64_t.
1458
1459 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1460
1461         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1462         declaration.
1463         (struct La_x32_retval): Likewise.
1464
1465 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1466
1467         * sysdeps/x86_64/preconfigure.in: New file.
1468         * sysdeps/x86_64/preconfigure: New generated file.
1469
1470 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
1471
1472         [BZ #13824]
1473         * math/e_exp2l.c: Include <float.h>.
1474         (__ieee754_exp2l): Handle overflow and underflow cases
1475         separately.  Only pass fractional part of argument to
1476         __ieee754_expl.
1477         * math/libm-test.inc (exp2_test): Add more tests.
1478
1479         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1480         negating x to take absolute value.
1481         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1482         Likewise.
1483         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1484         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1485         Likewise.
1486         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1487         computing low part if x was negated.
1488         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1489
1490 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1491
1492         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1493         la_x32_gnu_pltexit.
1494         (pltexit): Cast int_retval to ptrdiff_t.
1495         * elf/tst-auditmod3b.c: Likewise.
1496         * elf/tst-auditmod4b.c: Likewise.
1497         * elf/tst-auditmod5b.c: Likewise.
1498         * elf/tst-auditmod6b.c: Likewise.
1499         * elf/tst-auditmod6c.c: Likewise.
1500         * elf/tst-auditmod7b.c: Likewise.
1501
1502         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1503         and x32_gnu_pltexit.
1504
1505         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1506         __ELF_NATIVE_CLASS.
1507         (La_x32_regs): New macro.
1508         (La_x32_retval): Likewise.
1509         (la_x32_gnu_pltenter): New function prototype.
1510         (la_x32_gnu_pltexit): Likewise.
1511
1512 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
1513
1514         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1515         exponent.
1516
1517         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1518
1519         * configure.in (libc_cv_cc_nofma): Check for option to disable
1520         generation of FMA instructions.
1521         * configure: Regenerate.
1522         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1523         * sysdeps/ieee754/dbl-64/Makefile: New file.
1524         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1525         Remove brandred-fma4.
1526         (CFLAGS-brandred-fma4.c): Remove.
1527         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1528         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1529         define.
1530         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1531         define.
1532
1533 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1534
1535         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1536         LLONG_MAX != LONG_MAX.
1537         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1538         (_fitoa_word): Likewise.
1539         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1540         LLONG_MAX != LONG_MAX.
1541         * stdio-common/_itowa.h: Include <_itoa.h>.
1542         (_itowa_word): Use _ITOA_WORD_TYPE on value.
1543         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
1544         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
1545         only if not defined.
1546         (_ITOA_WORD_TYPE): Likewise.
1547         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1548         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1549
1550 2012-03-21  David S. Miller  <davem@davemloft.net>
1551
1552         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1553
1554 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1555
1556         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1557         of x86_64 when setting libc_cv_slibdir, libdir and
1558         libc_cv_localedir.
1559         * sysdeps/unix/sysv/linux/configure: Regenerated.
1560
1561 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1562
1563         * manual/lang.texi (Old Varargs): Remove section.
1564         (How Variadic): Update menu.
1565         (va_start): Do not mention varargs.h.
1566
1567 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1568             Joseph Myers  <joseph@codesourcery.com>
1569
1570         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1571         link test.
1572         * configure: Regenerated.
1573
1574 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1575
1576         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1577         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1578         conformtest.pl
1579
1580 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1581
1582         * NOTES: Remove.
1583         * Makefile (files-for-dist): Remove NOTES.
1584         (NOTES): Remove rule.
1585         * README: Don't refer to NOTES.
1586         * manual/creature.texi: Don't include macros.texi.
1587         * manual/intro.texi (creature.texi): Remove comment referring to
1588         NOTES.
1589
1590         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1591         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1592         * configure: Regenerated.
1593         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1594         LIBC_TRY_CC_OPTION.
1595         (libc_cv_as_i686): Likewise.
1596         (libc_cv_cc_avx): Likewise.
1597         (libc_cv_cc_sse2avx): Likewise.
1598         (libc_cv_cc_fma4): Likewise.
1599         (libc_cv_cc_novzeroupper): Likewise.
1600         * sysdeps/i386/configure: Regenerated.
1601
1602         [BZ #13883]
1603         * sysdeps/i386/fpu/s_cexp.S: Remove.
1604         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1605         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1606         * math/libm-test.inc (cexp_test): Add more tests.
1607         * sysdeps/i386/fpu/libm-test-ulps: Update.
1608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1609
1610 2012-03-21  Allan McRae  <allan@archlinux.org>
1611
1612         * timezone/Makefile: Do not install iso3166.tab and zone.tab
1613
1614 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1615
1616         [BZ #13871]
1617         * math/w_exp2.c: Do not include <float.h>.
1618         (o_threshold, u_threshold): Remove.
1619         (__exp2): Calculate result before checking finiteness and calling
1620         __kernel_standard.
1621         * math/w_exp2f.c: Likewise.
1622         * math/w_exp2l.c: Likewise.
1623         * math/libm-test.inc (exp2_test): Require overflow exception for
1624         1e6 input.
1625
1626         [BZ #3866]
1627         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1628         range of signed 64-bit integers before using fistpll.  Remove
1629         checks for whether integers fit in mantissa bits.
1630         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1631         the range of signed 32-bit integers before using fistpl.  Remove
1632         checks for whether integers fit in mantissa bits.
1633         * sysdeps/i386/fpu/e_powl.S (p64): New object.
1634         (__ieee754_powl): Test for y outside the range of signed 64-bit
1635         integers before using fistpll.  Reduce 64-bit values to 63-bit
1636         ones as needed.
1637         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1638         divide-by-zero is raised for zero to large negative powers.
1639         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1640         (__ieee754_powl): Test for y outside the range of signed 64-bit
1641         integers before using fistpll.  Reduce 64-bit values to 63-bit
1642         ones as needed.
1643         * math/libm-test.inc (pow_test): Add more tests.
1644
1645 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1646
1647         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1648         <stdio-common/_itoa.h>.
1649         * debug/segfault.c: Likewise.
1650         * elf/dl-cache.c: Likewise.
1651         * elf/dl-minimal.c: Likewise.
1652         * elf/dl-misc.c: Likewise.
1653         * elf/dl-sysdep.c: Likewise.
1654         * elf/dl-version.c: Likewise.
1655         * elf/rtld.c: Likewise.
1656         * hurd/hurdsock.c: Likewise.
1657         * hurd/lookup-retry.c: Likewise.
1658         * malloc/malloc.c: Likewise.
1659         * malloc/mtrace.c: Likewise.
1660         * nscd/nscd_getgr_r.c: Likewise.
1661         * nscd/nscd_getpw_r.c: Likewise.
1662         * nscd/nscd_getserv_r.c: Likewise.
1663         * posix/getopt_init.c: Likewise.
1664         * posix/wordexp.c: Likewise.
1665         * stdio-common/_itoa.c: Likewise.
1666         * stdio-common/printf_fphex.c: Likewise.
1667         * stdio-common/vfprintf.c: Likewise.
1668         * string/_strerror.c: Likewise.
1669         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1670         * sysdeps/i386/i686/hp-timing.h: Likewise.
1671         * sysdeps/mach/_strerror.c: Likewise.
1672         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1673         * sysdeps/mach/hurd/sethostid.c: Likewise.
1674         * sysdeps/mach/hurd/xmknodat.c: Likewise.
1675         * sysdeps/mach/xpg-strerror.c: Likewise.
1676         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1677         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1678         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1679         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1680         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1681         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1682         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1683         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1684         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1685         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1686         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1687         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1688         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1689         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1690         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1691         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1692         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1693         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1694         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1695         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1696         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1697
1698         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1699
1700         * stdio-common/_itoa.h: Moved to ...
1701         * sysdeps/generic/_itoa.h: Here.
1702
1703         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1704
1705         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1706         instead of "_itoa.h" and "_itowa.h".
1707         * stdio-common/vfprintf.: Likewise.
1708
1709 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1710
1711         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1712         <bits/wordsize.h>.
1713         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1714         (__signbit): Likwise.
1715         (llrintf): Likwise.
1716         (llrint): Likwise.
1717
1718 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1719
1720         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1721         __WORDSIZE != 64.
1722
1723 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
1724
1725         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1726         OVERFLOW_EXCEPTION_OK.
1727         * math/libm-test.inc ("Philosophy"): Update comment about
1728         exception testing.
1729         (OVERFLOW_EXCEPTION): Define.
1730         (OVERFLOW_EXCEPTION_OK): Likewise.
1731         (INVALID_EXCEPTION_OK): Renumber.
1732         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1733         (IGNORE_ZERO_INF_SIGN): Likewise.
1734         (test_exceptions): Handle FE_OVERFLOW.
1735         (exp10_test): Expect overflow exceptions.
1736         (exp2_test): Likewise.
1737         (expm1_test): Likewise.
1738         (nextafter_test): Likewise.
1739         (pow_test): Likewise.
1740         (scalbn_test): Likewise.
1741         (scalbln_test): Likewise.
1742
1743 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1744
1745         * sysdeps/x86_64/bits/atomic.h
1746         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1747         64bit integer.
1748         (atomic_exchange_acq): Likewise.
1749         (__arch_exchange_and_add_body): Likewise.
1750         (__arch_add_body): Likewise.
1751         (atomic_add_negative): Likewise.
1752         (atomic_add_zero): Likewise.
1753
1754 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1755
1756         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1757         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1758
1759 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1760
1761         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1762         Check __x86_64__ instead of __WORDSIZE.
1763
1764 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1765
1766         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1767
1768 2012-03-19  David S. Miller  <davem@davemloft.net>
1769
1770         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1771
1772         * sysdeps/sparc/fpu/fenv_private.h: New file.
1773         * sysdeps/sparc/fpu/math_private.h: Use it.
1774         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1775         Remove.
1776         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1777         (libc_feholdexcept_setroundl): Remove.
1778         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1779         Remove.
1780         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1781         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1782
1783 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1784
1785         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1786         int64_t instead of long int.
1787         (INSERT_WORDS64): Likwise.
1788
1789 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1790
1791         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1792         _Unwind_GetCFA return to _Unwind_Ptr first.
1793
1794 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
1795
1796         [BZ #13629]
1797         * math/s_clog.c: Include <float.h>.
1798         (__clog): Scale large or subnormal inputs.
1799         * math/s_clogf.c: Likewise.
1800         * math/s_clogl.c: Likewise.
1801         * math/s_clog10.c: Include <float.h>.
1802         (M_LOG10_2): Define.
1803         (__clog10): Scale large or subnormal inputs.
1804         * math/s_clog10f.c: Likewise.
1805         * math/s_clog10l.c: Likewise.
1806         * math/libm-test.inc (clog_test): Add more tests.
1807         (clog10_test): Likewise.
1808         * sysdeps/i386/fpu/libm-test-ulps: Update.
1809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1810
1811         [BZ #11451]
1812         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1813         x and y.
1814         * math/libm-test.inc (atan2_test): Add another test.
1815
1816         * Makerules (common-objdir-compile): Remove.
1817         * sysdeps/unix/Makefile (config-generated): Do not add
1818         $(unix-generated) to variable.
1819         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1820         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1821         Remove rule.
1822         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1823         Likewise.
1824         [generic bits/local_lim.h] (before-compile): Do not append to
1825         variable.
1826         [generic bits/local_lim.h] (common-generated): Likewise.
1827         [generic sys/param.h] (before-compile): Do not append to variable.
1828         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1829         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1830         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1831         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1832         include.
1833         [generic sys/param.h] (sys/param.h-includes): Remove variable.
1834         [generic sys/param.h] (sys/param.h-includes): Remove rule.
1835         [generic sys/param.h] ($(addprefix
1836         $(common-objpfx),$(sys/param.h-includes))): Likewise.
1837         [generic sys/param.h] (common-generated): Do not append to
1838         variable.
1839         [generic sys/param.h] (sysdep_headers): Likewise.
1840         [generic bits/errno.h] (before-compile): Do not append to
1841         variable.
1842         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1843         rule.
1844         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1845         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1846         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1847         [generic bits/errno.h] (common-generated): Do not append to
1848         variable.
1849         [generic bits/ioctls.h] (before-compile): Do not append to
1850         variable.
1851         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1852         rule.
1853         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1854         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1855         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1856         rule.
1857         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1858         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1859         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1860         [generic bits/ioctls.h] (common-generated): Do not append to
1861         variable.
1862         [generic sys/syscall.h] (syscall.h): Remove variable.
1863         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1864         rule.
1865         [generic sys/syscall.h] (before-compile): Do not append to
1866         variable.
1867         [generic sys/syscall.h] (common-generated): Likewise.
1868         * sysdeps/unix/errnos-tmpl.c: Remove file.
1869         * sysdeps/unix/errnos.awk: Likewise.
1870         * sysdeps/unix/ioctls-tmpl.c: Likewise.
1871         * sysdeps/unix/ioctls.awk: Likewise.
1872         * sysdeps/unix/mk-local_lim.c: Likewise.
1873         * sysdeps/unix/snarf-ioctls: Likewise.
1874
1875 2012-03-19  Richard Henderson  <rth@twiddle.net>
1876
1877         * sysdeps/i386/fpu/fenv_private.h: New file.
1878         * sysdeps/i386/fpu/math_private.h: Use it.
1879         (math_opt_barrier, math_force_eval): Remove.
1880         (libc_feholdexcept_setround_53bit): Remove.
1881         (libc_feupdateenv_53bit): Remove.
1882         * sysdeps/x86_64/fpu/math_private.h: Likewise.
1883         (math_opt_barrier, math_force_eval): Remove.
1884         (libc_feholdexcept): Remove.
1885         (libc_feholdexcept_setround): Remove.
1886         (libc_fetestexcept, libc_fesetenv): Remove.
1887         (libc_feupdateenv_test): Remove.
1888         (libc_feupdateenv, libc_feholdsetround): Remove.
1889         (libc_feresetround): Remove.
1890
1891         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1892         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1893
1894         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1895         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1896         (libc_feupdateenv_testl): New.
1897         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1898         (libc_feupdateenv_testf): New.
1899         (libc_feupdateenv): Use libc_feupdateenv_test.
1900         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1901         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1902
1903         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1904         (libc_feholdsetroundf, libc_feholdsetroundl): New.
1905         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1906         (libc_feresetround_noex): New.
1907         (libc_feresetround_noexf): New.
1908         (libc_feresetround_noexl): New.
1909         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1910         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1911         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1912         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1913         SET_RESTORE_ROUND.
1914         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1915         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1916         (__cos): Likewise.
1917         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1918         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1919         SET_RESTORE_ROUND_NOEX.
1920         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1921         SET_RESTORE_ROUND_NOEXF.
1922         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1923         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1924         (libc_feholdsetroundf): New.
1925         (libc_feresetround, libc_feresetroundf): New.
1926
1927         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1928         (libc_feholdexcept_setround_53bit): Convert from macro to function.
1929         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
1930
1931         * sysdeps/generic/math_private.h: Include <fenv.h>.
1932         (default_libc_feholdexcept): New.
1933         (default_libc_feholdexcept_setround): New.
1934         (default_libc_fesetenv, default_libc_feupdateenv): New.
1935         (libc_feholdexcept): Only define if undefined.
1936         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1937         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1938         (libc_feholdexcept_setroundl): Likewise.
1939         (libc_feholdexcept_setround_53bit): Likewise.
1940         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1941         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1942         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1943         (libc_feupdateenv_53bit): Likewise.
1944         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1945         (libc_feholdexcept): Convert from macro to inline function.
1946         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1947         (libc_fesetenv, libc_feupdateenv): Likewise.
1948
1949         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1950         not previously defined.
1951         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1952         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1953         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1954         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1955         * sysdeps/ieee754/flt-32/math_private.h: New file.
1956         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1957         math_private.h below SET_FLOAT_WORD.
1958         (__isnan, __isinf_ns, __finite): Remove.
1959         (__isnanf, __isinf_nsf, __finitef): Remove.
1960
1961 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
1962
1963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1964
1965 2012-03-17  David S. Miller  <davem@davemloft.net>
1966
1967         [BZ #6471]
1968         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1969         for 2.16.
1970
1971 2012-03-16  David S. Miller  <davem@davemloft.net>
1972
1973         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1974         warnings.
1975
1976         [BZ #6471]
1977         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1978         properly.
1979         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1980         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1981         sysdep_routines when subdir is sysvipc.
1982         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1983         __getshmlba helper.
1984
1985         * sysdeps/sparc/fpu/libm-test/ulps: Update.
1986
1987 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1988
1989         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1990         [__LP64__].
1991
1992 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1993
1994         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1995         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1996         (__lround): Renamed to ...
1997         (__llround): This.  Replace long int with long long int.
1998         Define lround functions as aliases of llround functions.
1999         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2000
2001 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2002
2003         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2004         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
2005         adresses to uintptr_t.  Replace "long int" and "unsigned long
2006         int" with "greg_t" on va_arg.
2007
2008 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2009
2010         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2011         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2012
2013         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2014         Move e_machine check before EI_CLASS check.  Handle x32
2015         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2016         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2017         SKIP_EM_IA_64 and include
2018         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2019
2020         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2021         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2022         (add_system_dir): New macro.
2023
2024         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2025         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2026
2027 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
2028
2029         [BZ #2551]
2030         [BZ #2552]
2031         [BZ #2553]
2032         [BZ #2554]
2033         [BZ #2562]
2034         [BZ #2563]
2035         [BZ #2565]
2036         [BZ #2566]
2037         [BZ #2576]
2038         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2039         (y0): Likewise.
2040         * math/w_j0f.c (j0f): Likewise.
2041         (y0f): Likewise.
2042         * math/w_j0l.c (__j0l): Likewise.
2043         (__y0l): Likewise.
2044         * math/w_j1.c (j1): Likewise.
2045         (y1): Likewise.
2046         * math/w_j1f.c (j1f): Likewise.
2047         (y1f): Likewise.
2048         * math/w_j1l.c (__j1l): Likewise.
2049         (__y1l): Likewise.
2050         * math/w_jn.c (jn): Likewise.
2051         (yn): Likewise.
2052         * math/w_jnf.c (jnf): Likewise.
2053         (ynf): Likewise.
2054         * math/w_jnl.c (__jnl): Likewise.
2055         (__ynl): Likewise.
2056         * math/libm-test.inc (j0_test): Add more tests.
2057         (j1_test): Likewise.
2058         (jn_test): Likewise.  Add trailing semicolon to existing test.
2059         (y0_test): Likewise.
2060         (y1_test): Likewise.
2061         * sysdeps/i386/fpu/libm-test-ulps: Update.
2062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2063
2064         [BZ #13851]
2065         [BZ #13854]
2066         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2067         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2068         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2069         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2070         (__tanl): Set errno for infinite argument.
2071         * sysdeps/i386/fpu/mptan.c: Remove.
2072         * sysdeps/i386/fpu/s_tan.S: Likewise.
2073         * sysdeps/i386/fpu/s_tanl.S: Likewise.
2074         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2075         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2076         * math/libm-test.inc (tan_test): Add more tests and enable more
2077         tests for double and long double.
2078         * sysdeps/i386/fpu/libm-test-ulps: Update.
2079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2080
2081 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
2082
2083         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2084         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2085
2086 2012-03-16  Roland McGrath  <roland@hack.frob.com>
2087
2088         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2089         * configure.in: Use it for both main tree and add-ons.
2090         * configure: Regenerated.
2091
2092 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2093
2094         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2095
2096 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
2097
2098         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2099         in comment.
2100
2101         [BZ #13851]
2102         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2103         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2104         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2105         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2106         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2107         infinite argument.
2108         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2109         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2110         != 0 for prec == 2.
2111         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2112         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2113         * sysdeps/i386/fpu/s_cosl.S: Likewise.
2114         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2115         * sysdeps/i386/fpu/s_sinl.S: Likewise.
2116         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2117         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2118         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2119         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2120         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2121         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2122         * math/libm-test.inc (cos_test): Add more tests and enable more
2123         tests for long double.
2124         (sin_test): Likewise.
2125         (sincos_test): Likewise.
2126         * sysdeps/i386/fpu/libm-test-ulps: Update.
2127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2128
2129 2012-03-16  David S. Miller  <davem@davemloft.net>
2130
2131         * sysdeps/sparc/fpu/math_private.h: New file.
2132
2133 2012-03-15  David S. Miller  <davem@davemloft.net>
2134
2135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2136         file.
2137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
2138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2139         file.
2140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2141         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2142         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2143         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2144         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2145         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2146         sysdep routines.
2147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2148
2149         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2150         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2151
2152         * sysdeps/sparc/sparc-ifunc.h: New file.
2153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2154         sparc-ifunc.h
2155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2157         Likewise.
2158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2159         Likewise.
2160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2164         Likewise.
2165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2170         Likewise.
2171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2172         Likewise.
2173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2177         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2178         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2179         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2180         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2181         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2182         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2183         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2184         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2185         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2186         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2187         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2188         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2189         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2190         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2191         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2192         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2193         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2194         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2195         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2196         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2197
2198 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
2199
2200         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2201         scaling.
2202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2203
2204 2012-03-15  Andreas Jaeger  <aj@suse.de>
2205
2206         [BZ #13852]
2207         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2208         ieee754/flt-32 implementation for sin, cos and sincos.
2209         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2210         * sysdeps/i386/fpu/s_cosf.S: Likewise.
2211         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2212         * sysdeps/i386/fpu/s_sinf.S: Likewise.
2213         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2214         ieee754/flt-32 implementation for tan.
2215
2216         * math/libm-test.inc (cos_test): Enable some large input tests for
2217         float as well
2218         (sin_test): Likewise.
2219         (sincos_test): Likewise.
2220         (tan_test): Add tests for large input.
2221
2222         * sysdeps/i386/fpu/libm-test-ulps: Update.
2223
2224 2012-03-15  Andreas Jaeger  <aj@suse.de>
2225
2226         [BZ #13658]
2227         * math/libm-test.inc (cos_test): Add more test cases.
2228         (sin_test): Likewise.
2229         (sincos_test): Likewise.
2230
2231 2012-03-15  Andreas Jaeger  <aj@suse.de>
2232
2233         [BZ #13837]
2234         * math/libm-test.inc (cos_test): Add a test case for large input
2235         value.
2236         (sin_test): Likewise.
2237         (sincos_test): Likewise.
2238
2239 2012-03-15  Andreas Jaeger  <aj@suse.de>,
2240         Joseph Myers  <joseph@codesourcery.com>
2241
2242         [BZ #13658]
2243         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
2244         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2245         * sysdeps/i386/fpu/branred.c: Likewise.
2246         * sysdeps/i386/fpu/dosincos.c: Likewise.
2247         * sysdeps/i386/fpu/mpa.c: Likewise.
2248         * sysdeps/i386/fpu/s_cos.S: Likewise.
2249         * sysdeps/i386/fpu/s_sin.S: Likewise.
2250         * sysdeps/i386/fpu/s_sincos.S: Likewise.
2251         * sysdeps/i386/fpu/sincos32.c: Likewise.
2252
2253         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2254         Define.
2255         (libc_feupdateenv_53bit): Define.
2256         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2257         Define.
2258         (libc_feupdateenv_53bit): Define.
2259
2260         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2261         53 bit (without extend i386 double precision).
2262
2263         * math/libm-test.inc (sincos_test): Add tests for large input.
2264         (sin): Likewise.
2265         (cos): Likewise.
2266
2267         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2268
2269 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
2270
2271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2272
2273 2012-03-15  David S. Miller  <davem@davemloft.net>
2274
2275         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2276         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2277         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2278         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2283         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2284         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2285         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2286         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2287         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2288         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2289         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
2290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2291         file.
2292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
2293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2294         file.
2295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
2296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2297         file.
2298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
2299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2300         file.
2301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2302         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2303         fmin/fmax sysdep routines.
2304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2305
2306 2012-03-14  David S. Miller  <davem@davemloft.net>
2307
2308         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2309         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2310         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2311         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2312         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2313         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2314         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2315         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2316         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2317         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2318         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2319         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2320         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2321         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2322         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2323         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2324         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2325         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2326         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2327         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2328         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2329         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2330         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2331         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2332         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2333         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2334         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2335         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
2336         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2337         routines.
2338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2339         file.
2340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
2341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2342         file.
2343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
2344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2345         file.
2346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
2347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2348         file.
2349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
2350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2351         file.
2352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
2353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2354         file.
2355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2356         file.
2357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2358         file.
2359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2360         file.
2361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2362         New file.
2363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2364         file.
2365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2366         file.
2367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
2368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2369         file.
2370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
2371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2372         file.
2373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
2374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2375         file.
2376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
2377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2378         VIS3 routines.
2379
2380         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2381         New file.
2382
2383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2384
2385         * sysdeps/sparc/configure.in: New file.
2386         * sysdeps/sparc/configure: Generate.
2387         * configure.in (libc_cv_sparc_as_vis3): Substitute.
2388         * configure: Regenerate.
2389         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2390         * config.make.in (have-as-vis3): New.
2391         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2392         available use -Av9d instead of -Av9a.
2393         * sysdeps/sparc/sparc64/Makefile: Likewise.
2394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
2395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2396         New file.
2397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2398         file.
2399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2400         New file.
2401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2402         file.
2403         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2404         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2405         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2406         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2407         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2408
2409         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2410         fzeros/fnegs to load 0x80000000 into a float register instead of
2411         using the stack.
2412         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2413
2414 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
2415
2416         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2417         bits/syscall.h.
2418         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2419         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2420         ($(inst_includedir)/bits/syscall.h): Remove rule.
2421         ($(objpfx)bits/syscall.d): Include instead of
2422         $(objpfx)syscall-list.d.
2423         (generated): Change syscall-list.h and syscall-list.d to
2424         bits/syscall.h and bits/syscall.d.
2425
2426 2012-03-14  Roland McGrath  <roland@hack.frob.com>
2427
2428         [BZ #13846]
2429         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2430
2431 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
2432
2433         [BZ #13841]
2434         * math/s_csqrt.c: Include <float.h>.
2435         (__csqrt): Scale large or subnormal inputs.
2436         * math/s_csqrtf.c: Likewise.
2437         * math/s_csqrtl.c: Likewise.
2438         * math/libm-test.inc (csqrt_test): Add more tests.
2439         * sysdeps/i386/fpu/libm-test-ulps: Update.
2440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2441
2442         [BZ #13840]
2443         * math/libm-test.inc (hypot_test): Add more tests.
2444
2445 2012-03-13  David S. Miller  <davem@davemloft.net>
2446
2447         [BZ #13840]
2448         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2449         double-precision for the calculation instead of scaling.
2450
2451 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
2452
2453         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2454         manipulate bits before adding and subtracting TWO52[sx].
2455         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2456         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2457         Likewise.
2458         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2459
2460 2012-03-13  David S. Miller  <davem@davemloft.net>
2461
2462         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2463         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2464         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2465         rtld-global-offsets.h
2466         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2467
2468         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2469         large parameters.
2470
2471         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2472
2473         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2474         'err' in the ifdef scope in which it is actually used.
2475
2476         * nss/nss_db/db-init.c: Include string.h
2477
2478 2012-03-12  David S. Miller  <davem@davemloft.net>
2479
2480         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2481         masking out of the most significant byte of random value used.
2482         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2483         Fix coding style in previous change.
2484
2485         * sysdeps/unix/sysv/linux/kernel-features.h
2486         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2487         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2488         expression.
2489         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2490         later.
2491
2492 2012-03-11  David S. Miller  <davem@davemloft.net>
2493
2494         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2495         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2496         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2497         for 'resultvar' otherwise things get truncated on 64-bit.
2498
2499         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2500         Fix masking out of the most significant byte of random value used.
2501
2502         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2503
2504 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
2505
2506         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2507
2508 2012-03-09  David S. Miller  <davem@davemloft.net>
2509
2510         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2511         variables with appropriate CPP guards.
2512         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2513         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
2514         on resulting framesize and the management of the outregs buffer for pltexit.
2515         Preserve floating point return values across _dl_call_pltexit call.
2516         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2517         framesize and the management of the outregs buffer for pltexit.
2518         Preserve floating point return values across _dl_call_pltexit
2519         call.
2520         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2521         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2522         (print_exit): Fix format string for return register value.
2523
2524 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
2525
2526         * sunrpc/Makefile (others): Add rpcgen.
2527         ($(objpfx)rpcgen): Remove special build rule and dependency on
2528         libc.
2529         * sunrpc/rpcgen.c: New file.
2530
2531 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
2532
2533         [BZ #13673]
2534         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2535         * stdio-common/bug-vfprintf-nargs.c: Likewise.
2536         * sysdeps/i386/crti.S: Likewise.
2537         * sysdeps/i386/crtn.S: Likewise.
2538         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2539         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2540         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2541         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2542         * sysdeps/sh/crti.S: Likewise.
2543         * sysdeps/sh/crtn.S: Likewise.
2544         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2545
2546         [BZ #13673]
2547         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2548         with URL.
2549         * locale/programs/locfile-kw.gperf: Likewise.
2550         * locale/programs/charmap-kw.h: Regenerated.
2551         * locale/programs/locfile-kw.h: Likewise.
2552
2553         [BZ #13673]
2554         * intl/plural.y: Replace FSF snail mail address with URL.
2555         * intl/plural.c: Regenerated.
2556
2557 2012-03-09  Richard Henderson  <rth@twiddle.net>
2558
2559         * include/math_private.h: Remove file.
2560         * math/math_private.h: Move file ...
2561         * sysdeps/generic/math_private.h: ... here.
2562
2563         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2564         * sysdeps/powerpc/fpu/math_private.h: Likewise.
2565         * sysdeps/x86_64/fpu/math_private.h: Likewise.
2566
2567         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2568         and <math_private.h>.
2569         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2570         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2571         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2572         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2573         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2574         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2575         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2576         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2577         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2578         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2579         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2580         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2581         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2582         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2583         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2584         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2585         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2586         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2587         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2588         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2589         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2590         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2591         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2592         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2593         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2594         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2595         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2596         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2597         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2598         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2599         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2600         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2601         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2602         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2603         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2604         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2605         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2606         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2607         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2608         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2609         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2610         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2611         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2612         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2613         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2614         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2615         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2616         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2617         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2618         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2619         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2620         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2621         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2622         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2623         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2624         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2625         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2626         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2627         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2628         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2629         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2630         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2631         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2632         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2633         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2634         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2635         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2636         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2637         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2638         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2639         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2640         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2641         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2642         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2643         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2644         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2645         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2646         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2647         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2648         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2649         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2650         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2651         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2652         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2653         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2654         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2655         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2656         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2657         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2658         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2659         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2660         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2661         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2662         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2663         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2664         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2665         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2666         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2667         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2668         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2669         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2670         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2671         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2672         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2673         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2674         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2675         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2676         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2677         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2678         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2679         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2680         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2681         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2682         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2683         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2684         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2685         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2686         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2687         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2688         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2689         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2690         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2691         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2692         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2693         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2694         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2695         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2696         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2697         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2698         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2699         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2700         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2701         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2702         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2703         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2704         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2705         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2706         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2707         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2708         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2709         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2710         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2711         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2712         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2713         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2714         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2715         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2716         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2717         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2718         * sysdeps/ieee754/k_standard.c: Likewise.
2719         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2720         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2721         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2722         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2723         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2724         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2725         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2726         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2727         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2728         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2729         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2730         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2731         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2732         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2733         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2734         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2735         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2736         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2737         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2738         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2739         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2740         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2741         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2742         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2743         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2744         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2745         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2746         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2747         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2748         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2749         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2750         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2751         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2752         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2753         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2754         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2755         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2756         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2757         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2758         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2759         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2760         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2761         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2762         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2763         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2764         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2765         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2766         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2767         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2768         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2769         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2770         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2771         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2772         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2773         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2774         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2775         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2776         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2777         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2778         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2779         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2780         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2781         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2782         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2783         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2784         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2785         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2786         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2787         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2788         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2789         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2790         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2791         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2792         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2793         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2794         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2795         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2796         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2797         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2798         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2799         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2800         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2801         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2802         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2803         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2804         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2805         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2806         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2807         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2808         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2809         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2810         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2811         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2812         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2813         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2814         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2815         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2816         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2817         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2818         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2819         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2820         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2821         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2822         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2823         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2824         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2825         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2826         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2827         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2828         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2829         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2830         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2831         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2832         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2833         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2834         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2835         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2836         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2837         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2838         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2839         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2840         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2841         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2842         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2843         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2844         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2845         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2846         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2847         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2848         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2849         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2850         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2851         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2852         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2853         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2854         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2855         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2856         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2857         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2858         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2859         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2860         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2861         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2862         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2863         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2864         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2865         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2866         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2867         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2868         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2869         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2870         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2871         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2872         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2873         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2874         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2875         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2876         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2877         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2878         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2879         * sysdeps/ieee754/s_lib_version.c: Likewise.
2880         * sysdeps/ieee754/s_matherr.c: Likewise.
2881         * sysdeps/ieee754/s_signgam.c: Likewise.
2882         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2883         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2884         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2885         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2886         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2887         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2888         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2889         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2890         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2891         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2892         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2893         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2894         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2895         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2896         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2897         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2898         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2899         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2900         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2901         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2902         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2903
2904 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
2905
2906         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2907         * sunrpc/rpc_main.c: Likewise.
2908         * sunrpc/rpc_svcout.c: Likewise.
2909
2910 2012-03-09  David S. Miller  <davem@davemloft.net>
2911
2912         * include/math_private.h: New file.
2913
2914 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
2915
2916         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2917         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2918         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2919         from <bits/socket_type.h>.
2920         (enum __socket_type): Don't define here.
2921         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2922         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2923         bits/socket_type.h.
2924
2925         [BZ #13566]
2926         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2927         checking __USE_GNU.
2928
2929         * Makerules ($(inst_includedir)/%.h): New rule.
2930         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2931         (install-others): Remove variable setting.
2932         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2933
2934 2012-03-08  Richard Henderson  <rth@twiddle.net>
2935
2936         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2937         from macro to inline function; merge with the
2938         !__LIBC_INTERNAL_MATH_INLINES version.
2939         (__ieee754_sqrtf): Likewise.
2940
2941         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2942         to inline function.
2943         (__rintf, __floor, __floorf): Likewise.
2944
2945         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2946         macro to inline function.
2947         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2948
2949         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2950         not <math/math_private.h>.
2951
2952 2012-03-08  David S. Miller  <davem@davemloft.net>
2953
2954         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2955         copyright year.
2956         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2957
2958 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
2959
2960         * resolv/gai_misc.c (handle_requests): Fix struct timespec
2961         normalization.
2962         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2963         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2964
2965 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
2966
2967         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
2968         be defined individually, they must be defined as a block.  Define
2969         S for printing a string instead of hidint the different by using a
2970         macro for adding the 'l'.
2971         * stdio-common/tst-fphex-wide.c: Adjust.
2972
2973 2012-03-07  Marek Polacek  <polacek@redhat.com>
2974
2975         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2976
2977 2012-03-08  Marek Polacek  <polacek@redhat.com>
2978
2979         [BZ #13806]
2980         * stdio-common/Makefile (tests): Add tst-fphex-wide.
2981         * stdio-common/tst-fphex.c: Define a few macros to make the
2982         test reusable.  Use them.
2983         * stdio-common/tst-fphex-wide.c: New file.
2984
2985 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
2986
2987         [BZ #6911]
2988         * manual/macros.texi (gnusystems): New macro.
2989         (nongnusystems): Likewise.
2990         (gnulinuxhurdsystems): Likewise.
2991         (gnuhurdsystems): Likewise..
2992         (gnulinuxsystems): Likewise.
2993         * manual/charset.texi: Use new macros or @theglibc{} to refer to
2994         variants of the GNU system, not "GNU system".
2995         * manual/conf.texi: Likewise.
2996         * manual/errno.texi: Likewise.  Update example of errno macro
2997         expansion.
2998         * manual/filesys.texi: Likewise.
2999         (getumask): Document as specific to GNU/Hurd.
3000         * manual/install.texi: Likewise.  Reword some references to
3001         GNU/Linux.
3002         * manual/intro.texi: Likewise.
3003         * manual/io.texi: Likewise.
3004         (File Name Portability): Detail which constraints are inapplicable
3005         to all GNU systems and which are only inapplicable to GNU/Hurd.
3006         * manual/job.texi: Likewise.
3007         * manual/llio.texi: Likewise.
3008         (O_NOCTTY): Document as present on GNU/Linux.
3009         * manual/maint.texi: Likewise.
3010         * manual/memory.texi: Likewise.
3011         * manual/pattern.texi: Likewise.
3012         * manual/pipe.texi: Likewise.
3013         * manual/process.texi: Likewise.
3014         * manual/resource.texi: Likewise.
3015         (RUSAGE_CHILDREN): Remove statement about specifying a particular
3016         child on GNU/Hurd.
3017         * manual/setjmp.texi: Likewise.
3018         * manual/signal.texi: Likewise.
3019         * manual/startup.texi: Likewise.
3020         * manual/stdio.texi: Likewise.
3021         * manual/terminal.texi: Likewise.
3022         (ONLCR): Document as POSIX.
3023         (OXTABS): Document availability on GNU/Linux as XTABS.
3024         (ONOEOT): Document availability separately from other bits.
3025         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3026         * manual/time.texi: Likewise.
3027         * manual/users.texi: Likewise.
3028         * INSTALL: Regenerated.
3029         * sysdeps/gnu/errlist.c: Regenerated.
3030
3031         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3032         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3033         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
3034         puts.
3035         * configure: Regenerated.
3036
3037 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
3038
3039         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3040         default includes instead of AC_HEADER_CHECK.
3041         * sysdeps/i386/configure: Regenerated.
3042
3043         [BZ #10716]
3044         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3045         * math/s_cacoshf.c (__cacoshf): Likewise.
3046         * math/s_cacoshl.c (__cacoshl): Likewise.
3047         * math/s_casinh.c (__casinh): Set signs of result from argument.
3048         * math/s_casinhf.c (__casinhf): Likewise.
3049         * math/s_casinhl.c (__casinhl): Likewise.
3050         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3051         (casinh_test): Add more tests.
3052         * sysdeps/i386/fpu/libm-test-ulps: Update.
3053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3054
3055 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
3056
3057         * po/zh_TW.po: Update from translation team.
3058
3059         * login/Makefile (distribute): Remove variable.
3060         * catgets/Makefile: Likewise.
3061         * mach/Makefile: Likewise.
3062         * malloc/Makefile: Likewise.
3063         * misc/Makefile: Likewise.
3064         * iconv/Makefile: Likewise.
3065         * nscd/Makefile: Likewise.
3066         * hurd/Makefile: Likewise.
3067         * manual/Makefile: Likewise.
3068         * locale/Makefile: Likewise.
3069         * intl/Makefile: Likewise.
3070         * conform/Makefile: Likewise.
3071         * nss/Makefile: Likewise.
3072         * time/Makefile: Likewise.
3073         * soft-fp/Makefile: Likewise.
3074         * dirent/Makefile: Likewise.
3075         * gmon/Makefile: Likewise.
3076         * po/Makefile: Likewise.
3077         * rt/Makefile: Likewise.
3078         * socket/Makefile: Likewise.
3079         * math/Makefile: Likewise.
3080         * signal/Makefile: Likewise.
3081         * debug/Makefile: Likewise.
3082         * elf/Makefile: Likewise.
3083         * timezone/Makefile: Likewise.
3084         * stdlib/Makefile: Likewise.
3085         * iconvdata/Makefile: Likewise.
3086         * sunrpc/Makefile: Likewise.
3087         * io/Makefile: Likewise.
3088         * argp/Makefile: Likewise.
3089         * inet/Makefile: Likewise.
3090         * hesiod/Makefile: Likewise.
3091         * grp/Makefile: Likewise.
3092         * csu/Makefile: Likewise.
3093         * wctype/Makefile: Likewise.
3094         * crypt/Makefile: Likewise.
3095         * libio/Makefile: Likewise.
3096         * string/Makefile: Likewise.
3097         * nis/Makefile: Likewise.
3098         * resolv/Makefile: Likewise.
3099         * stdio-common/Makefile: Likewise.
3100         * wcsmbs/Makefile: Likewise.
3101         * dlfcn/Makefile: Likewise.
3102         * posix/Makefile: Likewise.
3103
3104         * timezone/Makefile: Don't install timezone files, just the programs
3105         and scripts.
3106
3107 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
3108
3109         * nss/databases.def: Add missing gshadow entry.
3110
3111         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
3112
3113 2012-03-06  Marek Polacek  <polacek@redhat.com>
3114
3115         [BZ #13726]
3116         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3117         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3118         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3119         * stdio-common/tst-long-dbl-fphex.c: New file.
3120
3121 2012-03-06  David S. Miller  <davem@davemloft.net>
3122
3123         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3124         (set_obp_int): New function.
3125         (get_obp_int): New function.
3126         (__get_clockfreq_via_dev_openprom): Likewise.
3127         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3128         Avoid unused variable warnings on 'val' and use builtin_expect.
3129         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3130         __builtin_expect.
3131         (INLINE_CLONE_SYSCALL): Likewise.
3132
3133 2012-03-05  David S. Miller  <davem@davemloft.net>
3134
3135         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3136
3137 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
3138
3139         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3140
3141         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3142         only for |x| >= 40.
3143         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3144
3145 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
3146
3147         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3148         Replace gettimeofday with __vdso_gettimeofday.
3149
3150         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3151         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3152         __vdso_clock_gettime and __vdso_getcpu.
3153
3154         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3155         time with __vdso_time.
3156
3157 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
3158
3159         * manual/lang.texi (size_t): Note types to which size_t may be
3160         equivalent with the GNU C Library, but do not describe when
3161         differences between them are significant.
3162
3163 2012-03-05  Andreas Jaeger  <aj@suse.de>
3164
3165         * sysdeps/i386/fpu/libm-test-ulps: Update.
3166
3167 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
3168
3169         [BZ #3976]
3170         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3171         (__ieee754_pow): Save and restore rounding mode and use
3172         round-to-nearest for main computations.
3173         * math/libm-test.inc (pow_test_tonearest): New function.
3174         (pow_test_towardzero): Likewise.
3175         (pow_test_downward): Likewise.
3176         (pow_test_upward): Likewise.
3177         (main): Call the new functions.
3178         * sysdeps/i386/fpu/libm-test-ulps: Update.
3179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3180
3181         [BZ #3976]
3182         * math/libm-test.inc (cosh_test_tonearest): New function.
3183         (cosh_test_towardzero): Likewise.
3184         (cosh_test_downward): Likewise.
3185         (cosh_test_upward): Likewise.
3186         (sinh_test_tonearest): Likewise.
3187         (sinh_test_towardzero): Likewise.
3188         (sinh_test_downward): Likewise.
3189         (sinh_test_upward): Likewise.
3190         (main): Call the new functions.
3191         * sysdeps/i386/fpu/libm-test-ulps: Update.
3192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3193
3194 2012-03-05  Tom de Vries  <tom@codesourcery.com>
3195
3196         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3197         default stack guard is set in last bytes.
3198         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3199
3200 2012-03-05  Kees Cook  <keescook@chromium.org>
3201
3202         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
3203
3204         [BZ #13656]
3205         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3206         possibly allocate from heap instead of stack.
3207         * stdio-common/bug-vfprintf-nargs.c: New file.
3208         * stdio-common/Makefile (tests): Add nargs overflow test.
3209
3210 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
3211
3212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3213
3214 2012-03-03  Marek Polacek  <polacek@redhat.com>
3215
3216         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3217         * math/math_private.h: Likewise.
3218         * stdlib/tst-strtod.c: Likewise.
3219         * sysdeps/i386/i486/bits/atomic.h: Likewise.
3220         * sysdeps/x86_64/bits/atomic.h: Likewise.
3221
3222 2012-03-02  David S. Miller  <davem@davemloft.net>
3223
3224         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3226         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3227         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3228         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3229         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3230         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3231         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3232
3233 2012-03-02  Roland McGrath  <roland@hack.frob.com>
3234
3235         [BZ #13792]
3236         * manual/examples/README: New file, says the example source files
3237         can be used under GPL>=2.
3238         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3239         line containing just "*/".
3240         * manual/examples/add.c: Add copyright header (GPL>=2).
3241         * manual/examples/argp-ex1.c: Likewise.
3242         * manual/examples/argp-ex2.c: Likewise.
3243         * manual/examples/argp-ex3.c: Likewise.
3244         * manual/examples/argp-ex4.c: Likewise.
3245         * manual/examples/atexit.c: Likewise.
3246         * manual/examples/db.c: Likewise.
3247         * manual/examples/dir.c: Likewise.
3248         * manual/examples/dir2.c: Likewise.
3249         * manual/examples/execinfo.c: Likewise.
3250         * manual/examples/filecli.c: Likewise.
3251         * manual/examples/filesrv.c: Likewise.
3252         * manual/examples/fmtmsgexpl.c: Likewise.
3253         * manual/examples/genpass.c: Likewise.
3254         * manual/examples/inetcli.c: Likewise.
3255         * manual/examples/inetsrv.c: Likewise.
3256         * manual/examples/isockad.c: Likewise.
3257         * manual/examples/longopt.c: Likewise.
3258         * manual/examples/memopen.c: Likewise.
3259         * manual/examples/memstrm.c: Likewise.
3260         * manual/examples/mkfsock.c: Likewise.
3261         * manual/examples/mkisock.c: Likewise.
3262         * manual/examples/mygetpass.c: Likewise.
3263         * manual/examples/pipe.c: Likewise.
3264         * manual/examples/popen.c: Likewise.
3265         * manual/examples/rprintf.c: Likewise.
3266         * manual/examples/search.c: Likewise.
3267         * manual/examples/select.c: Likewise.
3268         * manual/examples/setjmp.c: Likewise.
3269         * manual/examples/sigh1.c: Likewise.
3270         * manual/examples/sigusr.c: Likewise.
3271         * manual/examples/stpcpy.c: Likewise.
3272         * manual/examples/strdupa.c: Likewise.
3273         * manual/examples/strftim.c: Likewise.
3274         * manual/examples/strncat.c: Likewise.
3275         * manual/examples/subopt.c: Likewise.
3276         * manual/examples/swapcontext.c: Likewise.
3277         * manual/examples/termios.c: Likewise.
3278         * manual/examples/testopt.c: Likewise.
3279         * manual/examples/testpass.c: Likewise.
3280         * manual/examples/timeval_subtract.c: Likewise.
3281
3282         [BZ #13792]
3283         * manual/time.texi (Elapsed Time): Move timeval_subtract example
3284         function to ...
3285         * manual/timeval_subtract.c.texi: ... here, new file.
3286
3287 2012-03-02  David S. Miller  <davem@davemloft.net>
3288
3289         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3290
3291 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
3292
3293         [BZ #3976]
3294         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3295         (__sin): Save and restore rounding mode and use round-to-nearest
3296         for all computations.
3297         (__cos): Save and restore rounding mode and use round-to-nearest
3298         for all computations.
3299         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3300         <fenv.h>.
3301         (tan): Save and restore rounding mode and use round-to-nearest for
3302         all computations.
3303         * math/libm-test.inc (cos_test_tonearest): New function.
3304         (cos_test_towardzero): Likewise.
3305         (cos_test_downward): Likewise.
3306         (cos_test_upward): Likewise.
3307         (sin_test_tonearest): Likewise.
3308         (sin_test_towardzero): Likewise.
3309         (sin_test_downward): Likewise.
3310         (sin_test_upward): Likewise.
3311         (tan_test_tonearest): Likewise.
3312         (tan_test_towardzero): Likewise.
3313         (tan_test_downward): Likewise.
3314         (tan_test_upward): Likewise.
3315         (main): Call the new functions.
3316         * sysdeps/i386/fpu/libm-test-ulps: Update.
3317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3318
3319         [BZ #10135]
3320         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3321         small n, then large n, before computing and testing k+n.
3322         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3323         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3324         Likewise.
3325         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3326         Likewise.
3327         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3328         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3329         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3330         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3331         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3332         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3333         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3334         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3335         * math/libm-test.inc (scalbn_test): Add more tests.
3336         (scalbln_test): Likewise.
3337
3338         * manual/filesys.texi (mode_t): Describe constraints on size and
3339         signedness, not exact equivalence to a particular type.
3340         (ino_t): Likewise.
3341         (ino64_t): Likewise.
3342         (dev_t): Likewise.
3343         (nlink_t): Likewise.
3344         (blkcnt_t): Likewise.
3345         (blkcnt64_t): Likewise.
3346         * manual/llio.texi (off_t): Likewise.
3347
3348         [BZ #3976]
3349         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3350         (__ieee754_exp): Save and restore rounding mode and use
3351         round-to-nearest for all computations.
3352         * math/libm-test.inc (exp_test_tonearest): New function.
3353         (exp_test_towardzero): Likewise.
3354         (exp_test_downward): Likewise.
3355         (exp_test_upward): Likewise.
3356         (main): Call the new functions.
3357         * sysdeps/i386/fpu/libm-test-ulps: Update.
3358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3359
3360 2012-03-01  Chris Demetriou  <cgd@google.com>
3361
3362         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3363         have predictable order.
3364
3365 2012-03-01  David S. Miller  <davem@davemloft.net>
3366
3367         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3368
3369         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3370         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3371         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3372         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3373
3374         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3375         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3376         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3378         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3379         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3380         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3381         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3382         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3383
3384         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3385
3386         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3387         * sysdeps/sparc/fpu/libm-test-ulps: to here.
3388         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3389
3390         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3391         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3392         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3393         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3394         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3395         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3396         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3397         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3398         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3399         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3400         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3401         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3402         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3403         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3404         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3405         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3406         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3407         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3408         * sysdeps/sparc/elf/configure: Regenerated.
3409
3410 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
3411
3412         * configure.in (AS, LD): Require binutils 2.20 or later.
3413         * configure: Regenerated.
3414         * manual/install.texi (Tools for Compilation): Give binutils 2.20
3415         as required minimum version.
3416         * INSTALL: Regenerated.
3417
3418         [BZ #2541]
3419         [BZ #4108]
3420         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3421         before squaring exponent.
3422         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3423         bottom long double and 27 bits of top long double before squaring
3424         exponent.
3425         * math/libm-test.inc (erfc_test): Add more tests.
3426         * sysdeps/i386/fpu/libm-test-ulps: Update.
3427         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3429
3430 2012-03-01  Kai Tietz  <ktietz@redhat.com>
3431
3432         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3433         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3434         containing bit-fields.
3435         * soft-fp/extended.h (_FP_UNION_E): Likewise.
3436         * soft-fp/single.h (_FP_UNION_S): Likewise.
3437         * soft-fp/double.h (_FP_UNION_D): Likewise.
3438
3439 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3440
3441         [BZ #13786]
3442         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3443         not include ../strcmp.S.
3444         [USE_AS_STRNCASECMP_L]: Likewise.
3445         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3446         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3447         * sysdeps/i386/i686/multiarch/strncase_l-c.c
3448         (__strncasecmp_l_ia32): Define as alias to
3449         __strncasecmp_l_nonascii.
3450
3451         [BZ #5794]
3452         * math/libm-test.inc (expm1_test): Add test for bug 5794.
3453         * sysdeps/i386/fpu/libm-test-ulps: Update.
3454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3455
3456         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3458
3459 2012-02-29  Jeff Law  <law@redhat.com>
3460
3461         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3462         out of bounds read.
3463
3464 2012-02-29  Marek Polacek  <polacek@redhat.com>
3465
3466         [BZ #13706]
3467         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3468         * elf/Makefile: Add rules to run tst-unused-dep.out.
3469
3470 2012-02-28  David S. Miller  <davem@davemloft.net>
3471
3472         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3473         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3474         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3475         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3476         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3477         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3478
3479 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3480
3481         * math/libm-test.inc (llround_test): Move one test from
3482         lround_test.  Use TEST_f_L in moved test.
3483         (lround_test): Move misplaced test to llround_test.  Add testcase
3484         from bug 2561.
3485
3486 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
3487
3488         * sysdeps/x86_64/fpu/e_expf.S: New file.
3489         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3490
3491 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
3492
3493         [BZ #13637]
3494         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3495         of remain_len that may cause incomplete multi-byte character and
3496         false match.
3497         * posix/bug-regex33.c: New file.
3498         * posix/Makefile (tests): Add bug-regex33.
3499
3500 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
3501
3502         * manual/macros.texi: New file.
3503         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3504         * manual/libc.texinfo: Include macros.texi.
3505         * manual/creatute.texi: Likewise.
3506         * manual/install.texi: Likewise.
3507         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3508         @glibcadj{} in references to the GNU C Library.
3509         * manual/charset.texi: Likewise.
3510         * manual/conf.texi: Likewise.
3511         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
3512         when not using those macros.
3513         * manual/creature.texi: Likewise.
3514         * manual/crypt.texi: Likewise.
3515         * manual/errno.texi: Likewise.
3516         * manual/filesys.texi: Likewise.
3517         * manual/header.texi: Likewise.
3518         * manual/install.texi: Likewise.
3519         * manual/intro.texi: Likewise.
3520         * manual/io.texi: Likewise.
3521         * manual/job.texi: Likewise.
3522         * manual/lang.texi: Likewise.
3523         * manual/libc.texiinfo: Likewise.
3524         * manual/llio.texi: Likewise.
3525         * manual/locale.texi: Likewise.
3526         * manual/maint.texi: Likewise.
3527         * manual/math.texi: Likewise.
3528         * manual/memory.texi: Likewise.
3529         * manual/message.texi: Likewise.
3530         * manual/nss.texi: Likewise.
3531         * manual/pattern.texi: Likewise.
3532         * manual/process.texi: Likewise.
3533         * manual/resource.texi: Likewise.
3534         * manual/search.texi: Likewise.
3535         * manual/setjmp.texi: Likewise.
3536         * manual/signal.texi: Likewise.
3537         * manual/socket.texi: Likewise.
3538         * manual/startup.texi: Likewise.
3539         * manual/stdio.texi: Likewise.
3540         * manual/string.texi: Likewise.
3541         * manual/sysinfo.texi: Likewise.
3542         * manual/syslog.texi: Likewise.
3543         * manual/terminal.texi: Likewise.
3544         * manual/time.texi: Likewise.
3545         * manual/users.texi: Likewise.
3546         * INSTALL: Regenerated.
3547         * NOTES: Regenerated.
3548         * sysdeps/gnu/errlist.c: Regenerated.
3549
3550 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
3551
3552         * include/dirent.h: Include <dirstream.h> before
3553         <dirent/dirent.h>.
3554
3555 2012-02-28  David S. Miller  <davem@davemloft.net>
3556
3557         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3558         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3559         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3560         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3561
3562 2012-02-27  David S. Miller  <davem@davemloft.net>
3563
3564         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3566         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3567         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3568
3569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3570         frame pointer instead of stack pointer relative arg slot.
3571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3572         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3573         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3574
3575 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
3576
3577         [BZ #3992]
3578         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3579
3580 2012-02-27  David S. Miller  <davem@davemloft.net>
3581
3582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3584         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3585         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3586         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3587         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3588         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3589         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3590
3591 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3592
3593         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3594         later.  Allow versions 5-9.
3595         * configure: Regenerated.
3596         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3597         required minimum version and 4.6 as recommended version.  Do not
3598         mention bugs in GCC 2.7 and 2.8.
3599         * INSTALL: Regenerated.
3600
3601 2012-02-27  David S. Miller  <davem@davemloft.net>
3602
3603         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3606         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3607         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3608         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3609         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3610         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3611
3612         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3613         manipulate bits before adding and subtracting TWO112[sx].
3614         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3615
3616 2012-02-27  Roland McGrath  <roland@hack.frob.com>
3617
3618         [BZ #13775]
3619         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3620         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3621         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3622         being in POSIX, because they are in 1003.1-2008.
3623
3624         * rt/tst-aio.c: Include <fcntl.h>.
3625         * rt/tst-aio7.c: Likewise.
3626         * rt/tst-aio64.c: Likewise.
3627
3628         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3629
3630 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3631
3632         * manual/install.texi (--with-headers): Describe headers as
3633         interface headers, not private headers.
3634         (Specific advice for GNU/Linux systems): Describe use of headers
3635         from "make headers_install", not private headers from older
3636         kernels.
3637         * INSTALL: Regenerated.
3638         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3639         Change to 2.6.19.
3640         * sysdeps/unix/sysv/linux/configure: Regenerated.
3641
3642         * manual/llio.texi (fclean): Remove documentation.
3643
3644         * manual/Makefile (libc-texi-generated): New variable.  Include
3645         version.texi.
3646         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3647         $(libc-texi-generated), not duplicated list of files.
3648         (version.texi, stamp-version): New rules.
3649         (realclean): Remove $(libc-texi-generated), not individual files
3650         from that list.  Do not remove dir-add.texinfo.
3651         * manual/libc.texinfo: Comment out uses of edition numbers and
3652         references to printed manual.  Remove last-updated dates.
3653         (EDITION): Comment out.
3654         (ISBN): Likewise.
3655         (VERSION, UPDATED): Remove.
3656         (version.texi): Include.
3657
3658 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
3659
3660         * sysdeps/posix/spawni.c: Include <signal.h>.
3661         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3662         * sysdeps/pthread/aio_fsync.c: Likewise.
3663
3664 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
3665
3666         * conform/Makefile (tests): Run only when not cross-compiling and
3667         when fast-check is not defined.
3668
3669         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3670         * conform/data/limits.h-data: Fixes for POSIX2008.
3671         * conform/run-conformtest.sh: Run all tests.
3672         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3673         headers.
3674         * include/bits/dlfcn.h: Likewise.
3675         * include/langinfo.h: Likewise.
3676         * include/monetary.h: Likewise.
3677         * include/sys/poll.h: Likewise.
3678
3679         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3680         for __USE_GNU.
3681         * posix/spawn.h: Define __need_sigset_t.
3682         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3683         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3684         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
3685         to get sigevent_t only.
3686         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3687         only for __USE_GNU.
3688         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3689         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3690         process_vm_writev only for __USE_GNU.
3691         * termios/termios.h: Declare tcgetsid also for POSIX2008.
3692
3693         * conform/Makefile: For now ignore errors from run-conformtest.
3694         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
3695         POSIX to avoid namespace pollution.  Don't prepend headers.
3696         * conform/data/aio.h-data: Fixes for POSIX testing.
3697         * conform/data/fcntl.h-data: Likewise.
3698         * conform/data/glob.h-data: Likewise.
3699         * conform/data/grp.h-data: Likewise.
3700         * conform/data/pthread.h-data: Likewise.
3701         * conform/data/pwd.h-data: Likewise.
3702         * conform/data/signal.h-data: Likewise.
3703         * conform/data/spawn.h-data: Likewise.
3704         * conform/data/stdio.h-data: Likewise.
3705         * conform/data/stdlib.h-data: Likewise.
3706         * conform/data/stropts.h-data: Likewise.
3707         * conform/data/sys/mman.h-data: Likewise.
3708         * conform/data/sys/stat.h-data: Likewise.
3709         * conform/data/sys/types.h-data: Likewise.
3710         * conform/data/sys/wait.h-data: Likewise.
3711         * conform/data/time.h-data: Likewise.
3712         * conform/data/unistd.h-data: Likewise.
3713         * conform/data/utime.h-data: Likewise.
3714
3715         * io/sys/stat.h: fchmod was always in POSIX.
3716         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3717         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3718         * rt/aio.h: Define __need_timespec before including <time.h>.
3719         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3720         struct.  Add forward declaration of pthread_attr_t and use it in
3721         sigevent.
3722         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3723         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3724         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3725         always remove CLK_TCK definition.
3726
3727 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
3728
3729         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3730
3731 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
3732
3733         * conform/run-conformtest.sh: New file.
3734         * conform/Makefile: Run run-conformtest for tests.
3735         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
3736         support.
3737
3738         * conform/data/uchar.h-data: New file.
3739         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3740         * conform/data/arpa/inet.h-data: Likewise.
3741         * conform/data/assert.h-data: Likewise.
3742         * conform/data/complex.h-data: Likewise.
3743         * conform/data/cpio.h-data: Likewise.
3744         * conform/data/ctype.h-data: Likewise.
3745         * conform/data/dirent.h-data: Likewise.
3746         * conform/data/dlfcn.h-data: Likewise.
3747         * conform/data/errno.h-data: Likewise.
3748         * conform/data/fcntl.h-data: Likewise.
3749         * conform/data/float.h-data: Likewise.
3750         * conform/data/fmtmsg.h-data: Likewise.
3751         * conform/data/fnmatch.h-data: Likewise.
3752         * conform/data/ftw.h-data: Likewise.
3753         * conform/data/glob.h-data: Likewise.
3754         * conform/data/grp.h-data: Likewise.
3755         * conform/data/iconv.h-data: Likewise.
3756         * conform/data/inttypes.h-data: Likewise.
3757         * conform/data/langinfo.h-data: Likewise.
3758         * conform/data/libgen.h-data: Likewise.
3759         * conform/data/limits.h-data: Likewise.
3760         * conform/data/locale.h-data: Likewise.
3761         * conform/data/math.h-data: Likewise.
3762         * conform/data/monetary.h-data: Likewise.
3763         * conform/data/mqueue.h-data: Likewise.
3764         * conform/data/ndbm.h-data: Likewise.
3765         * conform/data/net/if.h-data: Likewise.
3766         * conform/data/netdb.h-data: Likewise.
3767         * conform/data/netinet/in.h-data: Likewise.
3768         * conform/data/nl_types.h-data: Likewise.
3769         * conform/data/poll.h-data: Likewise.
3770         * conform/data/pthread.h-data: Likewise.
3771         * conform/data/pwd.h-data: Likewise.
3772         * conform/data/regex.h-data: Likewise.
3773         * conform/data/sched.h-data: Likewise.
3774         * conform/data/search.h-data: Likewise.
3775         * conform/data/semaphore.h-data: Likewise.
3776         * conform/data/setjmp.h-data: Likewise.
3777         * conform/data/signal.h-data: Likewise.
3778         * conform/data/spawn.h-data: Likewise.
3779         * conform/data/stdarg.h-data: Likewise.
3780         * conform/data/stdio.h-data: Likewise.
3781         * conform/data/stdlib.h-data: Likewise.
3782         * conform/data/string.h-data: Likewise.
3783         * conform/data/strings.h-data: Likewise.
3784         * conform/data/stropts.h-data: Likewise.
3785         * conform/data/sys/ipc.h-data: Likewise.
3786         * conform/data/sys/mman.h-data: Likewise.
3787         * conform/data/sys/msg.h-data: Likewise.
3788         * conform/data/sys/resource.h-data: Likewise.
3789         * conform/data/sys/select.h-data: Likewise.
3790         * conform/data/sys/sem.h-data: Likewise.
3791         * conform/data/sys/shm.h-data: Likewise.
3792         * conform/data/sys/socket.h-data: Likewise.
3793         * conform/data/sys/stat.h-data: Likewise.
3794         * conform/data/sys/statvfs.h-data: Likewise.
3795         * conform/data/sys/time.h-data: Likewise.
3796         * conform/data/sys/timeb.h-data: Likewise.
3797         * conform/data/sys/times.h-data: Likewise.
3798         * conform/data/sys/types.h-data: Likewise.
3799         * conform/data/sys/uio.h-data: Likewise.
3800         * conform/data/sys/un.h-data: Likewise.
3801         * conform/data/sys/utsname.h-data: Likewise.
3802         * conform/data/sys/wait.h-data: Likewise.
3803         * conform/data/syslog.h-data: Likewise.
3804         * conform/data/tar.h-data: Likewise.
3805         * conform/data/termios.h-data: Likewise.
3806         * conform/data/utime.h-data: Likewise.
3807         * conform/data/utmpx.h-data: Likewise.
3808         * conform/data/varargs.h-data: Likewise.
3809         * conform/data/wchar.h-data: Likewise.
3810         * conform/data/wctype.h-data: Likewise.
3811         * conform/data/wordexp.h-data: Likewise.
3812
3813         * include/stropts.h: New file.
3814         * include/uchar.h: New file.
3815         * include/aio.h: Changes to allow conformtest.pl to use the headers.
3816         * include/assert.h: Likewise.
3817         * include/ctype.h: Likewise.
3818         * include/dirent.h: Likewise.
3819         * include/dlfcn.h: Likewise.
3820         * include/fcntl.h: Likewise.
3821         * include/fnmatch.h: Likewise.
3822         * include/glob.h: Likewise.
3823         * include/grp.h: Likewise.
3824         * include/libio.h: Likewise.
3825         * include/locale.h: Likewise.
3826         * include/math.h: Likewise.
3827         * include/net/if.h: Likewise.
3828         * include/netdb.h: Likewise.
3829         * include/netinet/in.h: Likewise.
3830         * include/pthread.h: Likewise.
3831         * include/pwd.h: Likewise.
3832         * include/regex.h: Likewise.
3833         * include/sched.h: Likewise.
3834         * include/search.h: Likewise.
3835         * include/setjmp.h: Likewise.
3836         * include/signal.h: Likewise.
3837         * include/stdio.h: Likewise.
3838         * include/stdlib.h: Likewise.
3839         * include/string.h: Likewise.
3840         * include/sys/cdefs.h: Likewise.
3841         * include/sys/mman.h: Likewise.
3842         * include/sys/msg.h: Likewise.
3843         * include/sys/resource.h: Likewise.
3844         * include/sys/select.h: Likewise.
3845         * include/sys/socket.h: Likewise.
3846         * include/sys/stat.h: Likewise.
3847         * include/sys/statvfs.h: Likewise.
3848         * include/sys/time.h: Likewise.
3849         * include/sys/times.h: Likewise.
3850         * include/sys/uio.h: Likewise.
3851         * include/sys/utsname.h: Likewise.
3852         * include/sys/wait.h: Likewise.
3853         * include/termios.h: Likewise.
3854         * include/time.h: Likewise.
3855         * include/ulimit.h: Likewise.
3856         * include/unistd.h: Likewise.
3857         * include/utime.h: Likewise.
3858         * include/wchar.h: Likewise.
3859         * include/wctype.h: Likewise.
3860         * include/wordexp.h: Likewise.
3861
3862         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3863
3864         * time/time.h: TIME_UTC must be a macro.
3865         Make timespec_get available for ISO C11 only as well.
3866
3867 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
3868
3869         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3870         Reported by Peng Haitao <penght@cn.fujitsu.com>.
3871
3872 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3873
3874         * configure.in: Use -o not -a in test for unsupported multi-arch.
3875
3876 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3877
3878         * manual/texinfo.tex: Update to version 2012-01-19.16.
3879
3880 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3881
3882         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3883
3884 2012-02-24  Roland McGrath  <roland@hack.frob.com>
3885
3886         [BZ #13738]
3887         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3888         * manual/fdl-1.3.texi: New file.
3889         * manual/fdl-1.1.texi: File removed.
3890
3891         [BZ #13738]
3892         * manual/libc.texinfo (FDL_VERSION): New @set.
3893         Use it for mention of FDL in cover text.
3894         (Documentation License): Use it in @include file name.
3895
3896 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3897             Roland McGrath  <roland@hack.frob.com>
3898
3899         [BZ #5461]
3900         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3901         not LONG_LONG_MAX and LONG_LONG_MIN.
3902         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3903         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
3904         name.
3905         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3906
3907 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3908
3909         [BZ #2547]
3910         [BZ #11365]
3911         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3912         manipulate bits before adding and subtracting TWO23[sx].
3913         * math/libm-test.inc (nearbyint_test): Add more tests.
3914
3915 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3916
3917         [BZ #2548]
3918         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3919         bits before adding and subtracting TWO23[sx].
3920         * math/libm-test.inc (rint_test): Add more tests.
3921         (rint_test_tonearest): Likewise.
3922         (rint_test_towardzero): Likewise.
3923         (rint_test_downward): Likewise.
3924         (rint_test_upward: Likewise.
3925
3926 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3927
3928         [BZ #10110]
3929         * include/stdc-predef.h: New file.  Extracted from features.h.
3930         * include/features.h: Include stdc-predef.h.
3931         * Makefile (headers): Add stdc-predef.h.
3932         * CONFORMANCE (Compiler limitations): Update.
3933
3934 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3935
3936         * manual/libc.texinfo (VERSION, UPDATED): Revert.
3937
3938 2012-02-21  David S. Miller  <davem@davemloft.net>
3939
3940         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3941         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3942
3943 2012-02-20  David S. Miller  <davem@davemloft.net>
3944
3945         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3946         using a normal save/restore sequence, rather than allocating a
3947         dummy stack frame just to store a frame pointer and restore.
3948         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3949
3950 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3951
3952         * manual/install.texi: Fix stray word in line-wrapped comment.
3953
3954 2012-02-20  David S. Miller  <davem@davemloft.net>
3955
3956         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3957         both binutils and gcc support GOTDATA.
3958
3959         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3960         "rd %pc" in the PIC register setup sequences.
3961
3962         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3963         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3964         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3965         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3966         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3967         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3968         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3969         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3970         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3971         (SYSCALL_ERROR_HANDLER): Likewise.
3972         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3973         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3974         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3975         (SYSCALL_ERROR_HANDLER): Likewise.
3976
3977         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3978         (HAVE_GCC_GOTDATA): New.
3979         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3980         relocation support in both binutils and gcc.
3981         * sysdeps/sparc/elf/configure: Regenerate.
3982
3983         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3984         * sysdeps/sparc/sparc32/elf/configure: Delete.
3985         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3986         * sysdeps/sparc/sparc64/elf/configure: Delete.
3987         * sysdeps/sparc/elf/configure.in: New file.
3988         * sysdeps/sparc/elf/configure: Generate.
3989
3990         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3991         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3992         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3993         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3994         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3995
3996 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3997
3998         * manual/install.texi: Do not mention specific glibc version
3999         numbers.
4000         * manual/libc.texinfo (VERSION, UPDATED): Update.
4001         (@copying): Use @copyright{} and range of years.
4002
4003 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
4004
4005         [BZ #13695]
4006         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4007         [crti.S not in sysdirs] (generated): Do not append.
4008         [crti.S not in sysdirs] (omit-deps): Likewise.
4009         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4010         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4011         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4012         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4013         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4014         Likewise.
4015         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4016         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4017         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4018         * csu/defs.awk: Remove file.
4019         * sysdeps/generic/initfini.c: Likewise.
4020         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4021         variable.
4022         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4023         Likewise.
4024
4025 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
4026
4027         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4028         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4029         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4030         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4031         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4032         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4033         <bits/epoll.h>.
4034         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4035         (__EPOLL_PACKED): Define to empty if not defined by
4036         <bits/epoll.h>.
4037         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4038         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4039         bits/epoll.h.
4040
4041 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
4042
4043         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4044         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4045         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4046         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4047         <bits/timerfd.h>.
4048         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4049         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4050         bits/timerfd.h.
4051
4052 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
4053
4054         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4055         in C locale.
4056         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4057         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4058         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4060
4061 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
4062
4063         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4064         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4065
4066 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
4067
4068         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4069         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4070         defined.
4071         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4072         Likewise.
4073         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4074         entry for 2.16.
4075
4076 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
4077
4078         * math/w_acos.c: Use non-signaling floating-point comparisons.
4079         * math/w_acosf.c: Likewise.
4080         * math/w_acosh.c: Likewise.
4081         * math/w_acoshf.c: Likewise.
4082         * math/w_acoshl.c: Likewise.
4083         * math/w_acosl.c: Likewise.
4084         * math/w_asin.c: Likewise.
4085         * math/w_asinf.c: Likewise.
4086         * math/w_asinl.c: Likewise.
4087         * math/w_atanh.c: Likewise.
4088         * math/w_atanhf.c: Likewise.
4089         * math/w_atanhl.c: Likewise.
4090         * math/w_exp2.c: Likewise.
4091         * math/w_exp2f.c: Likewise.
4092         * math/w_exp2l.c: Likewise.
4093         * math/w_j0.c: Likewise.
4094         * math/w_j0f.c: Likewise.
4095         * math/w_j0l.c: Likewise.
4096         * math/w_j1.c: Likewise.
4097         * math/w_j1f.c: Likewise.
4098         * math/w_j1l.c: Likewise.
4099         * math/w_jn.c: Likewise.
4100         * math/w_jnf.c: Likewise.
4101         * math/w_log.c: Likewise.
4102         * math/w_log10.c: Likewise.
4103         * math/w_log10f.c: Likewise.
4104         * math/w_log10l.c: Likewise.
4105         * math/w_log2.c: Likewise.
4106         * math/w_log2f.c: Likewise.
4107         * math/w_log2l.c: Likewise.
4108         * math/w_logf.c: Likewise.
4109         * math/w_logl.c: Likewise.
4110         * math/w_sqrt.c: Likewise.
4111         * math/w_sqrtf.c: Likewise.
4112         * math/w_sqrtl.c: Likewise.
4113         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4114         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4115         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4116         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4117         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4118
4119 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
4120
4121         [BZ #9739]
4122         * manual/string.texi (strnlen): Use correct parameter name in
4123         equivalent expression.
4124
4125 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
4126
4127         [BZ #11174]
4128         * manual/users.texi (seteuid): Consistently use neweuid for
4129         argument name.
4130
4131 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
4132
4133         [BZ #13704]
4134         * manual/nss.texi (Services in the NSS configuration): Correct
4135         list of services in example configuration file.
4136
4137 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
4138
4139         [BZ #11322]
4140         * manual/arith.texi: Remove statements about negative zero
4141         behaving identically to zero.
4142
4143 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
4144
4145         [BZ #5993]
4146         * manual/install.texi: Do not document upgrading from libc5.
4147
4148 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
4149
4150         [BZ #4596]
4151         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4152
4153 2012-02-18  David S. Miller  <davem@davemloft.net>
4154
4155         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4156         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4157         %o7 across the call.
4158         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4159         instead.
4160         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4161         SETUP_PIC_REG_LEAF.
4162         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4163         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4164         * sysdeps/sparc/crtn.S: Likewise.
4165
4166 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
4167
4168         * aout/Makefile: Remove.
4169
4170 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
4171
4172         [BZ #13058]
4173         * manual/examples/argp-ex1.c (main): Format definition in GNU
4174         style.
4175         * manual/examples/argp-ex2.c (main): Likewise.
4176         * manual/examples/argp-ex3.c (main): Likewise.
4177         * manual/examples/argp-ex4.c (main): Likewise.
4178         * manual/examples/longopt.c (main): Use new-style prototype
4179         definition.
4180         * manual/examples/strncat.c (main): Specify return type and use
4181         (void) for arguments.
4182         * manual/examples/subopt.c (main): Use char **argv argument.
4183
4184 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4185
4186         [BZ #5077]
4187         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4188         rounding modes.
4189
4190 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
4191
4192         [BZ #6907]
4193         * manual/string.texi (strchr): Change when strchrnul is
4194         recommended.
4195
4196 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
4197
4198         [BZ #174]
4199         * manual/locale.texi (setlocale): Document LOCPATH.
4200
4201 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4202
4203         [BZ #10210]
4204         * manual/process.texi (execle): Move @dots{} before last argument.
4205
4206 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
4207
4208         [BZ #12047]
4209         * manual/charset.texi (Generic Charset Conversion): Fix typo
4210         (LC_TYPE -> LC_CTYPE).
4211
4212 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
4213
4214         [BZ #5805]
4215         * manual/arith.texi (scalbn): Use @var{} on parameter names.
4216         (scalbnf): Likewise.
4217         (scalbnl): Likewise.
4218         (scalbln): Likewise.
4219         (scalblnf): Likewise.
4220         (scalblnl): Likewise.
4221         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4222         (vwarnx): Likewise.
4223         (verr): Likewise.
4224         (verrx): Likewise.
4225         * manual/filesys.texi (telldir): Use braces around return type.
4226         * manual/llio.texi (mmap): Add space after comma.
4227         (mmap64): Likewise.
4228         * manual/math.texi (jn): Use @var{} on parameter names.
4229         (jnf): Likewise.
4230         (jnl): Likewise.
4231         (yn): Likewise.
4232         (ynf): Likewise.
4233         (ynl): Likewise.
4234         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4235         line.
4236         * manual/resource.texi (ulimit): Use @dots{} instead of literal
4237         "...".
4238         (sched_get_priority_min): Remove semicolon on @deftypefun line.
4239         (sched_get_priority_max): Likewise.
4240         * manual/signal.texi (sigvec): Add space after comma.
4241         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4242         names.
4243         (if_indextoname): Likewise.
4244         (if_freenameindex): Likewise.
4245         (sendto): Use ',' instead of '.' in prototype.
4246         * manual/startup.texi (syscall): Use @dots{} instead of literal
4247         "...".
4248         * manual/stdio.texi (__fpending): Separate initial words of
4249         paragraph from @deftypefun line.
4250         * manual/syslog.texi (syslog): Use @dots{} instead of literal
4251         "...".
4252         (vsyslog): Use @var{} on parameter names.
4253         * manual/terminal.texi (stty): Use @var{} on parameter names.
4254         * manual/users.texi (getutmp): Use @var{} on parameter names.
4255         (getutmpx): Likewise.
4256
4257 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4258
4259         [BZ #6884]
4260         * manual/stdio.texi (fopen): Fix typos in description of
4261         ",ccs=STRING".
4262
4263 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
4264
4265         [BZ #4026]
4266         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4267         get clock_id definition.
4268
4269 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
4270
4271         [BZ #4822]
4272         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4273         (madvise): Cast every argument to void on its own.
4274
4275 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4276
4277         [BZ #9902]
4278         * manual/startup.texi (Exit Status): Fix typo.
4279
4280 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4281
4282         [BZ #10140]
4283         * manual/examples/argp-ex1.c: Include <stdlib.h>.
4284         * manual/examples/argp-ex2.c: Likewise.
4285         * manual/examples/argp-ex3.c: Likewise.
4286
4287 2012-02-16  Richard Henderson  <rth@redhat.com>
4288
4289         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4290         * sysdeps/s390/s390-32/initfini.c: Remove.
4291         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4292         * sysdeps/s390/s390-64/initfini.c: Remove.
4293
4294 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4295
4296         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4297         compiler output for sysdeps/generic/initfini.c.
4298         * sysdeps/sh/elf/initfini.c: Remove file.
4299
4300 2012-02-16  David S. Miller  <davem@davemloft.net>
4301
4302         [BZ #11494]
4303         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4304
4305         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4306         * sysdeps/sparc/crti.S: New file.
4307         * sysdeps/sparc/crtn.S: New file.
4308         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4309         * sysdeps/sparc/sparc64/Makefile: Likewise.
4310
4311 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
4312
4313         [BZ #3335]
4314         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4315
4316 2012-02-15  Roland McGrath  <roland@hack.frob.com>
4317
4318         [BZ #4822]
4319         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4320
4321         * mach/devstream.c (cookie_io_functions_t): Macro removed.
4322         (write, read, close): Likewise.
4323         Patch by Aurelien Jarno <aurelien@aurel32.net>.
4324
4325 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
4326
4327         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4328         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4329         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4330         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4331         <bits/signalfd.h>.
4332         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4333         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4334         bits/signalfd.h.
4335
4336 2012-02-14  Marek Polacek  <polacek@redhat.com>
4337
4338         * sysdeps/x86_64/crti.S: New file.
4339         * sysdeps/x86_64/crtn.S: New file.
4340         * sysdeps/x86_64/elf/initfini.c: Remove file.
4341
4342 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
4343
4344         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4345         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4346         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4347         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4348         <bits/inotify.h>.
4349         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4350         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4351         bits/inotify.h.
4352
4353 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
4354
4355         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4356         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4357         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4358         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4359         <bits/eventfd.h>.
4360         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4361         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4362         bits/eventfd.h.
4363
4364 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
4365
4366         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4367         __feraiseexcept instead of feraiseexcept.
4368
4369         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4370         nanosleep invocations.
4371         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4372         strings, and add error checking for a nanosleep invocations.
4373
4374 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
4375
4376         Replace FSF snail mail address with URLs, as per GNU coding standards.
4377         Most of the snail mail addresses were wrong anyway, and omitting
4378         them makes the source code easier to maintain.  Almost all of the
4379         changes are to license notices and to locale LC_IDENTIFICATION
4380         addresses, except for this one:
4381         * manual/libc.texinfo: In "Published by", give the FSF's URL,
4382         not its snail mail address.
4383
4384 2012-02-09  Richard Henderson  <rth@twiddle.net>
4385
4386         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4387         of kernel-features.h.
4388
4389         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4390
4391 2012-02-08  Marek Polacek  <polacek@redhat.com>
4392
4393         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4394         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4395         * sysdeps/gnu/_G_config.h: Likewise.
4396         * sysdeps/generic/_G_config.h: Likewise.
4397
4398 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
4399
4400         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4401         tests.
4402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4403
4404         * sysdeps/powerpc/powerpc32/crti.S: New file.
4405         * sysdeps/powerpc/powerpc32/crtn.S: New file.
4406         * sysdeps/powerpc/powerpc64/crti.S: New file.
4407         * sysdeps/powerpc/powerpc64/crtn.S: New file.
4408
4409         * Makeconfig (have-initfini): Don't set.
4410         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4411         * configure.in (nopic_initfini): Don't substitute.
4412         * config.h.in (HAVE_INITFINI): Don't #undef.
4413         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4414         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4415
4416 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
4417
4418         Support crti.S and crtn.S provided directly by architectures.
4419         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4420         [crti.S in sysdirs] (omit-deps): Likewise.
4421         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4422         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4423         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4424         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4425         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4426         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4427         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4428         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4429         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4430         compiler output for sysdeps/generic/initfini.c.
4431         * sysdeps/i386/elf/Makefile: Remove file.
4432         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4433
4434 2012-02-07  Marek Polacek  <polacek@redhat.com>
4435
4436         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4437         * sysdeps/gnu/_G_config.h: Likewise.
4438         * sysdeps/mach/hurd/_G_config.h: Likewise.
4439
4440 2012-02-07  Marek Polacek  <polacek@redhat.com>
4441
4442         * math/Makefile (tests): Add tst-CMPLX2.
4443         * math/tst-CMPLX2.c: New file.
4444
4445 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
4446
4447         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4448
4449         * math/libm-test.inc (jn_test): Add missing L suffix.
4450
4451 2012-02-06  Marek Polacek  <polacek@redhat.com>
4452
4453         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4454         * sysdeps/i386/fpu/e_powf.S: Likewise.
4455         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4456         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4457         * sysdeps/i386/fpu/e_acosh.S: Likewise.
4458         * sysdeps/i386/fpu/e_pow.S: Likewise.
4459         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4460         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4461         * sysdeps/i386/fpu/s_expm1.S: Likewise.
4462         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4463         * sysdeps/i386/fpu/e_log2.S: Likewise.
4464         * sysdeps/i386/fpu/e_log2l.S: Likewise.
4465         * sysdeps/i386/fpu/e_scalb.S: Likewise.
4466         * sysdeps/i386/fpu/e_powl.S: Likewise.
4467         * sysdeps/i386/fpu/s_log1p.S: Likewise.
4468         * sysdeps/i386/fpu/e_log10f.S: Likewise.
4469         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4470         * sysdeps/i386/fpu/e_logl.S: Likewise.
4471         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4472         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4473         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4474         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4475         * sysdeps/i386/fpu/e_log2f.S: Likewise.
4476         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4477         * sysdeps/i386/fpu/e_log.S: Likewise.
4478         * sysdeps/i386/fpu/s_cexp.S: Likewise.
4479         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4480         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4481         * sysdeps/i386/fpu/e_logf.S: Likewise.
4482         * sysdeps/i386/fpu/e_log10l.S: Likewise.
4483         * sysdeps/i386/fpu/e_atanh.S: Likewise.
4484         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4485         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4486         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4487         * sysdeps/i386/fpu/e_log10.S: Likewise.
4488         * sysdeps/i386/fpu/s_frexp.S: Likewise.
4489         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4490         * sysdeps/i386/fpu/s_asinh.S: Likewise.
4491         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4492         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4493         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4494         * sysdeps/i386/asm-syntax.h: Likewise.
4495         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4496         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4497         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4498         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4499         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4500         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4501         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4502         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4503         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4504         * sysdeps/powerpc/sysdep.h: Likewise.
4505         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4506         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4507
4508 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4509
4510         [BZ #411]
4511         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4512
4513 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4514
4515         * sysdeps/i386/sysdep.h: Include <features.h>.
4516         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4517         version.
4518
4519 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
4520
4521         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4522         Define.
4523         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4524         LOAD_PIC_REG_STR.
4525
4526 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4527
4528         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4529         (SETUP_PIC_REG): Use GET_PC_THUNK.
4530         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4531         macro.
4532
4533 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4534
4535         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4536         for non-PIC compilation.
4537         (SETUP_PIC_REG): Add .p2align directive.
4538         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4539         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4540         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4541         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4542         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4543         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4544         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4545         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4546         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4547         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4548         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4549         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4550         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4551         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4552         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4553         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4554         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4555         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4556         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4557         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4558         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4559         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4560         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4561         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4562         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4563         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4564         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4565         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4566         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4567         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4568         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4569         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4570         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4571         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4572         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4573         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4574         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4575         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4576         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4577         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4578         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4579
4580 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4581
4582         * math/tst-CMPLX.c: Include <stdio.h>.
4583
4584 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
4585
4586         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4587         float.
4588         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4589         * sysdeps/sparc/bits/mathdef.h: Likewise.
4590
4591 2012-01-31  Marek Polacek  <polacek@redhat.com>
4592
4593         * libio/libio.h: Don't define _PARAMS.
4594         * locale/programs/config.h: Don't define PARAMS.
4595         * stdlib/strtol_l.c: Likewise.
4596         (__strtol_l): Remove PARAMS from the prototype.
4597
4598 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
4599
4600         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
4601         names.  Just use the correct names.  Remove unnecessary wrapper
4602         functions.
4603         * malloc/arena.c: Likewise.
4604         * malloc/hooks.c: Likewise.
4605
4606         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4607         ARENA_TEST says not to.  Simplify test for creation of a new arena.
4608         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4609
4610 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
4611
4612         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4613         into tail calls.
4614         (update_get_addr): New function.
4615         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4616         GET_ADDR_MODULE parameter.
4617
4618 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
4619
4620         * crypt/cert.c: Remove __STDC__ conditionals.
4621         * crypt/crypt-entry.c: Likewise.
4622         * crypt/crypt_util.c: Likewise.
4623         * libio/filedoalloc.c: Likewise.
4624         * libio/fileops.c: Likewise.
4625         * libio/genops.c: Likewise.
4626         * libio/iofclose.c: Likewise.
4627         * libio/iofdopen.c: Likewise.
4628         * libio/iofopen.c: Likewise.
4629         * libio/iofopen64.c: Likewise.
4630         * libio/iogetdelim.c: Likewise.
4631         * libio/iopopen.c: Likewise.
4632         * libio/obprintf.c: Likewise.
4633         * libio/oldfileops.c: Likewise.
4634         * libio/oldiofclose.c: Likewise.
4635         * libio/oldiofdopen.c: Likewise.
4636         * libio/oldiofopen.c: Likewise.
4637         * libio/oldiopopen.c: Likewise.
4638         * libio/wfiledoalloc.c: Likewise.
4639         * libio/wgenops.c: Likewise.
4640         * locale/programs/xmalloc.c: Likewise.
4641         * misc/syslog.c: Likewise.
4642         * stdio-common/xbug.c: Likewise.
4643         * string/memchr.c: Likewise.
4644         * string/memcmp.c: Likewise.
4645         * string/memrchr.c: Likewise.
4646         * string/rawmemchr.c: Likewise.
4647         * sysdeps/posix/getcwd.c: Likewise.
4648         * time/strftime_l.c: Likewise.
4649
4650 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
4651
4652         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
4653         * config.make.in (config-cflags-sse2avx): Define.
4654         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4655         Fix typo.
4656
4657 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
4658
4659         * scripts/config.guess: Update from upstream config git repository.
4660         * scripts/config.sub: Likewise.
4661
4662 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
4663
4664         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4665         (EM_NUM): Update.
4666         (R_TILEPRO_*, R_TILEGX_*): New macros.
4667
4668         * scripts/firstversions.awk: Fix bug in version range handling.
4669
4670         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4671
4672         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4673
4674         * include/sys/epoll.h: New file.
4675         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4676         libc_hidden_def.
4677
4678 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
4679
4680         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4681         Avoid unnecessary __WORDSIZE == 64 test.
4682         (fmaxf): Use VEX format if possible.
4683         (fmax): Likewise.
4684         (fminf): Likewise.
4685         (fmin): Likewise.
4686
4687         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4688         * math/math_private.h: Remove libc_fegetround* and
4689         libc_fesetround*.
4690         * sysdeps/i386/configure.in: Check for -msse2avx.
4691         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4692         also if SSE2AVX is defined.
4693         Remove libc_fegetround* and libc_fesetround*.
4694         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4695         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
4696         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4697         of HAS_YMM_USABLE.
4698         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4699         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4700         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4701         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4702         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4703
4704         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4705
4706 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4707
4708         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4709         size is not set.
4710         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4711
4712 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
4713
4714         [BZ #13618]
4715         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4716         relocation.
4717         * Makeconfig (libm): Define.
4718         * elf/Makefile: Add rules to build and run tst-relsort1.
4719         * elf/tst-relsort1.c: New file.
4720         * elf/tst-relsort1mod1.c: New file.
4721         * elf/tst-relsort1mod2.c: New file.
4722
4723 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
4724
4725         * math/s_ldexp.c: Remove __STDC__ conditionals.
4726         * math/s_ldexpf.c: Likewise.
4727         * math/s_ldexpl.c: Likewise.
4728         * math/s_nextafter.c: Likewise.
4729         * math/s_nexttowardf.c: Likewise.
4730         * math/s_significand.c: Likewise.
4731         * math/s_significandf.c: Likewise.
4732         * math/s_significandl.c: Likewise.
4733         * math/w_jnl.c: Likewise.
4734         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4735         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4736         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4737         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4738         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4739         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4740         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4741         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4742         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4743         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4744         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4745         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4746         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4747         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4748         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4749         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4750         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4751         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4752         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4753         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4754         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4755         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4756         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4757         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4758         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4759         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4760         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4761         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4762         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4763         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4764         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4765         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4766         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4767         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4768         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4769         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4770         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4771         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4772         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4773         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4774         * sysdeps/ieee754/k_standard.c: Likewise.
4775         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4776         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4777         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4778         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4779         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4780         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4781         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4782         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4783         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4784         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4785         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4786         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4787         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4788         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4789         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4790         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4791         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4792         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4793         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4794         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4795         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4796         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4797         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4798         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4799         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4800         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4801         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4802         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4803         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4804         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4805         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4806         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4807         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4808         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4809         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4810         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4811         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4812         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4813         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4814         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4815         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4816         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4817         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4818         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4819         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4820         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4821         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4822         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4823         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4824         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4825         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4826         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4827         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4828         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4829         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4830         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4831         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4832         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4833         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4834         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4835         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4836         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4837         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4838         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4839         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4840         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4841         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4842         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4843         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4844         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4845         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4846         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4847         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4848         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4849         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4850         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4851         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4852         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4853         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4854         * sysdeps/ieee754/s_matherr.c: Likewise.
4855         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4856         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4857         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4858         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4859
4860 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
4861
4862         * crypt/md5.h: Remove __STDC__ conditionals.
4863         * libio/libioP.h: Likewise.
4864         * locale/programs/config.h: Likewise.
4865         * sysdeps/generic/sysdep.h: Likewise.
4866         * sysdeps/i386/asm-syntax.h: Likewise.
4867         * sysdeps/s390/asm-syntax.h: Likewise.
4868         * sysdeps/unix/sysdep.h: Likewise.
4869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4871
4872 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
4873
4874         * libio/libio.h: Remove __STDC__ conditionals.
4875         * malloc/obstack.h: Likewise.
4876         * math/complex.h: Likewise.
4877         * math/math.h: Likewise.
4878         * sysdeps/generic/_G_config.h: Likewise.
4879         * sysdeps/gnu/_G_config.h: Likewise.
4880         * sysdeps/mach/hurd/_G_config.h: Likewise.
4881         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4882         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4883         * sysdeps/sparc/bits/mathdef.h: Likewise.
4884
4885 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
4886
4887         [BZ #13583]
4888         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4889         Clean up HAS_* macros.
4890         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4891         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4892         possible.
4893         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4894         HAS_AVX.
4895         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4896         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4897         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4898         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4899         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4900
4901 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
4902
4903         * elf/tst-unique3.cc (gets): Remove declaration.
4904         * elf/tst-unique3lib.cc (gets): Likewise.
4905         * elf/tst-unique3lib2.cc (gets): Likewise.
4906         * elf/tst-unique4.cc (gets): Likewise.
4907
4908 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
4909
4910         * include/stdio.h: Add C++ protection.  Add gets declarations and
4911         definitions.
4912         * debug/tst-chk1.c: Don't declare gets here.
4913         * stdio-common/tst-gets.c: Likewise.
4914
4915 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
4916
4917         * posix/glob: Remove directory.
4918
4919 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
4920
4921         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4922
4923 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
4924
4925         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4926         of the non-standard EPFNOSUPPORT.
4927
4928 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4929
4930         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4931         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4932         ANYWHERE set to 1 only on KERN_NO_SPACE error.
4933
4934 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
4935
4936         * wcsmbs/uchar.h: Test __STDC_VERSION__.
4937
4938 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
4939
4940         * nscd/aicache.c (addhstaiX): Do not cache negative results of
4941         transient errors.
4942         * nscd/grpcache.c (cache_addgr): Likewise.
4943         * nscd/hstcache.c (cache_addhst): Likewise.
4944         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4945         * nscd/pwdcache.c (cache_addpw): Likewise.
4946         * nscd/servicescache.c (cache_addserv): Likewise.
4947
4948 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
4949
4950         * malloc/malloc.c: Various cleanups.
4951         * malloc/hooks.c: Likewise.
4952
4953         * stdlib/Makefile (tests): Add bug-fmtmsg1.
4954         * stdlib/bug-fmtmsg1.c: New file.
4955
4956         * stdlib/fmtmsg.c (init): Add missing unlock.
4957         Patch by Peng Haitao <penght@cn.fujitsu.com>.
4958
4959 2012-01-12  Marek Polacek  <polacek@redhat.com>
4960
4961         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4962         and _GNU_SOURCE.
4963
4964 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
4965
4966         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4967         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4968         macro to ensure uniqueness of label name.
4969         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4970         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4971
4972 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
4973
4974         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4975
4976         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4977         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4978         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4979         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4980
4981 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
4982
4983         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4984
4985         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4986         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4987         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4988
4989         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4990
4991         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4992         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4993         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4994         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4995
4996         * math/bits/math-finite.h: Add ldexp support.
4997
4998 2012-01-10  Marek Polacek  <polacek@redhat.com>
4999
5000         * locale/programs/localedef.h (show_archive_content): Add noreturn
5001         attribute.
5002
5003 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
5004
5005         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5006
5007 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
5008
5009         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5010
5011         * io/Makefile (headers): Add bits/poll2.h.
5012
5013 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
5014
5015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5016         typo #include statement.
5017
5018 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
5019
5020         * include/sys/cdefs.h: Define __attribute_alloc_size.
5021         * catgets/gencat.c: Add alloc_size attribute and apply consistently
5022         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5023         * elf/pldd.c: Likewise.
5024         * iconv/iconv_charmap.c: Likewise.
5025         * iconv/iconvconfig.c: Likewise.
5026         * iconv/strtab.c: Likewise.
5027         * locale/programs/locale.c: Likewise.
5028         * locale/programs/localedef.h: Likewise.
5029         * locale/programs/simple-hash.c: Likewise.
5030         * nscd/nscd.h: Likewise.
5031         * nss/makedb.c: Likewise.
5032         * sysdeps/generic/ldconfig.h: Likewise.
5033         * locale/programs/localedef.c: Remove xmalloc prototype.
5034         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5035
5036 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5037
5038         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5039         appropriate.
5040
5041 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
5042
5043         * math/Makefile (tests): Add tst-CMPLX.
5044         * math/tst-CMPLX.c: New file.
5045
5046         * math/complex.h (CMPLXL): Fix typo.
5047
5048         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5049         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5050         GLIBC_2.16.
5051         * debug/tst-chk1.c: Add poll and ppoll tests.
5052         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5053         * include/sys/poll.h: Add hidden proto for ppoll.
5054         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5055         * sysdeps/mach/hurd/ppoll.c: Likewise.
5056         * io/ppoll.c: Likewise.
5057         * debug/poll_chk.c: New file.
5058         * debug/ppoll_chk.c: New file.
5059         * include/bits/poll2.h: New file.
5060         * io/bits/poll2.h: New file.
5061
5062         [BZ #1350]
5063         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5064
5065         * configure.in: static is always set to yes.  Remove.
5066         * config.make.in: Don't set build-static.
5067         * Makeconfig: Remove use of build-static.
5068         * dlfcn/Makefile: Likewise.
5069         * elf/Makefile: Likewise.
5070         * math/Makefile: Likewise.
5071         * misc/Makefile: Likewise.
5072         * nptl/Makefile: Likewise.
5073         * sysdeps/mach/hurd/Makefile: Likewise.
5074
5075         * configure.in: PWD_P is not used anymore.
5076         * config.make.in: Remove PWD_P entry.
5077
5078         * configure.in: Remove last remnants of RANLIB.
5079         No need to check for signed size_t anymore.
5080         Don't set libc_commonpagesize and libc_relro_required here for Alpha
5081         and IA-64.
5082         Remove __builtin_expect test because we require at least gcc 3.4.
5083         * aclocal.m4: Likewise.
5084
5085         * wcsmbs/mbrtoc16.c: Implement using towc function.
5086         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5087         * wcsmbs/wcsmbsload.c: Likewise.
5088         * iconv/gconv_simple.c: Likewise.
5089         * iconv/gconv_int.h: Likewise.
5090         * iconv/gconv_builtin.h: Likewise.
5091         * iconv/iconv_prog.c: Remove CHAR16 handling.
5092
5093         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5094
5095         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5096
5097         * configure.in: Remove --with-elf and --enable-bounded options.
5098         Dont set base_machine for ia64.  More non-ELF conditions removed.
5099         Remove testing and setting of leading underscore information.
5100         * config.make.in (build-bounded): Set to no.
5101         * config.h.in: Remove NO_UNDERSCORES entry.
5102         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
5103         them.
5104         * csu/start.c: Remove !NO_UNDERSCORE code.
5105         * locale/localeinfo.h: Likewise.
5106         * sysdeps/generic/machine-gmon.h: Likewise.
5107         * sysdeps/generic/sysdep.h: Likewise.
5108         * sysdeps/i386/sysdep.h: Likewise.
5109         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5110         * sysdeps/mach/sysdep.h: Likewise.
5111         * sysdeps/s390/s390-32/sysdep.h: Likewise.
5112         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5113         * sysdeps/sh/sysdep.h: Likewise.
5114         * sysdeps/sparc/sparc32/alloca.S: Likewise.
5115         * sysdeps/unix/i386/sysdep.S: Likewise.
5116         * sysdeps/unix/sparc/start.c: Likewise.
5117         * sysdeps/unix/sparc/sysdep.S: Likewise.
5118         * sysdeps/unix/sparc/sysdep.h: Likewise.
5119         * sysdeps/unix/start.c: Likewise.
5120         * sysdeps/unix/x86_64/sysdep.S: Likewise.
5121         * sysdeps/x86_64/sysdep.h: Likewise.
5122
5123 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
5124
5125         [BZ #13553]
5126         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5127         for non-gcc.
5128         * argp/argp-fmtstream.h: Use const instead __const.
5129         * argp/argp.h: Likewise.
5130         * assert/assert.h: Likewise.
5131         * bits/fenv.h: Likewise.
5132         * bits/sched.h: Likewise.
5133         * bits/sigset.h: Likewise.
5134         * bits/sigthread.h: Likewise.
5135         * catgets/nl_types.h: Likewise.
5136         * conform/data/pthread.h-data: Likewise.
5137         * crypt/crypt-private.h: Likewise.
5138         * crypt/crypt.h: Likewise.
5139         * crypt/crypt_util.c: Likewise.
5140         * ctype/ctype.h: Likewise.
5141         * debug/execinfo.h: Likewise.
5142         * debug/mbsnrtowcs_chk.c: Likewise.
5143         * debug/mbsrtowcs_chk.c: Likewise.
5144         * debug/wcsnrtombs_chk.c: Likewise.
5145         * debug/wcsrtombs_chk.c: Likewise.
5146         * debug/wcstombs_chk.c: Likewise.
5147         * dirent/dirent.h: Likewise.
5148         * dlfcn/dlfcn.h: Likewise.
5149         * elf/neededtest4.c: Likewise.
5150         * grp/grp.h: Likewise.
5151         * gshadow/gshadow.h: Likewise.
5152         * iconv/gconv.h: Likewise.
5153         * iconv/gconv_int.h: Likewise.
5154         * iconv/gconv_simple.c: Likewise.
5155         * iconv/iconv.h: Likewise.
5156         * iconv/loop.c: Likewise.
5157         * iconv/skeleton.c: Likewise.
5158         * include/aio.h: Likewise.
5159         * include/aliases.h: Likewise.
5160         * include/argz.h: Likewise.
5161         * include/arpa/inet.h: Likewise.
5162         * include/assert.h: Likewise.
5163         * include/dirent.h: Likewise.
5164         * include/dlfcn.h: Likewise.
5165         * include/execinfo.h: Likewise.
5166         * include/fcntl.h: Likewise.
5167         * include/fenv.h: Likewise.
5168         * include/glob.h: Likewise.
5169         * include/grp.h: Likewise.
5170         * include/libintl.h: Likewise.
5171         * include/mntent.h: Likewise.
5172         * include/netdb.h: Likewise.
5173         * include/pwd.h: Likewise.
5174         * include/rpc/netdb.h: Likewise.
5175         * include/sched.h: Likewise.
5176         * include/search.h: Likewise.
5177         * include/shadow.h: Likewise.
5178         * include/signal.h: Likewise.
5179         * include/stdio.h: Likewise.
5180         * include/stdlib.h: Likewise.
5181         * include/string.h: Likewise.
5182         * include/sys/socket.h: Likewise.
5183         * include/sys/stat.h: Likewise.
5184         * include/sys/statfs.h: Likewise.
5185         * include/sys/statvfs.h: Likewise.
5186         * include/sys/syslog.h: Likewise.
5187         * include/sys/time.h: Likewise.
5188         * include/sys/uio.h: Likewise.
5189         * include/time.h: Likewise.
5190         * include/unistd.h: Likewise.
5191         * include/utmp.h: Likewise.
5192         * include/wchar.h: Likewise.
5193         * include/wctype.h: Likewise.
5194         * inet/aliases.h: Likewise.
5195         * inet/arpa/inet.h: Likewise.
5196         * inet/netinet/ether.h: Likewise.
5197         * inet/netinet/in.h: Likewise.
5198         * intl/libintl.h: Likewise.
5199         * io/bits/fcntl2.h: Likewise.
5200         * io/fcntl.h: Likewise.
5201         * io/ftw.h: Likewise.
5202         * io/sys/poll.h: Likewise.
5203         * io/sys/stat.h: Likewise.
5204         * io/sys/statfs.h: Likewise.
5205         * io/sys/statvfs.h: Likewise.
5206         * io/utime.h: Likewise.
5207         * libio/bits/stdio.h: Likewise.
5208         * libio/bits/stdio2.h: Likewise.
5209         * libio/libio.h: Likewise.
5210         * libio/libioP.h: Likewise.
5211         * libio/stdio.h: Likewise.
5212         * locale/lc-ctype.c: Likewise.
5213         * locale/locale.h: Likewise.
5214         * login/utmp.h: Likewise.
5215         * malloc/arena.c: Likewise.
5216         * malloc/malloc.c: Likewise.
5217         * malloc/malloc.h: Likewise.
5218         * malloc/mcheck.c: Likewise.
5219         * malloc/mtrace.c: Likewise.
5220         * math/bits/mathcalls.h: Likewise.
5221         * math/fenv.h: Likewise.
5222         * math/math_private.h: Likewise.
5223         * misc/bits/error.h: Likewise.
5224         * misc/bits/syslog.h: Likewise.
5225         * misc/err.h: Likewise.
5226         * misc/error.h: Likewise.
5227         * misc/fstab.h: Likewise.
5228         * misc/mntent.h: Likewise.
5229         * misc/regexp.h: Likewise.
5230         * misc/search.h: Likewise.
5231         * misc/sgtty.h: Likewise.
5232         * misc/sys/mman.h: Likewise.
5233         * misc/sys/syslog.h: Likewise.
5234         * misc/sys/uio.h: Likewise.
5235         * misc/sys/xattr.h: Likewise.
5236         * misc/ttyent.h: Likewise.
5237         * nis/rpcsvc/ypclnt.h: Likewise.
5238         * nss/nss.h: Likewise.
5239         * posix/bits/unistd.h: Likewise.
5240         * posix/fnmatch.h: Likewise.
5241         * posix/glob.h: Likewise.
5242         * posix/sched.h: Likewise.
5243         * posix/spawn.h: Likewise.
5244         * posix/sys/wait.h: Likewise.
5245         * posix/unistd.h: Likewise.
5246         * posix/wordexp.h: Likewise.
5247         * pwd/pwd.h: Likewise.
5248         * resolv/netdb.h: Likewise.
5249         * resource/sys/resource.h: Likewise.
5250         * rt/aio.h: Likewise.
5251         * rt/bits/mqueue2.h: Likewise.
5252         * rt/mqueue.h: Likewise.
5253         * shadow/shadow.h: Likewise.
5254         * signal/signal.h: Likewise.
5255         * socket/send.c: Likewise.
5256         * socket/sendto.c: Likewise.
5257         * socket/sys/socket.h: Likewise.
5258         * stdio-common/printf.h: Likewise.
5259         * stdlib/bits/stdlib.h: Likewise.
5260         * stdlib/fmtmsg.h: Likewise.
5261         * stdlib/monetary.h: Likewise.
5262         * stdlib/stdlib.h: Likewise.
5263         * stdlib/ucontext.h: Likewise.
5264         * streams/stropts.h: Likewise.
5265         * string/argz.h: Likewise.
5266         * string/bits/string2.h: Likewise.
5267         * string/string.h: Likewise.
5268         * string/strings.h: Likewise.
5269         * sunrpc/rpc/auth.h: Likewise.
5270         * sunrpc/rpc/auth_des.h: Likewise.
5271         * sunrpc/rpc/clnt.h: Likewise.
5272         * sunrpc/rpc/netdb.h: Likewise.
5273         * sunrpc/rpc/pmap_clnt.h: Likewise.
5274         * sunrpc/rpc/xdr.h: Likewise.
5275         * sysdeps/generic/inttypes.h: Likewise.
5276         * sysdeps/generic/net/if.h: Likewise.
5277         * sysdeps/generic/sys/swap.h: Likewise.
5278         * sysdeps/gnu/net/if.h: Likewise.
5279         * sysdeps/gnu/utmpx.h: Likewise.
5280         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5281         * sysdeps/i386/i486/bits/string.h: Likewise.
5282         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5283         * sysdeps/s390/bits/string.h: Likewise.
5284         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5285         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5286         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5287         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5288         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5289         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5290         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5291         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5292         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5293         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5294         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5295         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5296         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5297         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5298         * sysdeps/unix/sysv/linux/readv.c: Likewise.
5299         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5300         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5301         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5302         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5303         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5304         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5305         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5306         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5307         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5308         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5309         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5310         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5311         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5312         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5313         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5314         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5315         * sysvipc/sys/ipc.h: Likewise.
5316         * sysvipc/sys/msg.h: Likewise.
5317         * sysvipc/sys/sem.h: Likewise.
5318         * sysvipc/sys/shm.h: Likewise.
5319         * termios/termios.h: Likewise.
5320         * time/sys/time.h: Likewise.
5321         * time/time.h: Likewise.
5322         * wcsmbs/bits/wchar2.h: Likewise.
5323         * wcsmbs/uchar.h: Likewise.
5324         * wcsmbs/wchar.h: Likewise.
5325         * wctype/wctype.h: Likewise.
5326
5327         [BZ #13551]
5328         * Makeconfig: Remove all but ELF support including AIX support.
5329         * Makerules: Likewise.
5330         * config.h.in: Likewise.
5331         * config.make.in: Likewise.
5332         * configure: Likewise.
5333         * configure.in: Likewise.
5334         * csu/Makefile: Likewise.
5335         * csu/version.c: Likewise.
5336         * debug/Makefile: Likewise.
5337         * dlfcn/Makefile: Likewise.
5338         * elf/Makefile: Likewise.
5339         * extra-lib.mk: Likewise.
5340         * iconv/Makefile: Likewise.
5341         * include/libc-symbols.h: Likewise.
5342         * include/shlib-compat.h: Likewise.
5343         * resolv/Makefile: Likewise.
5344         * resolv/res_libc.c: Likewise.
5345         * rt/Makefile: Likewise.
5346         * sysdeps/i386/asm-syntax.h: Likewise.
5347         * sysdeps/i386/sysdep.h: Likewise.
5348         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5349         * sysdeps/mach/sysdep.h: Likewise.
5350         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5351         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5352         * sysdeps/s390/asm-syntax.h: Likewise.
5353         * sysdeps/s390/s390-32/sysdep.h: Likewise.
5354         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5355         * sysdeps/sh/sysdep.h: Likewise.
5356         * sysdeps/unix/sparc/sysdep.h: Likewise.
5357         * sysdeps/wordsize-32/divdi3.c: Likewise.
5358         * sysdeps/x86_64/sysdep.h: Likewise.
5359
5360         * argp/Versions: Remove _argp_unlock_xxx.
5361
5362         [BZ #13559]
5363         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
5364         * abilist/libBrokenLocale.abilist: Likewise.
5365         * abilist/libanl.abilist: Likewise.
5366         * abilist/libc.abilist: Likewise.
5367         * abilist/libcrypt.abilist: Likewise.
5368         * abilist/libdl.abilist: Likewise.
5369         * abilist/libm.abilist: Likewise.
5370         * abilist/libnsl.abilist: Likewise.
5371         * abilist/libpthread.abilist: Likewise.
5372         * abilist/libresolv.abilist: Likewise.
5373         * abilist/librt.abilist: Likewise.
5374         * abilist/libthread_db.abilist: Likewise.
5375         * abilist/libutil.abilist: Likewise.
5376         * abilist/libnss_db.abilist: New file.
5377
5378         * scripts/abilist.awk: Add support for indirect functions.
5379
5380         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5381
5382         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5383
5384         * shlib-versions: Remove entries for ports architectures.
5385
5386         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
5387         files in ports.
5388         * elf/stackguard-macros.h: Remove support for IA-64.
5389         * elf/tst-auditmod1.c: Likewise.
5390         * sysdeps/generic/ldsodefs.h: Likewise.
5391
5392         * sysdeps/unix/sysv/linux/configure.in: Ports should define
5393         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5394         configure files.
5395
5396         [BZ #13552]
5397         * configure.in: Remove --enable-omitfp support.
5398         * FAQ.in: Adjust.
5399         * config.make.in: Likewise.
5400         * Makeconfig: Likewise.
5401         * manual/install.texi: Likewise.
5402
5403         In case anyone cares, the IA-64 architecture could move to ports.
5404         * sysdeps/ia64/*: Removed.
5405         * sysdeps/unix/sysv/linux/ia64/*: Removed.
5406         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
5407
5408         [BZ #13555]
5409         * configure.in: Remove entries for unsupported architectures.
5410
5411         [BZ #13533]
5412         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5413         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
5414         routines.
5415         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5416         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5417         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
5418         fall back to using wcrtomb.
5419         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5420         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
5421         renaming.
5422         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5423         * wcsmbs/tst-c16c32-1.c: New file.
5424
5425         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5426         local variable.
5427
5428         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5429
5430         * elf/tst-unique3.cc: Add explicit declaration of gets.
5431         * elf/tst-unique3lib.cc: Likewise.
5432         * elf/tst-unique3lib2.cc: Likewise.
5433         * elf/tst-unique4.cc: Likewise.
5434
5435         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5436
5437 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
5438
5439         [BZ #13566]
5440         * assert/assert.h (static_assert): Don't define for C++.
5441         * libio/stdio.h (gets): Do declare for C++ <= C++11.
5442         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5443
5444 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
5445
5446         * iconv/loop.c (single loop): Fix assertion in storing of
5447         remaining bytes.
5448
5449         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5450
5451 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
5452
5453         * posix/getconf.c: Update copyright year.
5454         * nss/getent.c: Likewise.
5455         * nss/makedb.c: Likewise.
5456         * iconv/iconvconfig.c: Likewise.
5457         * iconv/iconv_prog.c: Likewise.
5458         * elf/ldconfig.c: Likewise.
5459         * elf/pldd.c: Likewise.
5460         * elf/sotruss.ksh: Likewise.
5461         * catgets/gencat.c: Likewise.
5462         * csu/version.c: Likewise.
5463         * elf/ldd.bash.in: Likewise.
5464         * elf/sprof.c (print_version): Likewise.
5465         * locale/programs/locale.c: Likewise.
5466         * locale/programs/localedef.c: Likewise.
5467         * login/programs/pt_chown.c: Likewise.
5468         * nscd/nscd.c (print_version): Likewise.
5469         * debug/xtrace.sh: Likewise.
5470         * malloc/memusage.sh: Likewise.
5471         * malloc/mtrace.pl: Likewise.
5472         * debug/catchsegv.sh: Likewise.
5473
5474 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
5475
5476         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5477         pure attribute.
5478
5479 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
5480
5481         [BZ #13533]
5482         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5483         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5484         transformations.
5485         * iconv/gconv_int.h: Likewise.
5486         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5487         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5488         from libc for GLIBC_2.16.
5489         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5490         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5491         * wcsmbs/uchar.h: Really define mbstate_t.
5492         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5493         * wcsmbs/c16rtomb.c: New file.
5494         * wcsmbs/mbrtoc16.c: New file.
5495         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5496         for C/POSIX locale.
5497         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5498         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5499
5500         * wcsmbs/wchar.h: Add missing __restrict.
5501
5502 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5503
5504         [BZ #13532]
5505         * time/Makefile (routines): Add timespec_get.
5506         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5507         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
5508         timespec for ISO C11.
5509         * time/timespec_get.c: New file.
5510         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5511         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5512
5513         [BZ #13531]
5514         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5515         * stdlib/stdlib.h: Declare aligned_alloc.
5516         * Versions.def: Add GLIBC_2.16 for libc.
5517         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5518
5519         [BZ 13527]
5520         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5521         ISO C11.
5522
5523         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5524         code.
5525
5526         [BZ #13528]
5527         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5528
5529         [BZ #13529]
5530         * assert/assert.h (static_assert): Define.
5531
5532         * version.h: Update for 2.16 development version.
5533
5534         [BZ #13526]
5535         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5536         _ISOC11_SOURCE.
5537
5538         * version.h (RELEASE): Bump for 2.15 release.
5539         * include/features.h (__GLIBC_MINOR__): Bump to 15.
5540
5541         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5542         Patch by Marek Polacek <mpolacek@redhat.com>.
5543
5544         * bits/byteswap.h: Protect long long constants with __extension__.
5545         * sysdeps/i386/bits/byteswap.h: Likewise.
5546         * sysdeps/ia64/bits/byteswap.h: Likewise.
5547         * sysdeps/s390/bits/byteswap.h: Likewise.
5548         * sysdeps/x86_64/bits/byteswap.h: Likewise.
5549
5550 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5551
5552         [BZ #13540]
5553         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5554         destination buffer.
5555         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5556
5557 2011-12-23  Marek Polacek  <polacek@redhat.com>
5558
5559         * elf/dl-addr.c (determine_info): Add inline keyword.
5560         * elf/tst-auditmod4b.c (check_avx): Likewise.
5561         * elf/tst-auditmod6b.c (check_avx): Likewise.
5562         * elf/tst-auditmod6c.c (check_avx): Likewise.
5563         * elf/tst-auditmod7b.c (check_avx): Likewise.
5564
5565 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5566
5567         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5568         !__SSE_MATH__.
5569
5570 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5571
5572         [BZ #13540]
5573         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5574         processing for last bytes.
5575
5576 2011-08-06  Bruno Haible  <bruno@clisp.org>
5577
5578         [BZ #13061]
5579         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5580         U+0385, not to U+1FEE.
5581
5582         [BZ #13062]
5583         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5584         entry for U+00A5 U+0301.
5585
5586 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5587
5588         [BZ #13166]
5589         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5590         buffer for the output is too small.
5591
5592         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5593         optimization.
5594
5595         [BZ #13185]
5596         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5597         SSE flags if possible.
5598
5599 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5600
5601         [BZ #13540]
5602         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5603         processing for last bytes.
5604
5605 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
5606
5607         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5608         (syscall-list-default-options, syscall-list-default-condition)
5609         (syscall-list-includes): Define.
5610         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5611         list of ABIs and options and #if conditions for each ABI.  Do not
5612         handle common syscalls between ABIs specially.
5613         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5614         Remove.
5615         (syscall-list-variants, syscall-list-32bit-options)
5616         (syscall-list-32bit-condition, syscall-list-64bit-options)
5617         (syscall-list-64bit-condition): Define.
5618         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5619         (syscall-list-variants, syscall-list-32bit-options)
5620         (syscall-list-32bit-condition, syscall-list-64bit-options)
5621         (syscall-list-64bit-condition): Define.
5622         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5623         Remove.
5624         (syscall-list-variants, syscall-list-32bit-options)
5625         (syscall-list-32bit-condition, syscall-list-64bit-options)
5626         (syscall-list-64bit-condition): Define.
5627         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5628         Remove.
5629         (syscall-list-variants, syscall-list-32bit-options)
5630         (syscall-list-32bit-condition, syscall-list-64bit-options)
5631         (syscall-list-64bit-condition): Define.
5632
5633 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5634
5635         * locale/iso-639.def: Add brx entry.
5636
5637         [BZ #13328]
5638         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5639         Proposed by Mariusz_Cukr <marcukr@op.pl>.
5640
5641         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5642         __feraiseexcept_renamed.
5643
5644 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
5645
5646         [BZ #13538]
5647         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5648         EPOLLET with unsigned values.
5649         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5650         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5651
5652         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5653         to large cancellation.
5654         * math/s_cacoshf.c: Likewise.
5655         * math/s_cacoshl.c: Likewise.
5656
5657 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
5658
5659         [BZ #13305]
5660         [BZ #12786]
5661         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5662         * math/s_cacoshf.c: Likewise.
5663         * math/s_cacoshl.c: Likewise.
5664
5665 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
5666
5667         [BZ #13439]
5668         * iconv/gconv.h: Define __GCONV_SWAP.
5669         * iconvdata/unicode.c: The swap bit must be stored in __flags.
5670         * iconvdata/utf-16.c: Likewise.
5671         * iconvdata/utf-32.c: Likewise.
5672
5673 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
5674
5675         [BZ #13524]
5676         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5677         numerator after shifting it by one limb.
5678
5679 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
5680
5681         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5682         under [__USE_EXTERN_INLINES].
5683
5684 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5685
5686         [BZ #13446]
5687         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5688
5689 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5690
5691         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5692         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5693         optimized code.
5694         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5695         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5696         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5697         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5698         for strncasecmp/strncasecmp_l compilation.
5699         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5700         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5701
5702 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
5703
5704         [BZ #13484]
5705         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5706         of __asm__.
5707
5708 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5709
5710         [BZ #13506]
5711         * time/tzfile.c (__tzfile_read): Check values from file header.
5712
5713 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
5714
5715         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5716         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5717         * powerpc/powerpc32/dl-start.S: Likewise.
5718         * powerpc/powerpc32/elf/start.S: Likewise.
5719         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5720         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5721         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5722         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5723         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5724         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5725         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5726         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5727         * powerpc/powerpc32/fpu/s_round.S: Likewise.
5728         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5729         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5730         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5731         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5732         * powerpc/powerpc32/memset.S: Likewise.
5733         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5734         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5735         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5736         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5737         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5738         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5739         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5740         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5741         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5742         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5743         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5744         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5745         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5746
5747 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5748
5749         * math/libm-test.inc: Added more nearbyint tests.
5750         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5751         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5752         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5753         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5754
5755 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
5756
5757         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5758         FD_CLOEXEC.
5759
5760 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5761
5762         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5763         Add wcscpy-ssse3 wcscpy-c.
5764         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5765         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5766         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5767         * sysdeps/x86_64/wcschr.S: New file.
5768         * sysdeps/x86_64/wcsrchr.S: New file.
5769         * string/test-strcmp.c: Remove checking of wcscmp function for
5770         wrong alignments.
5771         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5772         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5773         wcsrchr-sse2 wcsrchr-c.
5774         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5775         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5776         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5777         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5778         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5779         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5780         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5781         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5782         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5783         * wcsmbc/wcschr.c (WCSCHR): New macro.
5784
5785 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5786
5787         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5788         * wcsmbs/test-wcsrchr.c: New file.
5789         * string/test-strrchr.c: Add wcsrchr support.
5790         (WIDE): New macro.
5791         * wcsmbs/test-wcscpy.c: New file.
5792         * string/test-strcpy.c: Add wcscpy support.
5793         (WIDE): New macro.
5794
5795 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
5796
5797         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5798         the inner loop.
5799
5800 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
5801
5802         [BZ #13472]
5803         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5804
5805 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
5806
5807         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5808         Minor optimizations.
5809
5810         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5811         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5812         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5813
5814 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
5815
5816         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5817         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5818         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5819         for gcc to avoid warnings.
5820         * inet/Makefile (tests): Add tst-checks.
5821         * inet/tst-checks.c: New file.
5822
5823         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5824         warning.
5825
5826         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5827         __wmemcmp_sse2.
5828
5829         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5830         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5831
5832         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5833
5834 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
5835
5836         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5837         problem.
5838
5839         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5840
5841 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
5842
5843         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5844         conditional on GCC version.
5845         (__arch_compare_and_exchange_val_8_acq)
5846         (__arch_compare_and_exchange_val_16_acq)
5847         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5848         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5849         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5850
5851 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
5852
5853         * sysdeps/sh/backtrace.c: New file.
5854
5855 2011-12-02  Andreas Schwab  <schwab@redhat.com>
5856
5857         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
5858         parenthesis.
5859
5860 2011-12-01  Andreas Schwab  <schwab@redhat.com>
5861
5862         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5863         falling back to utime.
5864
5865 2011-11-30  Andreas Schwab  <schwab@redhat.com>
5866
5867         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5868         expectations for float.
5869
5870 2011-11-29  Andreas Schwab  <schwab@redhat.com>
5871
5872         * locale/weight.h (findidx): Add parameter len.
5873         * locale/weightwc.h (findidx): Likewise.
5874         * posix/fnmatch_loop.c (FCT): Adjust caller.
5875         * posix/regcomp.c (build_equiv_class): Likewise.
5876         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5877         * posix/regexec.c (check_node_accept_bytes): Likewise.
5878         * string/strcoll_l.c (STRCOLL): Likewise.
5879         * string/strxfrm_l.c (STRXFRM): Likewise.
5880
5881 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
5882
5883         * Makefile.in: Remove CVSOPT handling.
5884         * configure.in: Remove use of AC_REVISION.
5885         * iconvdata/Makefile (distribute): No need to filter out CVS.
5886         * scripts/list-sources.sh: Remove CVS, subversion and monotone
5887         handling.
5888
5889 2011-11-16  Andreas Schwab  <schwab@redhat.com>
5890
5891         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5892         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5893         [USE_AS_STRNCASECMP_L]: Likewise.
5894         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5895         NO_TLS_DIRECT_SEG_REFS.
5896         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5897         Fix argument offsets for non-PIC.
5898         [USE_AS_STRNCASECMP_L]: Likewise.
5899         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5900         NO_TLS_DIRECT_SEG_REFS.
5901
5902 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
5903
5904         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5905         O_CLOEXEC.
5906         * locale/loadlocale.c (_nl_load_locale): Likewise.
5907
5908 2011-11-15  Andreas Schwab  <schwab@redhat.com>
5909
5910         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5911         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5912         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5913         (SYSCALL_GETTIME): Set errno on error.
5914
5915         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5916         count references to noai6ai_cached.
5917
5918 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
5919
5920         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5921
5922         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5923         FD_CLOEXEC for /proc/self/maps.
5924
5925         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5926         FD_CLOEXEC for /proc/meminfo.
5927
5928         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5929         gai.conf.
5930
5931         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
5932         FD_CLOEXEC for given file.
5933
5934         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5935
5936         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5937         FD_CLOEXEC for /etc/hosts.
5938         (_gethtent): Likewise.
5939
5940         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5941
5942         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5943         cancellation and set FD_CLOEXEC for /etc/netgroup.
5944
5945         * nss/nss_files/files-key.c (search): Don't allow cancellation when
5946         reading /etc/publickey.
5947
5948         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5949         allow cancellation when reading /etc/group.
5950
5951         * nss/nss_files/files-alias.c (internal_setent): Don't allow
5952         cancellation.
5953         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
5954
5955         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5956         when using data file.
5957
5958         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5959
5960         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5961         (write_nis_obj): Use "c" and "e" in fopen.
5962
5963         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5964
5965         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5966
5967         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5968
5969         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5970
5971         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5972         locale.alias.
5973
5974         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5975
5976         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5977
5978         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5979
5980         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5981         file parsing and set FD_CLOEXEC.
5982
5983 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
5984
5985         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5986
5987 2011-11-14  Andreas Schwab  <schwab@redhat.com>
5988
5989         * malloc/arena.c (arena_get2): Don't call reused_arena when
5990         _int_new_arena failed.
5991
5992 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
5993
5994         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5995         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5996         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5997         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5998         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5999         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6000         to compile strcasecmp and strncasecmp.
6001         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6002         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6003
6004         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6005
6006 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
6007
6008         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6009         locale-defines.sym to gen-as-const-headers.
6010         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6011         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6012         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6013         to compile strcasecmp and strncasecmp.
6014         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6015         strcasecmp_l and strncasecmp_l.
6016         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6017         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6018         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6019         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6020         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6021         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6022         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6023         * sysdeps/i386/i686/multiarch/strncase.S: New file.
6024         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6025         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6026         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6027
6028 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
6029
6030         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6031         result of SYSDEP_GETTIME_CPU to retval.
6032         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6033         parameter list to macro.  Remove trailing semicolon.  Adjust users.
6034
6035         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6036         variable.
6037
6038         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6039         mantissa words.
6040         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6041
6042         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6043         from unused variable.
6044
6045         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6046         DWARF definitions.
6047         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6048         for assembling.
6049
6050         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6051         over namespaces.
6052
6053         * sunrpc/rpc_prot.c (rejected): Fix case value.
6054
6055         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6056         unsigned long long int to avoid warnings in shift.
6057
6058         * posix/regex_internal.c (re_string_reconstruct): Actually use result
6059         of use of trans.
6060         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6061         variable tmp.
6062
6063         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6064         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6065         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6066
6067         * nis/nis_table.c (nis_list): Use variable of correct type for
6068         result of __follow_path call.
6069
6070 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6071
6072         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6073         of math functions ceil, trunc, floor, round, and sqrt, when
6074         avaliable on the platform.
6075         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6076         name clash.
6077         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6078         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6079         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6080
6081 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
6082
6083         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6084         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6085
6086 2011-11-11  Roland McGrath  <roland@hack.frob.com>
6087
6088         * include/unistd.h: Fix __readlink return type.
6089         Reported by Chris Metcalf <cmetcalf@tilera.com>.
6090
6091 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
6092
6093         * stdlib/ucontext.h: Undo last change for makecontext.
6094
6095 2011-11-11  Andreas Schwab  <schwab@redhat.com>
6096
6097         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6098
6099         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6100         * setjmp/setjmp.h: Mark functions as non-leaf.
6101         * setjmp/bits/setjmp2.h: Likewise.
6102         * stdlib/ucontext.h: Likewise.
6103
6104 2011-11-10  Andreas Schwab  <schwab@redhat.com>
6105
6106         * malloc/arena.c (_int_new_arena): Don't increment narenas.
6107         (reused_arena): Don't check arena limit.
6108         (arena_get2): Atomically check arena limit.
6109
6110 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
6111
6112         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6113         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6114
6115         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6116         instructions.
6117
6118 2011-11-07  Andreas Schwab  <schwab@redhat.com>
6119
6120         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6121         handler when locking.
6122
6123         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6124         Fix size of allocated buffer.
6125
6126 2011-11-04  Andreas Schwab  <schwab@redhat.com>
6127
6128         [BZ #10103]
6129         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6130         declarations for long double functions.
6131         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6132
6133         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6134
6135 2011-11-03  Andreas Schwab  <schwab@redhat.com>
6136
6137         * nscd/nscd.c (main): Don't start AVC thread until credentials are
6138         installed.
6139
6140         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6141         is disabled.
6142
6143 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6144
6145         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6146
6147 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6148
6149         * include/alloca.h (stackinfo_alloca_round): Define.
6150         (extend_alloca): Use it.
6151         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6152         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6153         here.
6154
6155         * scripts/check-local-headers.sh: Ignore libaudit.h.
6156
6157         * nscd/Makefile (extra-objs): Make recursively expanded.
6158
6159 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
6160
6161         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6162         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6163
6164         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6165         * posix/tst-rfc3484-2.c: Likewise.
6166         * posix/tst-rfc3484-3.c: Likewise.
6167
6168         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6169         process_vm_writev.
6170         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6171         process_vm_writev.
6172         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6173         process_vm_writev from libc using GLIBC_2.15 version.
6174
6175         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6176
6177 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
6178
6179         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6180         stack usage.
6181
6182 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
6183
6184         [BZ #13367]
6185         * nss/getent.c (initgroups_keys): Show error message in case no group
6186         names are given.
6187
6188         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6189         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6190         __bump_nl_timestamp.
6191         * nscd/connections (nscd_init): When host database is served open
6192         netlink socket and request notification about configuration changes.
6193         (main_loop_poll): Track netlink file descriptor and bump timestamp
6194         in case data becomes available.
6195         (main_loop_epoll): Likewise.
6196         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6197         (database_pers_head): Add extra_data fileds.
6198         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6199         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6200         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6201         Adjust caller.
6202         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6203         in6ai data, call __free_in6ai.
6204         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6205         Add -DHAVE_NETLINK.
6206         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
6207         interface information.  Reuse previous data if netlink timestamp
6208         is not changed.
6209         (__bump_nl_timestamp): New function.
6210         (__free_in6ai): New function.
6211
6212 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
6213
6214         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6215         close_not_cancel_no_status here.
6216         (__check_pf): Reorganize code a bit to not call close twice if OOM.
6217
6218 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
6219
6220         [BZ #13276]
6221         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6222         return value.
6223
6224         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
6225         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6226         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6227
6228 2011-07-03  Andreas Jaeger  <aj@suse.de>
6229
6230         [BZ #10709]
6231         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6232         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6233         * math/libm-test.inc (sin_test): Add test case.
6234
6235 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
6236
6237         [BZ #13337]
6238         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6239         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6240
6241         * elf/chroot_canon.c (chroot_canon): Cleanups.
6242
6243         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6244
6245         [BZ #13335]
6246         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6247         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6248
6249         * string/test-strchr.c: Make usable for strchrnul testing.
6250         * string/test-strchrnul.c: New file.
6251         * string/Makefile (strop-tests): Add strchrnul.
6252
6253         * po/it.po: Update from translation team.
6254         * po/es.po: Likewise.
6255
6256 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
6257
6258         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6259         the three constants needed as parameters.  Drop the others.
6260         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6261         __m128i_strloadu_tolower.
6262         Create and initialize variable zero and use it in all the places
6263         where _mm_setzero_si128 was used.
6264
6265         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6266         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6267         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6268         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6269         anymore.
6270         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6271         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6272         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6273         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6274         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6275         __mpranred, __mptan.
6276         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6277         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6278         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6279         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6280         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6281         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6282         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6283         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6284         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6285
6286 2011-10-28  Andreas Schwab  <schwab@redhat.com>
6287
6288         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6289         redefine if SHARED.
6290         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6291
6292         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6293         wide char related routines to wcsmbs subdir.
6294
6295 2011-10-27  Andreas Schwab  <schwab@redhat.com>
6296
6297         [BZ #13344]
6298         * misc/sys/cdefs.h (__THROWNL): Define.
6299         * posix/unistd.h: Use __THREADNL instead of __THREAD
6300         for memory synchronization functions.
6301
6302 2011-10-26  Roland McGrath  <roland@hack.frob.com>
6303
6304         [BZ #13349]
6305         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6306         doesn't exist.
6307         * manual/stdio.texi (Obstack Streams): Node removed.
6308
6309 2011-10-26  Andreas Schwab  <schwab@redhat.com>
6310
6311         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6312         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6313         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6314
6315         * math/math_private.h (math_force_eval): Allow non-addressable
6316         arguments.
6317         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6318
6319 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6320
6321         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6322         file is not needed.
6323
6324         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6325         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6326         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6327         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6328         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6329         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6330         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6331         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6332         Add AVX variants.
6333         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6334         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6335         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6336         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6337         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6338         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6339         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6340         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6341         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6342         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6343         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6344         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6345         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6346         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6347         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6348         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6349         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6350         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6351         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6352
6353         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6354         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
6355
6356         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6357         place.  Use VEX encoding when compiling for AVX.
6358
6359 2011-10-25  Andreas Schwab  <schwab@redhat.com>
6360
6361         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6362         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6363
6364         * string/test-strchr.c (do_test): Don't generate NUL bytes.
6365
6366 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6367
6368         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
6369         useless if() expression.
6370         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6371         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6372         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6373         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6374         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6375         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6376         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6377         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6378         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6379         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6380         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6381         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6382         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6383         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6384         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6385         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6386         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6387         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6388         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6389
6390         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6391
6392 2011-10-25  Andreas Schwab  <schwab@redhat.com>
6393
6394         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6395         condition.
6396         * elf/dl-fini.c (_dl_sort_fini): Likewise.
6397
6398 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6399
6400         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6401         .text section.  Avoid duplicate constants.
6402         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6403         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6404         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6405         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6406         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6407         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6408         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6409         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6410         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6411         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6412         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6413         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6414         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6415         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6416         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6417         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6418         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6419         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6420         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6421         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6422         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6423         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6424         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6425         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6426         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6427         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6428         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6429         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6430         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6431         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6432         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6433         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6434         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6435         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6436         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6437         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6438         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6439         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6440         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6441         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6442         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6443         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6444         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6445         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6446         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6447
6448 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
6449
6450         * sysdeps/x86_64/dla.h: Move to ...
6451         * sysdeps/x86_64/fpu/dla.h: ...here.
6452         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6453         situations.  Use __builtin_fma only for gcc 4.6 and up.
6454
6455         * config.make.in: Add have-mfma4 entry.
6456         * configure.in: Substitute libc_cv_cc_fma4.
6457         * math/Makefile (dbl-only-routines): Add sincostab.
6458         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6459         Use __sincostab not sincos.
6460         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6461         name is a macro.
6462         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6463         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6464         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6465         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
6466         using __copysign.
6467         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
6468         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
6469         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6470         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6471         and __inv.
6472         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6473         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6474         __copysign.
6475         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
6476         define aliases when function name is a macro.
6477         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6478         sysdeps/ieee754/dbl-64/sincos.tbl.
6479         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6480         fma4-enabled routines.
6481         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6482         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6483         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6484         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6485         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6486         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6487         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6488         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6489         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6490         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6491         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6492         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6493         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6494         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6495         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6496         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6497         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6498         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6499         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6500         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6501         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6502         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6503         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6504         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6505         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6506         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6507         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6508         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6509         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6510         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6511
6512         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6513         rename.
6514         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6515         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6516         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6517         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6518         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6519         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6520         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6521         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6522
6523 2011-10-24  Andreas Schwab  <schwab@redhat.com>
6524
6525         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6526
6527 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6528
6529         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6530
6531         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6532         prediction.
6533         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6534
6535         * string/strnlen.c: Don't define STRNLEN, reverse logic.
6536         Remove unused variable magic_bits.
6537         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6538
6539         * string/strnlen.c: Define and use STRNLEN macro.
6540         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6541         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6542         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6543         * wcsmbs/wcslen.c: Define and use WCSLEN.
6544         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6545         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6546         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6547         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6548         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6549         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6550         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6551
6552 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6553
6554         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6555         strnlen-sse2-no-bsf.
6556         Rename strlen-no-bsf to strlen-sse2-no-bsf.
6557         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6558         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6559         Add strnlen support.
6560         (USE_AS_STRNLEN): New macro.
6561         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6562         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6563         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6564         * sysdeps/x86_64/wcslen.S: New file.
6565
6566 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
6567
6568         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6569         XMM-moves are used for copying on small sizes.
6570
6571 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6572
6573         * wcsmbs/Makefile (strop-tests): Add wcschr.
6574         * wcsmbs/test-wcschr.c: New file.
6575         * string/test-strchr.c: Update.
6576         Add wcschr support.
6577         (WIDE): New macro.
6578
6579 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6580
6581         * wcsmbs/Makefile (strop-tests): Add wcslen.
6582         * wcsmbs/test-wcslen.c: New file.
6583         * string/test-strlen.c: Update.
6584         Add wcslen support.
6585         (WIDE): New macro.
6586
6587 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6588
6589         * po/it.po: Update from translation team.
6590
6591 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6592
6593         * sysdeps/x86_64/wcscmp.S: Update.
6594         Fix wrong comparison semantics.
6595         wcscmp shall use signed comparison not unsigned.
6596         Don't use substraction to avoid overflow bug.
6597         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6598         * wcsmbc/wcscmp.c: Likewise.
6599         * string/test-strcmp.c: Likewise.
6600         Add new tests to check cases with negative values.
6601
6602 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6603
6604         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6605         * sysdeps/x86_64/dla.h: ...here.  New file.
6606         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6607         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6608         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6609         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6610         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6611         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6612         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6613         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6614         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6615
6616 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
6617
6618         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6619         __ynl_finite aliases.
6620
6621 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
6622
6623         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6624
6625         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6626         define DLA_FMA.
6627         [DLA_FMA] (EMULV): Use DLA_FMA.
6628         [DLA_FMA] (MUL12): Use EMULV.
6629         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6630         that are not needed.
6631         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6632         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6633         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6634         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6635         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6636         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6637         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6638
6639 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
6640
6641         * math/s_nan.c: Undef __nan.
6642         * math/s_nanf.c: Undef __nanf.
6643         * math/s_nanl.c: Undef __nanl.
6644         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6645         "math_private.h".
6646
6647 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
6648
6649         * math/s_catan.c: Add branch predictions.
6650         * math/s_catanf.c: Likewise.
6651         * math/s_catanh.c: Likewise.
6652         * math/s_catanhf.c: Likewise.
6653         * math/s_catanhl.c: Likewise.
6654         * math/s_catanl.c: Likewise.
6655         * math/s_cexp.c: Likewise.
6656         * math/s_cexpf.c: Likewise.
6657         * math/s_cexpl.c: Likewise.
6658         * math/s_clog.c: Likewise.
6659         * math/s_clog10.c: Likewise.
6660         * math/s_clog10f.c: Likewise.
6661         * math/s_clog10l.c: Likewise.
6662         * math/s_clogf.c: Likewise.
6663         * math/s_clogl.c: Likewise.
6664         * math/s_csqrt.c: Likewise.
6665         * math/s_csqrtf.c: Likewise.
6666         * math/s_csqrtl.c: Likewise.
6667         * math/s_ctanf.c: Likewise.
6668         * math/s_ctanh.c: Likewise.
6669         * math/s_ctanhf.c: Likewise.
6670         * math/s_ctanhl.c: Likewise.
6671         * math/s_ctanl.c: Likewise.
6672
6673         * math/math_private.h: Define __nan, __nanf, __nanl.
6674         * math/s_cacosh.c: Include <math_private.h>.
6675         * math/s_cacoshl.c: Likewise.
6676         * math/s_casinh.c: Likewise.
6677         * math/s_casinhf.c: Likewise.
6678         * math/s_casinhl.c: Likewise.
6679         * math/s_ccos.c: Rely entire on ccosh.
6680         * math/s_ccosf.c: Rely entire on ccoshf.
6681         * math/s_ccosl.c: Rely entirely on ccoshl.
6682         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
6683         Remove tests for FE_INVALID.
6684         * math/s_ccoshf.c: Likewise.
6685         * math/s_ccoshl.c: Likewise.
6686         * math/s_csin.c: Likewise.
6687         * math/s_csinf.c: Likewise.
6688         * math/s_csinh.c Likewise.
6689         * math/s_csinhf.c: Likewise.
6690         * math/s_csinhl.c: Likewise.
6691         * math/s_csinl.c: Likewise.
6692         * math/s_ctan.c: Likewise.
6693         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6694         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6695         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6696
6697 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
6698
6699         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6700         compilation problems.
6701
6702         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6703         __builtin_expect.
6704
6705 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
6706
6707         * sysdeps/i386/configure.in: Test for -mfma4 option.
6708         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6709         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6710         COMMON_CPUID_INDEX_80000001.
6711         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6712         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6713         use it if FMA3 is not supported.
6714         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6715
6716         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6717         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6718
6719 2011-10-20  Andreas Schwab  <schwab@redhat.com>
6720
6721         [BZ #12892]
6722         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6723         it would create a cycle with a link time dependency.
6724
6725 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
6726
6727         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6728         instruction.
6729         * string/Makefile (strop-tests): Add rawmemchr.
6730         * string/test-rawmemchr.c: New file.
6731
6732         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6733         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
6734         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
6735         when compiling str{,n}casecmp and when AVX is available.  Hook up
6736         new optimized code in initializers.
6737
6738 2011-10-19  Andreas Schwab  <schwab@redhat.com>
6739
6740         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6741         __feraiseexcept instead of feraiseexcept.
6742
6743 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
6744
6745         * math/math_private.h: Define defaults for libc_fetestexcept and
6746         libc_feupdateenv.
6747         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6748         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6749         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6750         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6751         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6752         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6753         libc_fetestexcept and libc_feupdateenv.
6754
6755         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6756         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6757         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6758         * sysdeps/x86_64/fpu/math_private.h: Define special version of
6759         libc_feholdexcept_setround.
6760
6761         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6762         Add s_nearbyint-c and s_nearbyintf-c.
6763         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6764         nearbyintf inlines.
6765         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6766         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6767         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6768         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6769
6770         * math/math_private.h: Define defaults for libc_fegetround,
6771         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6772         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6773         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6774         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6775         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6776         standard functions.
6777         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6778         Remove comments and hacks for old compiler versions.
6779         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6780         libc_fegetround, libc_fesetround, libc_feholdexcept, and
6781         libc_feholdexceptl.
6782
6783 2011-10-18  Andreas Schwab  <schwab@redhat.com>
6784
6785         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6786         (__feraiseexcept_renamed): Add __NTH.
6787         (feraiseexcept): Add __NTH.  Rename local variables to fix
6788         namespace violations.
6789
6790 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
6791
6792         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6793
6794         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6795
6796         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6797         recently added interfaces.
6798         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6799
6800         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6801         about macro parameter expansion.
6802
6803         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6804         __NO_MATH_INLINES is defined.  Cleanups.
6805
6806         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6807         and __floorf is target has SSE4.1.
6808         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6809         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6810         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6811         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6812
6813         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6814         name.
6815         (floorf): Likewise.
6816
6817         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6818
6819 2011-10-17  Andreas Schwab  <schwab@redhat.com>
6820
6821         * misc/sys/cdefs.h: Fix last change.
6822
6823         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6824         database lookup.
6825
6826 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
6827
6828         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6829
6830         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6831         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6832         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6833         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6834         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6835         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6836         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6837         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6838         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6839         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6840         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6841         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6842         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6843         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6844         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6845         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6846         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6847         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6848         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6849         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6850         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6851         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6852
6853         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6854         ceil, ceilf, floor, floorf.
6855
6856         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6857         Perform IRELATIVE relocations last.
6858
6859         * elf/do-rel.h: Add another parameter nrelative, replacing the
6860         local variable with the same name.  Change name of the function
6861         to end in Rel or Rela (uppercase).
6862         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6863         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
6864         elf_dynamic_do_##reloc function.
6865
6866 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
6867
6868         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6869         is sufficient, at least on modern CPUs.
6870
6871         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6872
6873         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6874         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6875
6876         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6877         __expl_finite.
6878         * math/bits/math-finite.h: Add entries for exp.
6879         * math/e_expl.c: Add __*_finite alias.
6880         * sysdeps/i386/fpu/e_exp.S: Likewise.
6881         * sysdeps/i386/fpu/e_expf.S: Likewise.
6882         * sysdeps/i386/fpu/e_expl.c: Likewise.
6883         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6884         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6885         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6886         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6887         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6888         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6889         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6890
6891         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6892         is sufficient, at least on modern CPUs.
6893
6894         * ctype/ctype-info.c (__ctype_init): Define.
6895         * include/ctype.h (__ctype_init): Declare.
6896         (__ctype_b_loc): The variable is always initialized.
6897         (__ctype_toupper_loc): Likewise.
6898         (__ctype_tolower_loc): Likewise.
6899         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6900         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6901
6902 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
6903
6904         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6905
6906         * configure.in: Also look in $cxxmachine/include for C++ system
6907         headers.
6908
6909 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6910
6911         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6912         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6913         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6914         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
6915         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6916         (USE_AS_WMEMCMP): New macro.
6917         Fixing indents.
6918         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6919         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6920         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6921         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6922         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6923         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6924         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6925         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6926         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6927         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6928         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6929         (USE_AS_WMEMCMP): New macro.
6930         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6931         * sysdeps/string/test-memcmp.c: Update.
6932         Fix simple_wmemcmp.
6933         Add new tests.
6934         * wcsmbs/wmemcmp.c: Update.
6935         (WMEMCMP): New macro.
6936         Fix overflow bug.
6937
6938 2011-10-12  Andreas Jaeger  <aj@suse.de>
6939
6940         [BZ #13268]
6941         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6942
6943 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
6944
6945         * libio/iofwide.c (do_length): Avoid warning.
6946
6947         * ctype/ctype.h (__isctype_f): Add missing __THROW.
6948
6949 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
6950
6951         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6952
6953         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6954         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6955         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6956         * sysdeps/i386/i686/fpu/e_log.S: New file.
6957         * sysdeps/i386/i686/fpu/e_logf.S: New file.
6958         * sysdeps/i386/i686/fpu/e_logl.S: New file.
6959
6960         * ctype/ctype.h: Add support for inlined isXXX functions when
6961         compiling C++ code.
6962
6963 2011-10-14  Andreas Schwab  <schwab@redhat.com>
6964
6965         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6966
6967         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6968
6969 2011-10-13  Roland McGrath  <roland@hack.frob.com>
6970
6971         [BZ #13291]
6972         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6973
6974 2011-10-13  Andreas Schwab  <schwab@redhat.com>
6975
6976         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6977         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6978         feraiseexcept.
6979
6980         * sysdeps/x86_64/memrchr.S: Check for zero size.
6981
6982         * string/stratcliff.c: Add memrchr tests.
6983
6984 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6985
6986         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6987         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6988         rawmemchr-sse2 rawmemchr-sse2-bsf.
6989         * sysdeps/i386/i686/multiarch/memchr.S: New file.
6990         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6991         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6992         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6993         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6994         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6995         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6996         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6997         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6998         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6999         * string/memrchr.c (MEMRCHR): New macro.
7000
7001 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
7002
7003         Add integration with gcc's -ffinite-math-only and optimize wrapper
7004         functions in libm.
7005         * Versions.def: Define GLIBC_2.15 version for libm.
7006         * math/Makefile (headers): Add bits/math-finite.h.
7007         * math/bits/math-finite.h: New file.
7008         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7009         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7010         * math/e_acoshl.c: Add __*_finite alias.
7011         * math/e_acosl.c: Likewise.
7012         * math/e_asinl.c: Likewise.
7013         * math/e_atan2l.c: Likewise.
7014         * math/e_atanhl.c: Likewise.
7015         * math/e_coshl.c: Likewise.
7016         * math/e_exp10.c: Likewise.
7017         * math/e_exp10f.c: Likewise.
7018         * math/e_exp10l.c: Likewise.
7019         * math/e_exp2l.c: Likewise.
7020         * math/e_fmodl.c: Likewise.
7021         * math/e_gammal_r.c: Likewise.
7022         * math/e_hypotl.c: Likewise.
7023         * math/e_j0l.c: Likewise.
7024         * math/e_j1l.c: Likewise.
7025         * math/e_jnl.c: Likewise.
7026         * math/e_lgammal_r.c: Likewise.
7027         * math/e_log10l.c: Likewise.
7028         * math/e_log2l.c: Likewise.
7029         * math/e_logl.c: Likewise.
7030         * math/e_powl.c: Likewise.
7031         * math/e_sinhl.c: Likewise.
7032         * math/e_sqrtl.c: Likewise.
7033         * math/e_scalb.c: Completely rewritten and optimized.
7034         * math/e_scalbf.c: Likewise.
7035         * math/e_scalbl.c: Likewise.
7036         * math/w_acos.c: Likewise.
7037         * math/w_acosf.c: Likewise.
7038         * math/w_acosl.c: Likewise.
7039         * math/w_acosh.c: Likewise.
7040         * math/w_acoshf.c: Likewise.
7041         * math/w_acoshl.c: Likewise.
7042         * math/w_asin.c: Likewise.
7043         * math/w_asinf.c: Likewise.
7044         * math/w_asinl.c: Likewise.
7045         * math/w_atan2.c: Likewise.
7046         * math/w_atan2f.c: Likewise.
7047         * math/w_atan2l.c: Likewise.
7048         * math/w_atanh.c: Likewise.
7049         * math/w_atanhf.c: Likewise.
7050         * math/w_atanhl.c: Likewise.
7051         * math/w_exp10.c: Likewise.
7052         * math/w_exp10f.c: Likewise.
7053         * math/w_exp10l.c: Likewise.
7054         * math/w_fmod.c: Likewise.
7055         * math/w_fmodf.c: Likewise.
7056         * math/w_fmodl.c: Likewise.
7057         * math/w_j0.c: Likewise.
7058         * math/w_j0f.c: Likewise.
7059         * math/w_j0l.c: Likewise.
7060         * math/w_j1.c: Likewise.
7061         * math/w_j1f.c: Likewise.
7062         * math/w_j1l.c: Likewise.
7063         * math/w_jn.c: Likewise.
7064         * math/w_jnf.c: Likewise.
7065         * math/w_log.c: Likewise.
7066         * math/w_logf.c: Likewise.
7067         * math/w_logl.c: Likewise.
7068         * math/w_log10.c: Likewise.
7069         * math/w_log10f.c: Likewise.
7070         * math/w_log10l.c: Likewise.
7071         * math/w_log2.c: Likewise.
7072         * math/w_log2f.c: Likewise.
7073         * math/w_log2l.c: Likewise.
7074         * math/w_pow.c: Likewise.
7075         * math/w_powf.c: Likewise.
7076         * math/w_powl.c: Likewise.
7077         * math/w_remainder.c: Likewise.
7078         * math/w_remainderf.c: Likewise.
7079         * math/w_remainderl.c: Likewise.
7080         * math/w_scalb.c: Likewise.
7081         * math/w_scalbf.c: Likewise.
7082         * math/w_scalbl.c: Likewise.
7083         * math/w_sqrt.c: Likewise.
7084         * math/w_sqrtf.c: Likewise.
7085         * math/w_sqrtl.c: Likewise.
7086         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7087         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
7088         used.
7089         * math/math_private.h: Declare __kernel_standard_f.
7090         * math/w_cosh.c: Remove cruft and optimize a bit.
7091         * math/w_coshf.c: Likewise.
7092         * math/w_coshl.c: Likewise.
7093         * math/w_exp2.c: Likewise.
7094         * math/w_exp2f.c: Likewise.
7095         * math/w_exp2l.c: Likewise.
7096         * math/w_hypot.c: Likewise.
7097         * math/w_hypotf.c: Likewise.
7098         * math/w_hypotl.c: Likewise.
7099         * math/w_lgamma.c: Likewise.
7100         * math/w_lgamma_r.c: Likewise.
7101         * math/w_lgammaf.c: Likewise.
7102         * math/w_lgammaf_r.c: Likewise.
7103         * math/w_lgammal.c: Likewise.
7104         * math/w_lgammal_r.c: Likewise.
7105         * math/w_sinh.c: Likewise.
7106         * math/w_sinhf.c: Likewise.
7107         * math/w_sinhl.c: Likewise.
7108         * math/w_tgamma.c: Likewise.
7109         * math/w_tgammaf.c: Likewise.
7110         * math/w_tgammal.c: Likewise.
7111         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7112         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7113         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7114         Minor optimizations.  Pretty printing.  Remove cruft.
7115         * sysdeps/i386/fpu/e_acosf.S: Likewise.
7116         * sysdeps/i386/fpu/e_acosh.S: Likewise.
7117         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7118         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7119         * sysdeps/i386/fpu/e_acosl.c: Likewise.
7120         * sysdeps/i386/fpu/e_asin.S: Likewise.
7121         * sysdeps/i386/fpu/e_asinf.S: Likewise.
7122         * sysdeps/i386/fpu/e_atan2.S: Likewise.
7123         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7124         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7125         * sysdeps/i386/fpu/e_atanh.S: Likewise.
7126         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7127         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7128         * sysdeps/i386/fpu/e_exp10.S: Likewise.
7129         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7130         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7131         * sysdeps/i386/fpu/e_exp2.S: Likewise.
7132         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7133         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7134         * sysdeps/i386/fpu/e_fmod.S: Likewise.
7135         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7136         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7137         * sysdeps/i386/fpu/e_hypot.S: Likewise.
7138         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7139         * sysdeps/i386/fpu/e_log.S: Likewise.
7140         * sysdeps/i386/fpu/e_log10.S: Likewise.
7141         * sysdeps/i386/fpu/e_log10f.S: Likewise.
7142         * sysdeps/i386/fpu/e_log10l.S: Likewise.
7143         * sysdeps/i386/fpu/e_log2.S: Likewise.
7144         * sysdeps/i386/fpu/e_log2f.S: Likewise.
7145         * sysdeps/i386/fpu/e_log2l.S: Likewise.
7146         * sysdeps/i386/fpu/e_logf.S: Likewise.
7147         * sysdeps/i386/fpu/e_logl.S: Likewise.
7148         * sysdeps/i386/fpu/e_pow.S: Likewise.
7149         * sysdeps/i386/fpu/e_powf.S: Likewise.
7150         * sysdeps/i386/fpu/e_powl.S: Likewise.
7151         * sysdeps/i386/fpu/e_remainder.S: Likewise.
7152         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7153         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7154         * sysdeps/i386/fpu/e_scalb.S: Likewise.
7155         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7156         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7157         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7158         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7159         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7160         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7161         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7162         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7163         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7164         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7165         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7166         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7167         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7168         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7169         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7170         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7171         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7172         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7173         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7174         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7175         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7176         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7177         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7178         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7179         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7180         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7181         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7182         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7183         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7184         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7185         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7186         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7187         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7188         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7189         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7190         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7191         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7192         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7193         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7194         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7195         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7196         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7197         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7198         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7199         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7200         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7201         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7202         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7203         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7204         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7205         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7206         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7207         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7208         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7209         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7210         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7211         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7212         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7213         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7214         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7215         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7216         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7217         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7218         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7219         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7220         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7221         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7222         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7223         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7224         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7225         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7226         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7227         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7228         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7229         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7230         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7231         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7232         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7233         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7234         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7235         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7236         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7237         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7238         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7239         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7240         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7241         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7242         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7243         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7244         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7245         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7246         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7247         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7248         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7249         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7250         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7251         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7252         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7253         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7254         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7255         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7256         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7257         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7258         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7259         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7260         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7261         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7262         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7263         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7264         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7265         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7266         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7267         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7268         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7269         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7270         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
7271         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7272         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7273         (__isnanf): Likewise.
7274         (__isinf_ns): Likewise.
7275         (__isinf_nsf): Likewise.
7276         (__finite): Likewise.
7277         (__finitef): Likewise.
7278         (__ieee754_sqrt): Define as macro.
7279         (__ieee754_sqrtf): Define as macro.
7280         (__ieee754_sqrtl): Define as macro.
7281         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7282         inlined copy.
7283         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7284         __FINITE_MATH_ONLY__ consistent.
7285         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7286
7287 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
7288
7289         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7290         of rawmemchr.
7291
7292         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7293
7294 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
7295
7296         * po/ja.po: Update from translation team.
7297
7298 2011-10-08  Roland McGrath  <roland@hack.frob.com>
7299
7300         * locale/programs/locarchive.c (prepare_address_space): New function.
7301         (create_archive, enlarge_archive, open_archive): Use it.
7302
7303         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7304         inside [SHARED], where it is used.
7305
7306         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7307
7308         * nss/getent.c (netgroup_keys): Remove unused variable.
7309         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7310
7311 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
7312
7313         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7314         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7315         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7316         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7317         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7318         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7319         * math/Makefile (libm-calls): Add s_isinf_ns.
7320         * math/divtc3.c: Use __isinf_nsl instead of isinf.
7321         * math/multc3.c: Likewise.
7322         * math/s_casin.c: Likewise.
7323         * math/s_casinf.c: Likewise.
7324         * math/s_casinl.c: Likewise.
7325         * math/s_ccos.c: Likewise.
7326         * math/s_ccosf.c: Likewise.
7327         * math/s_ccosl.c: Likewise.
7328         * math/s_ctan.c: Likewise.
7329         * math/s_ctanf.c: Likewise.
7330         * math/s_ctanh.c: Likewise.
7331         * math/s_ctanhf.c: Likewise.
7332         * math/s_ctanhl.c: Likewise.
7333         * math/s_ctanl.c: Likewise.
7334         * math/w_fmod.c: Likewise.
7335         * math/w_fmodf.c: Likewise.
7336         * math/w_fmodl.c: Likewise.
7337         * math/w_remainder.c: Likewise.
7338         * math/w_remainderf.c: Likewise.
7339         * math/w_remainderl.c: Likewise.
7340         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7341         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7342         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7343         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7344         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7345         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7346         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7347         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7348
7349         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7350         of the number.
7351         * stdio-common/printf_fphex.c: Likewise.
7352         * stdio-common/printf_size.c: Likewise.
7353
7354         * math/e_exp10.c: Include math_private.h using <...> not "...".
7355         * math/e_exp10f.c: Likewise.
7356         * math/e_exp10l.c: Likewise.
7357         * math/e_exp2l.c: Likewise.
7358         * math/e_j0l.c: Likewise.
7359         * math/e_j1l.c: Likewise.
7360         * math/e_jnl.c: Likewise.
7361         * math/e_lgammal_r.c: Likewise.
7362         * math/e_rem_pio2l.c: Likewise.
7363         * math/e_scalb.c: Likewise.
7364         * math/e_scalbf.c: Likewise.
7365         * math/e_scalbl.c: Likewise.
7366         * math/k_cosl.c: Likewise.
7367         * math/k_sinl.c: Likewise.
7368         * math/k_tanl.c: Likewise.
7369         * math/s_cacoshf.c: Likewise.
7370         * math/s_catan.c: Likewise.
7371         * math/s_catanf.c: Likewise.
7372         * math/s_catanh.c: Likewise.
7373         * math/s_catanhf.c: Likewise.
7374         * math/s_catanhl.c: Likewise.
7375         * math/s_catanl.c: Likewise.
7376         * math/s_ccosh.c: Likewise.
7377         * math/s_ccoshf.c: Likewise.
7378         * math/s_ccoshl.c: Likewise.
7379         * math/s_cexp.c: Likewise.
7380         * math/s_cexpf.c: Likewise.
7381         * math/s_cexpl.c: Likewise.
7382         * math/s_clog.c: Likewise.
7383         * math/s_clog10.c: Likewise.
7384         * math/s_clog10f.c: Likewise.
7385         * math/s_clog10l.c: Likewise.
7386         * math/s_clogf.c: Likewise.
7387         * math/s_clogl.c: Likewise.
7388         * math/s_csin.c: Likewise.
7389         * math/s_csinf.c: Likewise.
7390         * math/s_csinh.c: Likewise.
7391         * math/s_csinhf.c: Likewise.
7392         * math/s_csinhl.c: Likewise.
7393         * math/s_csinl.c: Likewise.
7394         * math/s_csqrt.c: Likewise.
7395         * math/s_csqrtf.c: Likewise.
7396         * math/s_csqrtl.c: Likewise.
7397         * math/s_ctan.c: Likewise.
7398         * math/s_ctanf.c: Likewise.
7399         * math/s_ctanh.c: Likewise.
7400         * math/s_ctanhf.c: Likewise.
7401         * math/s_ctanhl.c: Likewise.
7402         * math/s_ctanl.c: Likewise.
7403         * math/s_ldexp.c: Likewise.
7404         * math/s_ldexpf.c: Likewise.
7405         * math/s_ldexpl.c: Likewise.
7406         * math/s_significand.c: Likewise.
7407         * math/s_significandf.c: Likewise.
7408         * math/s_significandl.c: Likewise.
7409         * math/w_acos.c: Likewise.
7410         * math/w_acosf.c: Likewise.
7411         * math/w_acosh.c: Likewise.
7412         * math/w_acoshf.c: Likewise.
7413         * math/w_acoshl.c: Likewise.
7414         * math/w_acosl.c: Likewise.
7415         * math/w_asin.c: Likewise.
7416         * math/w_asinf.c: Likewise.
7417         * math/w_asinl.c: Likewise.
7418         * math/w_atan2.c: Likewise.
7419         * math/w_atan2f.c: Likewise.
7420         * math/w_atan2l.c: Likewise.
7421         * math/w_atanh.c: Likewise.
7422         * math/w_atanhf.c: Likewise.
7423         * math/w_atanhl.c: Likewise.
7424         * math/w_cosh.c: Likewise.
7425         * math/w_coshf.c: Likewise.
7426         * math/w_coshl.c: Likewise.
7427         * math/w_dremf.c: Likewise.
7428         * math/w_exp10.c: Likewise.
7429         * math/w_exp10f.c: Likewise.
7430         * math/w_exp10l.c: Likewise.
7431         * math/w_exp2.c: Likewise.
7432         * math/w_exp2f.c: Likewise.
7433         * math/w_fmod.c: Likewise.
7434         * math/w_fmodf.c: Likewise.
7435         * math/w_fmodl.c: Likewise.
7436         * math/w_hypot.c: Likewise.
7437         * math/w_hypotf.c: Likewise.
7438         * math/w_hypotl.c: Likewise.
7439         * math/w_j0.c: Likewise.
7440         * math/w_j0f.c: Likewise.
7441         * math/w_j0l.c: Likewise.
7442         * math/w_j1.c: Likewise.
7443         * math/w_j1f.c: Likewise.
7444         * math/w_j1l.c: Likewise.
7445         * math/w_jn.c: Likewise.
7446         * math/w_jnf.c: Likewise.
7447         * math/w_jnl.c: Likewise.
7448         * math/w_lgamma.c: Likewise.
7449         * math/w_lgamma_r.c: Likewise.
7450         * math/w_lgammaf.c: Likewise.
7451         * math/w_lgammaf_r.c: Likewise.
7452         * math/w_lgammal.c: Likewise.
7453         * math/w_lgammal_r.c: Likewise.
7454         * math/w_log.c: Likewise.
7455         * math/w_log10.c: Likewise.
7456         * math/w_log10f.c: Likewise.
7457         * math/w_log10l.c: Likewise.
7458         * math/w_log2.c: Likewise.
7459         * math/w_log2f.c: Likewise.
7460         * math/w_log2l.c: Likewise.
7461         * math/w_logf.c: Likewise.
7462         * math/w_logl.c: Likewise.
7463         * math/w_pow.c: Likewise.
7464         * math/w_powf.c: Likewise.
7465         * math/w_powl.c: Likewise.
7466         * math/w_remainder.c: Likewise.
7467         * math/w_remainderf.c: Likewise.
7468         * math/w_remainderl.c: Likewise.
7469         * math/w_scalb.c: Likewise.
7470         * math/w_scalbf.c: Likewise.
7471         * math/w_scalbl.c: Likewise.
7472         * math/w_sinh.c: Likewise.
7473         * math/w_sinhf.c: Likewise.
7474         * math/w_sinhl.c: Likewise.
7475         * math/w_sqrt.c: Likewise.
7476         * math/w_sqrtf.c: Likewise.
7477         * math/w_sqrtl.c: Likewise.
7478         * math/w_tgamma.c: Likewise.
7479         * math/w_tgammaf.c: Likewise.
7480         * math/w_tgammal.c: Likewise.
7481
7482         * po/ja.po: Update from translation team.
7483
7484 2011-09-29  Andreas Jaeger  <aj@suse.de>
7485
7486         [BZ #13179]
7487         * sunrpc/netname.c (netname2host): Fix logic.
7488
7489         [BZ #6779]
7490         [BZ #6783]
7491         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7492         correctly.
7493         * math/w_remainder.c (__remainder): Likewise.
7494         * math/w_remainderf.c (__remainderf): Likewise.
7495         * math/libm-test.inc (remainder_test): Add test cases.
7496
7497 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7498
7499         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
7500         sdiv_qrnnd.
7501
7502 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7503
7504         * string/test-memcmp.c: Avoid unncessary #defines.
7505         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7506
7507 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7508
7509         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7510         Use new sse2 version for core i3 - i7 as it's faster
7511         than sse42 version.
7512         (bit_Prefer_PMINUB_for_stringop): New.
7513         * sysdeps/x86_64/rawmemchr.S: Update.
7514         Replace with faster SSE2 version.
7515         * sysdeps/x86_64/memrchr.S: New file.
7516         * sysdeps/x86_64/memchr.S: Update.
7517         Replace with faster SSE2 version.
7518
7519 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
7520
7521         * elf/dl-load.c (lose): Add cast to avoid warning.
7522
7523 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7524
7525         * po/ca.po: Update from translation team.
7526
7527         * inet/getnetgrent_r.c: Hook up nscd.
7528         * nscd/Makefile (routines): Add nscd_netgroup.
7529         (nscd-modules): Add netgroupcache.
7530         (CFLAGS-netgroupcache.c): Define.
7531         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7532         (cache_search): Add const to second parameter.
7533         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7534         INNETGR.
7535         (dbs): Add netgrdb entry.
7536         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7537         (verify_persistent_db): Handle netgrdb.
7538         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7539         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7540         GETFDNETGR.
7541         (netgroup_response_header): Define.
7542         (innetgroup_response_header): Define.
7543         (datahead): Add netgroup_response_header and innetgroup_response_header
7544         elements.
7545         * nscd/nscd.conf: Add entries for netgroup cache.
7546         * nscd/nscd.h (dbtype): Add netgrdb.
7547         (_PATH_NSCD_NETGROUP_DB): Define.
7548         (netgroup_iov_disabled): Declare.
7549         (xmalloc, xcalloc, xrealloc): Move declarations here.
7550         (cache_search): Adjust prototype.
7551         Add netgroup-related prototypes.
7552         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7553         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7554         (__nscd_innetgr): Declare.
7555         * nscd/selinux.c (perms): Use access_vector_t as element type and
7556         add netgroup-related initializers.
7557         * nscd/netgroupcache.c: New file.
7558         * nscd/nscd_netgroup.c: New file.
7559         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7560         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7561         For four parameters use innetgr.
7562         * nss/nss_files/files-init.c: Add definition and callback for netgr.
7563         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7564         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7565         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7566
7567         * nscd/connections.c (register_traced_file): Don't register file
7568         for disabled databases.
7569
7570 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
7571
7572         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7573
7574         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7575         from tree and freeing node.
7576
7577 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
7578
7579         * nss/nsswitch.c (__nss_database_lookup): Handle
7580         nss_parse_service_list out of memory case.
7581
7582 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
7583
7584         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7585         out of memory case.
7586
7587 2011-10-04  Andreas Schwab  <schwab@redhat.com>
7588
7589         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7590         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7591         pass it down.
7592         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7593         elf_machine_rela, elf_machine_lazy_rel.
7594         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7595         (ELF_DYNAMIC_DO_REL): Likewise.
7596         (ELF_DYNAMIC_DO_RELA): Likewise.
7597         (ELF_DYNAMIC_RELOCATE): Likewise.
7598         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7599         to ELF_DYNAMIC_DO_REL.
7600         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7601         (dl_main): In trace mode always set __RTLD_NOIFUNC.
7602         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7603         elf_machine_rela.
7604         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7605         skip_ifunc, don't call ifunc function if non-zero.
7606         (elf_machine_rela): Likewise.
7607         (elf_machine_lazy_rel): Likewise.
7608         (elf_machine_lazy_rela): Likewise.
7609         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7610         (elf_machine_lazy_rel): Likewise.
7611         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7612         Likewise.
7613         (elf_machine_lazy_rel): Likewise.
7614         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7615         Likewise.
7616         (elf_machine_lazy_rel): Likewise.
7617         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7618         (elf_machine_lazy_rel): Likewise.
7619         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7620         (elf_machine_lazy_rel): Likewise.
7621         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7622         (elf_machine_lazy_rel): Likewise.
7623         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7624         (elf_machine_lazy_rel): Likewise.
7625         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7626         (elf_machine_lazy_rel): Likewise.
7627         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7628         (elf_machine_lazy_rel): Likewise.
7629
7630 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
7631
7632         * nss/nss_files/files-init.c (_nss_files_init): Use static
7633         initialization for all the *_traced_file variables.
7634
7635 2011-09-28  Andreas Schwab  <schwab@redhat.com>
7636
7637         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7638
7639 2011-09-27  Roland McGrath  <roland@hack.frob.com>
7640
7641         [BZ #13226]
7642         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7643
7644 2011-09-27  Andreas Schwab  <schwab@redhat.com>
7645
7646         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7647         Reread the line before reparsing it.
7648
7649 2011-09-26  Andreas Schwab  <schwab@redhat.com>
7650
7651         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7652
7653 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
7654             Maxim Kuvyrkov  <maxim@codesourcery.com>
7655             Joseph Myers  <joseph@codesourcery.com>
7656
7657         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7658         if needed for __stack_chk_guard.
7659
7660 2011-09-19  Roland McGrath  <roland@hack.frob.com>
7661
7662         * sysdeps/posix/spawni.c (script_execute): Always define it.
7663         It will be optimized away if unused.
7664         (maybe_script_execute): New function.
7665         (__spawni): Call it.
7666
7667         * Makerules: Don't include tls.make.
7668         (config-tls): Always set to thread.
7669         * tls.make.c: File removed.
7670
7671 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
7672
7673         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7674         * config.make.in (CPPFLAGS-config): New substituted variable.
7675
7676 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7677
7678         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7679
7680         [BZ #13192]
7681         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7682         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7683
7684 2011-09-15  Roland McGrath  <roland@hack.frob.com>
7685
7686         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7687         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7688         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7689         (CALL_FAIL): Likewise.
7690         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7691         (CALL_FAIL): Macro removed.
7692         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7693
7694 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7695
7696         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7697         for __FINITE_MATH_ONLY__ == 1.
7698
7699 2011-09-15  Andreas Schwab  <schwab@redhat.com>
7700
7701         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7702         __ieee754_sqrt instead of sqrt.
7703         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7704         __ieee754_sqrtf instead of sqrtf.
7705         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7706         __floorf instead of floorf.
7707         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7708         __floorf, __truncf instead of floorf, truncf.
7709
7710 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
7711
7712         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7713
7714         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7715         __extern_always_inline.
7716         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7717         32-bit.
7718
7719 2011-09-14  Andreas Schwab  <schwab@redhat.com>
7720
7721         * elf/rtld.c (dl_main): Also relocate in dependency order when
7722         doing symbol dependency testing.
7723
7724 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
7725
7726         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7727         Always define `refsym'.
7728
7729 2011-09-13  Andreas Schwab  <schwab@redhat.com>
7730
7731         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7732         (__FD_ELT): Renamed from __FDELT.
7733         * misc/bits/select2.h (__FD_ELT): Likewise.
7734         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7735         __FD_MASK instead of __FDELT, __FDMASK.
7736         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7737         Likewise.
7738         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7739         Likewise.
7740
7741         * elf/Makefile (gen-ldd): Fix pattern.
7742
7743         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7744         (init_tls): Likewise.
7745
7746 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
7747
7748         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7749
7750 2011-09-12  Andreas Schwab  <schwab@redhat.com>
7751
7752         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7753         `struct cmsghdr *' instead of `void *'.
7754         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7755         Likewise.
7756
7757 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
7758
7759         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7760         if non-absolute.
7761         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7762         ldd_rewrite_script.
7763
7764 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
7765
7766         * configure.in: Remove --with-tls option.
7767         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7768         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7769         out in case it is missing.
7770         * sysdeps/ia64/elf/configure.in: Likewise.
7771         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7772         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7773         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7774         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7775         * sysdeps/sh/elf/configure.in: Likewise.
7776         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7777         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7778         * sysdeps/x86_64/elf/configure.in: Likewise.
7779         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7780         * sysdeps/mach/hurd/tls.h: Likewise.
7781
7782         [BZ #13067]
7783         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7784
7785         [BZ #13090]
7786         * configure.in: Fix use of AC_INIT.
7787
7788         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7789
7790 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
7791
7792         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7793         __set_errno.
7794         * malloc/hooks.c: Likewise.
7795
7796         [BZ #11929]
7797         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
7798         variables statically.
7799         (narenas): Initialize.
7800         (list_lock): Initialize.
7801         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
7802         initializtion of main_arena and list_lock.  Small cleanups.
7803         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7804         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
7805         Add initializers to main_arena and mp_.
7806         (malloc_state): Remove pagesize member.  Change all users to use
7807         GLRO(dl_pagesize).
7808
7809         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7810         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
7811         is always initialized.
7812
7813         * malloc/malloc.c: Removed unused configurations and dead code.
7814         * malloc/arena.c: Likewise.
7815         * malloc/hooks.c: Likewise.
7816         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7817
7818         * include/tls.h: Removed.  USE___THREAD must always be defined.
7819         * bits/libc-tsd.h: Don't handle !USE___THREAD.
7820         * elf/dl-libc.c: Likewise.
7821         * elf/dl-tsd.c: Likewise.
7822         * include/errno.h: Likewise.
7823         * include/netdb.h: Likewise.
7824         * include/resolv.h: Likewise.
7825         * inet/herrno-loc.c: Likewise.
7826         * inet/herrno.c: Likewise.
7827         * malloc/arena.c: Likewise.
7828         * malloc/hooks.c: Likewise.
7829         * malloc/malloc.c: Likewise.
7830         * resolv/res-state.c: Likewise.
7831         * resolv/res_libc.c: Likewise.
7832         * sysdeps/i386/dl-machine.h: Likewise.
7833         * sysdeps/ia64/dl-machine.h: Likewise.
7834         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7835         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7836         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7837         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7838         * sysdeps/sh/dl-machine.h: Likewise.
7839         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7840         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7841         * sysdeps/unix/i386/sysdep.S: Likewise.
7842         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7843         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7844         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7845         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7846         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7847         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7848         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7849         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7850         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7851         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7852         * sysdeps/unix/x86_64/sysdep.S: Likewise.
7853         * sysdeps/x86_64/dl-machine.h: Likewise.
7854         * tls.make.c: Likewise.
7855
7856         * configure.in: Remove --with-__thread option.  Make tests for
7857         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7858         tls_model attribute fail if no support is available.  Remove
7859         USE_IN_LIBIO.
7860         * Makeconfig: Adjust for dropped configure option.  All features are
7861         now mandatory.
7862         * Makerules: Likewise.
7863         * Versions.def: Likewise.
7864         * argp/argp-fmtstream.c: Likewise.
7865         * argp/argp-fmtstream.h: Likewise.
7866         * argp/argp-help.c: Likewise.
7867         * assert/assert.c: Likewise.
7868         * config.h.in: Likewise.
7869         * config.make.in: Likewise.
7870         * configure: Likewise.
7871         * configure.in: Likewise.
7872         * csu/Versions: Likewise.
7873         * csu/init.c: Likewise.
7874         * elf/tst-audit2.c: Likewise.
7875         * elf/tst-tls10.c: Likewise.
7876         * elf/tst-tls10.h: Likewise.
7877         * elf/tst-tls11.c: Likewise.
7878         * elf/tst-tls12.c: Likewise.
7879         * elf/tst-tls14.c: Likewise.
7880         * elf/tst-tlsmod11.c: Likewise.
7881         * elf/tst-tlsmod12.c: Likewise.
7882         * elf/tst-tlsmod13.c: Likewise.
7883         * elf/tst-tlsmod13a.c: Likewise.
7884         * elf/tst-tlsmod14a.c: Likewise.
7885         * elf/tst-tlsmod15b.c: Likewise.
7886         * elf/tst-tlsmod16a.c: Likewise.
7887         * elf/tst-tlsmod16b.c: Likewise.
7888         * elf/tst-tlsmod7.c: Likewise.
7889         * elf/tst-tlsmod8.c: Likewise.
7890         * elf/tst-tlsmod9.c: Likewise.
7891         * gmon/gmon.c: Likewise.
7892         * grp/fgetgrent_r.c: Likewise.
7893         * grp/putgrent.c: Likewise.
7894         * hurd/fopenport.c: Likewise.
7895         * include/libc-symbols.h: Likewise.
7896         * include/tls.h: Likewise.
7897         * intl/gettextP.h: Likewise.
7898         * intl/loadinfo.h: Likewise.
7899         * locale/global-locale.c: Likewise.
7900         * locale/localeinfo.h: Likewise.
7901         * mach/devstream.c: Likewise.
7902         * malloc/arena.c: Likewise.
7903         * malloc/set-freeres.c: Likewise.
7904         * misc/err.c: Likewise.
7905         * misc/getttyent.c: Likewise.
7906         * misc/mntent_r.c: Likewise.
7907         * posix/getopt.c: Likewise.
7908         * posix/wordexp.c: Likewise.
7909         * pwd/fgetpwent_r.c: Likewise.
7910         * resolv/Versions: Likewise.
7911         * resolv/res_hconf.c: Likewise.
7912         * shadow/fgetspent_r.c: Likewise.
7913         * shadow/putspent.c: Likewise.
7914         * stdio-common/printf_fphex.c: Likewise.
7915         * stdio-common/tmpfile.c: Likewise.
7916         * stdlib/abort.c: Likewise.
7917         * stdlib/fmtmsg.c: Likewise.
7918         * sunrpc/auth_unix.c: Likewise.
7919         * sunrpc/clnt_perr.c: Likewise.
7920         * sunrpc/clnt_tcp.c: Likewise.
7921         * sunrpc/clnt_udp.c: Likewise.
7922         * sunrpc/clnt_unix.c: Likewise.
7923         * sunrpc/openchild.c: Likewise.
7924         * sunrpc/svc_simple.c: Likewise.
7925         * sunrpc/svc_tcp.c: Likewise.
7926         * sunrpc/svc_udp.c: Likewise.
7927         * sunrpc/svc_unix.c: Likewise.
7928         * sunrpc/xdr.c: Likewise.
7929         * sunrpc/xdr_array.c: Likewise.
7930         * sunrpc/xdr_rec.c: Likewise.
7931         * sunrpc/xdr_ref.c: Likewise.
7932         * sunrpc/xdr_stdio.c: Likewise.
7933
7934 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7935
7936         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7937
7938 2011-07-03  Andreas Jaeger  <aj@suse.de>
7939
7940         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7941         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7942         regenerate with gen-libm-tests.pl.
7943
7944 2010-05-12  Petr Baudis  <pasky@suse.cz>
7945
7946         [BZ #11589]
7947         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7948         around j0() zero points by switching to j1().
7949         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7950         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7951         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7952         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7953
7954 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7955
7956         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7957         instead of 0.
7958         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7959         instead of 0.                              .
7960         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7961         Patch in part by Pavel Roskin <proski@gnu.org>.
7962
7963         [BZ #13138]
7964         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7965         realloc.
7966         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
7967         Free memory block if necessary.
7968
7969         [BZ #12847]
7970         * libio/genops.c (INTDEF): For string streams the _lock pointer can
7971         be NULL.  Don't lock in this case.
7972
7973 2011-09-09  Roland McGrath  <roland@hack.frob.com>
7974
7975         * elf/elf.h (ELFOSABI_GNU): New macro.
7976         (ELFOSABI_LINUX): Define to that.
7977
7978 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
7979
7980         * string/strncat.c (strncat): Undef the symbol in case it has been
7981         defined in bits/string.h.
7982
7983 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7984
7985         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7986
7987         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7988         link map.
7989
7990 2011-08-17  Andreas Jaeger  <aj@suse.de>
7991
7992         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7993
7994 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7995             Ian Lance Taylor  <iant@google.com>
7996
7997         * math/libm-test.inc (lround_test): New testcase.
7998         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7999
8000 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
8001
8002         * Makefile: Remove support for automatic cvs check-ins.
8003         * Makerules: Likewise.
8004         * config.make.in: Likewise.
8005         * configure.in: Likewise.
8006         * intl/Makefile: Likewise.
8007         * locale/Makefile: Likewise.
8008         * po/Makefile: Likewise.
8009         * posix/Makefile: Likewise.
8010         * sysdeps/gnu/Makefile: Likewise.
8011         * sysdeps/mach/hurd/Makefile: Likewise.
8012         * sysdeps/sparc/sparc32/Makefile: Likewise.
8013
8014         [BZ #13118]
8015         * posix/Makefile (bug-regex32-ENV): Define.
8016         Patch by John Stanley <jpsinthemix@verizon.net>.
8017
8018         * misc/Makefile (headers): Add bits/select2.h.
8019         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8020         * misc/bits/select2.h: New file.
8021         * include/bits/select2.h: New file.
8022         * debug/Makefile (routines): Add fdelt_chk.
8023         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8024         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8025         FD_ISSET.
8026         * debug/fdelt_chk.c: New file.
8027
8028         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
8029         * wcsmbs/test-wmemcmp.c: Likewise.
8030         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
8031         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
8032
8033 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8034
8035         * string/Makefile (strop-tests): Add memcmp.
8036         * string/test-wmemcmp.c: New file.
8037         * string/test-memcmp.c: Add wmemcmp support.
8038
8039 2011-09-08  Roland McGrath  <roland@hack.frob.com>
8040
8041         [BZ #13153]
8042         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8043         2011-07-19 change.
8044
8045         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8046         garbage value in a __mach_port_mod_refs call in the cases of the
8047         task-self and thread-self ports.
8048
8049 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8050
8051         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8052
8053 2011-09-08  Andreas Schwab  <schwab@redhat.com>
8054
8055         * elf/dl-load.c (lose): Check for non-null L.
8056
8057 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
8058
8059         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8060
8061         * elf/dl-libc.c (dlerror_run): Pass back error code from
8062         dl_catch_error.
8063
8064         [BZ #13123]
8065         * elf/dl-load.c (lose): Free l_origin if it is valid.
8066
8067         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8068         names.
8069         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8070         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8071         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8072         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8073         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8074         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8075
8076 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8077
8078         * sysdeps/powerpc/fpu/e_hypot.c: New file.
8079         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8080         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8081         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8082         * sysdeps/powerpc/fpu/k_cosf.c: New file.
8083         * sysdeps/powerpc/fpu/k_sinf.c: New file.
8084         * sysdeps/powerpc/fpu/s_cosf.c: New file.
8085         * sysdeps/powerpc/fpu/s_sinf.c: New file.
8086         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8087         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8088
8089 2011-08-15  Alan Modra  <amodra@gmail.com>
8090
8091         [BZ #13092]
8092         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8093         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8094         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
8095         ppc_mcount to static-only-routines.
8096         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8097         __mcount_internal.
8098         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8099         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
8100
8101 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
8102
8103         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8104         for finite and infinity parameters.
8105
8106 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
8107
8108         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8109         and add nop instructions for throughput optimization.
8110         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8111
8112 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
8113
8114         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8115         aligned copy for power7 with vector-scalar instructions.
8116         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8117
8118 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
8119
8120         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8121         AVX check.
8122
8123 2011-09-07  Andreas Schwab  <schwab@redhat.com>
8124
8125         [BZ #13144]
8126         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8127         last change.
8128
8129 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
8130
8131         * sysdeps/unix/sysv/linux/x86_64/init-first.c
8132         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8133         syscall wrapper around clock_gettime in __vdso_clock_gettime.
8134         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8135         clock_gettime.
8136
8137 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
8138
8139         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8140         Forgot to demangle the pointer.
8141
8142         * sysdeps/i386/sysdep.h: Define atom_text_section.
8143         * sysdeps/x86_64/sysdep.h: Likewise.
8144         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8145         section with atom_text_section.
8146         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8147         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8148         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8149         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8150         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8151
8152         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8153         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8154         already be defined.  Change to take two parameters and don't assign
8155         result to variable.  Adjust all users.
8156         Define INTERNAL_GETTIME if not already defined.
8157         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8158         call.
8159         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8160         HAVE_CLOCK_GETTIME_VSYSCALL.
8161         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8162
8163         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8164         gettimeofday vsyscall, just use time.
8165
8166 2011-09-06  Andreas Schwab  <schwab@redhat.com>
8167
8168         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8169         <errno.h>.
8170
8171 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
8172
8173         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8174         syscall on x86-64.
8175         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8176         syscall.
8177         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8178         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8179         syscall if possible.
8180
8181 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
8182
8183         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8184         e_ident.  Don't pass to find_mapsXX.
8185         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8186
8187 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8188
8189         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8190         strchr-sse2-no-bsf strrchr-sse2-no-bsf
8191         * sysdeps/x86_64/multiarch/strchr.S: Update.
8192         Check bit_slow_BSF bit.
8193         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8194         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8195         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8196
8197 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
8198
8199         [BZ #13134]
8200         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8201         before glibc 2.15.
8202         (tryshell): Define.
8203         (__spawni): Change last parameter to be flag.  Test
8204         SPAWN_XFLAGS_USE_PATH flag to use path or not.
8205         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8206         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8207         * posix/spawni.c: Likewise.
8208         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8209         * posix/spawnp.c: Likewise.  Change normal version to use
8210         SPAWN_XFLAGS_USE_PATH.
8211         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8212         SPAWN_XFLAGS_TRY_SHELL.
8213
8214         [BZ #13150]
8215         * posix/glob.h: Remove gcc 1.x support.
8216
8217         [BZ #13068]
8218         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8219
8220 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8221
8222         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8223         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8224         strrchr-sse2-bsf
8225         * sysdeps/i386/i686/multiarch/strchr.S: New file.
8226         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8227         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8228         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8229         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8230         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8231
8232 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8233
8234         * sysdeps/x86_64/wcscmp.S: New file.
8235
8236         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8237         wcscmp-c wcscmp-sse2
8238         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8239         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8240         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8241         * wcsmbs/wcscmp.c: Allow renaming.
8242
8243 2011-09-05  David S. Miller  <davem@davemloft.net>
8244
8245         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8246         stack slot, rather than the struct return pointer slot.
8247         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8248         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8250         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8251
8252 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
8253
8254         * po/ja.po: Update from translation team.
8255
8256         [BZ #13144]
8257         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8258         kernel in 64-bit binaries.
8259
8260 2011-09-01  David S. Miller  <davem@davemloft.net>
8261
8262         * elf/elf.h (HWCAP_SPARC_*): Move to..
8263         * sysdeps/sparc/sysdep.h: this new file and add new values.
8264         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8265         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8266         _DL_HWCAP_COUNT to 24.
8267         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8268         entries.
8269         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8270         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8271         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8272         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8273         instead of magic constants.
8274         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8275
8276 2011-08-31  David S. Miller  <davem@davemloft.net>
8277
8278         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8279         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8280         Reimplement to do errno handling inline.
8281         (SYSCALL_ERROR_HANDLER): New macro.
8282         (__SYSCALL_STRING): Do not do errno handling in asm.
8283         (__CLONE_SYSCALL_STRING): Delete.
8284         (__INTERNAL_SYSCALL_STRING): Delete.
8285         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8286         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8287         (PSEUDO): Reimplement to do errno handling inline.
8288         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8289         (SYSCALL_ERROR_HANDLER): New macro.
8290         (__SYSCALL_STRING): Do not do errno handling in asm.
8291         (__CLONE_SYSCALL_STRING): Delete.
8292         (__INTERNAL_SYSCALL_STRING): Delete.
8293         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8294         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8295         i386.
8296         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8297         (inline_syscall*): Add 'err' argument.
8298         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8299         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8300         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8301         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8302
8303         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8304         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8305
8306 2011-08-30  Andreas Schwab  <schwab@redhat.com>
8307
8308         * elf/rtld.c (dl_main): Relocate objects in dependency order.
8309
8310 2011-08-29  Jiri Olsa <jolsa@redhat.com>
8311
8312         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8313         directive.
8314
8315 2011-08-24  David S. Miller  <davem@davemloft.net>
8316
8317         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8318
8319 2011-08-24  Andreas Schwab  <schwab@redhat.com>
8320
8321         * elf/Makefile: Add rules to build and run unload8 test.
8322         * elf/unload8.c: New file.
8323         * elf/unload8mod1.c: New file.
8324         * elf/unload8mod1x.c: New file.
8325         * elf/unload8mod2.c: New file.
8326         * elf/unload8mod3.c: New file.
8327
8328         * elf/dl-close.c (_dl_close_worker): Reset private search list if
8329         it wasn't used.
8330
8331 2011-08-23  David S. Miller  <davem@davemloft.net>
8332
8333         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8334         subtract stack bias.
8335         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8336         %sp not %fp in calculations.
8337         (_JMPBUF_UNWINDS_ADJ): Likewise.
8338
8339         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8340         (aio_suspend): Call it to force an exception region around the
8341         AIO_MISC_WAIT() invocation.
8342
8343 2011-08-23  Andreas Schwab  <schwab@redhat.com>
8344
8345         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8346         backslash.
8347
8348 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
8349
8350         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8351         protection macro.
8352         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8353         and <dl-machine.h>.
8354         (Elf64_FuncDesc): Remove.
8355
8356 2011-08-22  David S. Miller  <davem@davemloft.net>
8357
8358         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8359         sigaltstack check, add missing cfi directives.
8360         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8361         missing cfi directives, and sigaltstack handling.
8362
8363 2011-08-16  Andreas Schwab  <schwab@redhat.com>
8364
8365         [BZ #11724]
8366         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8367         object is seen twice.
8368         * elf/dl-fini.c (_dl_sort_fini): Likewise.
8369
8370         * elf/Makefile (distribute): Add tst-initorder2.c.
8371         (tests): Add tst-initorder2.
8372         (modules-names): Add tst-initorder2a tst-initorder2b
8373         tst-initorder2c tst-initorder2d.  Add rules to build them.
8374         ($(objpfx)tst-initorder2.out): New rule.
8375         * elf/tst-initorder2.c: New file.
8376         * elf/tst-initorder2.exp: New file.
8377
8378 2011-08-22  Andreas Schwab  <schwab@redhat.com>
8379
8380         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8381
8382         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8383         dependencies back to end of function.
8384
8385         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8386         $(elfobjdir)/ld.so.
8387
8388 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
8389
8390         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8391         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8392         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8393         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8394         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8395         of __vdso_gettimeofday.
8396         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8397         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
8398         attribute_hidden.
8399         (_libc_vdso_platform_setup): Remove initialization of
8400         __vdso_gettimeofday and __vdso_time.
8401
8402 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
8403
8404         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8405         and fgetc_unlocked.
8406         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8407         getc_unlocked.
8408
8409         * elf/dl-open.c (add_to_global): Report additions to the global scope
8410         for LD_DEBUG=scopes.
8411         (dl_open_worker): Also print scope of newly loaded dependencies.
8412         (_dl_show_scope): Indicate if there is no scope.
8413
8414         [BZ #13114]
8415         * stdio-common/Makefile (tests): Add bug24.
8416         * stdio-common/bug24.c: New file.
8417
8418 2011-08-19  Andreas Jaeger  <aj@suse.de>
8419
8420         [BZ #13114]
8421         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8422         non-existant file when using close-on-exec mode.
8423
8424 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
8425
8426         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8427         the very first instruction.
8428
8429         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8430         the CFI state in the end.
8431         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8432         inclusion of dl-trampoline.h.
8433         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8434
8435 2011-08-19  Andreas Schwab  <schwab@redhat.com>
8436
8437         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8438         expectations for long double.
8439
8440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8441         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8442
8443 2011-08-14  David S. Miller  <davem@davemloft.net>
8444
8445         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8446         artificual limit depends upon the system page size.
8447
8448 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
8449
8450         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8451         * resolv/Makefile: Define CFLAGS-libresolv.
8452
8453 2011-08-17  Andreas Schwab  <schwab@redhat.com>
8454
8455         * nss/makedb.c (compute_tables): Make variables used in nested
8456         function static.
8457
8458 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
8459
8460         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8461         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8462         if buffer was too small.
8463
8464         * elf/pldd.c (main): Attach to all threads in the process.
8465         Rewrite /proc handling to use *at functions.
8466
8467 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
8468
8469         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8470         specifies first scope to show.
8471         (dl_open_worker): Update callers.  Move printing scope of new
8472         object to before the relocation.
8473         * elf/rtld.c (dl_main): Update _dl_show_scope call.
8474         * sysdeps/generic/ldsodefs.h: Update declaration.
8475
8476         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8477         string for the scope number.
8478
8479 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
8480
8481         * nscd/servicescache.c (cache_addserv): Make sure written is always
8482         initialized.
8483
8484 2011-08-14  Roland McGrath  <roland@hack.frob.com>
8485
8486         * sysdeps/i386/i486/bits/atomic.h
8487         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8488         statement expression, so as to suppress "set but not used" warning.
8489         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8490
8491         * string/strncat.c (STRNCAT): Use prototype definition.
8492
8493         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8494         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8495         -Iprograms here.
8496         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8497         (localedef-modules): Add localedef.
8498         (locale-modules): Add locale.
8499
8500         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8501         * elf/rtld.c (dl_main): Invert order of assignment in last change,
8502         to avoid a warning.
8503
8504 2011-08-14  David S. Miller  <davem@davemloft.net>
8505
8506         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8507         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8508
8509 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
8510
8511         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8512         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8513         * elf/rtld.c (dl_main): Set l_name of vDSO.
8514         Call _dl_show_scope when DL_DEBUG_SCOPES.
8515         (process_dl_debug): Recognize scopes flag and also set it for all.
8516         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8517         Declare _dl_show_scope.
8518
8519         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8520         (do_dlopen): Pass caller_dlopen to dl_open.
8521         (__libc_dlopen_mode): Initialize caller_dlopen.
8522
8523         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8524         of libc.  Make tolower call locale-independent.  Optimize a bit by
8525         using isdigit instead of isalnum.
8526         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8527
8528 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
8529
8530         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8531         was a dependency or dynamically loaded.
8532
8533 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
8534
8535         * intl/l10nflist.c: Allow architecture-specific pop function.
8536         * sysdeps/x86_64/l10nflist.c: New file.
8537
8538         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8539         classification.
8540
8541 2011-08-10  Andreas Schwab  <schwab@redhat.com>
8542
8543         * include/dirent.h: Add libc_hidden_proto for scandirat and
8544         scandirat64.  Don't declare __scandirat64.
8545         * dirent/scandirat.c: Add libc_hidden_def.
8546         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8547         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8548
8549 2011-08-10  David S. Miller  <davem@davemloft.net>
8550
8551         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8552         enum.
8553         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8554         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8555         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8556
8557 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
8558
8559         * Versions.def [libc]: Add GLIBC_2.15.
8560         * dirent/Makefile (routines): Add scandirat and scandirat64.
8561         * dirent/Versions [libc]: Export scandirat and scandirat64 for
8562         GLIBC_2.15.
8563         * dirent/dirent.h: Declare scandirat and scandirat64.
8564         * dirent/scandirat.c: New file.
8565         * dirent/scandirat64.c: New file.
8566         * sysdeps/wordsize-64/scandirat.c: New file.
8567         * sysdeps/wordsize-64/scandirat64.c: New file.
8568         * dirent/opendir.c: Define opendirat.
8569         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
8570         using scandirat.
8571         * dirent/scandir64.c: Adjust for scandir.c change.
8572         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
8573         __scandirat64, and __scandir_cancel_handler.
8574         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
8575         additional parameter and use openat instead of open (outside of ld.so).
8576         Add new __opendir as wrapper around __opendirat.
8577         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8578         here without requiring old scandirat implementation.
8579
8580 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
8581
8582         * dirent/scandir.c (cancel_handler): Renamed to
8583         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
8584         defined.  Adjust users.
8585         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8586         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8587
8588 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
8589
8590         * string/test-string.h (IMPL): Use __STRING to expand name and then
8591         stringify it.
8592
8593         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
8594         of cleanups.
8595
8596 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8597
8598         * string/Makefile: Update.
8599         (strop-tests): Append strncat.
8600         * string/test-wcscmp.c: New file.
8601         New comprehensive test for wcscmp.
8602         * string/test-strcmp.c: Update.
8603         (WIDE): New define.
8604
8605 2011-07-22  Andreas Schwab  <schwab@redhat.com>
8606
8607         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8608         line.
8609
8610 2011-07-26  Andreas Schwab  <schwab@redhat.com>
8611
8612         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8613         encoding to ACE if AI_IDN.
8614
8615 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
8616
8617         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8618         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8619
8620 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8621
8622         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8623         Fix overflow bug in strncat.
8624         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8625
8626         * string/test-strncat.c: Update.
8627         Add new tests for checking overflow bugs.
8628
8629 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8630
8631         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8632         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8633         * sysdeps/i386/i686/multiarch/strcat.S: New file.
8634         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8635         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8636         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8637         * sysdeps/i386/i686/multiarch/strncat.S: New file.
8638         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8639         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8640
8641         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8642         (USE_AS_STRCAT): Define.
8643         Add strcat and strncat support.
8644         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8645
8646 2011-07-25  Andreas Schwab  <schwab@redhat.com>
8647
8648         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8649         __n bigger than INT_MAX+1.
8650         (__strncmp_g): Likewise.
8651
8652 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
8653
8654         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8655         * libio/stido.h: Likewise.
8656
8657         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8658         (AF_NFC): Define.
8659         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8660         (AF_NFC): Define.
8661
8662         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8663         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8664         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8665         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8666         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8667
8668         [BZ #13021]
8669         * scripts/test-installation.pl: Don't expect libnss_test1 to be
8670         installed.
8671
8672         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8673         typo.
8674         (_dl_x86_64_save_sse): Likewise.
8675
8676 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
8677
8678         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8679         OSXSAVE.
8680         (_dl_x86_64_save_sse): Likewise.
8681
8682         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8683
8684         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8685
8686 2011-07-21  Andreas Schwab  <schwab@redhat.com>
8687
8688         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8689         change.
8690         (_dl_x86_64_save_sse): Use correct AVX check.
8691
8692 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8693
8694         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8695         bug in strncpy/strncat.
8696         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8697
8698 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
8699
8700         * string/tester.c (test_strcat): Add tests for different alignments
8701         of source and destination.
8702         (test_strncat): Likewise.
8703
8704 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8705
8706         [BZ #12852]
8707         * posix/glob.c (glob): Check passed in values before using them in
8708         expressions to avoid some overflows.
8709         (glob_in_dir): Likewise.
8710
8711         [BZ #13007]
8712         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8713         check for AVX enablement so that we don't crash with old kernels and
8714         new hardware.
8715         * elf/tst-audit4.c: Add same checks here.
8716         * elf/tst-audit6.c: Likewise.
8717
8718         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8719
8720 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
8721
8722         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8723
8724 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8725
8726         * po/cs.po: Update from translation team.
8727         * po/bg.po: Likewise.
8728
8729 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
8730
8731         * misc/sys/cdefs.h: Add support for const attribute.
8732         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8733         to gnu_dev_{major,minor,makedev} functions.
8734
8735 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
8736
8737         * intl/dcigettext.c (get_output_charset): Add missing bracket.
8738
8739 2011-07-20  Andreas Schwab  <schwab@redhat.com>
8740
8741         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8742         strlen results.
8743
8744 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8745
8746         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8747         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8748         register in order to avoid conflicts with the soft frame pointer
8749         being held in r11 when necessary.
8750         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8751         (INTERNAL_VSYSCALL_NCS): Likewise.
8752
8753 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
8754
8755         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8756         * elf/dl-fini.c (_dl_fini): Adjust caller.
8757         * elf/dl-close.c (_dl_close_worker): Likewise.
8758         * sysdeps/generic/ldsodefs.h: Adjust declaration.
8759
8760 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8761
8762         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8763         "aux_cache->nlibs < 0".
8764
8765         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8766         in the reload-count case.
8767
8768 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8769
8770         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8771         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8772         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8773         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8774         * sysdeps/x86_64/multiarch/strcat.S: New file.
8775         * sysdeps/x86_64/multiarch/strncat.S: New file.
8776         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8777         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8778         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8779         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8780         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8781         (USE_AS_STRCAT): Define.
8782         Add strcat and strncat support.
8783         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8784         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8785         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8786         * string/strncat.c: Update.
8787         (USE_AS_STRNCAT): Define.
8788         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8789         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8790         and i7.
8791         * sysdeps/x86_64/multiarch/init-arch.h
8792         (bit_Prefer_PMINUB_for_stringop): New.
8793         (index_Prefer_PMINUB_for_stringop): Likewise.
8794         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8795         bit_Prefer_PMINUB_for_stringop.
8796
8797 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8798
8799         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8800         buffer64.
8801         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8802         of casting of buffer.
8803         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8804         buffer32 and buffer64.
8805         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8806         writes instead of casting of buffer.
8807         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8808         buffer32.
8809         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8810         casting of buffer.
8811
8812 2011-07-19  Andreas Schwab  <schwab@redhat.com>
8813
8814         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8815
8816 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8817
8818         * nscd/nscd.c (termination_handler): Don't do anything for a database
8819         if it has not yet been initialized.
8820
8821 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8822
8823         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8824
8825 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8826
8827         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8828
8829 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8830
8831         * po/nl.po: Update from translation team.
8832         * po/sv.po: Likewise.
8833
8834 2011-07-16  Roland McGrath  <roland@hack.frob.com>
8835
8836         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8837         now disallowed by GCC.
8838
8839         * configure.in (use-default-link): Default to yes if a test -shared
8840         link meets our qualifications.
8841         * configure: Regenerated.
8842
8843         * config.make.in (output-format): New variable.
8844         * configure.in: Check for ld --print-output-format support.
8845         * configure: Regenerated.
8846         * Makerules ($(common-objpfx)format.lds)
8847         [$(output-format) != unknown]: Just use $(output-format),
8848         instead of the linker-script munging.
8849
8850 2011-07-14  Roland McGrath  <roland@hack.frob.com>
8851
8852         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8853         of $(common-objpfx)shlib.lds.
8854         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8855
8856         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8857         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8858
8859         * configure.in (-z relro check): Adjust test code to add a large
8860         writable data section after it.
8861         * configure: Regenerated.
8862
8863 2011-07-11  Roland McGrath  <roland@hack.frob.com>
8864
8865         * configure.in (-z relro check): Fix test code to make the variable
8866         truly const.
8867         * configure: Regenerated.
8868
8869 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
8870
8871         * nscd/nscd.h (struct traced_file): Define.
8872         (struct database_dyn): Remove inotify_descr, reset_res, and filename
8873         elements.  Add traced_files.
8874         (inotify_fd): Declare.
8875         (register_traced_file): Declare.
8876         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8877         (inotify_fd): Export.
8878         (resolv_conf_descr): Remove.
8879         (nscd_init): Move inotify descriptor creation to main.
8880         Don't register files for notification here.
8881         (register_traced_file): New function.
8882         (invalidate_cache): Don't use reset_res to determine whether to call
8883         res_init, go through the list of registered files.
8884         (main_loop_poll): The inotify descriptors are now stored in the
8885         structures for the traced files.
8886         (main_loop_epoll): Likewise
8887         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
8888         to __nss_disable_nscd.
8889         * nscd/cache.c (prune_cache): There is no single inotify descriptor
8890         for a database anymore.  Check the records for all the registered
8891         files instead.
8892         * nss/Makefile (libnss_files-routines): Add files-init.
8893         (libnss_db-routines): Add db-init.
8894         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8895         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8896         * nss/nss_db/db-init.c: New file.
8897         * nss/nss_files/files-init.c: New file.
8898         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
8899         __nss_lookup_function.
8900         (__nss_lookup_function): Call nss_load_library.
8901         (nss_load_all_libraries): New function.
8902         (__nss_disable_nscd): Take parameter with callback function for files
8903         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
8904         used for the cached services.
8905         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8906         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8907         options for features to all the files in nscd.
8908
8909         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8910
8911 2011-07-10  Roland McGrath  <roland@hack.frob.com>
8912
8913         * csu/elf-init.c (__libc_csu_init): Comment typo.
8914
8915 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
8916
8917         * po/pl.po: Update from translation team.
8918         * po/ja.po: Likewise.
8919         * po/ru.po: Likewise.
8920         * po/ko.po: Likewise.
8921         * po/fr.po: Likewise.
8922
8923 2011-07-09  Roland McGrath  <roland@hack.frob.com>
8924
8925         * configure.in (.ctors/.dtors header and trailer check):
8926         Use an empirical test on a built program.
8927         * configure: Regenerated.
8928
8929         * configure.in (-z relro check): Use an empirical test on a built DSO.
8930         Detect, but do not require, on ia64.
8931         * configure: Regenerated.
8932
8933         * configure.in (READELF): Find it with AC_CHECK_TOOL.
8934         Update tests that use readelf to use $READELF instead.
8935         * configure: Regenerated.
8936
8937 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
8938
8939         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8940         if the result is not used.
8941
8942 2011-07-05  Andreas Jaeger  <aj@suse.de>
8943
8944         [BZ#9696]
8945         * stdlib/tst-strtod.c: Add testcase.
8946
8947 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
8948
8949         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8950         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8951         The latter has a higher limit.  Take additional parameter to pass to
8952         the new function.
8953         (__pathconf): Pass file to __statfs_link_max.
8954         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8955         __statfs_link_max.
8956         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8957         __statfs_link_max.
8958
8959         [BZ #12868]
8960         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8961         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8962         Handle Lustre.
8963         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8964         (__statfs_filesize_max): Likewise.
8965         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8966
8967 2011-07-05  Andreas Jaeger  <aj@suse.de>
8968
8969         * resolv/res_comp.c (dn_skipname): Remove unused variable.
8970
8971 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
8972
8973         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8974         `status' variable.
8975         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8976         Likewise.
8977
8978 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
8979
8980         * Makefile (strop-tests): Add strncat.
8981         * string/test-strncat.c: New file.
8982
8983 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
8984
8985         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8986
8987 2011-06-21  Andreas Jaeger  <aj@suse.de>
8988
8989         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8990         Copy rule from iconvdata/Makefile.
8991
8992 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
8993
8994         [BZ #12922]
8995         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8996         but no long options are defined, just return 'W'.
8997
8998 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
8999
9000         [BZ #9696]
9001         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9002
9003 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
9004
9005         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9006         netgroups to read.
9007         (innetgr): Likewise.
9008
9009 2011-07-05  Roland McGrath  <roland@hack.frob.com>
9010
9011         * config.make.in (install_root): Default to $(DESTDIR).
9012
9013 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
9014
9015         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9016
9017 2011-07-02  Roland McGrath  <roland@hack.frob.com>
9018
9019         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9020
9021         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9022         containing directory rather than embedding absolute directory names.
9023
9024         * scripts/check-local-headers.sh: Rewritten using awk.
9025         Match by word, not by line.  Print error messages for matches.
9026         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9027
9028         * Makerules [shlib-lds-flags empty]:
9029         ($(common-objpfx)libc_pic.opts): New target.
9030         ($(common-objpfx)libc_pic.os.clean): New target.
9031         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9032
9033         * config.make.in (OBJCOPY): New variable.
9034         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9035         * configure: Regenerated.
9036
9037         * config.make.in (use-default-link): New variable.
9038         * configure.in (use_default_link): Grok --with-default-link to set it.
9039         * configure: Regenerated.
9040         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9041         (shlib-lds, shlib-lds-flags): Define to empty.
9042
9043         * Makerules (shlib-lds): New variable.
9044         (shlib-lds-flags): New variable.
9045         (build-shlib, build-moduile, build-module-asneeded): Use it.
9046         ($(common-objpfx)libc.so): Use $(shlib-lds).
9047         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9048         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9049
9050         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9051         DT_FLAGS/DT_FLAGS_1 with zero flags.
9052
9053         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9054         linker script munging.
9055
9056 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
9057
9058         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9059         as 128-bit value.
9060         * crypt/sha512.c (sha512_process_block): Perform total addition using
9061         128-bit if possible.
9062         (__sha512_finish_ctx): Likewise.
9063         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9064         as 64-bit value.
9065         * crypt/sha256.c (SWAP64): Define.
9066         (sha256_process_block): Perform total addition using 64-bit if
9067         possible.
9068         (__sha256_finish_ctx): Likewise.
9069
9070 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
9071
9072         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
9073         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9074         * nscd/hstcache.c (cache_addhst): Likewise.
9075         * nscd/grpcache.c (cache_addgr): Likewise.
9076         * nscd/aicache.c (addhstaiX): Likewise
9077         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9078
9079 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
9080
9081         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9082         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9083         * nscd/hstcache.c (cache_addhst): Likewise.
9084         * nscd/grpcache.c (cache_addgr): Likewise.
9085         * nscd/aicache.c (addhstaiX): Likewise
9086
9087 2011-07-01  Andreas Schwab  <schwab@redhat.com>
9088
9089         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9090         domain only when needed.
9091
9092 2011-06-30  Andreas Schwab  <schwab@redhat.com>
9093
9094         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9095         is always restored.
9096
9097 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
9098
9099         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9100         are re-adding the entry.
9101         * nscd/servicescache.c (cache_addserv): Likewise.
9102
9103 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
9104
9105         * sysdeps/generic/dl-irel.h: fix protection against multiple
9106         inclusions.
9107         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9108
9109 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
9110
9111         [BZ #12935]
9112         * malloc/memusage.sh: Fix quoting in message.
9113         * debug/xtrace.sh: Likewise.
9114
9115         * configure.in: Remove support for --experimental-malloc option, make
9116         it the default.
9117         * config.make.in: Likewise.
9118         * malloc/Makefile: Likewise.
9119
9120 2011-06-27  Andreas Schwab  <schwab@redhat.com>
9121
9122         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9123         two-byte characters.
9124
9125 2011-06-27  Roland McGrath  <roland@hack.frob.com>
9126
9127         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9128         AC_CACHE_CHECK invocation.
9129         * configure: Regenerated.
9130
9131         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9132
9133 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
9134
9135         [BZ #12350]
9136         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
9137         bit from old_res_options.
9138
9139         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9140
9141         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9142         value type for setfct.
9143
9144 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
9145
9146         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9147         __gettimeofday instead of gettimeofday.
9148
9149 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
9150
9151         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9152
9153 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9154
9155         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9156
9157         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9158         info.
9159
9160 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
9161
9162         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9163         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9164         strcpy-sse2-unaligned strncpy-sse2-unaligned
9165         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9166         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9167         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9168         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9169         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9170         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9171         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9172         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9173         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9174         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9175         (STRCPY): Support SSE2 and SSSE3 versions.
9176
9177 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
9178
9179         [BZ #12874]
9180         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9181         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9182         kernels which artificially limit size of requests.
9183
9184 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
9185
9186         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9187         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9188         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9189         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9190         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9191         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9192         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9193         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9194         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9195         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9196         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9197         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9198         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9199         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9200         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9201         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9202         Enable unaligned load optimization for Intel Core i3, i5 and i7
9203         processors.
9204         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9205         Define.
9206         (index_Fast_Unaligned_Load): Define.
9207         (HAS_FAST_UNALIGNED_LOAD): Define.
9208
9209 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
9210
9211         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9212
9213 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
9214
9215         [BZ #12907]
9216         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9217         until it is clear that the information is realy needed.
9218         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9219
9220 2011-06-22  Andreas Schwab  <schwab@redhat.com>
9221
9222         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9223
9224 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
9225
9226         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9227         /sys/devices/system/cpu/online if it is usable.
9228
9229         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9230         reading the information from the /proc filesystem to once a second.
9231
9232 2011-06-21  Andreas Jaeger  <aj@suse.de>
9233
9234         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9235         NULL after inclusion of kernel headers.
9236
9237 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
9238
9239         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9240         calls to internal_setent.
9241
9242         [BZ #12885]
9243         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9244         addresses using gethostbyname4_r ignore IPv4 addresses.
9245
9246         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9247         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
9248
9249         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9250
9251 2011-06-20  David S. Miller  <davem@davemloft.net>
9252
9253         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9254         inclusions.
9255         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9256
9257         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9258         (elf_irel): Use it.
9259         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9260         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9261         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9262         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9263         * sysdeps/x86_64/dl-irel.h: Likewise.
9264
9265         * elf/dl-runtime.c: Use elf_ifunc_invoke.
9266         * elf/dl-sym.c: Likewise.
9267
9268 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
9269
9270         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
9271         need to dereference resplen2.
9272
9273 2011-06-14  Andreas Schwab  <schwab@redhat.com>
9274
9275         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9276
9277 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
9278
9279         * Makeconfig: Define vardbdir and inst_vardbdir.
9280         * nss/Makefile: Add rules to install db-Makefile.
9281
9282         * nss/nss_db/db-XXX.c: Cleanup.
9283
9284         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9285         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9286         GLIBC_PRIVATE.
9287         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9288         * nss/makedb.c: Implement -g option to specify that value strings
9289         are generated and should not be added to table iterated over for
9290         get*ent calls.
9291         * nss/nss_db/db-initgroups.c: New file.
9292
9293         * nss/getent.c: Add support for initgroups lookups through getgrouplist
9294         interface.
9295
9296         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9297         (internal_getgrouplist): Adjust to name change.
9298         Update use_initgroups_entry if this is not the first call.
9299         * nss/databases.def: Add initgroups entry.
9300
9301         * nss/makedb.c (compute_tables): Check result of multiple hash table
9302         sizes to minimize maximum chain length.
9303
9304 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
9305
9306         * Versions.def: Add entry for libnss_db.
9307         * shlib-versions: Likewise.
9308         * nss/Makefile: Add rules to build libnss_db.
9309         * nss/Versions: Add libnss_db information.  Organize libnss_files
9310         entries better.
9311         * nss/db-Makefile: Add gshadow support.  Change rules for the new
9312         makedb progra.  Some minor improvements to generate smaller files.
9313         * nss/nss_db/nss_db.h: Move NSS database header data structures to
9314         here from...
9315         * nss/makedb.c: ...here.
9316         Improve database format to be smaller and require less memory at
9317         runtime.
9318         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
9319         db anymore.
9320         * nss/nss_db/db-netgrp.c: Likewise.
9321         * nss/nss_db/db-open.c: Likewise.
9322         * nss/nss_files/flies-XXX.x: Adjust comments.
9323         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9324         * nss/nss_files/files-grp.c: Likewise.
9325         * nss/nss_files/files-hosts.c: Likewise.
9326         * nss/nss_files/files-network.c: Likewise.
9327         * nss/nss_files/files-proto.c: Likewise.
9328         * nss/nss_files/files-pwd.c: Likewise.
9329         * nss/nss_files/files-rpc.c: Likewise.
9330         * nss/nss_files/files-service.c: Likewise.
9331         * nss/nss_files/files-sgrp.c: Likewise.
9332         * nss/nss_files/files-spwd.c: Likewise.
9333         * nss/nss_db/db-alias.c: Removed.
9334         * nss/nss_db/dummy-db.h: Removed.
9335
9336 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
9337
9338         * nss/makedb.c: Rewritten to not use database library.
9339         * nss/Makefile: Update to build new makedb program.
9340
9341 2011-06-14  Andreas Jaeger  <aj@suse.de>
9342
9343         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9344         memset declaration.
9345
9346 2011-06-10  Andreas Schwab  <schwab@redhat.com>
9347
9348         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9349         tmpbuf.
9350
9351 2011-06-10  Roland McGrath  <roland@hack.frob.com>
9352
9353         * Makerules (shlib.lds): Fail if the linker script comes out empty.
9354         * elf/Makefile ($(objpfx)ld.so): Likewise.
9355
9356         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9357         Don't list ld.so twice in dependencies.
9358
9359         * posix/bug-regex31.c: Include <stdlib.h>.
9360
9361         * nscd/hstcache.c (cache_addhst): Remove unused variable.
9362
9363         * nis/nss_compat/compat-spwd.c
9364         (getspent_next_nss_netgr): Remove unused variable.
9365         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9366
9367         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9368         nonmembers" output to use the right array.
9369
9370         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9371
9372         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9373
9374         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9375         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9376         * catgets/gencat.c (read_input_file): Likewise.
9377         * locale/programs/locarchive.c (enlarge_archive): Likewise.
9378
9379         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9380         variable definition inside #if's controlling its use.
9381
9382         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9383
9384         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9385
9386         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9387
9388         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9389         unreachable code.
9390
9391         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9392
9393         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9394         * configure: Regenerated.
9395
9396         * Makerules: Revert last change.
9397         * elf/Makefile: Likewise.
9398
9399 2011-06-09  Roland McGrath  <roland@hack.frob.com>
9400
9401         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9402         * elf/Makefile ($(objpfx)librtld.os): Likewise.
9403         (reloc-link): Likewise.
9404
9405 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
9406
9407         * elf/Makefile: Add rules to build pldd.
9408         * elf/pldd.c: New file.
9409         * elf/pldd-xx.c: New file.
9410
9411 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
9412
9413         * version.h: Update for 2.15 development version.
9414
9415 2011-06-07  David S. Miller  <davem@davemloft.net>
9416
9417         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9418         ifuncs.
9419         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9420         elf_machine_lazy_rel): Likewise.
9421         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9422         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9423         elf_machine_lazy_rel): Likewise.
9424         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9425         dl_hwcap via passed in argument.
9426         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9427         Likewise.
9428
9429 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9430
9431         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
9432
9433 2011-06-06  Roland McGrath  <roland@hack.frob.com>
9434
9435         [BZ #12849]
9436         * manual/fdl-1.1.texi: New file, verbatim from:
9437         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9438         * manual/lgpl-2.1.texi: New file, verbatim from:
9439         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9440         * manual/Makefile (licenses): New variable, list those new file names.
9441         (texis): Use it.
9442         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9443
9444         * manual/fdl.texi: File removed.
9445         * manual/lesser.texi: File removed.
9446         * manual/libc.texinfo (Copying, Documentation License):
9447         Use new @include file names, put @appendix directive before @include.
9448
9449 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
9450
9451         [BZ #12841]
9452         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9453         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9454         (mq_open): Add __NTH.
9455
9456 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
9457
9458         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9459         Assume Intel Core i3/i5/i7 processor if AVX is available.
9460
9461 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
9462
9463         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9464         typo.
9465
9466 2011-05-31  Andreas Schwab  <schwab@redhat.com>
9467
9468         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9469         memory.  Use alloca_account.  Fix memory leak when retrying.
9470
9471 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
9472
9473         * version.h (RELEASE): Bump for 2.14 release.
9474         * include/features.h (__GLIBC_MINOR__): Bump to 14.
9475
9476         * config.make.in (RANLIB): Remove entry.
9477
9478 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
9479
9480         * po/Makefile (po-sed-cmd): Add ksh to extensions.
9481         (libc.pot): Work around missing support for .ksh extension in xgettext.
9482
9483         [BZ #12684]
9484         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9485         if both request failed.
9486         (send_dg): In case of server errors clear resplen or *resplen2.
9487
9488         [BZ #12454]
9489         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9490         when there are multiple maps.
9491         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9492         (_dl_fini): Remove test here.
9493
9494         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9495
9496 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
9497
9498         [BZ #12350]
9499         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9500         bit from old_res_options.
9501         (gaih_inet): Likewise.
9502
9503         [BZ #11099]
9504         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9505         as signed.
9506
9507         * resolv/res_init.c (res_setoptions): Make the code more compact.
9508
9509         [BZ #11558]
9510         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9511         set RES_USEVC.
9512
9513         [BZ #11634]
9514         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9515
9516         * malloc/malloc.h: Mark malloc hook variables as deprecated.
9517
9518         [BZ #11781]
9519         * malloc/malloc.h: Declare malloc hook variables as volatile.
9520
9521         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9522         in last patch.
9523
9524         [BZ #11799]
9525         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9526         raise in the comment.
9527         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9528         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9529         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9530
9531 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
9532
9533         [BZ #12811]
9534         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9535         grow the buffers more if it already has to be sufficient.
9536         (build_wcs_upper_buffer): Likewise.
9537         * posix/regexec.c (check_matching): Likewise.
9538         (clean_state_log_if_needed): Likewise.
9539         (extend_buffers): Don't enlarge buffers beyond size of the input
9540         buffer.
9541         Patches mostly by Emil Wojak <emil@wojak.eu>.
9542         * posix/bug-regex32.c: New file.
9543         * posix/Makefile (tests): Add bug-regex32.
9544
9545         * locale/findlocale.c (_nl_find_locale): Return right away if
9546         _nl_explode_name failed.
9547         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9548
9549         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9550
9551         * debug/xtrace.sh: Unify messages.
9552         * malloc/memusage.sh: Likewise.
9553
9554         [BZ #12813]
9555         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9556         time symbol from vDSO.  Substitute with vsyscall if not available.
9557         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9558         __vdso_time.
9559
9560         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9561         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9562         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9563         Add sendmmsg and internal_sendmmsg.
9564         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9565         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9566         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9567
9568         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9569         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9570         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9571
9572 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
9573
9574         [BZ #12813]
9575         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9576         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
9577         available.
9578         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9579         __vdso_getcpu.
9580
9581         [BZ #12814]
9582         * iconvdata/Makefile (tests): Add bug-iconv9.
9583         * iconvdata/bug-iconv9.c: New file.
9584
9585 2011-05-27  Andreas Schwab  <schwab@redhat.com>
9586
9587         [BZ #12814]
9588         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9589
9590 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
9591
9592         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9593         (struct user_regs_struct): Change intcs field back to cs.
9594
9595 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
9596
9597         * po/ja.po: Update from translation team.
9598
9599 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
9600
9601         [BZ #12795]
9602         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9603         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9604
9605 2011-05-20  Andreas Schwab  <schwab@redhat.com>
9606
9607         * stdlib/longlong.h: Update from GCC.
9608
9609 2011-05-23  Andreas Schwab  <schwab@redhat.com>
9610
9611         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9612         parameter name.
9613         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9614         Add parameter name.
9615         (__sysconf): Pass it down.
9616
9617 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
9618
9619         [BZ #12671]
9620         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9621         some situations.
9622         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9623         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9624         add in in __libc_use_alloca calls.  Adjust callers.
9625         (glob): Use malloc in some situations.
9626
9627         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9628         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9629         pltexit.
9630
9631 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
9632
9633         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9634         and CLOCK_BOOTTIME_ALARM.
9635
9636         [BZ #12782]
9637         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9638         is returned.
9639
9640         * string/_strerror.c (__strerror_r): Print negative errors as signed
9641         numbers.
9642
9643         [BZ #12777]
9644         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9645         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9646         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9647
9648         * configure.in: Fix typo in redirection and correct removal of test
9649         files in two cases.
9650
9651         [BZ #12788]
9652         * locale/setlocale.c (new_composite_name): Fix test to check for
9653         identical name of all categories.
9654
9655         [BZ #12792]
9656         * libio/filedoalloc.c (local_isatty): New function.
9657         (_IO_file_doallocate): Use local_isatty.
9658         * stdio-common/perror.c (perror): In case a new stream is used
9659         forward the stream error.
9660         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9661         error flag.
9662
9663 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
9664
9665         [BZ #11869]
9666         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9667         alloca.
9668         * include/alloca.h (extend_alloca_account): Define.
9669
9670         [BZ #11857]
9671         * posix/regex.h: Fix comments with documentation of user-accessible
9672         fields after compilation and describe correct free'ing of pattern
9673         after re_compile_pattern.
9674         Patch by Reuben Thomas <rrt@sc3d.org>.
9675
9676 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
9677
9678         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9679         and -mno-altivec to prevent the compiler from using Altivec and/or
9680         VSX instructions when the corresponding registers are not available.
9681
9682 2011-05-19  Andreas Schwab  <schwab@redhat.com>
9683
9684         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9685
9686 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
9687
9688         * libio/freopen.c (freopen): Use __dup2, not dup2.
9689         * libio/freopen64.c (freopen64): Likewise.
9690
9691 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9692
9693         [BZ #12775]
9694         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9695         * math/Makefile (tests): Add test-powl.
9696         (CFLAGS-test-powl.c): Define.
9697         * math/test-powl.c: New file.
9698
9699 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9700
9701         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9702
9703 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
9704
9705         [BZ #11837]
9706         * iconvdata/gb18030.c: Update to GB18020-2005.
9707
9708 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
9709
9710         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9711         RE_SYNTAX_POSIX_AWK): Update to match recent development.
9712         Patch by Aharon Robbins <arnold@skeeve.com>.
9713
9714         [BZ #11892]
9715         * stdlib/putenv.c (putenv): Don't always create copy of the variable
9716         on the stack.
9717
9718         [BZ #11895]
9719         * misc/pselect.c (__pselect): Handle timeout value errors hidden
9720         through underflows.
9721
9722         [BZ #12766]
9723         * misc/error.c (error_at_line): Ensure file_name and old_file_name
9724         point to strings before performing equality test for error_one_per_line
9725         mode.
9726
9727         [BZ #11697]
9728         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9729
9730         [BZ #11820]
9731         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9732         (struct user_fpregs_struct): Avoid __uint*_t types.
9733
9734         [BZ #6420]
9735         * malloc/mtrace.c (tr_where): Add additional parameter to point to
9736         symbol info.  Use it instead of calling _dl_addr locally.
9737         (lock_and_info): New function.
9738         (tr_freehook): Call lock_and_info and pass symbol info as additional
9739         parameter to tr_where.
9740         (tr_mallochook): Likewise.
9741         (tr_reallochook): Likewise.
9742         (tr_memalignhook): Likewise.
9743
9744         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
9745         used and couldn't be at all thread-safe.
9746
9747 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
9748
9749         * libio/freopen.c (freopen): Don't close old file descriptor
9750         before the new one is opened.  Instead dup the new file descriptor
9751         to the old one after the new stream is created.
9752         * libio/freopen64.c (freopen64): Likewise.
9753         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9754         * libio/fileops.c (_IO_new_file_close_it): Handle new
9755         _IO_FLAGS2_NOCLOSE flag.
9756         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9757         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9758         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9759         _IO_FLAGS2_NOCLOSE flag.
9760         * include/unistd.h: Add hidden_proto for dup3.
9761         Define __have_dup3.
9762         * io/dup3.c: Define hidden symbol.
9763         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9764
9765         [BZ #7101]
9766         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9767         when an incomplete long option is used.
9768         * posix/tst-getopt_long1.c: New file.
9769         * posix/Makefile (tests): Add tst-getopt_long1.
9770
9771         [BZ #10138]
9772         * scripts/config.guess: Update from autoconf-2.68.
9773         * scripts/config.sub: Likewise.
9774
9775         [BZ #10157]
9776         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9777         tests into ...
9778         (has_cpuclock): ...this.  New function.
9779         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9780         macro here based on has_cpuclock code.
9781
9782         [BZ #10149]
9783         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9784         First byte (not low byte) is now always NUL.
9785         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9786
9787         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9788         Use non-cancelable interfaces.
9789
9790         [BZ #9809]
9791         * locale/iso-639.def: Add entry for Sorani.
9792
9793         [BZ #11901]
9794         * include/stdlib.h: Move include protection to the right place.
9795         Define abort_msg_s.  Declare __abort_msg with it.
9796         * stdlib/abort.c (__abort_msg): Adjust type.
9797         * assert/assert.c (__assert_fail_base): New function.  Majority
9798         of code from __assert_fail.  Allocate memory for __abort_msg with
9799         mmap.
9800         (__assert_fail): Now call __assert_fail_base.
9801         * assert/assert-perr.c: Remove bulk of implementation.  Use
9802         __assert_fail_base.
9803         * include/assert.hL Declare __assert_fail_base.
9804         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9805         mmap.
9806         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9807
9808 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
9809
9810         [BZ #11952]
9811         [BZ #12453]
9812         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9813         until all modules are registered in the DTV.
9814         * elf/Makefile: Add rules to build and run tst-tls19.
9815         * elf/tst-tls19.c: New file.
9816         * elf/tst-tls19mod1.c: New file.
9817         * elf/tst-tls19mod2.c: New file.
9818         * elf/tst-tls19mod3.c: New file.
9819         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9820
9821         [BZ #12083]
9822         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9823         correctly.
9824
9825         [BZ #12601]
9826         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9827         two-byte sequence errors.
9828         * iconvdata/Makefile (tests): Add bug-iconv8.
9829         * iconvdata/bug-iconv8.c: New file.
9830
9831         [BZ #12626]
9832         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9833         buf2 definition.
9834
9835         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9836
9837         [BZ #12432]
9838         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9839         (dummy_getcfa): New function.
9840         (init): Get _Unwind_GetCFA address, use dummy if not found.
9841         (backtrace_helper): In recursion check, also check whether CFA changes.
9842         (__backtrace): Completely initialize arg.
9843
9844         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9845         storing incomplete byte sequence in state object.  Avoid testing for
9846         guaranteed too small input if we know there is enough data available.
9847
9848 2011-05-11  Andreas Schwab  <schwab@redhat.com>
9849
9850         * Makeconfig (+link-pie): Indent.
9851         * Rules (binaries-pie): Define if $(have-fpie) and
9852         $(build-shared).
9853         (binaries-shared): Also filter out $(binaries-pie).
9854         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9855         * nscd/Makefile (others-pie): Add nscd.
9856         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9857         ($(objpfx)nscd): Remove command override.
9858         * login/Makefile (others-pie): Add pt_chown.
9859         ($(objpfx)pt_chown): Remove command override.
9860         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9861         remove command overrides.
9862
9863 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
9864
9865         * libio/tst_putwc.c: Fix error messages.
9866
9867         [BZ #12724]
9868         * libio/fileops.c (_IO_new_file_close_it): Always flush when
9869         currently writing and seek to current position when not.
9870         * libio/Makefile (tests): Add bug-fclose1.
9871         * libio/bug-fclose1.c: New file.
9872
9873 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
9874
9875         [BZ #12511]
9876         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9877         don't set DF_1_NODELETE here.
9878         (do_lookup_x): When entering new entry test for copy relocation
9879         and if necessary set DF_1_NODELETE flag.
9880         * elf/tst-unique4.cc: New file.
9881         * elf/tst-unique4.h: New file.
9882         * elf/tst-unique4lib.cc: New file.
9883         * elf/Makefile: Add rules to build and run tst-unique4.
9884         Patch by Piotr Bury <pbury@goahead.com>.
9885
9886 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
9887
9888         [BZ #12052]
9889         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9890
9891         [BZ #12625]
9892         * misc/mntent_r.c (addmntent): Flush the stream after the output
9893
9894         [BZ #12393]
9895         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9896         (is_trusted_path_normalize): Skip initial colon.  Append slash
9897         to empty buffer.  Duplicate is_trusted_path code but allow
9898         constructed patch to be prefix.
9899         (is_dst): Allow $ORIGIN followed by /.
9900         (_dl_dst_substitute): Correct clearing of check_for_trusted.
9901         Correct testing of result of is_trusted_path_normalize
9902         (decompose_rpath): Fix warning.
9903
9904 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
9905
9906         [BZ #11257]
9907         * grp/initgroups.c (internal_getgrouplist): When we found the service
9908         list through the initgroups entry in nsswitch.conf do not always
9909         continue on a successful lookup.  Don't always use the
9910         __nss_group_database value if it is set.
9911         * nss/nsswitch.conf (initgroups): Change action for successful db
9912         lookup to continue for compatibility.
9913
9914 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
9915
9916         [BZ #11532]
9917         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9918         and CP774 modules.
9919         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9920         and CP774 modules.
9921         * iconvdata/tst-tables.sh: Likewise.
9922         * iconvdata/cp770.c: New file.
9923         * iconvdata/cp771.c: New file.
9924         * iconvdata/cp772.c: New file.
9925         * iconvdata/cp773.c: New file.
9926         * iconvdata/cp774.c: New file.
9927         * iconvdata/testdata/CP770: New file.
9928         * iconvdata/testdata/CP770..UTF8: New file.
9929         * iconvdata/testdata/CP771: New file.
9930         * iconvdata/testdata/CP771..UTF8: New file.
9931         * iconvdata/testdata/CP772: New file.
9932         * iconvdata/testdata/CP772..UTF8: New file.
9933         * iconvdata/testdata/CP773: New file.
9934         * iconvdata/testdata/CP773..UTF8: New file.
9935         * iconvdata/testdata/CP774: New file.
9936         * iconvdata/testdata/CP774..UTF8: New file.
9937
9938         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9939         END CHARMAP line.
9940         * iconvdata/gen-8bit-gap.sh: Likewise.
9941         * iconvdata/gen-8bit.sh: Likewise.
9942
9943         * locale/iso-639.def: Add ary entry.
9944
9945         [BZ #11258]
9946         * locale/C-translit.h.in: Add U20A1 transliteration.
9947
9948         [BZ #12178]
9949         * locale/iso-639.def: Add wae entry.
9950         Patch by Kevin Bortis <bortis@translate-wae.ch>.
9951
9952         [BZ #12545]
9953         * locale/programs/localedef.c (construct_output_path): Use ssize_t
9954         for n.
9955
9956         [BZ #12711]
9957         * locale/C-translit.h.in: Add entry for U20B9.
9958         Patch by pravin.d.s@gmail.com.
9959
9960 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
9961
9962         [BZ #12713]
9963         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9964         ENAMETOOLONG use generic getcwd.
9965         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
9966         in rtld.  Use *stat64.
9967         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9968         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9969         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9970         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9971         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9972         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9973         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9974         __fstatat64 macros.
9975         * include/dirent.h: Add libc_hidden_proto for rewinddir.
9976         * dirent/rewinddir.c: Add libc_hidden_def.
9977         * sysdeps/mach/hurd/rewinddir.c: Likewise.
9978         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
9979
9980         * include/dirent.h (__alloc_dir): Add flags parameter.
9981         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9982         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9983         __alloc_dir.
9984         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
9985         from fdopendir if O_CLOEXEC is already set.
9986
9987 2011-03-15  Alan Modra  <amodra@gmail.com>
9988
9989         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9990         l_tls_firstbyte_offset non-zero.  Save padding offset in
9991         l_tls_firstbyte_offset for later use.
9992         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9993         freeing static tls block.
9994
9995 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
9996
9997         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9998         where #ifdef was intended.  The intent is to prevent ARG_MAX from
9999         being defined by the kernel headers.
10000
10001 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
10002
10003         [BZ #12734]
10004         * resolv/resolv.h: Define RES_NOTLDQUERY.
10005         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10006         no-tld-query and set RES_NOTLDQUERY.
10007         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10008         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10009         modern BIND to search name as TLD unless forbidden.
10010
10011 2011-05-07  Petr Baudis  <pasky@suse.cz>
10012             Ulrich Drepper  <drepper@gmail.com>
10013
10014         [BZ #12393]
10015         * elf/dl-load.c (fillin_rpath): Move trusted path check...
10016         (is_trusted_path): ...to here.
10017         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
10018         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
10019         using is_trusted_path_normalize() in setuid scripts.
10020
10021 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10022
10023         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10024         __BEGIN/__END_DECLS.
10025
10026 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
10027
10028         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10029         NSS_STATUS_NOTFOUND if no record was found.
10030
10031 2011-05-05  Andreas Schwab  <schwab@redhat.com>
10032
10033         * sunrpc/Makefile (headers): Add rpc/netdb.h.
10034         (headers-not-in-tirpc): Remove rpc/netdb.h
10035         * resolv/netdb.h: Revert last change.
10036
10037 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10038
10039         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10040         circular dependency between libgcc.a and libc.a.
10041
10042 2011-05-05  Andreas Schwab  <schwab@redhat.com>
10043
10044         * resolv/netdb.h: Don't include <rpc/netdb.h>.
10045         * nis/Makefile: Don't install rpcsvc/*.
10046         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10047         instead of <rpc/types.h>.
10048         (MAXHOSTNAMELEN): Define.
10049
10050 2011-05-03  Andreas Schwab  <schwab@redhat.com>
10051
10052         * elf/ldconfig.c (add_dir): Don't crash on empty path.
10053
10054 2011-04-28  Maciej Babinski  <mbabinski@google.com>
10055
10056         [BZ #12714]
10057         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10058         gethostbyname4_r when IPv6 results are possible.
10059
10060 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
10061
10062         [BZ #12723]
10063         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10064         _PC_PIPE_BUF handling.
10065
10066 2011-04-30  Bruno Haible  <bruno@clisp.org>
10067
10068         [BZ #12717]
10069         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10070         * resolv/netdb.h (getnameinfo): Change type of flags parameter
10071         to 'int'.
10072         * inet/getnameinfo.c (getnameinfo): Likewise.
10073
10074 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
10075
10076         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10077         to groups setting in database lookup.
10078         * nss/nsswitch.conf: Add initgroups entry.
10079
10080 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
10081
10082         [BZ #12685]
10083         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10084         mode string.
10085         Patch by Eric Blake <eblake@redhat.com>.
10086
10087 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
10088
10089         * sunrpc/Makefile (need-export-routines): Add svc_run.
10090         (routines): Remove svc_run.
10091         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10092         * sunrpc/clnt_perr.c (clnt_perrno): Export.
10093         * sunrpc/svc_run.c (svc_run): Likewise.
10094         * sunrpc/svc_udp.c (svcudp_create): Likewise.
10095
10096 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
10097
10098         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10099         problem in reallocation in last patch.
10100
10101 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
10102
10103         * sunrpc/Makefile: Move inclusion of Rules.
10104
10105 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
10106
10107         * nss/nss_files/files-initgroups.c: New file.
10108         * nss/Makefile (libnss_files-routines): Add files-initgroups.
10109         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10110         _nss_files_initgroups_dyn.
10111
10112 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
10113
10114         * elf/elf.h (R_ARM_IRELATIVE): Define.
10115
10116 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
10117
10118         * po/ru.po: Update from translation team.
10119
10120 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
10121
10122         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10123         dependencies.
10124
10125 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
10126
10127         [BZ #12653]
10128         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10129         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10130         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10131         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10132         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10133
10134 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
10135
10136         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10137         differing bytes.
10138         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10139         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10140         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10141
10142 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
10143
10144         [BZ #12420]
10145         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10146         storing it.
10147         * stdlib/bug-getcontext.c: New file.
10148         * stdlib/Makefile: Add rules to build and run bug-getcontext.
10149
10150 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10151
10152         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10153         instructions into .machine "z9-109".
10154         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10155         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10156
10157 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10158
10159         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10160         between environment variables and auxiliary vector.
10161
10162 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
10163
10164         * Makefile: Add rules to build linkobj/libc.so.
10165         * include/libc-symbols.h: Define libc_hidden_nolink.
10166         * include/rpc/auth.h: Mark functions which are to be hidden.
10167         * include/rpc/auth_des.h: Likewise.
10168         * include/rpc/auth_unix.h: Likewise.
10169         * include/rpc/clnt.h: Likewise.
10170         * include/rpc/des_crypt.h: Likewise.
10171         * include/rpc/key_prot.h: Likewise.
10172         * include/rpc/pmap_clnt.h: Likewise.
10173         * include/rpc/pmap_prot.h: Likewise.
10174         * include/rpc/pmap_rmt.h: Likewise.
10175         * include/rpc/rpc_msg.h: Likewise.
10176         * include/rpc/svc.h: Likewise.
10177         * include/rpc/svc_auth.h: Likewise.
10178         * include/rpc/xdr.h: Likewise.
10179         * nis/Makefile: Link all DSOs against linkobj/libc.so.
10180         * nss/Makefile: Likewise.
10181         * sunrpc/Makefile: Don't install headers.  Build library with normal
10182         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
10183         * sunrpc/auth_des.c: Hide exported symbols by default, export some
10184         for the compat linking library.  Remove use of INTDEF/INTUSE.
10185         * sunrpc/auth_none.c: Likewise.
10186         * sunrpc/auth_unix.c: Likewise.
10187         * sunrpc/authdes_prot.c: Likewise.
10188         * sunrpc/authuxprot.c: Likewise.
10189         * sunrpc/clnt_gen.c: Likewise.
10190         * sunrpc/clnt_perr.c: Likewise.
10191         * sunrpc/clnt_raw.c: Likewise.
10192         * sunrpc/clnt_simp.c: Likewise.
10193         * sunrpc/clnt_tcp.c: Likewise.
10194         * sunrpc/clnt_udp.c: Likewise.
10195         * sunrpc/clnt_unix.c: Likewise.
10196         * sunrpc/des_crypt.c: Likewise.
10197         * sunrpc/des_soft.c: Likewise.
10198         * sunrpc/get_myaddr.c: Likewise.
10199         * sunrpc/key_call.c: Likewise.
10200         * sunrpc/key_prot.c: Likewise.
10201         * sunrpc/netname.c: Likewise.
10202         * sunrpc/pm_getmaps.c: Likewise.
10203         * sunrpc/pm_getport.c: Likewise.
10204         * sunrpc/pmap_clnt.c: Likewise.
10205         * sunrpc/pmap_prot.c: Likewise.
10206         * sunrpc/pmap_prot2.c: Likewise.
10207         * sunrpc/pmap_rmt.c: Likewise.
10208         * sunrpc/publickey.c: Likewise.
10209         * sunrpc/rpc_cmsg.c: Likewise.
10210         * sunrpc/rpc_common.c: Likewise.
10211         * sunrpc/rpc_dtable.c: Likewise.
10212         * sunrpc/rpc_prot.c: Likewise.
10213         * sunrpc/rpc_thread.c: Likewise.
10214         * sunrpc/rtime.c: Likewise.
10215         * sunrpc/svc.c: Likewise.
10216         * sunrpc/svc_auth.c: Likewise.
10217         * sunrpc/svc_authux.c: Likewise.
10218         * sunrpc/svc_raw.c: Likewise.
10219         * sunrpc/svc_run.c: Likewise.
10220         * sunrpc/svc_simple.c: Likewise.
10221         * sunrpc/svc_tcp.c: Likewise.
10222         * sunrpc/svc_udp.c: Likewise.
10223         * sunrpc/svc_unix.c: Likewise.
10224         * sunrpc/svcauth_des.c: Likewise.
10225         * sunrpc/xcrypt.c: Likewise.
10226         * sunrpc/xdr.c: Likewise.
10227         * sunrpc/xdr_array.c: Likewise.
10228         * sunrpc/xdr_float.c: Likewise.
10229         * sunrpc/xdr_intXX_t.c: Likewise.
10230         * sunrpc/xdr_mem.c: Likewise.
10231         * sunrpc/xdr_rec.c: Likewise.
10232         * sunrpc/xdr_ref.c: Likewise.
10233         * sunrpc/xdr_sizeof.c: Likewise.
10234         * sunrpc/xdr_stdio.c: Likewise.
10235
10236 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
10237
10238         [BZ #12650]
10239         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10240         * sysdeps/ia64/dl-tls.h: Likewise.
10241         * sysdeps/powerpc/dl-tls.h: Likewise.
10242         * sysdeps/s390/dl-tls.h: Likewise.
10243         * sysdeps/sh/dl-tls.h: Likewise.
10244         * sysdeps/sparc/dl-tls.h: Likewise.
10245         * sysdeps/x86_64/dl-tls.h: Likewise.
10246         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10247
10248 2011-03-14  Andreas Schwab  <schwab@redhat.com>
10249
10250         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10251         rpath element also skip the following colon.
10252         (expand_dynamic_string_token): Add is_path parameter and pass
10253         down to DL_DST_REQUIRED and _dl_dst_substitute.
10254         (decompose_rpath): Call expand_dynamic_string_token with
10255         non-zero is_path.  Ignore empty rpaths.
10256         (_dl_map_object_from_fd): Call expand_dynamic_string_token
10257         with zero is_path.
10258
10259 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
10260
10261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10262         Make cancelable.
10263
10264 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
10265
10266         [BZ #12655]
10267         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10268         Patch by Filipe David Manana <fdmanana@apache.org>.
10269
10270 2011-04-07  Andreas Schwab  <schwab@redhat.com>
10271
10272         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10273         Maintain aligned stack.
10274         (CHECK_RSP): Remove unused macro.
10275
10276 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
10277
10278         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10279         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10280
10281 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
10282
10283         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10284
10285         * include/features.h: Mention __USE_XOPEN2K8 in comment.
10286
10287 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
10288
10289         [BZ #12518]
10290         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10291         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10292         * sysdeps/x86_64/memmove.c: New file.
10293         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10294         (memcpy): Renamed to ...
10295         (__new_memcpy): This.
10296         (memcpy): Provide GLIBC_2_14 memcpy.
10297         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10298         (memcpy): Provide GLIBC_2_2_5 memcpy.
10299
10300 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10301
10302         [BZ #12631]
10303         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10304
10305 2011-03-30  Andreas Schwab  <schwab@redhat.com>
10306
10307         * misc/syncfs.c: New file.
10308         * misc/Makefile (routines): Add syncfs.
10309         * posix/unistd.h: Declare syncfs.
10310         * sysdeps/unix/syscalls.list: Add syncfs.
10311
10312 2011-04-01  Andreas Schwab  <schwab@redhat.com>
10313
10314         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10315         open_by_handle_at.
10316         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10317         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10318         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10319         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10320         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10321         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10322         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10323
10324 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10325
10326         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10327         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10328         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10329         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10330         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10331         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10332         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10333
10334         * io/Makefile: Compile fallocate.c, fallocate64.c, and
10335         sync_file_range.c with -fexceptions.
10336         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10337         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10338         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10339         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10340         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10341         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10342         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
10343         sync_file_range as cancellation point
10344         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
10345         now a wrapper around __call_sync_file_range with cancellation handling.
10346         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10347         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
10348         function name to __call_sync_file_range.
10349         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10350         Add call_sync_file_range.
10351
10352 2011-04-01  Andreas Schwab  <schwab@redhat.com>
10353
10354         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10355         bits/timex.h.
10356
10357 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10358
10359         * iconv/iconv.h: Fix typo in comment.
10360         * io/fcntl.h: Likewise.
10361         * libio/stdio.h: Likewise.
10362         * posix/spawn.h: Likewise.
10363         * posix/unistd.h: Likewise.
10364         * stdlib/stdlib.h: Likewise.
10365         * time/time.h: Likewise.
10366         * wcsmbs/wchar.h: Likewise.
10367
10368         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10369         open_by_handle): Add.
10370         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10371         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
10372         Augment a few comments.
10373         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10374         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10375         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10376         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10377         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10378         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10379         open_by_handle.
10380
10381         * io/fcntl.h (AT_EMPTY_PATH): Define.
10382
10383 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
10384
10385         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10386         * sysdeps/unix/sysv/linux/bits/time.h: New file.
10387         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10388         to...
10389         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
10390         * Versions.def: Add GLIBC_2.14.
10391         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10392         Export.
10393
10394 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
10395
10396         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10397         round counter.
10398         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10399
10400 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
10401
10402         [BZ #12597]
10403         * string/test-strncmp.c (do_page_test): New function.
10404         (check2): Likewise.
10405         (test_main): Call check2.
10406         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10407
10408 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
10409
10410         [BZ #12587]
10411         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10412         Handle cache information in CPU leaf 4.
10413         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10414
10415 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
10416
10417         [BZ #12583]
10418         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10419         character representation.
10420         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10421
10422 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
10423
10424         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10425         END(__isnan) to END(__isnanf) to match function entry point/label
10426         EALIGN(__isnanf,...).
10427
10428 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
10429
10430         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10431
10432 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
10433
10434         [BZ #12510]
10435         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10436         copy from the symbol referenced in the relocation to initialize the
10437         used variable.
10438         Patch by Piotr Bury <pbury@goahead.com>.
10439         * elf/Makefile: Add rules to build and tst-unique3.
10440         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10441         * elf/tst-unique3.cc: New file.
10442         * elf/tst-unique3.h: New file.
10443         * elf/tst-unique3lib.cc: New file.
10444         * elf/tst-unique3lib2.cc: New file.
10445
10446         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10447
10448 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
10449
10450         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10451         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
10452         to _start.
10453
10454 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
10455
10456         * elf/dl-load.c (_dl_map_object): If we are looking for the first
10457         to-be-loaded object along a path to loader is ld.so.
10458
10459 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
10460             Ulrich Drepper  <drepper@gmail.com>
10461
10462         * sysdeps/x86_64/memset.S: After aligning destination, code
10463         branches to different locations depending on the value of
10464         misalignment, when multiarch is enabled. Fix this.
10465
10466 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
10467
10468         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10469         Set _x86_64_preferred_memory_instruction for AMD processsors.
10470         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10471         Set bit_Prefer_SSE_for_memop for AMD processors.
10472
10473 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
10474
10475         * libio/fmemopen.c (fmemopen): Optimize a bit.
10476
10477 2011-03-03  Andreas Schwab  <schwab@redhat.com>
10478
10479         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10480
10481 2011-03-03  Roland McGrath  <roland@redhat.com>
10482
10483         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10484
10485 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
10486
10487         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10488         __bzero_ultra1 instead of __memset_ultra1.
10489
10490 2011-02-23  Andreas Schwab  <schwab@redhat.com>
10491             Ulrich Drepper  <drepper@gmail.com>
10492
10493         [BZ #12509]
10494         * include/link.h (struct link_map): Add l_orig_initfini.
10495         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10496         returning unsuccessfully.
10497         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10498         close of a file loaded at startup, restore the original l_initfini
10499         list.
10500         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10501         list, store the pointer.
10502         * elf/Makefile ($(objpfx)noload-mem): New rule.
10503         (noload-ENV): Define.
10504         (tests): Add $(objpfx)noload-mem.
10505         * elf/noload.c: Include <memcheck.h>.
10506         (main): Call mtrace.  Close all opened handles.
10507
10508 2011-02-17  Andreas Schwab  <schwab@redhat.com>
10509
10510         [BZ #12454]
10511         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10512         dependencies are missing.
10513
10514 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10515
10516         Fix __if_freereq crash: Unlike the generic version which uses free,
10517         Hurd needs munmap.
10518         * sysdeps/mach/hurd/ifreq.h: New file.
10519
10520 2011-01-27  Petr Baudis  <pasky@suse.cz>
10521             Ulrich Drepper  <drepper@gmail.com>
10522
10523         [BZ 12445]#
10524         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10525         to extend_alloca().
10526         * stdio-common/bug23.c: New file.
10527         * stdio-common/Makefile (tests): Add bug23.
10528
10529 2010-09-28  Andreas Schwab  <schwab@redhat.com>
10530             Ulrich Drepper  <drepper@gmail.com>
10531
10532         [BZ #12489]
10533         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10534         before performing relro protection.  At old place add assertion
10535         to make sure nothing changed.
10536
10537 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
10538             Glauber de Oliveira Costa  <glommer@gmail.com>
10539
10540         * elf/elf.h: Add new ARM TLS relocs.
10541
10542 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
10543
10544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10545         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10546         cast from r3.
10547         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
10548         'tests' variable.
10549         * sysdeps/wordsize-64/tst-writev.c: New file.
10550
10551 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
10552
10553         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10554         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10555         insns in _dl_start to prevent a TOC reference before relocs are
10556         resolved.
10557
10558 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
10559
10560         [BZ #12469]
10561         * Makeconfig: Remove RANLIB definition.
10562         * Makerules: Don't use RANLIB.
10563         * aclocal.m4: Remove ranlib test.
10564         * configure.in: No need to check for ranlib.
10565         * elf/rtld-Rules: Don't use RANLIB.
10566
10567 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10568
10569         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10570         protection macro.
10571         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10572         inclusion protection macro.
10573
10574         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10575         SIGRTMIN and SIGRTMAX and print information in that case only when
10576         SIGRTMIN is defined.
10577
10578 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
10579
10580         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10581         arginfo fn returning -1.
10582
10583         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10584         and thousands string is zero terminated.
10585
10586 2011-02-03  Andreas Schwab  <schwab@redhat.com>
10587
10588         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10589         sysdeps/unix/sysv/linux/bits/socket.h.
10590
10591 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10592
10593         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10594         (__CPU_COUNT): Remove old macros.
10595         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10596         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10597         (__CPU_ALLOC, __CPU_FREE): Add macros.
10598         (__sched_cpualloc, __sched_cpufree): Add declarations.
10599
10600 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
10601
10602         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10603         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10604         * nscd/aicache.c (addhstaiX): Return timeout of added value.
10605         (readdhstai): Return value of addhstaiX call.
10606         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10607         (addgrbyX): Return value returned by cache_addgr.
10608         (readdgrbyname): Return value returned by addgrbyX.
10609         (readdgrbygid): Likewise.
10610         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10611         (addpwbyX): Return value returned by cache_addpw.
10612         (readdpwbyname): Return value returned by addhstbyX.
10613         (readdpwbyuid): Likewise.
10614         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10615         (addservbyX): Return value returned by cache_addserv.
10616         (readdservbyname): Return value returned by addservbyX:
10617         (readdservbyport): Likewise.
10618         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10619         (addhstbyX): Return value returned by cache_addhst.
10620         (readdhstbyname): Return value returned by addhstbyX.
10621         (readdhstbyaddr): Likewise.
10622         (readdhstbynamev6): Likewise.
10623         (readdhstbyaddrv6): Likewise.
10624         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10625         (readdinitgroups): Return value returned by addinitgroupsX.
10626         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10627         (prune_cache): Keep track of timeout value of re-added entries.
10628         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10629         * nscd/nscd.h: Adjust prototypes of readd* functions.
10630
10631 2011-02-04  Roland McGrath  <roland@redhat.com>
10632
10633         * nis/nis_server.c (nis_servstate): Use the right name for 0.
10634         (nis_stats): Likewise.
10635         * nis/nis_modify.c (nis_modify): Likewise.
10636         * nis/nis_remove.c (nis_remove): Likewise.
10637         * nis/nis_add.c (nis_add): Likewise.
10638
10639         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10640
10641         * posix/fnmatch_loop.c: Add some consts.
10642
10643         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10644
10645 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
10646
10647         [BZ #12460]
10648         * config.make.in (config-cflags-novzeroupper): Define.
10649         * configure.in: Substitute libc_cv_cc_novzeroupper.
10650         * elf/Makefile (AVX-CFLAGS): Define.
10651         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10652         (CFLAGS-tst-auditmod4a.c): Likewise.
10653         (CFLAGS-tst-auditmod4b.c): Likewise.
10654         (CFLAGS-tst-auditmod6b.c): Likewise.
10655         (CFLAGS-tst-auditmod6c.c): Likewise.
10656         (CFLAGS-tst-auditmod7b.c): Likewise.
10657         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10658
10659 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
10660
10661         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10662         function to the callback.
10663         Patch partly by Jiri Olsa <jolsa@redhat.com>.
10664
10665 2011-02-02  Andreas Schwab  <schwab@redhat.com>
10666
10667         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10668         of errno.
10669
10670 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
10671
10672         [BZ #11724]
10673         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10674         of constructors.
10675         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10676         of destructors.
10677         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10678
10679         [BZ #11724]
10680         * elf/Makefile: Add rules to build and run new test.
10681         * elf/tst-initorder.c: New file.
10682         * elf/tst-initorder.exp: New file.
10683         * elf/tst-initordera1.c: New file.
10684         * elf/tst-initordera2.c: New file.
10685         * elf/tst-initordera3.c: New file.
10686         * elf/tst-initordera4.c: New file.
10687         * elf/tst-initorderb1.c: New file.
10688         * elf/tst-initorderb2.c: New file.
10689         * elf/tst-order-a1.c: New file.
10690         * elf/tst-order-a2.c: New file.
10691         * elf/tst-order-a3.c: New file.
10692         * elf/tst-order-a4.c: New file.
10693         * elf/tst-order-b1.c: New file.
10694         * elf/tst-order-b2.c: New file.
10695         * elf/tst-order-main.c: New file.
10696         New test case by George Gensure <werkt0@gmail.com>.
10697
10698 2010-10-01  Andreas Schwab  <schwab@redhat.com>
10699
10700         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10701         decoding ACE if AI_CANONIDN.
10702
10703 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
10704
10705         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10706
10707 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
10708
10709         * version.h (RELEASE): Bump for 2.13 release.
10710         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10711
10712         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10713
10714         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10715         MADV_NOHUGEPAGE.
10716         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10717         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10718         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10719         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10720         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10721         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10722
10723         * posix/getconf.c: Update copyright year.
10724         * catgets/gencat.c: Likewise.
10725         * csu/version.c: Likewise.
10726         * debug/catchsegv.sh: Likewise.
10727         * debug/xtrace.sh: Likewise.
10728         * elf/ldconfig.c: Likewise.
10729         * elf/ldd.bash.in: Likewise.
10730         * elf/sprof.c (print_version): Likewise.
10731         * iconv/iconv_prog.c: Likewise.
10732         * iconv/iconvconfig.c: Likewise.
10733         * locale/programs/locale.c: Likewise.
10734         * locale/programs/localedef.c: Likewise.
10735         * malloc/memusage.sh: Likewise.
10736         * malloc/mtrace.pl: Likewise.
10737         * nscd/nscd.c (print_version): Likewise.
10738         * nss/getent.c: Likewise.
10739
10740         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10741         PF_CAIF, and PF_ALG.
10742         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10743
10744 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
10745
10746         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10747         (modules-names): Use them.
10748         (ifunc-test-modules, ifunc-pie-tests): Define.
10749         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10750         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10751         (test-extras): Likewise.
10752         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10753         $(compile-command.c).
10754         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10755         (all-built-dso): Define.
10756         (check-textrel.out, check-execstack.out): Depend on it.
10757
10758         * configure.in: Don't override --enable-multi-arch.
10759
10760 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
10761
10762         [BZ #6812]
10763         * nscd/hstcache.c (tryagain): Define.
10764         (cache_addhst): Return tryagain not notfound for temporary errors.
10765         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10766         failed.
10767
10768 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
10769
10770         [BZ #10563]
10771         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10772         to make the syscall.
10773         * sysdeps/unix/sysv/linux/setgroups.c: New file.
10774
10775         [BZ #12378]
10776         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10777         and fall back to matching as normal character if the string ends before
10778         the matching ']' is found.  This is what POSIX requires.
10779         * posix/testfnm.c: Adjust test result.
10780         * posix/globtest.sh: Adjust test result.  Add new test.
10781         * posix/tst-fnmatch.input: Likewise.
10782         * posix/tst-fnmatch2.c: Add new test.
10783
10784 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
10785
10786         * elf/Makefile (check-execstack): Revert last change.  Depend on
10787         check-execstack.h.
10788         (check-execstack.h): New target.
10789         (generated): Add check-execstack.h.
10790         * elf/check-execstack.c: Include "check-execstack.h".
10791         (main): Revert last change.
10792         (handle_file): Return zero if GNU_STACK is absent and
10793         DEFAULT_STACK_PERMS doesn't include PF_X.
10794
10795 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
10796
10797         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10798         in child fails because the descriptor is already closed.
10799         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10800         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10801         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10802
10803         [BZ #12397]
10804         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10805         syscall.
10806
10807         [BZ #10484]
10808         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10809         temporary buffer used to handle multi lookups locally.
10810         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10811
10812 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10813
10814         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10815         loader is ld.so.
10816
10817 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
10818
10819         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10820         alignment for SSE2.
10821
10822 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10823
10824         [BZ #12394]
10825         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10826         characters.  When rounding increased number of integer digits recompute
10827         number of groups.
10828         * stdio-common/tst-grouping.c: New file.
10829         * stdio-common/Makefile: Add rules to build and run tst-grouping.
10830
10831 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
10832
10833         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10834         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
10835
10836         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10837         void.
10838         * bits/select.h: Likewise.
10839
10840 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
10841
10842         * po/ja.po: Update from translation team.
10843
10844 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
10845
10846         [BZ #11155]
10847         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10848         implementation just like for lxstat, fxstatat, et al.
10849
10850 2010-12-27  Jim Meyering  <meyering@redhat.com>
10851
10852         [BZ #12348]
10853         * posix/regexec.c (build_trtable): Return failure indication upon
10854         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
10855
10856 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
10857
10858         [BZ #12201]
10859         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10860         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10861         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10862         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10863
10864         [BZ #12207]
10865         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10866
10867         [BZ #12204]
10868         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10869         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10870
10871 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10872
10873         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10874         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10875         script has SORT_BY_INIT_PRIORITY.
10876         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10877         NO_CTORS_DTORS_SECTIONS is defined.
10878         * elf/soinit.c: Likewise.
10879         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10880         NO_CTORS_DTORS_SECTIONS is defined.
10881         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10882         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10883         * sysdeps/sh/init-first.c: Likewise.
10884         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10885
10886 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
10887
10888         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10889         always use the slow path.
10890
10891 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
10892
10893         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10894         similar rule which adds the sysdep directories to the header search in
10895         order to pick up the correct platform stackinfo.h.
10896         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10897         perform test if it is, otherwise return successfully without testing.
10898         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10899         DEFAULT_STACK_PERMS define in stackinfo.h.
10900         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10901         defined in stackinfo.h.
10902         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10903         DEFAULT_STACK_PERMS defined in stackinfo.h.
10904         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10905         * sysdeps/ia64/stackinfo.h: Likewise.
10906         * sysdeps/s390/stackinfo.h: Likewise.
10907         * sysdeps/sh/stackinfo.h: Likewise.
10908         * sysdeps/sparc/stackinfo.h: Likewise.
10909         * sysdeps/x86_64/stackinfo.h: Likewise.
10910         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10911         PF_X for powerpc64.  Retain PF_X for powerpc32.
10912
10913 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
10914
10915         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10916         accurately.
10917         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10918         GETDENTS_64BIT_ALIGNED.
10919
10920 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
10921
10922         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10923
10924 2010-12-10  Andreas Schwab  <schwab@redhat.com>
10925
10926         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10927         _GNU_SOURCE.
10928
10929         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10930         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10931         Remove __restrict.
10932         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10933         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10934
10935 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
10936
10937         [BZ #11655]
10938         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10939         are initialized.
10940
10941 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
10942
10943         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10944
10945 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
10946
10947         * po/it.po: Update from translation team.
10948
10949 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
10950
10951         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10952         unused codes.
10953
10954 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
10955
10956         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10957
10958 2010-11-24  Andreas Schwab  <schwab@redhat.com>
10959
10960         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10961         specially.
10962         (gaih_getanswer_slice): Likewise.
10963
10964 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
10965
10966         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10967
10968 2010-05-31  Petr Baudis  <pasky@suse.cz>
10969
10970         [BZ #11149]
10971         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10972         silently even in the chroot mode.
10973
10974 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
10975
10976         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10977         last patch a bit.  Pretty printing
10978
10979 2010-05-31  Petr Baudis <pasky@suse.cz>
10980
10981         [BZ #10085]
10982         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10983         initialization of skip_initgroups_dyn.
10984
10985 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
10986
10987         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10988         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10989
10990 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
10991
10992         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10993
10994 2010-11-11  Andreas Schwab  <schwab@redhat.com>
10995
10996         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10997         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10998         (tst-fnmatch-ENV): Set MALLOC_TRACE.
10999         ($(objpfx)tst-fnmatch-mem): New rule.
11000         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11001         * posix/tst-fnmatch.c (main): Call mtrace.
11002
11003 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
11004
11005         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11006         Support Intel processor model 6 and model 0x2c.
11007
11008 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
11009
11010         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11011           signed comparison.
11012
11013 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
11014
11015         [BZ #12205]
11016         * string/test-strncasecmp.c (check_result): New function.
11017         (do_one_test): Use it.
11018         (check1): New function.
11019         (test_main): Use it.
11020         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11021         Support strcasecmp and strncasecmp.
11022
11023 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
11024
11025         [BZ #12194]
11026         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11027         * sysdeps/x86_64/bits/byteswap.h: Likewise.
11028
11029 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11030
11031         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11032         IFUNC support.
11033         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11034         memset-x86-64.
11035         * sysdeps/x86_64/multiarch/bzero.S: New file.
11036         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11037         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11038         * sysdeps/x86_64/multiarch/memset.S: New file.
11039         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11040         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11041         Set bit_Prefer_SSE_for_memop for Intel processors.
11042         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11043         Define.
11044         (index_Prefer_SSE_for_memop): Define.
11045         (HAS_PREFER_SSE_FOR_MEMOP): Define.
11046
11047 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
11048
11049         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11050         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11051
11052 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
11053
11054         [BZ #12191]
11055         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11056         (__x86_64_raw_data_cache_size_half): Likewise.
11057         (__x86_64_raw_shared_cache_size): Likewise.
11058         (__x86_64_raw_shared_cache_size_half): Likewise.
11059
11060         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11061         (__x86_64_raw_data_cache_size_half): Likewise.
11062         (__x86_64_raw_shared_cache_size): Likewise.
11063         (__x86_64_raw_shared_cache_size_half): Likewise.
11064         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11065         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11066         and __x86_64_raw_shared_cache_size_half.  Round
11067         __x86_64_data_cache_size_half, __x86_64_data_cache_size
11068         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11069         to multiple of 256 bytes.
11070
11071 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
11072
11073         [BZ #12167]
11074         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11075         of inacessible symlinks.  Verify result of symlink before returning it.
11076         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11077         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11078
11079 2010-10-28  Erich Ritz  <erichritz@gmail.com>
11080
11081         * math/math.h (isinf): Fix typo in comment.
11082
11083 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
11084
11085         * po/da.po: Update from translation team.
11086
11087 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
11088
11089         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11090         is added to the list.
11091
11092 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11093             Ulrich Drepper  <drepper@gmail.com>
11094
11095         * elf/dl-object.c (_dl_new_object): Don't append the new object to
11096         the global list here.  Move code to...
11097         (_dl_add_to_namespace_list): ...here.  New function.
11098         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11099         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11100         * elf/dl-load.c (lose): Don't remove the element from the list.
11101         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11102         (_dl_map_object): Likewise.
11103
11104 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
11105
11106         [BZ #12159]
11107         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11108         into all bytes of SSE register.
11109         Patch by Richard Li <richardpku@gmail.com>.
11110
11111 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
11112
11113         [BZ #12140]
11114         * malloc/malloc.c (_int_free): Fill correct number of bytes when
11115         perturbing.
11116
11117 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
11118
11119         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11120         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11121         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11122         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11124         submachine.
11125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11126
11127 2010-10-22  Andreas Schwab  <schwab@redhat.com>
11128
11129         * include/dlfcn.h (__RTLD_SECURE): Define.
11130         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
11131         mode & __RTLD_SECURE instead.
11132         (open_path): Rename preloaded parameter to secure.
11133         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11134         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11135         * elf/dl-deps.c (openaux): Likewise.
11136         * elf/rtld.c (struct map_args): Remove is_preloaded.
11137         (map_doit): Don't use it.
11138         (dl_main): Likewise.
11139         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11140         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11141
11142 2010-09-09  Andreas Schwab  <schwab@redhat.com>
11143
11144         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11145         (sysd-rules-targets): Remove duplicates.
11146         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11147         rtld-%.$o dependency.
11148
11149 2010-10-18  Andreas Schwab  <schwab@redhat.com>
11150
11151         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11152         _dl_map_object do it.
11153
11154 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
11155
11156         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11157         fast fma builtins, define the macros in the C99 standard.
11158         (FP_FAST_FMAF): Likewise.
11159         (FP_FAST_FMAL): Likewise.
11160         * sysdeps/x86_64/bits/mathdef.h: Likewise.
11161
11162         * bits/mathdef.h: Update copyright year.
11163         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11164
11165 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
11166
11167         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11168         builtins, define the macros in the C99 standard.
11169         (FP_FAST_FMAF): Likewise.
11170         (FP_FAST_FMAL): Likewise.
11171         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11172         multiply/add.
11173         (FP_FAST_FMAF): Likewise.
11174
11175 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
11176
11177         [BZ #3268]
11178         * math/libm-test.inc (fma_test): Some new testcases.
11179         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11180         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11181         y and infinite z.  Do multiplication by C already in long double.
11182         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11183         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11184         y and infinite z.  Do bitwise or of inexact bit into u.d.
11185         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11186         * sysdeps/i386/fpu/s_fmaf.S: Removed.
11187         * sysdeps/i386/fpu/s_fma.S: Removed.
11188         * sysdeps/i386/fpu/s_fmal.S: Removed.
11189
11190 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
11191
11192         [BZ #3268]
11193         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11194         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11195         computation is not scheduled after fetestexcept.  Fix value
11196         of minimum denormal long double.
11197
11198 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
11199
11200         [BZ #3268]
11201         * math/libm-test.inc (fma_test): Add some more tests.
11202         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11203         correctly.
11204
11205 2010-10-15  Andreas Schwab  <schwab@redhat.com>
11206
11207         * scripts/data/localplt-s390-linux-gnu.data: New file.
11208         * scripts/data/localplt-s390x-linux-gnu.data: New file.
11209
11210 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
11211
11212         [BZ #3268]
11213         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11214         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11215         instead of dbl-64.
11216         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11217         inlines.
11218         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11219         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11220         if one of x and y is very large and the other is subnormal.
11221         * sysdeps/s390/fpu/s_fmaf.c: New file.
11222         * sysdeps/s390/fpu/s_fma.c: New file.
11223         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11224         * sysdeps/powerpc/fpu/s_fma.S: New file.
11225         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11226         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11227         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11228
11229 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
11230
11231         [BZ #3268]
11232         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11233         fma tests.
11234         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11235         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11236         * sysdeps/i386/i686/multiarch/s_fma.c: Include
11237         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11238         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11239         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11240         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11241
11242 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
11243
11244         [BZ #12078]
11245         * posix/regcomp.c (parse_branch): One more memory leak plugged.
11246         * posix/bug-regex31.input: Add test case.
11247
11248 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
11249
11250         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11251         * posix/bug-regex31.input: New file.
11252
11253         [BZ #12078]
11254         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11255         (parse_sub_exp): Fix last change, use postorder.
11256
11257         * posix/bug-regex31.c: New file.
11258         * posix/Makefile: Add rules to build and run bug-regex31.
11259
11260         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11261
11262         [BZ #12078]
11263         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11264
11265         [BZ #12108]
11266         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11267         to have entries in sys_siglist.
11268
11269         [BZ #12093]
11270         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11271         be NULL.
11272
11273 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
11274
11275         [BZ #3268]
11276         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11277         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11278         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11279         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11280         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11281         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11282         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11283         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11284         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11285         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11286         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11287         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11288         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11289         * math/ftestexcept.c (fetestexcept): Likewise.
11290         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11291         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11292         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11293         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11294         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11295         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11296         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11297
11298 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
11299
11300         [BZ #12107]
11301         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11302         newline.
11303
11304 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
11305
11306         * string/bug-strstr1.c: New file.
11307         * string/Makefile: Add rules to build and run bug-strstr1.
11308
11309 2010-10-05  Eric Blake  <eblake@redhat.com>
11310
11311         [BZ #12092]
11312         * string/str-two-way.h (two_way_long_needle): Always clear memory
11313         when skipping input due to the shift table.
11314
11315 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
11316
11317         [BZ #12005]
11318         * malloc/mcheck.c: Handle large requests.
11319
11320         [BZ #12077]
11321         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11322         for strncmp and strncasecmp.
11323         * string/stratcliff.c: Add tests for strcmp and strncmp.
11324         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11325
11326 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11327
11328         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11329         __set_fpscr.
11330
11331 2010-09-30  Andreas Jaeger  <aj@suse.de>
11332
11333         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11334         (CGROUP_SUPER_MAGIC): Define.
11335         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11336         Handle btrfs and cgroup file systems.
11337         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11338         Likewise.
11339
11340 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
11341
11342         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11343         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11344
11345 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11346
11347         [BZ #12067]
11348         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11349         trying to locate the ELF header.
11350
11351 2010-09-27  Andreas Schwab  <schwab@redhat.com>
11352
11353         [BZ #11611]
11354         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11355         Mask out sign-bit copies when constructing f_fsid.
11356
11357 2010-09-24  Petr Baudis <pasky@suse.cz>
11358
11359         * debug/stack_chk_fail_local.c: Add missing licence exception.
11360         * debug/warning-nop.c: Likewise.
11361
11362 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
11363
11364         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11365         implementing getdents64 using getdents syscall, set d_type if
11366         __ASSUME_GETDENTS32_D_TYPE.
11367
11368 2010-09-16  Andreas Schwab  <schwab@redhat.com>
11369
11370         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11371         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11372
11373 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
11374
11375         [BZ #12037]
11376         * posix/unistd.h: Undo change of feature selection for ftruncate from
11377         2010-01-11.
11378
11379 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
11380
11381         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
11382         detection.
11383
11384 2010-09-20  Andreas Schwab  <schwab@redhat.com>
11385
11386         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11387         fanotify_mark.
11388         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11389
11390 2010-09-14  Andreas Schwab  <schwab@redhat.com>
11391
11392         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11393         variables after CHECK_SP call.
11394         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11395
11396 2010-09-13  Andreas Schwab  <schwab@redhat.com>
11397             Ulrich Drepper  <drepper@redhat.com>
11398
11399         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11400         re-relocationg ld.so.
11401         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11402         _dl_init_paths call.
11403         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
11404         here anymore.
11405
11406 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
11407
11408         * resolv/res_init.c (__res_vinit): Count the default server we added.
11409
11410 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
11411             Ulrich Drepper  <drepper@redhat.com>
11412
11413         [BZ #11968]
11414         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11415         (____longjmp_chk): Use %ebx for saving value across system call.
11416         Add unwind info.
11417
11418 2010-09-06  Andreas Schwab  <schwab@redhat.com>
11419
11420         * manual/Makefile: Don't mix pattern rules with normal rules.
11421
11422 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
11423
11424         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11425         operation.
11426         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11427         * libio/iofopncook.c (_IO_cookie_init): Likewise.
11428         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11429         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11430         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11431         Likewise.
11432
11433 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
11434
11435         [BZ #11979]
11436         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11437         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11438
11439 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
11440
11441         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11442         * sysdeps/x86_64/addmul_1.S: Likewise.
11443         * sysdeps/x86_64/lshift.S: Likewise.
11444         * sysdeps/x86_64/mul_1.S: Likewise.
11445         * sysdeps/x86_64/rshift.S: Likewise.
11446         * sysdeps/x86_64/sub_n.S: Likewise.
11447         * sysdeps/x86_64/submul_1.S: Likewise.
11448
11449 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11450
11451         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11452         Define __sched_param instead of SCHED_* and sched_param when
11453         <bits/sched.h> is included with __need_schedparam defined.
11454         * bits/sched.h [__need_schedparam]
11455         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11456         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11457         (__defined_schedparam): Define to 1.
11458         (__sched_param): New structure, identical to sched_param.
11459         (__need_schedparam): Undefine.
11460
11461 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
11462
11463         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11464         (epoll_create1): Declare.
11465
11466         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11467
11468 2010-08-31  Andreas Schwab  <schwab@redhat.com>
11469
11470         [BZ #7066]
11471         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11472         shifting retval into place.
11473
11474 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
11475
11476         * nis/rpcsvc/nis.h: Update copyright notice.
11477         * nis/rpcsvc/nis.x: Likewise.
11478         * nis/rpcsvc/nis_callback.h: Likewise.
11479         * nis/rpcsvc/nis_callback.x: Likewise.
11480         * nis/rpcsvc/nis_object.x: Likewise.
11481         * nis/rpcsvc/nis_tags.h: Likewise.
11482         * nis/rpcsvc/yp.h: Likewise.
11483         * nis/rpcsvc/yp.x: Likewise.
11484         * nis/rpcsvc/ypupd.h: Likewise.
11485         * nis/yp_xdr.c: Likewise.
11486         * nis/ypupdate_xdr.c: Likewise.
11487
11488         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
11489         mainly the body of pmap_getport.  Add parameters to specify timeouts.
11490         (pmap_getport): Use __libc_rpc_getport.
11491         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11492         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11493         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11494
11495 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
11496
11497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11498         fanotify_mark.
11499
11500 2010-08-27  Roland McGrath  <roland@redhat.com>
11501
11502         * sysdeps/i386/i686/multiarch/Makefile
11503         (CFLAGS-varshift.c): New variable.
11504
11505 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
11506
11507         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11508         * sysdeps/i386/i686/multiarch/varshift.c: New file.
11509
11510         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11511
11512         * sysdeps/x86_64/strlen.S: Minimal code improvement.
11513
11514 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11515
11516         * sysdeps/x86_64/strlen.S: Unroll the loop.
11517         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11518         strlen-sse2 strlen-sse2-bsf.
11519         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11520         __strlen_no_bsf if bit_Slow_BSF is set.
11521         (__strlen_sse42): Removed.
11522         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11523         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11524
11525 2010-08-25  Roland McGrath  <roland@redhat.com>
11526
11527         * sysdeps/x86_64/multiarch/varshift.S: File removed.
11528         * sysdeps/x86_64/multiarch/varshift.c: New file.
11529         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11530         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11531         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11532         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11533
11534 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11535
11536         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11537         strlen-sse2 strlen-sse2-bsf.
11538         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11539         __strlen_sse2_bsf if bit_Slow_BSF is unset.
11540         (__strlen_sse2): Removed.
11541         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11542         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11543         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11544         bit_Slow_BSF for Atom.
11545         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11546         (index_Slow_BSF): Define.
11547         (HAS_SLOW_BSF): Define.
11548
11549 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
11550
11551         [BZ #10851]
11552         * resolv/res_init.c (__res_vinit): When no server address at all
11553         is given default to loopback.
11554
11555 2010-08-24  Roland McGrath  <roland@redhat.com>
11556
11557         * configure.in: Remove config-name.h generation.
11558         * configure: Regenerated.
11559         * config-name.in: File removed.
11560         * scripts/config-uname.sh: New file.
11561         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11562         ($(objdir)config-name.h): New target.
11563
11564         * sunrpc/rpc_parse.h: Avoid nested comment.
11565
11566 2010-08-24  Richard Henderson  <rth@redhat.com>
11567             Ulrich Drepper  <drepper@redhat.com>
11568             H.J. Lu  <hongjiu.lu@intel.com>
11569
11570         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11571         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11572         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11573         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
11574         _mm_alignr_epi8 with _mm_loadu_si128.
11575         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11576         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11577         (__m128i_shift_right): Removed.
11578         * sysdeps/i386/i686/multiarch/varshift.h: New file.
11579         * sysdeps/i386/i686/multiarch/varshift.S: New file.
11580         * sysdeps/x86_64/multiarch/varshift.h: New file.
11581         * sysdeps/x86_64/multiarch/varshift.S: New file.
11582
11583 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
11584
11585         * configure.in: Move assembler checks to before sysdep dir checking.
11586
11587 2010-08-20  Petr Baudis  <pasky@suse.cz>
11588
11589         * LICENSES: Sync the sunrpc license.
11590
11591 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
11592
11593         * sunrpc/auth_des.c: Update copyright notice once again.
11594         * sunrpc/auth_none.c: Likewise.
11595         * sunrpc/auth_unix.c: Likewise.
11596         * sunrpc/authdes_prot.c: Likewise.
11597         * sunrpc/authuxprot.c: Likewise.
11598         * sunrpc/bindrsvprt.c: Likewise.
11599         * sunrpc/clnt_gen.c: Likewise.
11600         * sunrpc/clnt_perr.c: Likewise.
11601         * sunrpc/clnt_raw.c: Likewise.
11602         * sunrpc/clnt_simp.c: Likewise.
11603         * sunrpc/clnt_tcp.c: Likewise.
11604         * sunrpc/clnt_udp.c: Likewise.
11605         * sunrpc/clnt_unix.c: Likewise.
11606         * sunrpc/des_crypt.c: Likewise.
11607         * sunrpc/des_soft.c: Likewise.
11608         * sunrpc/get_myaddr.c: Likewise.
11609         * sunrpc/getrpcport.c: Likewise.
11610         * sunrpc/key_call.c: Likewise.
11611         * sunrpc/key_prot.c: Likewise.
11612         * sunrpc/openchild.c: Likewise.
11613         * sunrpc/pm_getmaps.c: Likewise.
11614         * sunrpc/pm_getport.c: Likewise.
11615         * sunrpc/pmap_clnt.c: Likewise.
11616         * sunrpc/pmap_prot.c: Likewise.
11617         * sunrpc/pmap_prot2.c: Likewise.
11618         * sunrpc/pmap_rmt.c: Likewise.
11619         * sunrpc/rpc/auth.h: Likewise.
11620         * sunrpc/rpc/auth_unix.h: Likewise.
11621         * sunrpc/rpc/clnt.h: Likewise.
11622         * sunrpc/rpc/des_crypt.h: Likewise.
11623         * sunrpc/rpc/key_prot.h: Likewise.
11624         * sunrpc/rpc/netdb.h: Likewise.
11625         * sunrpc/rpc/pmap_clnt.h: Likewise.
11626         * sunrpc/rpc/pmap_prot.h: Likewise.
11627         * sunrpc/rpc/pmap_rmt.h: Likewise.
11628         * sunrpc/rpc/rpc.h: Likewise.
11629         * sunrpc/rpc/rpc_des.h: Likewise.
11630         * sunrpc/rpc/rpc_msg.h: Likewise.
11631         * sunrpc/rpc/svc.h: Likewise.
11632         * sunrpc/rpc/svc_auth.h: Likewise.
11633         * sunrpc/rpc/types.h: Likewise.
11634         * sunrpc/rpc/xdr.h: Likewise.
11635         * sunrpc/rpc_clntout.c: Likewise.
11636         * sunrpc/rpc_cmsg.c: Likewise.
11637         * sunrpc/rpc_common.c: Likewise.
11638         * sunrpc/rpc_cout.c: Likewise.
11639         * sunrpc/rpc_dtable.c: Likewise.
11640         * sunrpc/rpc_hout.c: Likewise.
11641         * sunrpc/rpc_main.c: Likewise.
11642         * sunrpc/rpc_parse.c: Likewise.
11643         * sunrpc/rpc_parse.h: Likewise.
11644         * sunrpc/rpc_prot.c: Likewise.
11645         * sunrpc/rpc_sample.c: Likewise.
11646         * sunrpc/rpc_scan.c: Likewise.
11647         * sunrpc/rpc_scan.h: Likewise.
11648         * sunrpc/rpc_svcout.c: Likewise.
11649         * sunrpc/rpc_tblout.c: Likewise.
11650         * sunrpc/rpc_util.c: Likewise.
11651         * sunrpc/rpc_util.h: Likewise.
11652         * sunrpc/rpcinfo.c: Likewise.
11653         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11654         * sunrpc/rpcsvc/key_prot.x: Likewise.
11655         * sunrpc/rpcsvc/klm_prot.x: Likewise.
11656         * sunrpc/rpcsvc/mount.x: Likewise.
11657         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11658         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11659         * sunrpc/rpcsvc/rex.x: Likewise.
11660         * sunrpc/rpcsvc/rstat.x: Likewise.
11661         * sunrpc/rpcsvc/rusers.x: Likewise.
11662         * sunrpc/rpcsvc/sm_inter.x: Likewise.
11663         * sunrpc/rpcsvc/spray.x: Likewise.
11664         * sunrpc/rpcsvc/yppasswd.x: Likewise.
11665         * sunrpc/rtime.c: Likewise.
11666         * sunrpc/svc.c: Likewise.
11667         * sunrpc/svc_auth.c: Likewise.
11668         * sunrpc/svc_authux.c: Likewise.
11669         * sunrpc/svc_raw.c: Likewise.
11670         * sunrpc/svc_run.c: Likewise.
11671         * sunrpc/svc_simple.c: Likewise.
11672         * sunrpc/svc_tcp.c: Likewise.
11673         * sunrpc/svc_udp.c: Likewise.
11674         * sunrpc/svc_unix.c: Likewise.
11675         * sunrpc/svcauth_des.c: Likewise.
11676         * sunrpc/xcrypt.c: Likewise.
11677         * sunrpc/xdr.c: Likewise.
11678         * sunrpc/xdr_array.c: Likewise.
11679         * sunrpc/xdr_float.c: Likewise.
11680         * sunrpc/xdr_mem.c: Likewise.
11681         * sunrpc/xdr_rec.c: Likewise.
11682         * sunrpc/xdr_ref.c: Likewise.
11683         * sunrpc/xdr_sizeof.c: Likewise.
11684         * sunrpc/xdr_stdio.c: Likewise.
11685
11686         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11687         handling.
11688
11689 2010-08-19  Andreas Schwab  <schwab@redhat.com>
11690
11691         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11692
11693 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
11694
11695         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11696         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11697         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11698         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11699         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11700         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11701         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11702         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11703         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11704         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11705         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11706         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11707         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11708         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11709
11710 2010-07-26  Anton Blanchard  <anton@samba.org>
11711
11712         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11713         * malloc/arena.c (heap_trim): Likewise.
11714
11715 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
11716
11717         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11718         here.  Not...
11719         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11720         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11721
11722 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
11723
11724         * sysdeps/i386/elf/Makefile: New file.
11725
11726 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11727
11728         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11729         from fanotify_init.
11730         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11731         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11732
11733 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
11734
11735         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11736         of strncasecmp_l.
11737         * sysdeps/multiarch/strcmp.S: Likewise.
11738
11739 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
11740
11741         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11742         strncase_l-nonascii.
11743         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11744         Add strncase_l-ssse3.
11745         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11746         * sysdeps/x86_64/strcmp.S: Likewise.
11747         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11748         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11749         * sysdeps/x86_64/strncase.S: New file.
11750         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11751         * sysdeps/x86_64/strncase_l.S: New file.
11752         * string/Makefile (strop-tests): Add strncasecmp.
11753         * string/test-strncasecmp.c: New file.
11754
11755         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11756         warning.
11757
11758         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11759         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11760
11761 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11762
11763         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11764
11765 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
11766
11767         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11768         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11769         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11770
11771 2010-05-01  Alan Modra  <amodra@gmail.com>
11772
11773         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11774         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11775         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11776         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11777         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11778         tidying.  Don't tail-call __sigjmp_save for static lib.
11779         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11780         save location.
11781         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11782         (CALL_MCOUNT): Add eh info, and nop after bl.
11783         (TAIL_CALL_SYSCALL_ERROR): New macro.
11784         (PSEUDO_RET): Use it.
11785         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11786         Correct save location of integer regs and cr.
11787         (_dl_profile_resolve): Correct cr save location.  Delete nops
11788         after bl when SHARED.  Reduce cfi size a little by better
11789         placement of cfi directives.
11790         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11791         make a stack frame.  Instead use parm save area as a temp.
11792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11793         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
11794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11795         Don't make a stack frame for parent, use parm save area.
11796         Increase child stack frame to 112 bytes.  Don't save unused reg,
11797         and adjust reg usage.  Set up cfi on error recovery and
11798         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11800         (__makecontext): Add dummy nop after jump to exit.
11801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11802         Use correct parm save area and cr save, reduce stack frame.
11803         Correct cfi for possible PSEUDO_RET frame setup.
11804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11805         Branch to local label emitted by PSEUDO_RET rather than
11806         __syscall_error.
11807
11808 2010-08-12  Andreas Schwab  <schwab@redhat.com>
11809
11810         [BZ #11904]
11811         * locale/programs/locale.c (print_assignment): New function.
11812         (show_locale_vars): Use it.
11813
11814 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
11815
11816         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11817         field.
11818         (struct statfs64): Likewise.
11819         (_STATFS_F_FLAGS): Define.
11820         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11821         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11822         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11823         (ST_VALID): Define locally.
11824         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11825         __statvfs_getflags, use the provided value.
11826         * sysdeps/unix/sysv/linux/kernel-features.h: Define
11827         __ASSUME_STATFS_F_FLAGS.
11828
11829         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11830
11831         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11832         Add sys/fanotify.h.
11833         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11834         fanotify_mask for GLIBC_2.13.
11835         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11836         fanotify_init and fanotify_mark.
11837         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11838         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11839
11840         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11841         Add prlimit.
11842         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11843         prlimit64 for GLIBC_2.13.
11844         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11845         prlimit64.
11846         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11847         syscall.
11848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11849         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11850         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11851         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11852         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
11853         add prlimit alias.
11854         * sysdeps/unix/sysv/linux/prlimit.c: New file.
11855
11856         [BZ #11903]
11857         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11858         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11859
11860         * nss/Makefile: Add rules to build and run tst-nss-test1.
11861         * shlib-versions: Add entry for libnss_test1.
11862         * nss/nss_test1.c: New file.
11863         * nss/tst-nss-test1.c: New file.
11864
11865         * nss/nsswitch.c (__nss_database_custom): Define new variable.
11866         (__nss_configure_lookup): Set appropriate entry in
11867         __nss_configure_lookup to true.
11868         * nss/nsswitch.h: Define enum with indeces of databases in
11869         databases and __nss_database_custom arrays.  Declare
11870         __nss_database_custom.
11871         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11872         to avoid using nscd when custom rules are installed.
11873         * nss/getXXbyYY_r.c: Likewise.
11874         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11875
11876         * nss/nss_files/files-parse.c: Whitespace fixes.
11877
11878 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
11879
11880         [BZ #11883]
11881         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11882         * posix/fnmatch_loop.c: Likewise.
11883
11884 2010-07-17  Andi Kleen  <ak@linux.intel.com>
11885
11886         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11887         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11888         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11889         * Versions.def [GLIBC_2.13]: Add.
11890
11891 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
11892
11893         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11894         Also fail if tpwd after pwuid call is NULL.
11895
11896 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11897
11898         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11899         when converting to ms.
11900
11901 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11902
11903         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11904         EOPNOTSUPP errors with ENOTTY.
11905         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11906         EOPNOTSUPP errors with ENOTTY.
11907
11908 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
11909
11910         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11911         Add strcasecmp_l-ssse3.
11912         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11913         strcasecmp.
11914         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11915         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11916         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11917
11918 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
11919
11920         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11921
11922         * string/Makefile (strop-tests): Add strcasecmp.
11923         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11924         strcasecmp_l-nonascii.
11925         (gen-as-const-headers): Add locale-defines.sym.
11926         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11927         * sysdeps/x86_64/strcasecmp.S: New file.
11928         * sysdeps/x86_64/strcasecmp_l.S: New file.
11929         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11930         * sysdeps/x86_64/locale-defines.sym: New file.
11931         * string/test-strcasecmp.c: New file.
11932
11933         * string/test-strcasestr.c: Test both ends of the range of characters.
11934         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11935
11936 2010-07-29  Roland McGrath  <roland@redhat.com>
11937
11938         [BZ #11856]
11939         * manual/locale.texi (Yes-or-No Questions): Fix example code.
11940
11941 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
11942
11943         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11944         for ld.so.
11945
11946 2010-07-27  Andreas Schwab  <schwab@redhat.com>
11947
11948         * manual/memory.texi (Malloc Tunable Parameters): Document
11949         M_PERTURB.
11950
11951 2010-07-26  Roland McGrath  <roland@redhat.com>
11952
11953         [BZ #11840]
11954         * configure.in (-fgnu89-inline check): Set and substitute
11955         gnu89_inline, not libc_cv_gnu89_inline.
11956         * configure: Regenerated.
11957         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11958
11959 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
11960
11961         * string/test-strnlen.c: New file.
11962         * string/Makefile (strop-tests): Add strnlen.
11963         * string/tester.c (test_strnlen): Add a few more test cases.
11964         * string/tst-strlen.c: Better error reporting.
11965
11966         * sysdeps/x86_64/strnlen.S: New file.
11967
11968 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
11969
11970         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11971         lower-latency instructions.
11972
11973 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
11974
11975         * string/test-strcasestr.c: New file.
11976         * string/test-strstr.c: New file.
11977         * string/Makefile (strop-tests): Add strstr and strcasestr.
11978         * string/str-two-way.h: Don't undefine MAX.
11979         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11980
11981 2010-07-21  Andreas Schwab  <schwab@redhat.com>
11982
11983         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11984         strcasestr-nonascii.
11985         (CFLAGS-strcasestr-nonascii.c): Define.
11986         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11987         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11988         Remove unused attribute.
11989
11990 2010-07-20  Roland McGrath  <roland@redhat.com>
11991
11992         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11993         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
11994         ld.so.cache was broken.  With it, there is no way to disable dsocaps
11995         like LD_HWCAP_MASK can disable hwcaps.
11996
11997 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
11998
11999         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12000
12001 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
12002
12003         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12004         call in strcasestr.
12005         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12006         __strcasestr_sse42_nonascii.
12007         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12008         strcasestr-nonascii.c.
12009         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12010
12011 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
12012
12013         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12014         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12015         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12016         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12017
12018 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
12019
12020         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12021         fcntl.
12022
12023 2010-07-06  Andreas Schwab  <schwab@redhat.com>
12024
12025         [BZ #11577]
12026         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12027         dl_signal_cerror.
12028
12029 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
12030
12031         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12032         _PC_PIPE_BUF using F_GETPIPE_SZ.
12033
12034 2010-07-05  Roland McGrath  <roland@redhat.com>
12035
12036         * manual/arith.texi (Rounding Functions): Fix rint description
12037         implicit in round description.
12038
12039 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
12040
12041         * elf/Makefile: Fix linking for a few tests to make recent linker
12042         happy.
12043
12044 2010-06-30  Andreas Schwab  <schwab@redhat.com>
12045
12046         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12047         $(common-objpfx)libc_nonshared.a.
12048
12049 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
12050
12051         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12052         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12053         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12054         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12055         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12056         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12057         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12058         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12073         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12074         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12075         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12076         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12077         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12078         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12079         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12080         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12081         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12082         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12083         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12084         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12099
12100 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
12101
12102         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12103         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
12104         * string/memmove.c (memmove): Renamed to ...
12105         (MEMMOVE): ...this.  Default to memmove.
12106         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12107         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12108         (END_CHK): Define.
12109         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12110         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12111         mempcpy-ssse3-back memmove-ssse3-back.
12112         * sysdeps/x86_64/multiarch/bcopy.S: New file .
12113         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12114         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12115         * sysdeps/x86_64/multiarch/memcpy.S: New file.
12116         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12117         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12118         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12119         * sysdeps/x86_64/multiarch/memmove.c: New file.
12120         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12121         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12122         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12123         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12124         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12125         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12126         Define.
12127         (index_Fast_Copy_Backward): Define.
12128         (HAS_ARCH_FEATURE): Define.
12129         (HAS_FAST_REP_STRING): Define.
12130         (HAS_FAST_COPY_BACKWARD): Define.
12131
12132 2010-06-21  Andreas Schwab  <schwab@redhat.com>
12133
12134         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12135         Restore proper fallback handling.
12136
12137 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
12138
12139         [BZ #11701]
12140         * posix/group_member.c (__group_member): Correct checking loop.
12141
12142         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12143         OOM in getpwuid_r correctly.  Return error number when the caller
12144         should return, otherwise -1.
12145         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12146         call returning > 0 value.
12147         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12148
12149 2010-06-07  Andreas Schwab  <schwab@redhat.com>
12150
12151         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12152         libc_nonshared.a from targets in modules-names.
12153
12154 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
12155
12156         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12157         requires it.
12158
12159 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
12160
12161         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12162         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12163         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12164         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12165
12166 2010-06-02  Andreas Schwab  <schwab@redhat.com>
12167
12168         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12169
12170 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
12171
12172         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12173         and F_GETPIPE_SZ.
12174         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12175         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12176         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12177         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12178         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12179         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12180
12181 2010-06-14  Roland McGrath  <roland@redhat.com>
12182
12183         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12184
12185 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
12186
12187         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12188         __REDIRECT followed by __THROW.
12189         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12190         * posix/getopt.h (getopt): Likewise.
12191
12192 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
12193
12194         * hurd/lookup-at.c (__file_name_lookup_at): Accept
12195         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
12196         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12197         in AT_FLAGS.
12198         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12199         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12200
12201 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
12202
12203         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12204
12205 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
12206
12207         [BZ #11640]
12208         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12209         Properly check family and model.
12210
12211 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
12212
12213         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12214
12215 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
12216
12217         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12218
12219 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
12220
12221         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12222         symbol reference.
12223
12224 2010-05-19  Andreas Schwab  <schwab@redhat.com>
12225
12226         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12227         symbol reference.
12228
12229 2010-05-21  Andreas Schwab  <schwab@redhat.com>
12230
12231         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12232         and internal_recvmmsg.
12233         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12234         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12235         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12236         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12237
12238         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12239         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12240         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12241
12242 2010-05-20  Andreas Schwab  <schwab@redhat.com>
12243
12244         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12245
12246 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
12247
12248         POWER7 optimizations.
12249         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12250         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12251
12252 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
12253
12254         * version.h: Update for 2.13 development version.
12255
12256 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
12257
12258         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12259         exceptions.  Return 0.
12260
12261 2010-05-07  Roland McGrath  <roland@redhat.com>
12262
12263         * elf/ldconfig.c (main): Add a const.
12264
12265 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
12266
12267         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12268         (args_options): Add no-idn option.
12269         (ahosts_keys_int): Add idn_flags to ai_flags.
12270         (parse_option): Handle 'i' option to clear idn_flags.
12271
12272         * malloc/malloc.c (_int_free): Possible race in the most recently
12273         added check.  Only act on the data if no current modification
12274         happened.
12275
12276 See ChangeLog.17 for earlier changes.