conformtest: Remove duplicate typed-constant handling.
[platform/upstream/glibc.git] / ChangeLog
1 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
2
3         * conform/conformtest.pl: Remove duplicate typed-constant
4         handling.
5
6 2012-04-28  David S. Miller  <davem@davemloft.net>
7
8         * Makerules (%.abilist): Add vpath on sysdep_dirs.
9         (check-abi-%): Remove AWK script prerequisite and explicit
10         abilist directory.
11         (check-abi): Rewrite to just diff the symlist with the abilist.
12         (config-tls, config-abi-config): Delete, no longer used.
13         (update-abi-%): Remove AWK script and explicit abilist directory.
14         (update-abi): Rewrite to simply compare and conditionally copy the
15         symlist and the sysdep abilist file.  Remove update-abi-config
16         checks.
17         * abilist/ld.abilist: Remove.
18         * abilist/libBrokenLocale.abilist: Remove.
19         * abilist/libanl.abilist: Remove.
20         * abilist/libcrypt.abilist: Remove.
21         * abilist/libdl.abilist: Remove.
22         * abilist/librt.abilist: Remove.
23         * abilist/libthread_db.abilist: Remove.
24         * abilist/libutil.abilist: Remove.
25         * scripts/extract-abilist.awk: Remove.
26         * scripts/merge-abilist.awk: Remove.
27         * sysdeps/generic/libcidn.abilist: New file.
28         * sysdeps/generic/libnss_compat.abilist: New file.
29         * sysdeps/generic/libnss_db.abilist: New file.
30         * sysdeps/generic/libnss_dns.abilist: New file.
31         * sysdeps/generic/libnss_files.abilist: New file.
32         * sysdeps/generic/libnss_hesiod.abilist: New file.
33         * sysdeps/generic/libnss_nis.abilist: New file.
34         * sysdeps/generic/libnss_nisplus.abilist: New file.
35         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38         file.
39         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
46         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
47         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
48         file.
49         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
50         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
51         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
52         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
53         file.
54         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
55         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
56         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
57         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
58         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
59         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
60         file.
61         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
62         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
63         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
64         file.
65         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
66         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
67         New file.
68         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
69         New file.
70         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
71         New file.
72         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
73         New file.
74         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
75         New file.
76         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
77         New file.
78         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
79         New file.
80         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
81         New file.
82         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
83         New file.
84         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
85         New file.
86         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
87         New file.
88         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
89         New file.
90         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
91         New file.
92         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
93         file.
94         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
95         New file.
96         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
97         New file.
98         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
99         file.
100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
101         New file.
102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
103         New file.
104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
105         file.
106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
107         New file.
108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
109         New file.
110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
111         New file.
112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
113         New file.
114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
115         New file.
116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
117         New file.
118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
120         file.
121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
122         New file.
123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
124         file.
125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
126         file.
127         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
128         file.
129         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
130         file.
131         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
132         file.
133         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
134         New file.
135         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
136         file.
137         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
138         file.
139         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
140         New file.
141         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
142         file.
143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
145         file.
146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
147         New file.
148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
149         file.
150         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
151         file.
152         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
153         file.
154         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
155         file.
156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
157         file.
158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
159         New file.
160         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
161         file.
162         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
163         file.
164         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
165         New file.
166         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
167         file.
168         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
169         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
170         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
171         file.
172         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
173         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
174         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
175         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
176         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
177         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
178         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
179         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
180         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
181         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
182         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
184         file.
185         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
186         New file.
187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
188         file.
189         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
190         file.
191         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
192         file.
193         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
194         file.
195         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
196         file.
197         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
198         New file.
199         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
200         New file.
201         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
202         file.
203         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
204         New file.
205         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
206         file.
207         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
209         file.
210         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
211         New file.
212         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
213         file.
214         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
215         file.
216         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
217         file.
218         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
219         file.
220         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
221         file.
222         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
223         New file.
224         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
225         New file.
226         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
227         file.
228         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
229         New file.
230         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
231         file.
232
233 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
234
235         * conform/conformtest.pl: Fix typo in handling typed-constant from
236         allow-header.
237
238 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
239
240         * README: Cut down references to pre-2.6 Linux kernels and
241         Linuxthreads.  Update lists of configurations in libc and ports
242         and sort alphabetically.  Say "or newer" with Linux kernel version
243         requirements.
244
245         * config.h.in [IS_IN_build]: Allow compiling without optimization.
246
247 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
248
249         [BZ #887]
250         * math/libm-test.inc (logb_test_downward): New test to expose
251         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
252         rounding mode.
253
254 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
255
256         [BZ #14027]
257         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
258         to be done.
259         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
260         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
261
262 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
263
264         * sysdeps/unix/i386/brk.S: Remove file.
265         * sysdeps/unix/i386/dl-brk.S: Likewise.
266         * sysdeps/unix/i386/pipe.S: Likewise.
267         * sysdeps/unix/i386/sigreturn.S: Likewise.
268         * sysdeps/unix/i386/syscall.S: Likewise.
269         * sysdeps/unix/i386/vfork.S: Likewise.
270         * sysdeps/unix/i386/wait.S: Likewise.
271
272         * sysdeps/unix/common/tcsendbrk.c: Move to ...
273         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
274
275         * configure.in (arm*-none*): Do not allow without
276         --enable-hacker-mode.
277         (netbsd*): Remove case setting base_os.
278         (386bsd*): Likewise.
279         (freebsd*): Likewise.
280         (bsdi*): Likewise.
281         (osf*): Likewise.
282         (sunos*): Likewise.
283         (ultrix*): Likewise.
284         (newsos*): Likewise.
285         (dynix*): Likewise.
286         (*bsd*): Likewise.
287         (sysv*): Likewise.
288         (isc*): Likewise.
289         (esix*): Likewise.
290         (sco*): Likewise.
291         (minix*): Likewise.
292         (irix4*): Likewise.
293         (irix6*): Likewise.
294         (solaris[2-9]*): Likewise.
295         (none): Likewise.
296         * configure: Regenerated.
297
298 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
299
300         [BZ #11521]
301         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
302         overflow or cancellation in calculating denominator.
303         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
304         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
305         down expression to avoid unexpected rounding in newer GCCs.
306         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
307
308 2012-04-26  David S. Miller  <davem@davemloft.net>
309
310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
311         long-double compat symbols.
312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
320         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
325
326 2012-04-25  David S. Miller  <davem@davemloft.net>
327
328         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
329         HWCAP_* values only after the memory barriers have been defined.
330         (atomic_full_barrier): Define.
331         (atomic_read_barrier): Define.
332         (atomic_write_barrier): Define.
333
334 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
335
336         * shlib-versions: Add libgcc_s version information.
337         * sysdeps/generic/libgcc_s.h: Remove.
338         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
339         libgcc_s.h.
340         * sysdeps/gnu/unwind-resume.c: Likewise.
341         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
342
343 2012-04-25  David S. Miller  <davem@davemloft.net>
344
345         * sysdeps/unix/sparc/brk.S: Delete.
346         * sysdeps/unix/sparc/dl-brk.S: Delete.
347         * sysdeps/unix/sparc/pipe.S: Delete.
348         * sysdeps/unix/sparc/sysdep.S: Delete.
349         * sysdeps/unix/sparc/sysdep.h: Delete.
350         * sysdeps/unix/sparc/vfork.S: Delete.
351         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
352         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
353         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
354         ret_ERRVAL, r0, r1, MOVE): Define.
355         (JUMPTARGET): Remove.
356         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
357         sysdeps/unix/sparc/sysdep.h
358         (ENTRY, END): Remove.
359         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
360
361 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
362
363         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
364         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
365         -DIS_IN_build.
366
367         * timezone/README: Update upstream location and email address for
368         tzcode and tzdata.
369         * timezone/zdump.c: Update from tzcode 2012b.
370         * timezone/zic.c: Likewise.
371
372         * configure.in (libc_cv_as_needed): Remove test.
373         * configure: Regenerated.
374         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
375         conditional definition.
376         [$(have-as-needed) != yes] (no-as-needed): Likewise.
377         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
378         * config.make.in (have-as-needed): Remove variable.
379
380 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
381             Paul Pluzhnikov  <ppluzhnikov@google.com>
382
383         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
384         strings correctly.
385
386 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
387
388         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
389         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
390         * sysdeps/sh/strlen.S: Likewise.
391
392 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
393
394         * sysdeps/unix/fork.S: Remove file.
395         * sysdeps/unix/i386/fork.S: Likewise.
396         * sysdeps/unix/sparc/fork.S: Likewise.
397
398         * sysdeps/unix/system.c: Remove file.
399         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
400
401         * sysdeps/unix/getegid.S: Remove file.
402         * sysdeps/unix/geteuid.S: Likewise.
403
404 2012-04-24  Roland McGrath  <roland@hack.frob.com>
405
406         * scripts/check-localplt.awk: New file.
407         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
408         of diff.
409         * scripts/data/localplt-generic.data: Add a comment.
410
411         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
412         NODE when __dir_mkfile failed.
413         * sysdeps/mach/hurd/symlinkat.c: Likewise.
414         Reported by Ludovic Courtès <ludo@gnu.org>.
415
416 2012-04-24  Andreas Jaeger  <aj@suse.de>
417
418         * Makerules (common-clean): Also remove gen-as-const-headers
419         files.
420
421 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
422
423         * Makerules (native-compile): Do not change working directory for
424         build.  Use $(OUTPUT_OPTION) in command.
425         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
426
427 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
428
429         [BZ #13886]
430         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
431         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
432         * math/libm-test.inc (floor_test): Add more tests.
433         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
434
435 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
436
437         * sysdeps/unix/getdents.c: Remove file.
438         * sysdeps/unix/sysv/getdents.c: Likewise.
439         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
440
441         * sysdeps/unix/syscalls.list (madvise): Add syscall from
442         sysdeps/unix/mman/syscalls.list.
443         (mmap): Likewise.
444         (mprotect): Likewise.
445         (msync): Likewise.
446         (munmap): Likewise.
447         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
448         * sysdeps/unix/mman/syscalls.list: Remove.
449         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
450
451         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
452         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
453         * configure: Regenerated.
454         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
455         $(libgcc_s_suffix).
456         * config.make.in (libgcc_s_suffix): Remove variable.
457
458 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
459
460         * sysdeps/unix/sysv/gethostname.c: Move to ...
461         * sysdeps/posix/gethostname.c: ... here.
462
463         * sysdeps/unix/execve.S: Remove file.
464
465         * sysdeps/unix/_exit.S: Remove file.
466
467 2012-04-23  Andreas Jaeger  <aj@suse.de>
468
469         [BZ #13739]
470         * manual/Makefile: Remove make dist support, there's no
471         need for a stand-alone documentation tar ball.
472         (TEXI2DVI): Define always, it's not in Makeconfig.
473         (dist): Removed.
474         (tar-it): Removed.
475         (edition): Removed.
476         (glibc-doc-$(edition).tar): Removed
477         (%.Z): Removed.
478         (%.gz): Removed.
479         (%.uu): Removed.
480         (ETAGS): Remove, it's in Makeconfig.
481         (move-if-change): Remove, it's in Makeconfig.
482
483 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
484
485         [BZ #13970]
486         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
487         (strtod, strtof, strtold, strtol, strtoul, strtoq)
488         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
489         (strtod_l, strtof_l, strtold_l): Remove __wur.
490         It is not necessarily an error to ignore strtol's return value.
491         One can reliably look at the stored endptr to decide whether
492         the number had valid syntax.
493
494 2012-04-21  Andreas Jaeger  <aj@suse.de>
495
496         [BZ #13739]
497         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
498
499 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
500
501         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
502         * sysdeps/unix/sysv/Versions: Remove file.
503
504 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
505
506         [BZ #13927]
507         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
508
509 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
510
511         [BZ #7064]
512         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
513         version from __vm86.
514
515 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
516
517         * sysdeps/unix/common/lxstat.c: Remove file.
518         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
519
520         * sysdeps/unix/sysv/Makefile: Remove file.
521
522         * sysdeps/unix/sysv/direct.h: Remove file.
523
524         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
525         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
526         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
527         * sysdeps/unix/sysv/bits/signum.h: Likewise.
528         * sysdeps/unix/sysv/bits/stat.h: Likewise.
529         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
530         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
531
532         * sysdeps/unix/sysv/setrlimit.c: Remove file.
533
534         * sysdeps/unix/xmknod.c: Remove file.
535         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
536
537         * sysdeps/unix/sysv/settimeofday.c: Remove file.
538
539         * sysdeps/unix/sysv/i386/time.S: Remove file.
540
541         * sysdeps/unix/fxstat.c: Remove file.
542         * sysdeps/unix/xstat.c: Likewise.
543         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
544
545         * sysdeps/unix/sysv/sigaction.c: Remove file.
546
547         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
548         (sysdep_headers): Remove variable.
549         [termio.h not in sysdep_headers] (generated): Likewise.
550         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
551         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
552         * sysdeps/unix/sysv/tcdrain.c: Likewise.
553         * sysdeps/unix/sysv/tcflow.c: Likewise.
554         * sysdeps/unix/sysv/tcflush.c: Likewise.
555         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
556         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
557         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
558         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
559         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
560
561         * sysdeps/unix/siglist.c: Remove file.
562
563         * sysdeps/unix/getppid.S: Remove file.
564
565         * sysdeps/unix/mkdir.c: Remove file.
566         * sysdeps/unix/rmdir.c: Likewise.
567
568 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
569
570         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
571         ERR_MAX value.
572         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
573         errlist-compat value.
574
575 2012-04-18  David S. Miller  <davem@davemloft.net>
576
577         * sysdeps/generic/memcopy.h (reg_char): Delete.
578         * debug/strcat_chk.c: Use char, not reg_char.
579         * debug/strcpy_chk.c: Likewise.
580         * debug/strncat_chk.c: Likewise.
581         * debug/strncpy_chk.c: Likewise.
582         * string/memchr.c: Likewise.
583         * string/memrchr.c: Likewise.
584         * string/rawmemchr.c: Likewise.
585         * string/strcat.c: Likewise.
586         * string/strchr.c: Likewise.
587         * string/strchrnul.c: Likewise.
588         * string/strcmp.c: Likewise.
589         * string/strcpy.c: Likewise.
590         * string/strncat.c: Likewise.
591         * string/strncmp.c: Likewise.
592         * string/strncpy.c: Likewise.
593
594 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
595
596         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
597         __builtin_memcopy is called when src and dest ranges are known to not
598         overlap.
599
600 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
601
602         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
603         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
604         fwd_align_merge macro call.
605         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
606         bwd_align_merge macro call.
607         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
608
609 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
610
611         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
612         bwd_align_merge macros.
613         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
614         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
615         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
616
617 2012-04-18  David S. Miller  <davem@davemloft.net>
618
619         * sysdeps/sparc/sparc64/memcopy.h: Delete.
620
621 2012-04-18  Andreas Jaeger  <aj@suse.de>
622
623         [BZ# 6794]
624         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
625         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
626         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
627
628         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
629         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
630         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
631
632         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
633         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
634         Adjust for changed ldbl-128 files.
635
636         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
637         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
638         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
639
640 2012-04-17  David S. Miller  <davem@davemloft.net>
641
642         * sysdeps/sparc/sparc32/memcopy.h: Delete.
643
644 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
645
646         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
647         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
648         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
649         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
650         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
651         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
652
653 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
654
655         [BZ #6794]
656         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
657         * math/libm-test.inc: Add ilogb errno and exception tests.
658         * math/w_ilogb.c: New file: ilogb wrapper.
659         * math/w_ilogbf.c: New file: ilogbf wrapper.
660         * math/w_ilogbl.c: New file: ilogbl wrapper.
661         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
662         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
663         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
664         exception being thrown with 0.0 as argument.
665         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
666         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
667         exception being thrown with 0.0 as argument.
668         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
669         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
670         exception being thrown with 0.0 as argument.
671         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
672         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
673         exception being thrown with 0.0 as argument.
674         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
675         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
676         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
677         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
678         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
679         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
680         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
681         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
682         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
683
684 2012-04-17  Petr Baudis  <pasky@ucw.cz>
685
686         * include/sys/uio.h: Change __vector to __iovec to avoid clash
687         with altivec.
688
689 2012-04-16  Marek Polacek  <polacek@redhat.com>
690
691         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
692
693 2012-04-16  Marek Polacek  <polacek@redhat.com>
694
695         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
696         operands of fdivp instruction.
697
698 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
699
700         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
701         * elf/tst-auditmod3b.c: Likewise.
702         * elf/tst-auditmod4b.c: Likewise.
703         * elf/tst-auditmod5b.c: Likewise.
704         * elf/tst-auditmod6b.c: Likewise.
705         * elf/tst-auditmod6c.c: Likewise.
706         * elf/tst-auditmod7b.c: Likewise.
707         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
708         * sysdeps/x86_64/preconfigure.in: Likewise.
709         * sysdeps/x86_64/preconfigure: Regenerated.
710
711 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
712
713         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
714         __ILP32__.
715
716 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
717
718         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
719         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
720
721 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
722
723         [BZ #13973]
724         * locale/iso-639.def: Fix gl language name. Spotted by
725         Yaron Shahrabani.
726
727 2012-04-12  Roland McGrath  <roland@hack.frob.com>
728
729         [BZ #2074]
730         * libio/libio.h (__io_write_fn): Update comment.
731
732 2012-04-12  Petr Baudis  <pasky@ucw.cz>
733
734         [BZ #2074]
735         * stdio.texi (Hook Functions): The user provided writer function
736         is not allowed to return -1.
737
738 2012-04-11  David S. Miller  <davem@davemloft.net>
739
740         * sysdeps/sparc/fpu/libm-test-ulps: Update.
741
742 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
743
744         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
745         Add a leading slash to rtkaio.
746
747 2012-04-11  Jim Meyering  <meyering@redhat.com>
748
749         [BZ #11959]
750         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
751         It is not necessarily an error to ignore fwrite's return
752         value.  One can reliably use ferror to test for errors after
753         the fact.
754
755 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
756
757         * bits/types.h (__snseconds_t): New type.
758         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
759
760         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
761         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
762         (__SNSECONDS_T_TYPE): Likewise.
763         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
764         (__SNSECONDS_T_TYPE): Likewise.
765         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
766         (__SNSECONDS_T_TYPE): Likewise.
767
768 2012-04-10  Andreas Jaeger  <aj@suse.de>
769
770         [BZ #2636]
771         * manual/time.texi (Processor Time): Return type of times is
772         elapsed real time since an arbitrary point in the past.
773         (CPU Time): Move CLK_TCK from here...
774         (Processor Time): ...to here.  Correct description.
775         * manual/conf.texi (Constants for Sysconf): Correct description of
776         _SC_CLK_TCK.
777
778 2012-04-10  David S. Miller  <davem@davemloft.net>
779
780         [BZ #13967]
781         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
782         where the is a gap between DT_REL(A) and DT_JMPREL.
783
784 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
785
786         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
787         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
788         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
789
790 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
791
792         * elf/dl-support.c (_dl_inhibit_cache): New variable.
793         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
794         (dl_main): Handle --inhibit-cache.
795         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
796         _dl_inhibit_cache.
797         * elf/dl-load.c (_dl_map_object): Use it.
798         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
799
800 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
801
802         [BZ #13872]
803         * sysdeps/i386/fpu/e_powl.S (p78): New object.
804         (__ieee754_powl): Saturate large exponents rather than testing for
805         overflow of y*log2(x).
806         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
807         * math/libm-test.inc (pow_test): Do not permit spurious overflow
808         exceptions.
809
810         [BZ #11521]
811         * math/s_ctan.c: Include <float.h>.
812         (__ctan): Avoid internal overflow or cancellation in calculating
813         denominator.
814         * math/s_ctanf.c: Likewise.
815         * math/s_ctanl.c: Likewise.
816         * math/s_ctanh.c: Likewise.
817         * math/s_ctanhf.c: Likewise.
818         * math/s_ctanhl.c: Likewise.
819         * math/libm-test.inc (ctan_test): Add more tests.
820         (ctanh_test): Likewise.
821         * sysdeps/i386/fpu/libm-test-ulps: Update.
822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
823
824 2012-04-09  Andreas Jaeger  <aj@suse.de>
825
826         [BZ #6894]
827         * manual/filesys.texi (Directory Entries): Mention that d_namlen
828         is an optional BSD extension.
829
830         [BZ #10254]
831         * manual/stdio.texi (Opening Streams): Document additional fopen
832         parameters.
833
834 2012-04-09  Roland McGrath  <roland@hack.frob.com>
835
836         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
837         %eax without telling the compiler.
838
839 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
840
841         [BZ # 13963]
842         * manual/install.texi: Use sourceware.org.
843
844 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
845
846         [BZ #13873]
847         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
848         (__ieee754_pow): Generate overflow and underflow using huge*huge
849         and tiny*tiny rather than just returning constant infinity or zero
850         for large exponents.
851         * math/libm-test.inc (pow_test): Require overflow exceptions for
852         applicable cases of large exponents.
853
854         [BZ #706]
855         * sysdeps/i386/fpu/e_pow.S (p10): New object.
856         (__ieee754_pow): Use iterative multiplication algorithm only for
857         integer exponents with absolute value below 1024.  Check for odd
858         integer exponents when using algorithm for real exponents.
859         * math/libm-test.inc (pow_test): Add more tests.
860         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
861
862 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
863
864         [BZ #13705]
865         * math/libm-test.inc (exp_test): Do not allow overflow exception
866         on underflow test.
867
868 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
869
870         [BZ #13705]
871         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
872         instead of __kernel_standard_f.
873
874 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
875
876         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
877         * sysdeps/x86_64/memset_chk.S: Likewise.
878
879 2012-04-08  Andreas Jaeger  <aj@suse.de>
880
881         [BZ #10153]
882         * manual/startup.texi (Environment Access): Describe return value
883         for putenv and setenv.
884
885         [BZ #6895]
886         * manual/filesys.texi (Directory Entries): Add description for
887         DT_LNK.
888
889         [BZ #6890]
890         * manual/filesys.texi (Directory Entries): Clarify that it's file
891         system not operating system in the description of DT_UNKNOWN.
892
893         [BZ #6578]
894         * manual/syslog.texi (closelog): Fix reference, it's openlog.
895
896 2012-04-08  Stephen Compall  <s11@member.fsf.org>
897
898         [BZ #6649]
899         * manual/llio.texi (Opening and Closing Files): Add cross
900         reference to explain mode argument.
901
902 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
903
904         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
905         * sysdeps/x86_64/memset_chk.S: Likewise.
906
907 2012-04-07  David S. Miller  <davem@davemloft.net>
908
909         * elf/elf.h (R_SPARC_WDISP10): Define.
910         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
911         R_SPARC_SIZE32.
912         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
913         R_SPARC_SIZE64 and R_SPARC_H34.
914
915 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
916
917         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
918         conditions and remove no longer applicable assertion.
919
920 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
921
922         * bits/byteswap.h: Include <features.h>.
923         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
924         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
925
926 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
927
928         * bits/byteswap.h (__bswap_16): Removed.
929         Include <bits/byteswap-16.h> to get __bswap_16.
930         * sysdeps/i386/bits/byteswap.h: Likewise.
931         * sysdeps/s390/bits/byteswap.h: Likewise.
932         * sysdeps/x86_64/bits/byteswap.h: Likewise.
933         * bits/byteswap-16.h: New file.
934         * sysdeps/i386/bits/byteswap-16.h: Likewise.
935         * sysdeps/s390/bits/byteswap-16.h: Likewise.
936         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
937         * string/Makefile (headers): Add bits/byteswap-16.h.
938
939 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
940
941         [BZ #13895]
942         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
943         extra indirection.
944         * nss/Makefile (tests-static, tests): Add tst-nss-static.
945         * nss/tst-nss-static.c: New.
946
947 2012-04-06  Robert Millan  <rmh@gnu.org>
948
949         [BZ #6486]
950         * manual/llio.texi (File Position Primitive): lseek
951         refers to WHENCE when it really means OFFSET.
952
953 2012-04-06  Andreas Jaeger  <aj@suse.de>
954
955         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
956         strncmp declarations.
957
958         * abilist/libc.abilist: Add __poll and __ppoll.
959
960 2012-04-05  David S. Miller  <davem@davemloft.net>
961
962         * scripts/check-local-headers.sh: Accept a host triplet in the
963         path matched by the exclude regexp.
964
965         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
966         definition.
967         * sysdeps/powerpc/powerpc32/dl-machine.h
968         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
969         * sysdeps/s390/s390-32/dl-machine.h
970         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
971         * sysdeps/sparc/sparc32/dl-machine.h
972         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
973         * sysdeps/sparc/sparc64/dl-machine.h
974         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
975
976         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
977         lazy binding.
978         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
979         undefined symbol errors.
980
981         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
982         DT_NEEDED entries.
983
984 2012-04-05  Michael Matz  <matz@suse.de>
985
986         [BZ #13592]
987         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
988
989 2012-04-05  Andreas Jaeger  <aj@suse.de>
990
991         [BZ #13908]
992         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
993         comment.
994
995 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
996
997         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
998         which ROUND is no valid rounding mode.
999
1000 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1001
1002         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1003         read again.
1004         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1005
1006 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1007
1008         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1009         an exception using FPU order intentionally.
1010
1011 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1012
1013         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1014         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1015         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1016         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1017
1018 2012-04-05  Simon Josefsson  <simon@josefsson.org>
1019
1020         [BZ #12340]
1021         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1022         EINVAL when BUFLEN is too smal.
1023
1024 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
1025
1026         [BZ #13553]
1027         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1028         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1029
1030 2012-04-03  Andreas Jaeger  <aj@suse.de>
1031
1032         [BZ #13938]
1033         * manual/setjmp.texi (System V contexts): Fix sentence.
1034
1035         [BZ #13926]
1036         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1037         New macro for this case.
1038         [!__GNUC__] (__bswap_64): New inline function for this case.
1039         * sysdeps/x86_64/bits/byteswap.h: Likewise.
1040         * bits/byteswap.h: Likewise.
1041         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1042         ull, guard with __GLIBC_HAVE_LONG_LONG.
1043
1044         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1045         __GLIBC_HAVE_LONG_LONG.
1046
1047         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1048         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1049
1050 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1051
1052         [BZ #13691]
1053         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1054         inptr and inend, rather than using last_ch.
1055
1056 2012-04-02  David S. Miller  <davem@davemloft.net>
1057
1058         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1059         * stdio-common/printf-parse.h (read_int): Change return type to
1060         'int', return -1 on INT_MAX overflow.
1061         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1062         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
1063         overflows INT_MAX.  Check for overflow of in-format-string precision
1064         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
1065         SIZE_MAX not INT_MAX for integer overflow test.
1066         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1067         skip the construct in the format string but do not record anything.
1068         * stdio-common/bug22.c: Adjust to test both width/prevision
1069         INT_MAX overflow as well as total length INT_MAX overflow.  Check
1070         explicitly for proper errno values.
1071
1072 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
1073
1074         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1075         CHAR_MAX.
1076         * string/test-strcmp.c [! WIDE]: Likewise.
1077         * time/tst-mktime2.c: Likewise for INT_MAX.
1078         * string/test-string.h: #include <sys/param.h> for MIN.
1079
1080         * csu/init-first.c (__libc_init_first): Call __ctype_init.
1081         * sysdeps/i386/init-first.c (init): Likewise.
1082         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1083         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1084         * sysdeps/sh/init-first.c (init): Likewise.
1085
1086 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
1087
1088         * po/ru.po: Update from translation team.
1089         * po/vi.po: Likewise.
1090
1091 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1092
1093         * resolv/nss_dns/dns-host.c: Merge copyright years.
1094
1095 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1096
1097         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1098         Optimize memcpy with prefetch if
1099         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
1100         src, dst pointers have unequal 16 byte alignments.
1101
1102 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1103
1104         [BZ #13928]
1105         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1106         from a CNAME entry and return the minimum ttl for the query.
1107         (gaih_getanswer_slice): Likewise.
1108
1109 2012-03-30  Jeff Law  <law@redhat.com>
1110
1111         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1112         due to long keys.
1113         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1114         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1115
1116         * resolv/nss_dns/dns-host.c: Update copyright year.
1117
1118 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
1119
1120         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
1121         requests to save a system call.  Fix check that all bytes are sent.
1122
1123         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1124         comments for sendmmsg.
1125
1126 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1127
1128         [BZ #13691]
1129         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1130         with only 1 character between 0x0041 and 0x01b0.
1131         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1132         * wcsmbs/tst-mbsnrtowcs.c: New file.
1133
1134 2012-03-29  David S. Miller  <davem@davemloft.net>
1135
1136         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1137         small copies by hand.
1138
1139 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1140
1141         [BZ #13761]
1142         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1143         _nss_compat_initgroups_dyn): Fall back to malloc/free
1144         for large group memberships.
1145
1146 2012-03-28  David S. Miller  <davem@davemloft.net>
1147
1148         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1149         that branches into memcpy.
1150         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1151         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1152         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1153         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1154         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1155         bits.
1156         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1157         implementation too.
1158         * sysdeps/sparc/mempcpy.S: New file.
1159
1160         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1161         the IFUNC routine in the libc case.
1162         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1163
1164         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1165         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1166         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1167         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1168         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1169         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1170         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1171         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1172
1173         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1174         loop to 256 bytes instead of 64 bytes and fix test signedness.
1175
1176         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1177         * sysdeps/sparc/sparc32/Makefile: rather than here...
1178         * sysdeps/sparc/sparc64/Makefile: and here.
1179
1180 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
1181
1182         * malloc/mallocbug.c: Avoid warnings about unused variables.
1183
1184 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1185
1186         [BZ #13760]
1187         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1188         in the right place. Discard and retry query if response is
1189         larger than input buffer size.
1190
1191 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
1192
1193         [BZ #369]
1194         [BZ #2678]
1195         [BZ #3866]
1196         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1197         x for large integer exponent.
1198         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1199         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
1200         sign of result as needed afterwards.
1201         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1202         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1203         result for underflowing pow the same as for overflow.
1204         (__kernel_standard_l): Handle powl overflow and underflow here
1205         rather than calling __kernel_standard.
1206         * math/libm-test.inc (pow_test): Add more tests.
1207
1208         [BZ #3868]
1209         [BZ #13879]
1210         [BZ #13910]
1211         [BZ #13911]
1212         [BZ #13912]
1213         [BZ #13913]
1214         [BZ #13915]
1215         [BZ #13916]
1216         [BZ #13917]
1217         [BZ #13918]
1218         [BZ #13919]
1219         [BZ #13920]
1220         [BZ #13921]
1221         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1222         * sysdeps/ieee754/k_standard.c: Include <float.h>.
1223         (__kernel_standard_l): New function.
1224         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1225         __kernel_standard.
1226         * math/w_acosl.c (__acosl): Likewise.
1227         * math/w_asinl.c (__asinl): Likewise.
1228         * math/w_atan2l.c (__atan2l): Likewise.
1229         * math/w_atanhl.c (__atanhl): Likewise.
1230         * math/w_coshl.c (__coshl): Likewise.
1231         * math/w_exp10l.c (__exp10l): Likewise.
1232         * math/w_exp2l.c (__exp2l): Likewise.
1233         * math/w_fmodl.c (__fmodl): Likewise.
1234         * math/w_hypotl.c (__hypotl): Likewise.
1235         * math/w_j0l.c (__j0l, __y0l): Likewise.
1236         * math/w_j1l.c (__j1l, __y1l): Likewise.
1237         * math/w_jnl.c (__jnl, __ynl): Likewise.
1238         * math/w_lgammal.c (__lgammal): Likewise.
1239         * math/w_log10l.c (__log10l): Likewise.
1240         * math/w_log2l.c (__log2l): Likewise.
1241         * math/w_logl.c (__logl): Likewise.
1242         * math/w_powl.c (__powl): Likewise.
1243         * math/w_remainderl.c (__remainderl): Likewise.
1244         * math/w_scalbl.c (sysv_scalbl): Likewise.
1245         * math/w_sinhl.c (__sinhl): Likewise.
1246         * math/w_sqrtl.c (__sqrtl): Likewise.
1247         * math/w_tgammal.c (__tgammal): Likewise.
1248         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1249         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1250         * math/libm-test.inc (acos_test): Add more tests.
1251         (acosh_test): Likewise.
1252         (asin_test): Likewise.
1253         (atanh_test): Likewise.
1254         (exp_test): Likewise.
1255         (exp10_test): Likewise.
1256         (exp2_test): Likewise.
1257         (expm1_test): Likewise.
1258         (lgamma_test): Likewise.
1259         (log_test): Likewise.
1260         (log10_test): Likewise.
1261         (log1p_test): Likewise.
1262         (log2_test): Likewise.
1263         (pow_test): Do not allow some spurious overflow exceptions.
1264         (sqrt_test): Add more tests.
1265         (tgamma_test): Likewise.
1266         (y0_test): Likewise.
1267         (y1_test): Likewise.
1268         (yn_test): Likewise.
1269
1270 2012-03-27  Anton Blanchard  <anton@samba.org>
1271
1272         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1273         MAP_HUGETLB.
1274         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1275         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1276         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1277
1278 2012-03-27  David S. Miller  <davem@davemloft.net>
1279
1280         * conform/Makefile: Run run-conformtest.sh using $(BASH).
1281
1282         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1283         have-as-vis3 check.
1284
1285 2012-03-27  Andreas Jaeger  <aj@suse.de>
1286
1287         * sysdeps/x86_64/elf/configure.in: Moved to ...
1288         * sysdeps/x86_64/configure.in: ... here.
1289         * sysdeps/x86_64/elf/start.S: Moved to ...
1290         * sysdeps/x86_64/start.S: ... here.
1291         * sysdeps/x86_64/elf/configure: Delete.
1292
1293         * sysdeps/x86_64/configure.in: Merge contents from
1294         sysdeps/i386/configure.in (without i686 check).
1295
1296         * sysdeps/i386/elf/Versions: Merge into ...
1297         * sysdeps/i386/Versions: ... this.
1298         * sysdeps/i386/elf/Versions: Delete file.
1299         * sysdeps/i386/elf/start.S: Moved to ...
1300         * sysdeps/i386/start.S: ...here.
1301         * sysdeps/i386/elf/configure.in: Merge into...
1302         * sysdeps/i386/configure.in: ...here.
1303         * sysdeps/i386/elf/configure.in: Delete file.
1304         * sysdeps/i386/elf/configure: Delete file.
1305
1306         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1307         * debug/backtracesyms.c: ... here.
1308         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1309         * debug/backtracesymsfd.c: ... here.
1310         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1311         * sysdeps/generic/ifunc-sel.h: ... here.
1312
1313         * sysdeps/unix/i386/start.c: Delete file.
1314         * sysdeps/unix/sparc/start.c: Delete file.
1315         * sysdeps/unix/start.c: Delete file.
1316
1317         * sysdeps/sh/elf/configure.in: Moved to ...
1318         * sysdeps/sh/configure.in: ... here.
1319         * sysdeps/sh/elf/start.S: Moved to ...
1320         * sysdeps/sh/start.S: ... here.
1321         * sysdeps/sh/elf/configure: Delete file.
1322
1323         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1324         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1325         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1326         * sysdeps/powerpc/powerpc64/entry.h: ... here.
1327         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1328         * sysdeps/powerpc/powerpc64/start.S: here.
1329         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1330         * sysdeps/powerpc/powerpc64/Makefile: ... this.
1331         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1332         * sysdeps/powerpc/powerpc64/configure.in: ... this.
1333         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1334
1335         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1336         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1337         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1338         * sysdeps/powerpc/powerpc32/start.S: ... here.
1339         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1340         * sysdeps/powerpc/powerpc32/configure.in: ... this.
1341         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1342
1343         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1344         * sysdeps/powerpc/ifunc-sel.h: ... here.
1345         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1346         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1347
1348         * sysdeps/sparc/elf/configure.in: Moved to ...
1349         * sysdeps/sparc/configure.in: ... here.
1350         * sysdeps/sparc/elf/configure: Delete file.
1351         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1352         * sysdeps/sparc/sparc32/start.S: ... here.
1353         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1354         * sysdeps/sparc/sparc64/start.S: ... here.
1355         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1356         * sysdeps/sparc/sparc32/Makefile: ... this.
1357         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1358         * sysdeps/sparc/sparc64/Makefile: ... this.
1359
1360         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1361         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1362         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1363         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1364         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1365         * sysdeps/s390/s390-32/setjmp.S: ... here.
1366         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1367         * sysdeps/s390/s390-32/configure.in: ... here.
1368         * sysdeps/s390/s390-32/elf/configure: Delete file.
1369         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1370         * sysdeps/s390/s390-32/start.S: ... here.
1371
1372         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1373         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1374         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1375         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1376         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1377         * sysdeps/s390/s390-64/setjmp.S: ... here.
1378         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1379         * sysdeps/s390/s390-64/configure.in: ... here
1380         * sysdeps/s390/s390-64/elf/configure: Delete file.
1381         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1382         * sysdeps/s390/s390-64/start.S: ... here.
1383         * sysdeps/s390/s390-64/elf/configure: Delete.
1384
1385         * configure.in: Remove support for elf directories in sysdeps.
1386
1387         * configure: Regenerated.
1388         * sysdeps/i386/configure: Regenerated.
1389         * sysdeps/powerpc/powerpc32/configure: Regenerated.
1390         * sysdeps/powerpc/powerpc64/configure: Regenerated.
1391         * sysdeps/s390/s390-32/configure: Regenerated.
1392         * sysdeps/s390/s390-64/configure: Regenerated.
1393         * sysdeps/sh/configure: Regenerated.
1394         * sysdeps/sparc/configure: Regenerated.
1395         * sysdeps/x86_64/configure: Regenerated.
1396
1397 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
1398
1399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1400
1401         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1402         denormal result into account.
1403
1404 2012-03-25  Roland McGrath  <roland@hack.frob.com>
1405
1406         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1407         Reported by Allan McRae <allan@archlinux.org>.
1408
1409 2012-03-23  Jeff Law  <law@redhat.com>
1410
1411         * nss/getnssent.c (__nss_getent): Fix typo.
1412
1413 2012-03-23  David S. Miller  <davem@davemloft.net>
1414
1415         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1416
1417 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
1418
1419         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1420         to pad to uint64_t for each field.
1421         (dl_tls_index): Replace unsigned long with uint64_t.
1422
1423 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
1424         Paul Pluzhnikov  <ppluzhnikov@google.com>
1425
1426         [BZ #6528]
1427         * grp/Makefile (otherlibs): Don't set it.
1428         * inet/Makefile (otherlibs): Likewise.
1429         * login/Makefile (otherlibs): Likewise.
1430         * nscd/Makefile (otherlibs): Likewise.
1431         * posix/Makefile (otherlibs): Likewise.
1432         * pwd/Makefile (otherlibs): Likewise.
1433         * rt/Makefile (otherlibs): Likewise.
1434         * sunrpc/Makefile (otherlibs): Likewise.
1435         * nss/Makefile (otherlibs): Likewise.
1436         Add libnss_files to routines and static-only-routines.
1437         ($(objpfx)getent): Remove rule.
1438         * resolv/Makefile: Add libnss_dns and libresolv to routines and
1439         static-only-routines.
1440
1441 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
1442
1443         [BZ #13892]
1444         * math/s_cexp.c: Include <float.h>.
1445         (__cexp): Handle exp result overflowing not necessarily
1446         overflowing both real and imaginary parts of result.
1447         * math/s_cexpf.c: Likewise.
1448         * math/s_cexpl.c: Likewise.
1449         * math/libm-test.inc (cexp_test): Add more tests.
1450         * sysdeps/i386/fpu/libm-test-ulps: Update.
1451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1452
1453 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1454
1455         * include/link.h (ELFW): New macro.
1456         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1457         Replace ELF64_R_TYPE with ELFW(R_TYPE).
1458
1459 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1460
1461         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1462         with uint64_t.
1463
1464 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1465
1466         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1467         declaration.
1468         (struct La_x32_retval): Likewise.
1469
1470 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1471
1472         * sysdeps/x86_64/preconfigure.in: New file.
1473         * sysdeps/x86_64/preconfigure: New generated file.
1474
1475 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
1476
1477         [BZ #13824]
1478         * math/e_exp2l.c: Include <float.h>.
1479         (__ieee754_exp2l): Handle overflow and underflow cases
1480         separately.  Only pass fractional part of argument to
1481         __ieee754_expl.
1482         * math/libm-test.inc (exp2_test): Add more tests.
1483
1484         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1485         negating x to take absolute value.
1486         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1487         Likewise.
1488         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1489         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1490         Likewise.
1491         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1492         computing low part if x was negated.
1493         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1494
1495 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1496
1497         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1498         la_x32_gnu_pltexit.
1499         (pltexit): Cast int_retval to ptrdiff_t.
1500         * elf/tst-auditmod3b.c: Likewise.
1501         * elf/tst-auditmod4b.c: Likewise.
1502         * elf/tst-auditmod5b.c: Likewise.
1503         * elf/tst-auditmod6b.c: Likewise.
1504         * elf/tst-auditmod6c.c: Likewise.
1505         * elf/tst-auditmod7b.c: Likewise.
1506
1507         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1508         and x32_gnu_pltexit.
1509
1510         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1511         __ELF_NATIVE_CLASS.
1512         (La_x32_regs): New macro.
1513         (La_x32_retval): Likewise.
1514         (la_x32_gnu_pltenter): New function prototype.
1515         (la_x32_gnu_pltexit): Likewise.
1516
1517 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
1518
1519         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1520         exponent.
1521
1522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1523
1524         * configure.in (libc_cv_cc_nofma): Check for option to disable
1525         generation of FMA instructions.
1526         * configure: Regenerate.
1527         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1528         * sysdeps/ieee754/dbl-64/Makefile: New file.
1529         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1530         Remove brandred-fma4.
1531         (CFLAGS-brandred-fma4.c): Remove.
1532         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1533         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1534         define.
1535         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1536         define.
1537
1538 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1539
1540         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1541         LLONG_MAX != LONG_MAX.
1542         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1543         (_fitoa_word): Likewise.
1544         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1545         LLONG_MAX != LONG_MAX.
1546         * stdio-common/_itowa.h: Include <_itoa.h>.
1547         (_itowa_word): Use _ITOA_WORD_TYPE on value.
1548         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
1549         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
1550         only if not defined.
1551         (_ITOA_WORD_TYPE): Likewise.
1552         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1553         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1554
1555 2012-03-21  David S. Miller  <davem@davemloft.net>
1556
1557         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1558
1559 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1560
1561         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1562         of x86_64 when setting libc_cv_slibdir, libdir and
1563         libc_cv_localedir.
1564         * sysdeps/unix/sysv/linux/configure: Regenerated.
1565
1566 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1567
1568         * manual/lang.texi (Old Varargs): Remove section.
1569         (How Variadic): Update menu.
1570         (va_start): Do not mention varargs.h.
1571
1572 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1573             Joseph Myers  <joseph@codesourcery.com>
1574
1575         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1576         link test.
1577         * configure: Regenerated.
1578
1579 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1580
1581         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1582         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1583         conformtest.pl
1584
1585 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1586
1587         * NOTES: Remove.
1588         * Makefile (files-for-dist): Remove NOTES.
1589         (NOTES): Remove rule.
1590         * README: Don't refer to NOTES.
1591         * manual/creature.texi: Don't include macros.texi.
1592         * manual/intro.texi (creature.texi): Remove comment referring to
1593         NOTES.
1594
1595         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1596         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1597         * configure: Regenerated.
1598         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1599         LIBC_TRY_CC_OPTION.
1600         (libc_cv_as_i686): Likewise.
1601         (libc_cv_cc_avx): Likewise.
1602         (libc_cv_cc_sse2avx): Likewise.
1603         (libc_cv_cc_fma4): Likewise.
1604         (libc_cv_cc_novzeroupper): Likewise.
1605         * sysdeps/i386/configure: Regenerated.
1606
1607         [BZ #13883]
1608         * sysdeps/i386/fpu/s_cexp.S: Remove.
1609         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1610         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1611         * math/libm-test.inc (cexp_test): Add more tests.
1612         * sysdeps/i386/fpu/libm-test-ulps: Update.
1613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1614
1615 2012-03-21  Allan McRae  <allan@archlinux.org>
1616
1617         * timezone/Makefile: Do not install iso3166.tab and zone.tab
1618
1619 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1620
1621         [BZ #13871]
1622         * math/w_exp2.c: Do not include <float.h>.
1623         (o_threshold, u_threshold): Remove.
1624         (__exp2): Calculate result before checking finiteness and calling
1625         __kernel_standard.
1626         * math/w_exp2f.c: Likewise.
1627         * math/w_exp2l.c: Likewise.
1628         * math/libm-test.inc (exp2_test): Require overflow exception for
1629         1e6 input.
1630
1631         [BZ #3866]
1632         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1633         range of signed 64-bit integers before using fistpll.  Remove
1634         checks for whether integers fit in mantissa bits.
1635         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1636         the range of signed 32-bit integers before using fistpl.  Remove
1637         checks for whether integers fit in mantissa bits.
1638         * sysdeps/i386/fpu/e_powl.S (p64): New object.
1639         (__ieee754_powl): Test for y outside the range of signed 64-bit
1640         integers before using fistpll.  Reduce 64-bit values to 63-bit
1641         ones as needed.
1642         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1643         divide-by-zero is raised for zero to large negative powers.
1644         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1645         (__ieee754_powl): Test for y outside the range of signed 64-bit
1646         integers before using fistpll.  Reduce 64-bit values to 63-bit
1647         ones as needed.
1648         * math/libm-test.inc (pow_test): Add more tests.
1649
1650 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1651
1652         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1653         <stdio-common/_itoa.h>.
1654         * debug/segfault.c: Likewise.
1655         * elf/dl-cache.c: Likewise.
1656         * elf/dl-minimal.c: Likewise.
1657         * elf/dl-misc.c: Likewise.
1658         * elf/dl-sysdep.c: Likewise.
1659         * elf/dl-version.c: Likewise.
1660         * elf/rtld.c: Likewise.
1661         * hurd/hurdsock.c: Likewise.
1662         * hurd/lookup-retry.c: Likewise.
1663         * malloc/malloc.c: Likewise.
1664         * malloc/mtrace.c: Likewise.
1665         * nscd/nscd_getgr_r.c: Likewise.
1666         * nscd/nscd_getpw_r.c: Likewise.
1667         * nscd/nscd_getserv_r.c: Likewise.
1668         * posix/getopt_init.c: Likewise.
1669         * posix/wordexp.c: Likewise.
1670         * stdio-common/_itoa.c: Likewise.
1671         * stdio-common/printf_fphex.c: Likewise.
1672         * stdio-common/vfprintf.c: Likewise.
1673         * string/_strerror.c: Likewise.
1674         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1675         * sysdeps/i386/i686/hp-timing.h: Likewise.
1676         * sysdeps/mach/_strerror.c: Likewise.
1677         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1678         * sysdeps/mach/hurd/sethostid.c: Likewise.
1679         * sysdeps/mach/hurd/xmknodat.c: Likewise.
1680         * sysdeps/mach/xpg-strerror.c: Likewise.
1681         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1682         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1683         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1684         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1685         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1686         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1687         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1688         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1689         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1690         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1691         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1692         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1693         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1694         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1695         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1696         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1697         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1698         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1699         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1700         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1701         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1702
1703         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1704
1705         * stdio-common/_itoa.h: Moved to ...
1706         * sysdeps/generic/_itoa.h: Here.
1707
1708         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1709
1710         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1711         instead of "_itoa.h" and "_itowa.h".
1712         * stdio-common/vfprintf.: Likewise.
1713
1714 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1715
1716         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1717         <bits/wordsize.h>.
1718         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1719         (__signbit): Likwise.
1720         (llrintf): Likwise.
1721         (llrint): Likwise.
1722
1723 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1724
1725         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1726         __WORDSIZE != 64.
1727
1728 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
1729
1730         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1731         OVERFLOW_EXCEPTION_OK.
1732         * math/libm-test.inc ("Philosophy"): Update comment about
1733         exception testing.
1734         (OVERFLOW_EXCEPTION): Define.
1735         (OVERFLOW_EXCEPTION_OK): Likewise.
1736         (INVALID_EXCEPTION_OK): Renumber.
1737         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1738         (IGNORE_ZERO_INF_SIGN): Likewise.
1739         (test_exceptions): Handle FE_OVERFLOW.
1740         (exp10_test): Expect overflow exceptions.
1741         (exp2_test): Likewise.
1742         (expm1_test): Likewise.
1743         (nextafter_test): Likewise.
1744         (pow_test): Likewise.
1745         (scalbn_test): Likewise.
1746         (scalbln_test): Likewise.
1747
1748 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1749
1750         * sysdeps/x86_64/bits/atomic.h
1751         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1752         64bit integer.
1753         (atomic_exchange_acq): Likewise.
1754         (__arch_exchange_and_add_body): Likewise.
1755         (__arch_add_body): Likewise.
1756         (atomic_add_negative): Likewise.
1757         (atomic_add_zero): Likewise.
1758
1759 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1760
1761         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1762         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1763
1764 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1765
1766         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1767         Check __x86_64__ instead of __WORDSIZE.
1768
1769 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1770
1771         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1772
1773 2012-03-19  David S. Miller  <davem@davemloft.net>
1774
1775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1776
1777         * sysdeps/sparc/fpu/fenv_private.h: New file.
1778         * sysdeps/sparc/fpu/math_private.h: Use it.
1779         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1780         Remove.
1781         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1782         (libc_feholdexcept_setroundl): Remove.
1783         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1784         Remove.
1785         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1786         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1787
1788 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1789
1790         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1791         int64_t instead of long int.
1792         (INSERT_WORDS64): Likwise.
1793
1794 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1795
1796         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1797         _Unwind_GetCFA return to _Unwind_Ptr first.
1798
1799 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
1800
1801         [BZ #13629]
1802         * math/s_clog.c: Include <float.h>.
1803         (__clog): Scale large or subnormal inputs.
1804         * math/s_clogf.c: Likewise.
1805         * math/s_clogl.c: Likewise.
1806         * math/s_clog10.c: Include <float.h>.
1807         (M_LOG10_2): Define.
1808         (__clog10): Scale large or subnormal inputs.
1809         * math/s_clog10f.c: Likewise.
1810         * math/s_clog10l.c: Likewise.
1811         * math/libm-test.inc (clog_test): Add more tests.
1812         (clog10_test): Likewise.
1813         * sysdeps/i386/fpu/libm-test-ulps: Update.
1814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1815
1816         [BZ #11451]
1817         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1818         x and y.
1819         * math/libm-test.inc (atan2_test): Add another test.
1820
1821         * Makerules (common-objdir-compile): Remove.
1822         * sysdeps/unix/Makefile (config-generated): Do not add
1823         $(unix-generated) to variable.
1824         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1825         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1826         Remove rule.
1827         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1828         Likewise.
1829         [generic bits/local_lim.h] (before-compile): Do not append to
1830         variable.
1831         [generic bits/local_lim.h] (common-generated): Likewise.
1832         [generic sys/param.h] (before-compile): Do not append to variable.
1833         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1834         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1835         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1836         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1837         include.
1838         [generic sys/param.h] (sys/param.h-includes): Remove variable.
1839         [generic sys/param.h] (sys/param.h-includes): Remove rule.
1840         [generic sys/param.h] ($(addprefix
1841         $(common-objpfx),$(sys/param.h-includes))): Likewise.
1842         [generic sys/param.h] (common-generated): Do not append to
1843         variable.
1844         [generic sys/param.h] (sysdep_headers): Likewise.
1845         [generic bits/errno.h] (before-compile): Do not append to
1846         variable.
1847         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1848         rule.
1849         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1850         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1851         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1852         [generic bits/errno.h] (common-generated): Do not append to
1853         variable.
1854         [generic bits/ioctls.h] (before-compile): Do not append to
1855         variable.
1856         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1857         rule.
1858         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1859         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1860         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1861         rule.
1862         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1863         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1864         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1865         [generic bits/ioctls.h] (common-generated): Do not append to
1866         variable.
1867         [generic sys/syscall.h] (syscall.h): Remove variable.
1868         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1869         rule.
1870         [generic sys/syscall.h] (before-compile): Do not append to
1871         variable.
1872         [generic sys/syscall.h] (common-generated): Likewise.
1873         * sysdeps/unix/errnos-tmpl.c: Remove file.
1874         * sysdeps/unix/errnos.awk: Likewise.
1875         * sysdeps/unix/ioctls-tmpl.c: Likewise.
1876         * sysdeps/unix/ioctls.awk: Likewise.
1877         * sysdeps/unix/mk-local_lim.c: Likewise.
1878         * sysdeps/unix/snarf-ioctls: Likewise.
1879
1880 2012-03-19  Richard Henderson  <rth@twiddle.net>
1881
1882         * sysdeps/i386/fpu/fenv_private.h: New file.
1883         * sysdeps/i386/fpu/math_private.h: Use it.
1884         (math_opt_barrier, math_force_eval): Remove.
1885         (libc_feholdexcept_setround_53bit): Remove.
1886         (libc_feupdateenv_53bit): Remove.
1887         * sysdeps/x86_64/fpu/math_private.h: Likewise.
1888         (math_opt_barrier, math_force_eval): Remove.
1889         (libc_feholdexcept): Remove.
1890         (libc_feholdexcept_setround): Remove.
1891         (libc_fetestexcept, libc_fesetenv): Remove.
1892         (libc_feupdateenv_test): Remove.
1893         (libc_feupdateenv, libc_feholdsetround): Remove.
1894         (libc_feresetround): Remove.
1895
1896         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1897         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1898
1899         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1900         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1901         (libc_feupdateenv_testl): New.
1902         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1903         (libc_feupdateenv_testf): New.
1904         (libc_feupdateenv): Use libc_feupdateenv_test.
1905         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1906         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1907
1908         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1909         (libc_feholdsetroundf, libc_feholdsetroundl): New.
1910         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1911         (libc_feresetround_noex): New.
1912         (libc_feresetround_noexf): New.
1913         (libc_feresetround_noexl): New.
1914         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1915         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1916         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1917         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1918         SET_RESTORE_ROUND.
1919         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1920         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1921         (__cos): Likewise.
1922         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1923         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1924         SET_RESTORE_ROUND_NOEX.
1925         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1926         SET_RESTORE_ROUND_NOEXF.
1927         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1928         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1929         (libc_feholdsetroundf): New.
1930         (libc_feresetround, libc_feresetroundf): New.
1931
1932         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1933         (libc_feholdexcept_setround_53bit): Convert from macro to function.
1934         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
1935
1936         * sysdeps/generic/math_private.h: Include <fenv.h>.
1937         (default_libc_feholdexcept): New.
1938         (default_libc_feholdexcept_setround): New.
1939         (default_libc_fesetenv, default_libc_feupdateenv): New.
1940         (libc_feholdexcept): Only define if undefined.
1941         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1942         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1943         (libc_feholdexcept_setroundl): Likewise.
1944         (libc_feholdexcept_setround_53bit): Likewise.
1945         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1946         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1947         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1948         (libc_feupdateenv_53bit): Likewise.
1949         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1950         (libc_feholdexcept): Convert from macro to inline function.
1951         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1952         (libc_fesetenv, libc_feupdateenv): Likewise.
1953
1954         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1955         not previously defined.
1956         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1957         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1958         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1959         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1960         * sysdeps/ieee754/flt-32/math_private.h: New file.
1961         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1962         math_private.h below SET_FLOAT_WORD.
1963         (__isnan, __isinf_ns, __finite): Remove.
1964         (__isnanf, __isinf_nsf, __finitef): Remove.
1965
1966 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
1967
1968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1969
1970 2012-03-17  David S. Miller  <davem@davemloft.net>
1971
1972         [BZ #6471]
1973         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1974         for 2.16.
1975
1976 2012-03-16  David S. Miller  <davem@davemloft.net>
1977
1978         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1979         warnings.
1980
1981         [BZ #6471]
1982         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1983         properly.
1984         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1985         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1986         sysdep_routines when subdir is sysvipc.
1987         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1988         __getshmlba helper.
1989
1990         * sysdeps/sparc/fpu/libm-test/ulps: Update.
1991
1992 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1993
1994         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1995         [__LP64__].
1996
1997 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1998
1999         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2000         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2001         (__lround): Renamed to ...
2002         (__llround): This.  Replace long int with long long int.
2003         Define lround functions as aliases of llround functions.
2004         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2005
2006 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2007
2008         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2009         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
2010         adresses to uintptr_t.  Replace "long int" and "unsigned long
2011         int" with "greg_t" on va_arg.
2012
2013 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2014
2015         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2016         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2017
2018         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2019         Move e_machine check before EI_CLASS check.  Handle x32
2020         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2021         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2022         SKIP_EM_IA_64 and include
2023         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2024
2025         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2026         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2027         (add_system_dir): New macro.
2028
2029         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2030         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2031
2032 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
2033
2034         [BZ #2551]
2035         [BZ #2552]
2036         [BZ #2553]
2037         [BZ #2554]
2038         [BZ #2562]
2039         [BZ #2563]
2040         [BZ #2565]
2041         [BZ #2566]
2042         [BZ #2576]
2043         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2044         (y0): Likewise.
2045         * math/w_j0f.c (j0f): Likewise.
2046         (y0f): Likewise.
2047         * math/w_j0l.c (__j0l): Likewise.
2048         (__y0l): Likewise.
2049         * math/w_j1.c (j1): Likewise.
2050         (y1): Likewise.
2051         * math/w_j1f.c (j1f): Likewise.
2052         (y1f): Likewise.
2053         * math/w_j1l.c (__j1l): Likewise.
2054         (__y1l): Likewise.
2055         * math/w_jn.c (jn): Likewise.
2056         (yn): Likewise.
2057         * math/w_jnf.c (jnf): Likewise.
2058         (ynf): Likewise.
2059         * math/w_jnl.c (__jnl): Likewise.
2060         (__ynl): Likewise.
2061         * math/libm-test.inc (j0_test): Add more tests.
2062         (j1_test): Likewise.
2063         (jn_test): Likewise.  Add trailing semicolon to existing test.
2064         (y0_test): Likewise.
2065         (y1_test): Likewise.
2066         * sysdeps/i386/fpu/libm-test-ulps: Update.
2067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2068
2069         [BZ #13851]
2070         [BZ #13854]
2071         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2072         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2073         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2074         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2075         (__tanl): Set errno for infinite argument.
2076         * sysdeps/i386/fpu/mptan.c: Remove.
2077         * sysdeps/i386/fpu/s_tan.S: Likewise.
2078         * sysdeps/i386/fpu/s_tanl.S: Likewise.
2079         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2080         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2081         * math/libm-test.inc (tan_test): Add more tests and enable more
2082         tests for double and long double.
2083         * sysdeps/i386/fpu/libm-test-ulps: Update.
2084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2085
2086 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
2087
2088         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2089         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2090
2091 2012-03-16  Roland McGrath  <roland@hack.frob.com>
2092
2093         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2094         * configure.in: Use it for both main tree and add-ons.
2095         * configure: Regenerated.
2096
2097 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2098
2099         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2100
2101 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
2102
2103         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2104         in comment.
2105
2106         [BZ #13851]
2107         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2108         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2109         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2110         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2111         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2112         infinite argument.
2113         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2114         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2115         != 0 for prec == 2.
2116         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2117         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2118         * sysdeps/i386/fpu/s_cosl.S: Likewise.
2119         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2120         * sysdeps/i386/fpu/s_sinl.S: Likewise.
2121         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2122         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2123         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2124         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2125         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2126         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2127         * math/libm-test.inc (cos_test): Add more tests and enable more
2128         tests for long double.
2129         (sin_test): Likewise.
2130         (sincos_test): Likewise.
2131         * sysdeps/i386/fpu/libm-test-ulps: Update.
2132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2133
2134 2012-03-16  David S. Miller  <davem@davemloft.net>
2135
2136         * sysdeps/sparc/fpu/math_private.h: New file.
2137
2138 2012-03-15  David S. Miller  <davem@davemloft.net>
2139
2140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2141         file.
2142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
2143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2144         file.
2145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2146         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2147         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2148         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2149         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2150         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2151         sysdep routines.
2152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2153
2154         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2155         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2156
2157         * sysdeps/sparc/sparc-ifunc.h: New file.
2158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2159         sparc-ifunc.h
2160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2162         Likewise.
2163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2164         Likewise.
2165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2169         Likewise.
2170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2175         Likewise.
2176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2177         Likewise.
2178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2182         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2183         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2184         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2185         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2186         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2187         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2188         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2189         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2190         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2191         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2192         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2193         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2194         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2195         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2196         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2197         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2198         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2199         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2200         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2201         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2202
2203 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
2204
2205         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2206         scaling.
2207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2208
2209 2012-03-15  Andreas Jaeger  <aj@suse.de>
2210
2211         [BZ #13852]
2212         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2213         ieee754/flt-32 implementation for sin, cos and sincos.
2214         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2215         * sysdeps/i386/fpu/s_cosf.S: Likewise.
2216         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2217         * sysdeps/i386/fpu/s_sinf.S: Likewise.
2218         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2219         ieee754/flt-32 implementation for tan.
2220
2221         * math/libm-test.inc (cos_test): Enable some large input tests for
2222         float as well
2223         (sin_test): Likewise.
2224         (sincos_test): Likewise.
2225         (tan_test): Add tests for large input.
2226
2227         * sysdeps/i386/fpu/libm-test-ulps: Update.
2228
2229 2012-03-15  Andreas Jaeger  <aj@suse.de>
2230
2231         [BZ #13658]
2232         * math/libm-test.inc (cos_test): Add more test cases.
2233         (sin_test): Likewise.
2234         (sincos_test): Likewise.
2235
2236 2012-03-15  Andreas Jaeger  <aj@suse.de>
2237
2238         [BZ #13837]
2239         * math/libm-test.inc (cos_test): Add a test case for large input
2240         value.
2241         (sin_test): Likewise.
2242         (sincos_test): Likewise.
2243
2244 2012-03-15  Andreas Jaeger  <aj@suse.de>,
2245         Joseph Myers  <joseph@codesourcery.com>
2246
2247         [BZ #13658]
2248         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
2249         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2250         * sysdeps/i386/fpu/branred.c: Likewise.
2251         * sysdeps/i386/fpu/dosincos.c: Likewise.
2252         * sysdeps/i386/fpu/mpa.c: Likewise.
2253         * sysdeps/i386/fpu/s_cos.S: Likewise.
2254         * sysdeps/i386/fpu/s_sin.S: Likewise.
2255         * sysdeps/i386/fpu/s_sincos.S: Likewise.
2256         * sysdeps/i386/fpu/sincos32.c: Likewise.
2257
2258         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2259         Define.
2260         (libc_feupdateenv_53bit): Define.
2261         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2262         Define.
2263         (libc_feupdateenv_53bit): Define.
2264
2265         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2266         53 bit (without extend i386 double precision).
2267
2268         * math/libm-test.inc (sincos_test): Add tests for large input.
2269         (sin): Likewise.
2270         (cos): Likewise.
2271
2272         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2273
2274 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
2275
2276         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2277
2278 2012-03-15  David S. Miller  <davem@davemloft.net>
2279
2280         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2281         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2282         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2283         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2288         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2289         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2290         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2291         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2292         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2293         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2294         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
2295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2296         file.
2297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
2298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2299         file.
2300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
2301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2302         file.
2303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
2304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2305         file.
2306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2307         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2308         fmin/fmax sysdep routines.
2309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2310
2311 2012-03-14  David S. Miller  <davem@davemloft.net>
2312
2313         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2314         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2315         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2316         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2317         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2318         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2319         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2320         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2321         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2322         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2323         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2324         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2325         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2326         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2327         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2328         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2329         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2330         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2331         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2332         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2333         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2334         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2335         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2336         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2337         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2338         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2339         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2340         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
2341         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2342         routines.
2343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2344         file.
2345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
2346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2347         file.
2348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
2349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2350         file.
2351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
2352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2353         file.
2354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
2355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2356         file.
2357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
2358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2359         file.
2360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2361         file.
2362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2363         file.
2364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2365         file.
2366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2367         New file.
2368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2369         file.
2370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2371         file.
2372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
2373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2374         file.
2375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
2376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2377         file.
2378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
2379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2380         file.
2381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
2382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2383         VIS3 routines.
2384
2385         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2386         New file.
2387
2388         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2389
2390         * sysdeps/sparc/configure.in: New file.
2391         * sysdeps/sparc/configure: Generate.
2392         * configure.in (libc_cv_sparc_as_vis3): Substitute.
2393         * configure: Regenerate.
2394         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2395         * config.make.in (have-as-vis3): New.
2396         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2397         available use -Av9d instead of -Av9a.
2398         * sysdeps/sparc/sparc64/Makefile: Likewise.
2399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
2400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2401         New file.
2402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2403         file.
2404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2405         New file.
2406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2407         file.
2408         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2409         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2410         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2411         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2412         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2413
2414         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2415         fzeros/fnegs to load 0x80000000 into a float register instead of
2416         using the stack.
2417         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2418
2419 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
2420
2421         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2422         bits/syscall.h.
2423         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2424         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2425         ($(inst_includedir)/bits/syscall.h): Remove rule.
2426         ($(objpfx)bits/syscall.d): Include instead of
2427         $(objpfx)syscall-list.d.
2428         (generated): Change syscall-list.h and syscall-list.d to
2429         bits/syscall.h and bits/syscall.d.
2430
2431 2012-03-14  Roland McGrath  <roland@hack.frob.com>
2432
2433         [BZ #13846]
2434         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2435
2436 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
2437
2438         [BZ #13841]
2439         * math/s_csqrt.c: Include <float.h>.
2440         (__csqrt): Scale large or subnormal inputs.
2441         * math/s_csqrtf.c: Likewise.
2442         * math/s_csqrtl.c: Likewise.
2443         * math/libm-test.inc (csqrt_test): Add more tests.
2444         * sysdeps/i386/fpu/libm-test-ulps: Update.
2445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2446
2447         [BZ #13840]
2448         * math/libm-test.inc (hypot_test): Add more tests.
2449
2450 2012-03-13  David S. Miller  <davem@davemloft.net>
2451
2452         [BZ #13840]
2453         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2454         double-precision for the calculation instead of scaling.
2455
2456 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
2457
2458         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2459         manipulate bits before adding and subtracting TWO52[sx].
2460         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2461         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2462         Likewise.
2463         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2464
2465 2012-03-13  David S. Miller  <davem@davemloft.net>
2466
2467         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2468         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2469         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2470         rtld-global-offsets.h
2471         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2472
2473         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2474         large parameters.
2475
2476         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2477
2478         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2479         'err' in the ifdef scope in which it is actually used.
2480
2481         * nss/nss_db/db-init.c: Include string.h
2482
2483 2012-03-12  David S. Miller  <davem@davemloft.net>
2484
2485         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2486         masking out of the most significant byte of random value used.
2487         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2488         Fix coding style in previous change.
2489
2490         * sysdeps/unix/sysv/linux/kernel-features.h
2491         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2492         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2493         expression.
2494         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2495         later.
2496
2497 2012-03-11  David S. Miller  <davem@davemloft.net>
2498
2499         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2500         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2501         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2502         for 'resultvar' otherwise things get truncated on 64-bit.
2503
2504         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2505         Fix masking out of the most significant byte of random value used.
2506
2507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2508
2509 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
2510
2511         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2512
2513 2012-03-09  David S. Miller  <davem@davemloft.net>
2514
2515         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2516         variables with appropriate CPP guards.
2517         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2518         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
2519         on resulting framesize and the management of the outregs buffer for pltexit.
2520         Preserve floating point return values across _dl_call_pltexit call.
2521         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2522         framesize and the management of the outregs buffer for pltexit.
2523         Preserve floating point return values across _dl_call_pltexit
2524         call.
2525         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2526         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2527         (print_exit): Fix format string for return register value.
2528
2529 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
2530
2531         * sunrpc/Makefile (others): Add rpcgen.
2532         ($(objpfx)rpcgen): Remove special build rule and dependency on
2533         libc.
2534         * sunrpc/rpcgen.c: New file.
2535
2536 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
2537
2538         [BZ #13673]
2539         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2540         * stdio-common/bug-vfprintf-nargs.c: Likewise.
2541         * sysdeps/i386/crti.S: Likewise.
2542         * sysdeps/i386/crtn.S: Likewise.
2543         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2544         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2545         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2546         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2547         * sysdeps/sh/crti.S: Likewise.
2548         * sysdeps/sh/crtn.S: Likewise.
2549         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2550
2551         [BZ #13673]
2552         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2553         with URL.
2554         * locale/programs/locfile-kw.gperf: Likewise.
2555         * locale/programs/charmap-kw.h: Regenerated.
2556         * locale/programs/locfile-kw.h: Likewise.
2557
2558         [BZ #13673]
2559         * intl/plural.y: Replace FSF snail mail address with URL.
2560         * intl/plural.c: Regenerated.
2561
2562 2012-03-09  Richard Henderson  <rth@twiddle.net>
2563
2564         * include/math_private.h: Remove file.
2565         * math/math_private.h: Move file ...
2566         * sysdeps/generic/math_private.h: ... here.
2567
2568         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2569         * sysdeps/powerpc/fpu/math_private.h: Likewise.
2570         * sysdeps/x86_64/fpu/math_private.h: Likewise.
2571
2572         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2573         and <math_private.h>.
2574         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2575         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2576         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2577         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2578         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2579         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2580         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2581         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2582         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2583         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2584         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2585         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2586         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2587         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2588         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2589         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2590         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2591         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2592         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2593         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2594         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2595         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2596         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2597         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2598         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2599         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2600         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2601         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2602         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2603         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2604         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2605         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2606         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2607         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2608         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2609         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2610         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2611         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2612         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2613         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2614         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2615         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2616         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2617         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2618         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2619         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2620         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2621         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2622         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2623         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2624         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2625         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2626         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2627         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2628         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2629         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2630         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2631         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2632         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2633         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2634         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2635         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2636         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2637         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2638         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2639         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2640         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2641         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2642         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2643         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2644         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2645         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2646         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2647         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2648         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2649         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2650         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2651         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2652         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2653         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2654         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2655         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2656         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2657         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2658         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2659         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2660         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2661         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2662         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2663         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2664         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2665         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2666         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2667         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2668         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2669         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2670         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2671         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2672         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2673         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2674         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2675         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2676         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2677         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2678         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2679         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2680         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2681         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2682         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2683         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2684         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2685         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2686         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2687         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2688         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2689         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2690         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2691         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2692         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2693         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2694         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2695         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2696         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2697         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2698         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2699         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2700         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2701         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2702         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2703         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2704         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2705         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2706         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2707         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2708         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2709         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2710         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2711         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2712         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2713         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2714         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2715         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2716         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2717         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2718         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2719         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2720         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2721         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2722         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2723         * sysdeps/ieee754/k_standard.c: Likewise.
2724         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2725         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2726         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2727         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2728         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2729         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2730         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2731         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2732         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2733         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2734         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2735         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2736         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2737         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2738         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2739         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2740         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2741         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2742         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2743         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2744         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2745         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2746         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2747         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2748         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2749         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2750         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2751         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2752         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2753         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2754         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2755         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2756         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2757         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2758         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2759         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2760         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2761         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2762         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2763         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2764         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2765         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2766         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2767         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2768         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2769         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2770         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2771         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2772         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2773         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2774         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2775         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2776         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2777         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2778         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2779         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2780         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2781         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2782         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2783         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2784         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2785         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2786         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2787         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2788         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2789         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2790         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2791         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2792         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2793         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2794         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2795         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2796         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2797         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2798         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2799         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2800         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2801         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2802         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2803         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2804         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2805         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2806         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2807         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2808         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2809         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2810         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2811         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2812         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2813         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2814         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2815         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2816         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2817         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2818         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2819         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2820         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2821         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2822         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2823         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2824         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2825         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2826         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2827         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2828         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2829         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2830         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2831         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2832         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2833         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2834         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2835         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2836         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2837         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2838         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2839         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2840         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2841         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2842         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2843         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2844         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2845         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2846         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2847         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2848         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2849         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2850         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2851         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2852         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2853         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2854         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2855         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2856         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2857         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2858         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2859         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2860         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2861         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2862         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2863         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2864         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2865         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2866         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2867         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2868         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2869         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2870         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2871         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2872         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2873         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2874         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2875         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2876         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2877         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2878         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2879         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2880         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2881         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2882         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2883         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2884         * sysdeps/ieee754/s_lib_version.c: Likewise.
2885         * sysdeps/ieee754/s_matherr.c: Likewise.
2886         * sysdeps/ieee754/s_signgam.c: Likewise.
2887         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2888         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2889         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2890         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2891         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2892         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2893         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2894         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2895         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2896         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2897         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2898         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2899         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2900         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2901         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2902         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2903         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2904         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2905         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2906         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2907         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2908
2909 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
2910
2911         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2912         * sunrpc/rpc_main.c: Likewise.
2913         * sunrpc/rpc_svcout.c: Likewise.
2914
2915 2012-03-09  David S. Miller  <davem@davemloft.net>
2916
2917         * include/math_private.h: New file.
2918
2919 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
2920
2921         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2922         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2923         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2924         from <bits/socket_type.h>.
2925         (enum __socket_type): Don't define here.
2926         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2927         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2928         bits/socket_type.h.
2929
2930         [BZ #13566]
2931         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2932         checking __USE_GNU.
2933
2934         * Makerules ($(inst_includedir)/%.h): New rule.
2935         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2936         (install-others): Remove variable setting.
2937         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2938
2939 2012-03-08  Richard Henderson  <rth@twiddle.net>
2940
2941         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2942         from macro to inline function; merge with the
2943         !__LIBC_INTERNAL_MATH_INLINES version.
2944         (__ieee754_sqrtf): Likewise.
2945
2946         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2947         to inline function.
2948         (__rintf, __floor, __floorf): Likewise.
2949
2950         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2951         macro to inline function.
2952         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2953
2954         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2955         not <math/math_private.h>.
2956
2957 2012-03-08  David S. Miller  <davem@davemloft.net>
2958
2959         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2960         copyright year.
2961         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2962
2963 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
2964
2965         * resolv/gai_misc.c (handle_requests): Fix struct timespec
2966         normalization.
2967         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2968         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2969
2970 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
2971
2972         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
2973         be defined individually, they must be defined as a block.  Define
2974         S for printing a string instead of hidint the different by using a
2975         macro for adding the 'l'.
2976         * stdio-common/tst-fphex-wide.c: Adjust.
2977
2978 2012-03-07  Marek Polacek  <polacek@redhat.com>
2979
2980         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2981
2982 2012-03-08  Marek Polacek  <polacek@redhat.com>
2983
2984         [BZ #13806]
2985         * stdio-common/Makefile (tests): Add tst-fphex-wide.
2986         * stdio-common/tst-fphex.c: Define a few macros to make the
2987         test reusable.  Use them.
2988         * stdio-common/tst-fphex-wide.c: New file.
2989
2990 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
2991
2992         [BZ #6911]
2993         * manual/macros.texi (gnusystems): New macro.
2994         (nongnusystems): Likewise.
2995         (gnulinuxhurdsystems): Likewise.
2996         (gnuhurdsystems): Likewise..
2997         (gnulinuxsystems): Likewise.
2998         * manual/charset.texi: Use new macros or @theglibc{} to refer to
2999         variants of the GNU system, not "GNU system".
3000         * manual/conf.texi: Likewise.
3001         * manual/errno.texi: Likewise.  Update example of errno macro
3002         expansion.
3003         * manual/filesys.texi: Likewise.
3004         (getumask): Document as specific to GNU/Hurd.
3005         * manual/install.texi: Likewise.  Reword some references to
3006         GNU/Linux.
3007         * manual/intro.texi: Likewise.
3008         * manual/io.texi: Likewise.
3009         (File Name Portability): Detail which constraints are inapplicable
3010         to all GNU systems and which are only inapplicable to GNU/Hurd.
3011         * manual/job.texi: Likewise.
3012         * manual/llio.texi: Likewise.
3013         (O_NOCTTY): Document as present on GNU/Linux.
3014         * manual/maint.texi: Likewise.
3015         * manual/memory.texi: Likewise.
3016         * manual/pattern.texi: Likewise.
3017         * manual/pipe.texi: Likewise.
3018         * manual/process.texi: Likewise.
3019         * manual/resource.texi: Likewise.
3020         (RUSAGE_CHILDREN): Remove statement about specifying a particular
3021         child on GNU/Hurd.
3022         * manual/setjmp.texi: Likewise.
3023         * manual/signal.texi: Likewise.
3024         * manual/startup.texi: Likewise.
3025         * manual/stdio.texi: Likewise.
3026         * manual/terminal.texi: Likewise.
3027         (ONLCR): Document as POSIX.
3028         (OXTABS): Document availability on GNU/Linux as XTABS.
3029         (ONOEOT): Document availability separately from other bits.
3030         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3031         * manual/time.texi: Likewise.
3032         * manual/users.texi: Likewise.
3033         * INSTALL: Regenerated.
3034         * sysdeps/gnu/errlist.c: Regenerated.
3035
3036         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3037         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3038         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
3039         puts.
3040         * configure: Regenerated.
3041
3042 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
3043
3044         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3045         default includes instead of AC_HEADER_CHECK.
3046         * sysdeps/i386/configure: Regenerated.
3047
3048         [BZ #10716]
3049         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3050         * math/s_cacoshf.c (__cacoshf): Likewise.
3051         * math/s_cacoshl.c (__cacoshl): Likewise.
3052         * math/s_casinh.c (__casinh): Set signs of result from argument.
3053         * math/s_casinhf.c (__casinhf): Likewise.
3054         * math/s_casinhl.c (__casinhl): Likewise.
3055         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3056         (casinh_test): Add more tests.
3057         * sysdeps/i386/fpu/libm-test-ulps: Update.
3058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3059
3060 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
3061
3062         * po/zh_TW.po: Update from translation team.
3063
3064         * login/Makefile (distribute): Remove variable.
3065         * catgets/Makefile: Likewise.
3066         * mach/Makefile: Likewise.
3067         * malloc/Makefile: Likewise.
3068         * misc/Makefile: Likewise.
3069         * iconv/Makefile: Likewise.
3070         * nscd/Makefile: Likewise.
3071         * hurd/Makefile: Likewise.
3072         * manual/Makefile: Likewise.
3073         * locale/Makefile: Likewise.
3074         * intl/Makefile: Likewise.
3075         * conform/Makefile: Likewise.
3076         * nss/Makefile: Likewise.
3077         * time/Makefile: Likewise.
3078         * soft-fp/Makefile: Likewise.
3079         * dirent/Makefile: Likewise.
3080         * gmon/Makefile: Likewise.
3081         * po/Makefile: Likewise.
3082         * rt/Makefile: Likewise.
3083         * socket/Makefile: Likewise.
3084         * math/Makefile: Likewise.
3085         * signal/Makefile: Likewise.
3086         * debug/Makefile: Likewise.
3087         * elf/Makefile: Likewise.
3088         * timezone/Makefile: Likewise.
3089         * stdlib/Makefile: Likewise.
3090         * iconvdata/Makefile: Likewise.
3091         * sunrpc/Makefile: Likewise.
3092         * io/Makefile: Likewise.
3093         * argp/Makefile: Likewise.
3094         * inet/Makefile: Likewise.
3095         * hesiod/Makefile: Likewise.
3096         * grp/Makefile: Likewise.
3097         * csu/Makefile: Likewise.
3098         * wctype/Makefile: Likewise.
3099         * crypt/Makefile: Likewise.
3100         * libio/Makefile: Likewise.
3101         * string/Makefile: Likewise.
3102         * nis/Makefile: Likewise.
3103         * resolv/Makefile: Likewise.
3104         * stdio-common/Makefile: Likewise.
3105         * wcsmbs/Makefile: Likewise.
3106         * dlfcn/Makefile: Likewise.
3107         * posix/Makefile: Likewise.
3108
3109         * timezone/Makefile: Don't install timezone files, just the programs
3110         and scripts.
3111
3112 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
3113
3114         * nss/databases.def: Add missing gshadow entry.
3115
3116         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
3117
3118 2012-03-06  Marek Polacek  <polacek@redhat.com>
3119
3120         [BZ #13726]
3121         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3122         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3123         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3124         * stdio-common/tst-long-dbl-fphex.c: New file.
3125
3126 2012-03-06  David S. Miller  <davem@davemloft.net>
3127
3128         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3129         (set_obp_int): New function.
3130         (get_obp_int): New function.
3131         (__get_clockfreq_via_dev_openprom): Likewise.
3132         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3133         Avoid unused variable warnings on 'val' and use builtin_expect.
3134         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3135         __builtin_expect.
3136         (INLINE_CLONE_SYSCALL): Likewise.
3137
3138 2012-03-05  David S. Miller  <davem@davemloft.net>
3139
3140         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3141
3142 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
3143
3144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3145
3146         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3147         only for |x| >= 40.
3148         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3149
3150 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
3151
3152         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3153         Replace gettimeofday with __vdso_gettimeofday.
3154
3155         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3156         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3157         __vdso_clock_gettime and __vdso_getcpu.
3158
3159         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3160         time with __vdso_time.
3161
3162 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
3163
3164         * manual/lang.texi (size_t): Note types to which size_t may be
3165         equivalent with the GNU C Library, but do not describe when
3166         differences between them are significant.
3167
3168 2012-03-05  Andreas Jaeger  <aj@suse.de>
3169
3170         * sysdeps/i386/fpu/libm-test-ulps: Update.
3171
3172 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
3173
3174         [BZ #3976]
3175         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3176         (__ieee754_pow): Save and restore rounding mode and use
3177         round-to-nearest for main computations.
3178         * math/libm-test.inc (pow_test_tonearest): New function.
3179         (pow_test_towardzero): Likewise.
3180         (pow_test_downward): Likewise.
3181         (pow_test_upward): Likewise.
3182         (main): Call the new functions.
3183         * sysdeps/i386/fpu/libm-test-ulps: Update.
3184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3185
3186         [BZ #3976]
3187         * math/libm-test.inc (cosh_test_tonearest): New function.
3188         (cosh_test_towardzero): Likewise.
3189         (cosh_test_downward): Likewise.
3190         (cosh_test_upward): Likewise.
3191         (sinh_test_tonearest): Likewise.
3192         (sinh_test_towardzero): Likewise.
3193         (sinh_test_downward): Likewise.
3194         (sinh_test_upward): Likewise.
3195         (main): Call the new functions.
3196         * sysdeps/i386/fpu/libm-test-ulps: Update.
3197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3198
3199 2012-03-05  Tom de Vries  <tom@codesourcery.com>
3200
3201         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3202         default stack guard is set in last bytes.
3203         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3204
3205 2012-03-05  Kees Cook  <keescook@chromium.org>
3206
3207         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
3208
3209         [BZ #13656]
3210         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3211         possibly allocate from heap instead of stack.
3212         * stdio-common/bug-vfprintf-nargs.c: New file.
3213         * stdio-common/Makefile (tests): Add nargs overflow test.
3214
3215 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
3216
3217         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3218
3219 2012-03-03  Marek Polacek  <polacek@redhat.com>
3220
3221         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3222         * math/math_private.h: Likewise.
3223         * stdlib/tst-strtod.c: Likewise.
3224         * sysdeps/i386/i486/bits/atomic.h: Likewise.
3225         * sysdeps/x86_64/bits/atomic.h: Likewise.
3226
3227 2012-03-02  David S. Miller  <davem@davemloft.net>
3228
3229         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3231         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3233         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3234         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3235         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3236         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3237
3238 2012-03-02  Roland McGrath  <roland@hack.frob.com>
3239
3240         [BZ #13792]
3241         * manual/examples/README: New file, says the example source files
3242         can be used under GPL>=2.
3243         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3244         line containing just "*/".
3245         * manual/examples/add.c: Add copyright header (GPL>=2).
3246         * manual/examples/argp-ex1.c: Likewise.
3247         * manual/examples/argp-ex2.c: Likewise.
3248         * manual/examples/argp-ex3.c: Likewise.
3249         * manual/examples/argp-ex4.c: Likewise.
3250         * manual/examples/atexit.c: Likewise.
3251         * manual/examples/db.c: Likewise.
3252         * manual/examples/dir.c: Likewise.
3253         * manual/examples/dir2.c: Likewise.
3254         * manual/examples/execinfo.c: Likewise.
3255         * manual/examples/filecli.c: Likewise.
3256         * manual/examples/filesrv.c: Likewise.
3257         * manual/examples/fmtmsgexpl.c: Likewise.
3258         * manual/examples/genpass.c: Likewise.
3259         * manual/examples/inetcli.c: Likewise.
3260         * manual/examples/inetsrv.c: Likewise.
3261         * manual/examples/isockad.c: Likewise.
3262         * manual/examples/longopt.c: Likewise.
3263         * manual/examples/memopen.c: Likewise.
3264         * manual/examples/memstrm.c: Likewise.
3265         * manual/examples/mkfsock.c: Likewise.
3266         * manual/examples/mkisock.c: Likewise.
3267         * manual/examples/mygetpass.c: Likewise.
3268         * manual/examples/pipe.c: Likewise.
3269         * manual/examples/popen.c: Likewise.
3270         * manual/examples/rprintf.c: Likewise.
3271         * manual/examples/search.c: Likewise.
3272         * manual/examples/select.c: Likewise.
3273         * manual/examples/setjmp.c: Likewise.
3274         * manual/examples/sigh1.c: Likewise.
3275         * manual/examples/sigusr.c: Likewise.
3276         * manual/examples/stpcpy.c: Likewise.
3277         * manual/examples/strdupa.c: Likewise.
3278         * manual/examples/strftim.c: Likewise.
3279         * manual/examples/strncat.c: Likewise.
3280         * manual/examples/subopt.c: Likewise.
3281         * manual/examples/swapcontext.c: Likewise.
3282         * manual/examples/termios.c: Likewise.
3283         * manual/examples/testopt.c: Likewise.
3284         * manual/examples/testpass.c: Likewise.
3285         * manual/examples/timeval_subtract.c: Likewise.
3286
3287         [BZ #13792]
3288         * manual/time.texi (Elapsed Time): Move timeval_subtract example
3289         function to ...
3290         * manual/timeval_subtract.c.texi: ... here, new file.
3291
3292 2012-03-02  David S. Miller  <davem@davemloft.net>
3293
3294         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3295
3296 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
3297
3298         [BZ #3976]
3299         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3300         (__sin): Save and restore rounding mode and use round-to-nearest
3301         for all computations.
3302         (__cos): Save and restore rounding mode and use round-to-nearest
3303         for all computations.
3304         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3305         <fenv.h>.
3306         (tan): Save and restore rounding mode and use round-to-nearest for
3307         all computations.
3308         * math/libm-test.inc (cos_test_tonearest): New function.
3309         (cos_test_towardzero): Likewise.
3310         (cos_test_downward): Likewise.
3311         (cos_test_upward): Likewise.
3312         (sin_test_tonearest): Likewise.
3313         (sin_test_towardzero): Likewise.
3314         (sin_test_downward): Likewise.
3315         (sin_test_upward): Likewise.
3316         (tan_test_tonearest): Likewise.
3317         (tan_test_towardzero): Likewise.
3318         (tan_test_downward): Likewise.
3319         (tan_test_upward): Likewise.
3320         (main): Call the new functions.
3321         * sysdeps/i386/fpu/libm-test-ulps: Update.
3322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3323
3324         [BZ #10135]
3325         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3326         small n, then large n, before computing and testing k+n.
3327         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3328         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3329         Likewise.
3330         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3331         Likewise.
3332         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3333         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3334         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3335         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3336         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3337         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3338         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3339         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3340         * math/libm-test.inc (scalbn_test): Add more tests.
3341         (scalbln_test): Likewise.
3342
3343         * manual/filesys.texi (mode_t): Describe constraints on size and
3344         signedness, not exact equivalence to a particular type.
3345         (ino_t): Likewise.
3346         (ino64_t): Likewise.
3347         (dev_t): Likewise.
3348         (nlink_t): Likewise.
3349         (blkcnt_t): Likewise.
3350         (blkcnt64_t): Likewise.
3351         * manual/llio.texi (off_t): Likewise.
3352
3353         [BZ #3976]
3354         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3355         (__ieee754_exp): Save and restore rounding mode and use
3356         round-to-nearest for all computations.
3357         * math/libm-test.inc (exp_test_tonearest): New function.
3358         (exp_test_towardzero): Likewise.
3359         (exp_test_downward): Likewise.
3360         (exp_test_upward): Likewise.
3361         (main): Call the new functions.
3362         * sysdeps/i386/fpu/libm-test-ulps: Update.
3363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3364
3365 2012-03-01  Chris Demetriou  <cgd@google.com>
3366
3367         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3368         have predictable order.
3369
3370 2012-03-01  David S. Miller  <davem@davemloft.net>
3371
3372         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3373
3374         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3375         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3376         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3377         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3378
3379         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3380         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3381         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3382         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3383         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3384         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3385         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3386         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3387         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3388
3389         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3390
3391         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3392         * sysdeps/sparc/fpu/libm-test-ulps: to here.
3393         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3394
3395         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3396         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3397         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3398         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3399         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3400         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3401         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3402         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3403         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3404         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3405         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3406         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3407         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3408         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3409         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3410         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3411         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3412         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3413         * sysdeps/sparc/elf/configure: Regenerated.
3414
3415 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
3416
3417         * configure.in (AS, LD): Require binutils 2.20 or later.
3418         * configure: Regenerated.
3419         * manual/install.texi (Tools for Compilation): Give binutils 2.20
3420         as required minimum version.
3421         * INSTALL: Regenerated.
3422
3423         [BZ #2541]
3424         [BZ #4108]
3425         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3426         before squaring exponent.
3427         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3428         bottom long double and 27 bits of top long double before squaring
3429         exponent.
3430         * math/libm-test.inc (erfc_test): Add more tests.
3431         * sysdeps/i386/fpu/libm-test-ulps: Update.
3432         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3434
3435 2012-03-01  Kai Tietz  <ktietz@redhat.com>
3436
3437         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3438         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3439         containing bit-fields.
3440         * soft-fp/extended.h (_FP_UNION_E): Likewise.
3441         * soft-fp/single.h (_FP_UNION_S): Likewise.
3442         * soft-fp/double.h (_FP_UNION_D): Likewise.
3443
3444 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3445
3446         [BZ #13786]
3447         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3448         not include ../strcmp.S.
3449         [USE_AS_STRNCASECMP_L]: Likewise.
3450         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3451         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3452         * sysdeps/i386/i686/multiarch/strncase_l-c.c
3453         (__strncasecmp_l_ia32): Define as alias to
3454         __strncasecmp_l_nonascii.
3455
3456         [BZ #5794]
3457         * math/libm-test.inc (expm1_test): Add test for bug 5794.
3458         * sysdeps/i386/fpu/libm-test-ulps: Update.
3459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3460
3461         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3463
3464 2012-02-29  Jeff Law  <law@redhat.com>
3465
3466         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3467         out of bounds read.
3468
3469 2012-02-29  Marek Polacek  <polacek@redhat.com>
3470
3471         [BZ #13706]
3472         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3473         * elf/Makefile: Add rules to run tst-unused-dep.out.
3474
3475 2012-02-28  David S. Miller  <davem@davemloft.net>
3476
3477         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3478         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3479         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3480         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3481         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3482         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3483
3484 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3485
3486         * math/libm-test.inc (llround_test): Move one test from
3487         lround_test.  Use TEST_f_L in moved test.
3488         (lround_test): Move misplaced test to llround_test.  Add testcase
3489         from bug 2561.
3490
3491 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
3492
3493         * sysdeps/x86_64/fpu/e_expf.S: New file.
3494         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3495
3496 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
3497
3498         [BZ #13637]
3499         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3500         of remain_len that may cause incomplete multi-byte character and
3501         false match.
3502         * posix/bug-regex33.c: New file.
3503         * posix/Makefile (tests): Add bug-regex33.
3504
3505 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
3506
3507         * manual/macros.texi: New file.
3508         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3509         * manual/libc.texinfo: Include macros.texi.
3510         * manual/creatute.texi: Likewise.
3511         * manual/install.texi: Likewise.
3512         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3513         @glibcadj{} in references to the GNU C Library.
3514         * manual/charset.texi: Likewise.
3515         * manual/conf.texi: Likewise.
3516         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
3517         when not using those macros.
3518         * manual/creature.texi: Likewise.
3519         * manual/crypt.texi: Likewise.
3520         * manual/errno.texi: Likewise.
3521         * manual/filesys.texi: Likewise.
3522         * manual/header.texi: Likewise.
3523         * manual/install.texi: Likewise.
3524         * manual/intro.texi: Likewise.
3525         * manual/io.texi: Likewise.
3526         * manual/job.texi: Likewise.
3527         * manual/lang.texi: Likewise.
3528         * manual/libc.texiinfo: Likewise.
3529         * manual/llio.texi: Likewise.
3530         * manual/locale.texi: Likewise.
3531         * manual/maint.texi: Likewise.
3532         * manual/math.texi: Likewise.
3533         * manual/memory.texi: Likewise.
3534         * manual/message.texi: Likewise.
3535         * manual/nss.texi: Likewise.
3536         * manual/pattern.texi: Likewise.
3537         * manual/process.texi: Likewise.
3538         * manual/resource.texi: Likewise.
3539         * manual/search.texi: Likewise.
3540         * manual/setjmp.texi: Likewise.
3541         * manual/signal.texi: Likewise.
3542         * manual/socket.texi: Likewise.
3543         * manual/startup.texi: Likewise.
3544         * manual/stdio.texi: Likewise.
3545         * manual/string.texi: Likewise.
3546         * manual/sysinfo.texi: Likewise.
3547         * manual/syslog.texi: Likewise.
3548         * manual/terminal.texi: Likewise.
3549         * manual/time.texi: Likewise.
3550         * manual/users.texi: Likewise.
3551         * INSTALL: Regenerated.
3552         * NOTES: Regenerated.
3553         * sysdeps/gnu/errlist.c: Regenerated.
3554
3555 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
3556
3557         * include/dirent.h: Include <dirstream.h> before
3558         <dirent/dirent.h>.
3559
3560 2012-02-28  David S. Miller  <davem@davemloft.net>
3561
3562         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3563         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3564         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3565         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3566
3567 2012-02-27  David S. Miller  <davem@davemloft.net>
3568
3569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3571         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3572         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3573
3574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3575         frame pointer instead of stack pointer relative arg slot.
3576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3577         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3578         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3579
3580 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
3581
3582         [BZ #3992]
3583         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3584
3585 2012-02-27  David S. Miller  <davem@davemloft.net>
3586
3587         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3591         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3592         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3593         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3594         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3595
3596 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3597
3598         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3599         later.  Allow versions 5-9.
3600         * configure: Regenerated.
3601         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3602         required minimum version and 4.6 as recommended version.  Do not
3603         mention bugs in GCC 2.7 and 2.8.
3604         * INSTALL: Regenerated.
3605
3606 2012-02-27  David S. Miller  <davem@davemloft.net>
3607
3608         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3609         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3610         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3611         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3612         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3613         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3614         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3615         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3616
3617         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3618         manipulate bits before adding and subtracting TWO112[sx].
3619         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3620
3621 2012-02-27  Roland McGrath  <roland@hack.frob.com>
3622
3623         [BZ #13775]
3624         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3625         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3626         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3627         being in POSIX, because they are in 1003.1-2008.
3628
3629         * rt/tst-aio.c: Include <fcntl.h>.
3630         * rt/tst-aio7.c: Likewise.
3631         * rt/tst-aio64.c: Likewise.
3632
3633         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3634
3635 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3636
3637         * manual/install.texi (--with-headers): Describe headers as
3638         interface headers, not private headers.
3639         (Specific advice for GNU/Linux systems): Describe use of headers
3640         from "make headers_install", not private headers from older
3641         kernels.
3642         * INSTALL: Regenerated.
3643         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3644         Change to 2.6.19.
3645         * sysdeps/unix/sysv/linux/configure: Regenerated.
3646
3647         * manual/llio.texi (fclean): Remove documentation.
3648
3649         * manual/Makefile (libc-texi-generated): New variable.  Include
3650         version.texi.
3651         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3652         $(libc-texi-generated), not duplicated list of files.
3653         (version.texi, stamp-version): New rules.
3654         (realclean): Remove $(libc-texi-generated), not individual files
3655         from that list.  Do not remove dir-add.texinfo.
3656         * manual/libc.texinfo: Comment out uses of edition numbers and
3657         references to printed manual.  Remove last-updated dates.
3658         (EDITION): Comment out.
3659         (ISBN): Likewise.
3660         (VERSION, UPDATED): Remove.
3661         (version.texi): Include.
3662
3663 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
3664
3665         * sysdeps/posix/spawni.c: Include <signal.h>.
3666         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3667         * sysdeps/pthread/aio_fsync.c: Likewise.
3668
3669 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
3670
3671         * conform/Makefile (tests): Run only when not cross-compiling and
3672         when fast-check is not defined.
3673
3674         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3675         * conform/data/limits.h-data: Fixes for POSIX2008.
3676         * conform/run-conformtest.sh: Run all tests.
3677         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3678         headers.
3679         * include/bits/dlfcn.h: Likewise.
3680         * include/langinfo.h: Likewise.
3681         * include/monetary.h: Likewise.
3682         * include/sys/poll.h: Likewise.
3683
3684         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3685         for __USE_GNU.
3686         * posix/spawn.h: Define __need_sigset_t.
3687         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3688         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3689         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
3690         to get sigevent_t only.
3691         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3692         only for __USE_GNU.
3693         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3694         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3695         process_vm_writev only for __USE_GNU.
3696         * termios/termios.h: Declare tcgetsid also for POSIX2008.
3697
3698         * conform/Makefile: For now ignore errors from run-conformtest.
3699         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
3700         POSIX to avoid namespace pollution.  Don't prepend headers.
3701         * conform/data/aio.h-data: Fixes for POSIX testing.
3702         * conform/data/fcntl.h-data: Likewise.
3703         * conform/data/glob.h-data: Likewise.
3704         * conform/data/grp.h-data: Likewise.
3705         * conform/data/pthread.h-data: Likewise.
3706         * conform/data/pwd.h-data: Likewise.
3707         * conform/data/signal.h-data: Likewise.
3708         * conform/data/spawn.h-data: Likewise.
3709         * conform/data/stdio.h-data: Likewise.
3710         * conform/data/stdlib.h-data: Likewise.
3711         * conform/data/stropts.h-data: Likewise.
3712         * conform/data/sys/mman.h-data: Likewise.
3713         * conform/data/sys/stat.h-data: Likewise.
3714         * conform/data/sys/types.h-data: Likewise.
3715         * conform/data/sys/wait.h-data: Likewise.
3716         * conform/data/time.h-data: Likewise.
3717         * conform/data/unistd.h-data: Likewise.
3718         * conform/data/utime.h-data: Likewise.
3719
3720         * io/sys/stat.h: fchmod was always in POSIX.
3721         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3722         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3723         * rt/aio.h: Define __need_timespec before including <time.h>.
3724         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3725         struct.  Add forward declaration of pthread_attr_t and use it in
3726         sigevent.
3727         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3728         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3729         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3730         always remove CLK_TCK definition.
3731
3732 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
3733
3734         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3735
3736 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
3737
3738         * conform/run-conformtest.sh: New file.
3739         * conform/Makefile: Run run-conformtest for tests.
3740         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
3741         support.
3742
3743         * conform/data/uchar.h-data: New file.
3744         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3745         * conform/data/arpa/inet.h-data: Likewise.
3746         * conform/data/assert.h-data: Likewise.
3747         * conform/data/complex.h-data: Likewise.
3748         * conform/data/cpio.h-data: Likewise.
3749         * conform/data/ctype.h-data: Likewise.
3750         * conform/data/dirent.h-data: Likewise.
3751         * conform/data/dlfcn.h-data: Likewise.
3752         * conform/data/errno.h-data: Likewise.
3753         * conform/data/fcntl.h-data: Likewise.
3754         * conform/data/float.h-data: Likewise.
3755         * conform/data/fmtmsg.h-data: Likewise.
3756         * conform/data/fnmatch.h-data: Likewise.
3757         * conform/data/ftw.h-data: Likewise.
3758         * conform/data/glob.h-data: Likewise.
3759         * conform/data/grp.h-data: Likewise.
3760         * conform/data/iconv.h-data: Likewise.
3761         * conform/data/inttypes.h-data: Likewise.
3762         * conform/data/langinfo.h-data: Likewise.
3763         * conform/data/libgen.h-data: Likewise.
3764         * conform/data/limits.h-data: Likewise.
3765         * conform/data/locale.h-data: Likewise.
3766         * conform/data/math.h-data: Likewise.
3767         * conform/data/monetary.h-data: Likewise.
3768         * conform/data/mqueue.h-data: Likewise.
3769         * conform/data/ndbm.h-data: Likewise.
3770         * conform/data/net/if.h-data: Likewise.
3771         * conform/data/netdb.h-data: Likewise.
3772         * conform/data/netinet/in.h-data: Likewise.
3773         * conform/data/nl_types.h-data: Likewise.
3774         * conform/data/poll.h-data: Likewise.
3775         * conform/data/pthread.h-data: Likewise.
3776         * conform/data/pwd.h-data: Likewise.
3777         * conform/data/regex.h-data: Likewise.
3778         * conform/data/sched.h-data: Likewise.
3779         * conform/data/search.h-data: Likewise.
3780         * conform/data/semaphore.h-data: Likewise.
3781         * conform/data/setjmp.h-data: Likewise.
3782         * conform/data/signal.h-data: Likewise.
3783         * conform/data/spawn.h-data: Likewise.
3784         * conform/data/stdarg.h-data: Likewise.
3785         * conform/data/stdio.h-data: Likewise.
3786         * conform/data/stdlib.h-data: Likewise.
3787         * conform/data/string.h-data: Likewise.
3788         * conform/data/strings.h-data: Likewise.
3789         * conform/data/stropts.h-data: Likewise.
3790         * conform/data/sys/ipc.h-data: Likewise.
3791         * conform/data/sys/mman.h-data: Likewise.
3792         * conform/data/sys/msg.h-data: Likewise.
3793         * conform/data/sys/resource.h-data: Likewise.
3794         * conform/data/sys/select.h-data: Likewise.
3795         * conform/data/sys/sem.h-data: Likewise.
3796         * conform/data/sys/shm.h-data: Likewise.
3797         * conform/data/sys/socket.h-data: Likewise.
3798         * conform/data/sys/stat.h-data: Likewise.
3799         * conform/data/sys/statvfs.h-data: Likewise.
3800         * conform/data/sys/time.h-data: Likewise.
3801         * conform/data/sys/timeb.h-data: Likewise.
3802         * conform/data/sys/times.h-data: Likewise.
3803         * conform/data/sys/types.h-data: Likewise.
3804         * conform/data/sys/uio.h-data: Likewise.
3805         * conform/data/sys/un.h-data: Likewise.
3806         * conform/data/sys/utsname.h-data: Likewise.
3807         * conform/data/sys/wait.h-data: Likewise.
3808         * conform/data/syslog.h-data: Likewise.
3809         * conform/data/tar.h-data: Likewise.
3810         * conform/data/termios.h-data: Likewise.
3811         * conform/data/utime.h-data: Likewise.
3812         * conform/data/utmpx.h-data: Likewise.
3813         * conform/data/varargs.h-data: Likewise.
3814         * conform/data/wchar.h-data: Likewise.
3815         * conform/data/wctype.h-data: Likewise.
3816         * conform/data/wordexp.h-data: Likewise.
3817
3818         * include/stropts.h: New file.
3819         * include/uchar.h: New file.
3820         * include/aio.h: Changes to allow conformtest.pl to use the headers.
3821         * include/assert.h: Likewise.
3822         * include/ctype.h: Likewise.
3823         * include/dirent.h: Likewise.
3824         * include/dlfcn.h: Likewise.
3825         * include/fcntl.h: Likewise.
3826         * include/fnmatch.h: Likewise.
3827         * include/glob.h: Likewise.
3828         * include/grp.h: Likewise.
3829         * include/libio.h: Likewise.
3830         * include/locale.h: Likewise.
3831         * include/math.h: Likewise.
3832         * include/net/if.h: Likewise.
3833         * include/netdb.h: Likewise.
3834         * include/netinet/in.h: Likewise.
3835         * include/pthread.h: Likewise.
3836         * include/pwd.h: Likewise.
3837         * include/regex.h: Likewise.
3838         * include/sched.h: Likewise.
3839         * include/search.h: Likewise.
3840         * include/setjmp.h: Likewise.
3841         * include/signal.h: Likewise.
3842         * include/stdio.h: Likewise.
3843         * include/stdlib.h: Likewise.
3844         * include/string.h: Likewise.
3845         * include/sys/cdefs.h: Likewise.
3846         * include/sys/mman.h: Likewise.
3847         * include/sys/msg.h: Likewise.
3848         * include/sys/resource.h: Likewise.
3849         * include/sys/select.h: Likewise.
3850         * include/sys/socket.h: Likewise.
3851         * include/sys/stat.h: Likewise.
3852         * include/sys/statvfs.h: Likewise.
3853         * include/sys/time.h: Likewise.
3854         * include/sys/times.h: Likewise.
3855         * include/sys/uio.h: Likewise.
3856         * include/sys/utsname.h: Likewise.
3857         * include/sys/wait.h: Likewise.
3858         * include/termios.h: Likewise.
3859         * include/time.h: Likewise.
3860         * include/ulimit.h: Likewise.
3861         * include/unistd.h: Likewise.
3862         * include/utime.h: Likewise.
3863         * include/wchar.h: Likewise.
3864         * include/wctype.h: Likewise.
3865         * include/wordexp.h: Likewise.
3866
3867         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3868
3869         * time/time.h: TIME_UTC must be a macro.
3870         Make timespec_get available for ISO C11 only as well.
3871
3872 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
3873
3874         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3875         Reported by Peng Haitao <penght@cn.fujitsu.com>.
3876
3877 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3878
3879         * configure.in: Use -o not -a in test for unsupported multi-arch.
3880
3881 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3882
3883         * manual/texinfo.tex: Update to version 2012-01-19.16.
3884
3885 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3886
3887         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3888
3889 2012-02-24  Roland McGrath  <roland@hack.frob.com>
3890
3891         [BZ #13738]
3892         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3893         * manual/fdl-1.3.texi: New file.
3894         * manual/fdl-1.1.texi: File removed.
3895
3896         [BZ #13738]
3897         * manual/libc.texinfo (FDL_VERSION): New @set.
3898         Use it for mention of FDL in cover text.
3899         (Documentation License): Use it in @include file name.
3900
3901 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3902             Roland McGrath  <roland@hack.frob.com>
3903
3904         [BZ #5461]
3905         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3906         not LONG_LONG_MAX and LONG_LONG_MIN.
3907         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3908         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
3909         name.
3910         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3911
3912 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3913
3914         [BZ #2547]
3915         [BZ #11365]
3916         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3917         manipulate bits before adding and subtracting TWO23[sx].
3918         * math/libm-test.inc (nearbyint_test): Add more tests.
3919
3920 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3921
3922         [BZ #2548]
3923         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3924         bits before adding and subtracting TWO23[sx].
3925         * math/libm-test.inc (rint_test): Add more tests.
3926         (rint_test_tonearest): Likewise.
3927         (rint_test_towardzero): Likewise.
3928         (rint_test_downward): Likewise.
3929         (rint_test_upward: Likewise.
3930
3931 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3932
3933         [BZ #10110]
3934         * include/stdc-predef.h: New file.  Extracted from features.h.
3935         * include/features.h: Include stdc-predef.h.
3936         * Makefile (headers): Add stdc-predef.h.
3937         * CONFORMANCE (Compiler limitations): Update.
3938
3939 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3940
3941         * manual/libc.texinfo (VERSION, UPDATED): Revert.
3942
3943 2012-02-21  David S. Miller  <davem@davemloft.net>
3944
3945         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3946         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3947
3948 2012-02-20  David S. Miller  <davem@davemloft.net>
3949
3950         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3951         using a normal save/restore sequence, rather than allocating a
3952         dummy stack frame just to store a frame pointer and restore.
3953         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3954
3955 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3956
3957         * manual/install.texi: Fix stray word in line-wrapped comment.
3958
3959 2012-02-20  David S. Miller  <davem@davemloft.net>
3960
3961         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3962         both binutils and gcc support GOTDATA.
3963
3964         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3965         "rd %pc" in the PIC register setup sequences.
3966
3967         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3968         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3969         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3970         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3971         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3972         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3973         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3974         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3975         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3976         (SYSCALL_ERROR_HANDLER): Likewise.
3977         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3978         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3979         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3980         (SYSCALL_ERROR_HANDLER): Likewise.
3981
3982         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3983         (HAVE_GCC_GOTDATA): New.
3984         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3985         relocation support in both binutils and gcc.
3986         * sysdeps/sparc/elf/configure: Regenerate.
3987
3988         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3989         * sysdeps/sparc/sparc32/elf/configure: Delete.
3990         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3991         * sysdeps/sparc/sparc64/elf/configure: Delete.
3992         * sysdeps/sparc/elf/configure.in: New file.
3993         * sysdeps/sparc/elf/configure: Generate.
3994
3995         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3996         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3997         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3998         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3999         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4000
4001 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
4002
4003         * manual/install.texi: Do not mention specific glibc version
4004         numbers.
4005         * manual/libc.texinfo (VERSION, UPDATED): Update.
4006         (@copying): Use @copyright{} and range of years.
4007
4008 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
4009
4010         [BZ #13695]
4011         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4012         [crti.S not in sysdirs] (generated): Do not append.
4013         [crti.S not in sysdirs] (omit-deps): Likewise.
4014         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4015         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4016         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4017         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4018         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4019         Likewise.
4020         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4021         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4022         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4023         * csu/defs.awk: Remove file.
4024         * sysdeps/generic/initfini.c: Likewise.
4025         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4026         variable.
4027         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4028         Likewise.
4029
4030 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
4031
4032         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4033         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4034         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4035         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4036         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4037         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4038         <bits/epoll.h>.
4039         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4040         (__EPOLL_PACKED): Define to empty if not defined by
4041         <bits/epoll.h>.
4042         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4043         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4044         bits/epoll.h.
4045
4046 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
4047
4048         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4049         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4050         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4051         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4052         <bits/timerfd.h>.
4053         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4054         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4055         bits/timerfd.h.
4056
4057 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
4058
4059         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4060         in C locale.
4061         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4062         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4063         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4065
4066 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
4067
4068         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4069         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4070
4071 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
4072
4073         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4074         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4075         defined.
4076         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4077         Likewise.
4078         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4079         entry for 2.16.
4080
4081 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
4082
4083         * math/w_acos.c: Use non-signaling floating-point comparisons.
4084         * math/w_acosf.c: Likewise.
4085         * math/w_acosh.c: Likewise.
4086         * math/w_acoshf.c: Likewise.
4087         * math/w_acoshl.c: Likewise.
4088         * math/w_acosl.c: Likewise.
4089         * math/w_asin.c: Likewise.
4090         * math/w_asinf.c: Likewise.
4091         * math/w_asinl.c: Likewise.
4092         * math/w_atanh.c: Likewise.
4093         * math/w_atanhf.c: Likewise.
4094         * math/w_atanhl.c: Likewise.
4095         * math/w_exp2.c: Likewise.
4096         * math/w_exp2f.c: Likewise.
4097         * math/w_exp2l.c: Likewise.
4098         * math/w_j0.c: Likewise.
4099         * math/w_j0f.c: Likewise.
4100         * math/w_j0l.c: Likewise.
4101         * math/w_j1.c: Likewise.
4102         * math/w_j1f.c: Likewise.
4103         * math/w_j1l.c: Likewise.
4104         * math/w_jn.c: Likewise.
4105         * math/w_jnf.c: Likewise.
4106         * math/w_log.c: Likewise.
4107         * math/w_log10.c: Likewise.
4108         * math/w_log10f.c: Likewise.
4109         * math/w_log10l.c: Likewise.
4110         * math/w_log2.c: Likewise.
4111         * math/w_log2f.c: Likewise.
4112         * math/w_log2l.c: Likewise.
4113         * math/w_logf.c: Likewise.
4114         * math/w_logl.c: Likewise.
4115         * math/w_sqrt.c: Likewise.
4116         * math/w_sqrtf.c: Likewise.
4117         * math/w_sqrtl.c: Likewise.
4118         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4119         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4120         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4121         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4122         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4123
4124 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
4125
4126         [BZ #9739]
4127         * manual/string.texi (strnlen): Use correct parameter name in
4128         equivalent expression.
4129
4130 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
4131
4132         [BZ #11174]
4133         * manual/users.texi (seteuid): Consistently use neweuid for
4134         argument name.
4135
4136 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
4137
4138         [BZ #13704]
4139         * manual/nss.texi (Services in the NSS configuration): Correct
4140         list of services in example configuration file.
4141
4142 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
4143
4144         [BZ #11322]
4145         * manual/arith.texi: Remove statements about negative zero
4146         behaving identically to zero.
4147
4148 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
4149
4150         [BZ #5993]
4151         * manual/install.texi: Do not document upgrading from libc5.
4152
4153 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
4154
4155         [BZ #4596]
4156         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4157
4158 2012-02-18  David S. Miller  <davem@davemloft.net>
4159
4160         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4161         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4162         %o7 across the call.
4163         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4164         instead.
4165         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4166         SETUP_PIC_REG_LEAF.
4167         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4168         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4169         * sysdeps/sparc/crtn.S: Likewise.
4170
4171 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
4172
4173         * aout/Makefile: Remove.
4174
4175 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
4176
4177         [BZ #13058]
4178         * manual/examples/argp-ex1.c (main): Format definition in GNU
4179         style.
4180         * manual/examples/argp-ex2.c (main): Likewise.
4181         * manual/examples/argp-ex3.c (main): Likewise.
4182         * manual/examples/argp-ex4.c (main): Likewise.
4183         * manual/examples/longopt.c (main): Use new-style prototype
4184         definition.
4185         * manual/examples/strncat.c (main): Specify return type and use
4186         (void) for arguments.
4187         * manual/examples/subopt.c (main): Use char **argv argument.
4188
4189 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4190
4191         [BZ #5077]
4192         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4193         rounding modes.
4194
4195 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
4196
4197         [BZ #6907]
4198         * manual/string.texi (strchr): Change when strchrnul is
4199         recommended.
4200
4201 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
4202
4203         [BZ #174]
4204         * manual/locale.texi (setlocale): Document LOCPATH.
4205
4206 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4207
4208         [BZ #10210]
4209         * manual/process.texi (execle): Move @dots{} before last argument.
4210
4211 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
4212
4213         [BZ #12047]
4214         * manual/charset.texi (Generic Charset Conversion): Fix typo
4215         (LC_TYPE -> LC_CTYPE).
4216
4217 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
4218
4219         [BZ #5805]
4220         * manual/arith.texi (scalbn): Use @var{} on parameter names.
4221         (scalbnf): Likewise.
4222         (scalbnl): Likewise.
4223         (scalbln): Likewise.
4224         (scalblnf): Likewise.
4225         (scalblnl): Likewise.
4226         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4227         (vwarnx): Likewise.
4228         (verr): Likewise.
4229         (verrx): Likewise.
4230         * manual/filesys.texi (telldir): Use braces around return type.
4231         * manual/llio.texi (mmap): Add space after comma.
4232         (mmap64): Likewise.
4233         * manual/math.texi (jn): Use @var{} on parameter names.
4234         (jnf): Likewise.
4235         (jnl): Likewise.
4236         (yn): Likewise.
4237         (ynf): Likewise.
4238         (ynl): Likewise.
4239         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4240         line.
4241         * manual/resource.texi (ulimit): Use @dots{} instead of literal
4242         "...".
4243         (sched_get_priority_min): Remove semicolon on @deftypefun line.
4244         (sched_get_priority_max): Likewise.
4245         * manual/signal.texi (sigvec): Add space after comma.
4246         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4247         names.
4248         (if_indextoname): Likewise.
4249         (if_freenameindex): Likewise.
4250         (sendto): Use ',' instead of '.' in prototype.
4251         * manual/startup.texi (syscall): Use @dots{} instead of literal
4252         "...".
4253         * manual/stdio.texi (__fpending): Separate initial words of
4254         paragraph from @deftypefun line.
4255         * manual/syslog.texi (syslog): Use @dots{} instead of literal
4256         "...".
4257         (vsyslog): Use @var{} on parameter names.
4258         * manual/terminal.texi (stty): Use @var{} on parameter names.
4259         * manual/users.texi (getutmp): Use @var{} on parameter names.
4260         (getutmpx): Likewise.
4261
4262 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4263
4264         [BZ #6884]
4265         * manual/stdio.texi (fopen): Fix typos in description of
4266         ",ccs=STRING".
4267
4268 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
4269
4270         [BZ #4026]
4271         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4272         get clock_id definition.
4273
4274 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
4275
4276         [BZ #4822]
4277         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4278         (madvise): Cast every argument to void on its own.
4279
4280 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4281
4282         [BZ #9902]
4283         * manual/startup.texi (Exit Status): Fix typo.
4284
4285 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4286
4287         [BZ #10140]
4288         * manual/examples/argp-ex1.c: Include <stdlib.h>.
4289         * manual/examples/argp-ex2.c: Likewise.
4290         * manual/examples/argp-ex3.c: Likewise.
4291
4292 2012-02-16  Richard Henderson  <rth@redhat.com>
4293
4294         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4295         * sysdeps/s390/s390-32/initfini.c: Remove.
4296         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4297         * sysdeps/s390/s390-64/initfini.c: Remove.
4298
4299 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4300
4301         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4302         compiler output for sysdeps/generic/initfini.c.
4303         * sysdeps/sh/elf/initfini.c: Remove file.
4304
4305 2012-02-16  David S. Miller  <davem@davemloft.net>
4306
4307         [BZ #11494]
4308         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4309
4310         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4311         * sysdeps/sparc/crti.S: New file.
4312         * sysdeps/sparc/crtn.S: New file.
4313         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4314         * sysdeps/sparc/sparc64/Makefile: Likewise.
4315
4316 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
4317
4318         [BZ #3335]
4319         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4320
4321 2012-02-15  Roland McGrath  <roland@hack.frob.com>
4322
4323         [BZ #4822]
4324         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4325
4326         * mach/devstream.c (cookie_io_functions_t): Macro removed.
4327         (write, read, close): Likewise.
4328         Patch by Aurelien Jarno <aurelien@aurel32.net>.
4329
4330 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
4331
4332         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4333         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4334         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4335         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4336         <bits/signalfd.h>.
4337         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4338         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4339         bits/signalfd.h.
4340
4341 2012-02-14  Marek Polacek  <polacek@redhat.com>
4342
4343         * sysdeps/x86_64/crti.S: New file.
4344         * sysdeps/x86_64/crtn.S: New file.
4345         * sysdeps/x86_64/elf/initfini.c: Remove file.
4346
4347 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
4348
4349         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4350         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4351         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4352         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4353         <bits/inotify.h>.
4354         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4355         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4356         bits/inotify.h.
4357
4358 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
4359
4360         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4361         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4362         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4363         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4364         <bits/eventfd.h>.
4365         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4366         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4367         bits/eventfd.h.
4368
4369 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
4370
4371         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4372         __feraiseexcept instead of feraiseexcept.
4373
4374         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4375         nanosleep invocations.
4376         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4377         strings, and add error checking for a nanosleep invocations.
4378
4379 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
4380
4381         Replace FSF snail mail address with URLs, as per GNU coding standards.
4382         Most of the snail mail addresses were wrong anyway, and omitting
4383         them makes the source code easier to maintain.  Almost all of the
4384         changes are to license notices and to locale LC_IDENTIFICATION
4385         addresses, except for this one:
4386         * manual/libc.texinfo: In "Published by", give the FSF's URL,
4387         not its snail mail address.
4388
4389 2012-02-09  Richard Henderson  <rth@twiddle.net>
4390
4391         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4392         of kernel-features.h.
4393
4394         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4395
4396 2012-02-08  Marek Polacek  <polacek@redhat.com>
4397
4398         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4399         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4400         * sysdeps/gnu/_G_config.h: Likewise.
4401         * sysdeps/generic/_G_config.h: Likewise.
4402
4403 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
4404
4405         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4406         tests.
4407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4408
4409         * sysdeps/powerpc/powerpc32/crti.S: New file.
4410         * sysdeps/powerpc/powerpc32/crtn.S: New file.
4411         * sysdeps/powerpc/powerpc64/crti.S: New file.
4412         * sysdeps/powerpc/powerpc64/crtn.S: New file.
4413
4414         * Makeconfig (have-initfini): Don't set.
4415         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4416         * configure.in (nopic_initfini): Don't substitute.
4417         * config.h.in (HAVE_INITFINI): Don't #undef.
4418         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4419         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4420
4421 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
4422
4423         Support crti.S and crtn.S provided directly by architectures.
4424         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4425         [crti.S in sysdirs] (omit-deps): Likewise.
4426         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4427         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4428         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4429         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4430         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4431         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4432         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4433         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4434         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4435         compiler output for sysdeps/generic/initfini.c.
4436         * sysdeps/i386/elf/Makefile: Remove file.
4437         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4438
4439 2012-02-07  Marek Polacek  <polacek@redhat.com>
4440
4441         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4442         * sysdeps/gnu/_G_config.h: Likewise.
4443         * sysdeps/mach/hurd/_G_config.h: Likewise.
4444
4445 2012-02-07  Marek Polacek  <polacek@redhat.com>
4446
4447         * math/Makefile (tests): Add tst-CMPLX2.
4448         * math/tst-CMPLX2.c: New file.
4449
4450 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
4451
4452         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4453
4454         * math/libm-test.inc (jn_test): Add missing L suffix.
4455
4456 2012-02-06  Marek Polacek  <polacek@redhat.com>
4457
4458         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4459         * sysdeps/i386/fpu/e_powf.S: Likewise.
4460         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4461         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4462         * sysdeps/i386/fpu/e_acosh.S: Likewise.
4463         * sysdeps/i386/fpu/e_pow.S: Likewise.
4464         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4465         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4466         * sysdeps/i386/fpu/s_expm1.S: Likewise.
4467         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4468         * sysdeps/i386/fpu/e_log2.S: Likewise.
4469         * sysdeps/i386/fpu/e_log2l.S: Likewise.
4470         * sysdeps/i386/fpu/e_scalb.S: Likewise.
4471         * sysdeps/i386/fpu/e_powl.S: Likewise.
4472         * sysdeps/i386/fpu/s_log1p.S: Likewise.
4473         * sysdeps/i386/fpu/e_log10f.S: Likewise.
4474         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4475         * sysdeps/i386/fpu/e_logl.S: Likewise.
4476         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4477         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4478         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4479         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4480         * sysdeps/i386/fpu/e_log2f.S: Likewise.
4481         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4482         * sysdeps/i386/fpu/e_log.S: Likewise.
4483         * sysdeps/i386/fpu/s_cexp.S: Likewise.
4484         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4485         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4486         * sysdeps/i386/fpu/e_logf.S: Likewise.
4487         * sysdeps/i386/fpu/e_log10l.S: Likewise.
4488         * sysdeps/i386/fpu/e_atanh.S: Likewise.
4489         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4490         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4491         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4492         * sysdeps/i386/fpu/e_log10.S: Likewise.
4493         * sysdeps/i386/fpu/s_frexp.S: Likewise.
4494         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4495         * sysdeps/i386/fpu/s_asinh.S: Likewise.
4496         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4497         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4498         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4499         * sysdeps/i386/asm-syntax.h: Likewise.
4500         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4501         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4502         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4503         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4504         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4505         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4506         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4507         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4508         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4509         * sysdeps/powerpc/sysdep.h: Likewise.
4510         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4511         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4512
4513 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4514
4515         [BZ #411]
4516         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4517
4518 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4519
4520         * sysdeps/i386/sysdep.h: Include <features.h>.
4521         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4522         version.
4523
4524 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
4525
4526         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4527         Define.
4528         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4529         LOAD_PIC_REG_STR.
4530
4531 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4532
4533         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4534         (SETUP_PIC_REG): Use GET_PC_THUNK.
4535         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4536         macro.
4537
4538 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4539
4540         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4541         for non-PIC compilation.
4542         (SETUP_PIC_REG): Add .p2align directive.
4543         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4544         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4545         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4546         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4547         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4548         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4549         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4550         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4551         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4552         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4553         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4554         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4555         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4556         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4557         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4558         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4559         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4560         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4561         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4562         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4563         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4564         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4565         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4566         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4567         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4568         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4569         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4570         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4571         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4572         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4573         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4574         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4575         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4576         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4577         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4578         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4579         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4580         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4581         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4582         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4583         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4584
4585 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4586
4587         * math/tst-CMPLX.c: Include <stdio.h>.
4588
4589 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
4590
4591         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4592         float.
4593         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4594         * sysdeps/sparc/bits/mathdef.h: Likewise.
4595
4596 2012-01-31  Marek Polacek  <polacek@redhat.com>
4597
4598         * libio/libio.h: Don't define _PARAMS.
4599         * locale/programs/config.h: Don't define PARAMS.
4600         * stdlib/strtol_l.c: Likewise.
4601         (__strtol_l): Remove PARAMS from the prototype.
4602
4603 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
4604
4605         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
4606         names.  Just use the correct names.  Remove unnecessary wrapper
4607         functions.
4608         * malloc/arena.c: Likewise.
4609         * malloc/hooks.c: Likewise.
4610
4611         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4612         ARENA_TEST says not to.  Simplify test for creation of a new arena.
4613         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4614
4615 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
4616
4617         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4618         into tail calls.
4619         (update_get_addr): New function.
4620         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4621         GET_ADDR_MODULE parameter.
4622
4623 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
4624
4625         * crypt/cert.c: Remove __STDC__ conditionals.
4626         * crypt/crypt-entry.c: Likewise.
4627         * crypt/crypt_util.c: Likewise.
4628         * libio/filedoalloc.c: Likewise.
4629         * libio/fileops.c: Likewise.
4630         * libio/genops.c: Likewise.
4631         * libio/iofclose.c: Likewise.
4632         * libio/iofdopen.c: Likewise.
4633         * libio/iofopen.c: Likewise.
4634         * libio/iofopen64.c: Likewise.
4635         * libio/iogetdelim.c: Likewise.
4636         * libio/iopopen.c: Likewise.
4637         * libio/obprintf.c: Likewise.
4638         * libio/oldfileops.c: Likewise.
4639         * libio/oldiofclose.c: Likewise.
4640         * libio/oldiofdopen.c: Likewise.
4641         * libio/oldiofopen.c: Likewise.
4642         * libio/oldiopopen.c: Likewise.
4643         * libio/wfiledoalloc.c: Likewise.
4644         * libio/wgenops.c: Likewise.
4645         * locale/programs/xmalloc.c: Likewise.
4646         * misc/syslog.c: Likewise.
4647         * stdio-common/xbug.c: Likewise.
4648         * string/memchr.c: Likewise.
4649         * string/memcmp.c: Likewise.
4650         * string/memrchr.c: Likewise.
4651         * string/rawmemchr.c: Likewise.
4652         * sysdeps/posix/getcwd.c: Likewise.
4653         * time/strftime_l.c: Likewise.
4654
4655 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
4656
4657         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
4658         * config.make.in (config-cflags-sse2avx): Define.
4659         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4660         Fix typo.
4661
4662 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
4663
4664         * scripts/config.guess: Update from upstream config git repository.
4665         * scripts/config.sub: Likewise.
4666
4667 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
4668
4669         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4670         (EM_NUM): Update.
4671         (R_TILEPRO_*, R_TILEGX_*): New macros.
4672
4673         * scripts/firstversions.awk: Fix bug in version range handling.
4674
4675         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4676
4677         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4678
4679         * include/sys/epoll.h: New file.
4680         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4681         libc_hidden_def.
4682
4683 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
4684
4685         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4686         Avoid unnecessary __WORDSIZE == 64 test.
4687         (fmaxf): Use VEX format if possible.
4688         (fmax): Likewise.
4689         (fminf): Likewise.
4690         (fmin): Likewise.
4691
4692         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4693         * math/math_private.h: Remove libc_fegetround* and
4694         libc_fesetround*.
4695         * sysdeps/i386/configure.in: Check for -msse2avx.
4696         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4697         also if SSE2AVX is defined.
4698         Remove libc_fegetround* and libc_fesetround*.
4699         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4700         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
4701         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4702         of HAS_YMM_USABLE.
4703         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4704         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4705         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4706         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4707         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4708
4709         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4710
4711 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4712
4713         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4714         size is not set.
4715         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4716
4717 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
4718
4719         [BZ #13618]
4720         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4721         relocation.
4722         * Makeconfig (libm): Define.
4723         * elf/Makefile: Add rules to build and run tst-relsort1.
4724         * elf/tst-relsort1.c: New file.
4725         * elf/tst-relsort1mod1.c: New file.
4726         * elf/tst-relsort1mod2.c: New file.
4727
4728 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
4729
4730         * math/s_ldexp.c: Remove __STDC__ conditionals.
4731         * math/s_ldexpf.c: Likewise.
4732         * math/s_ldexpl.c: Likewise.
4733         * math/s_nextafter.c: Likewise.
4734         * math/s_nexttowardf.c: Likewise.
4735         * math/s_significand.c: Likewise.
4736         * math/s_significandf.c: Likewise.
4737         * math/s_significandl.c: Likewise.
4738         * math/w_jnl.c: Likewise.
4739         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4740         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4741         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4742         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4743         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4744         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4745         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4746         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4747         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4748         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4749         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4750         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4751         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4752         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4753         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4754         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4755         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4756         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4757         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4758         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4759         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4760         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4761         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4762         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4763         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4764         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4765         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4766         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4767         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4768         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4769         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4770         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4771         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4772         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4773         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4774         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4775         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4776         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4777         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4778         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4779         * sysdeps/ieee754/k_standard.c: Likewise.
4780         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4781         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4782         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4783         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4784         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4785         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4786         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4787         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4788         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4789         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4790         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4791         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4792         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4793         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4794         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4795         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4796         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4797         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4798         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4799         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4800         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4801         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4802         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4803         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4804         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4805         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4806         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4807         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4808         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4809         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4810         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4811         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4812         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4813         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4814         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4815         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4816         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4817         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4818         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4819         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4820         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4821         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4822         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4823         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4824         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4825         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4826         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4827         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4828         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4829         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4830         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4831         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4832         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4833         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4834         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4835         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4836         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4837         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4838         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4839         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4840         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4841         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4842         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4843         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4844         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4845         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4846         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4847         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4848         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4849         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4850         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4851         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4852         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4853         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4854         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4855         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4856         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4857         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4858         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4859         * sysdeps/ieee754/s_matherr.c: Likewise.
4860         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4861         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4862         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4863         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4864
4865 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
4866
4867         * crypt/md5.h: Remove __STDC__ conditionals.
4868         * libio/libioP.h: Likewise.
4869         * locale/programs/config.h: Likewise.
4870         * sysdeps/generic/sysdep.h: Likewise.
4871         * sysdeps/i386/asm-syntax.h: Likewise.
4872         * sysdeps/s390/asm-syntax.h: Likewise.
4873         * sysdeps/unix/sysdep.h: Likewise.
4874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4876
4877 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
4878
4879         * libio/libio.h: Remove __STDC__ conditionals.
4880         * malloc/obstack.h: Likewise.
4881         * math/complex.h: Likewise.
4882         * math/math.h: Likewise.
4883         * sysdeps/generic/_G_config.h: Likewise.
4884         * sysdeps/gnu/_G_config.h: Likewise.
4885         * sysdeps/mach/hurd/_G_config.h: Likewise.
4886         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4887         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4888         * sysdeps/sparc/bits/mathdef.h: Likewise.
4889
4890 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
4891
4892         [BZ #13583]
4893         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4894         Clean up HAS_* macros.
4895         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4896         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4897         possible.
4898         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4899         HAS_AVX.
4900         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4901         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4902         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4903         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4904         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4905
4906 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
4907
4908         * elf/tst-unique3.cc (gets): Remove declaration.
4909         * elf/tst-unique3lib.cc (gets): Likewise.
4910         * elf/tst-unique3lib2.cc (gets): Likewise.
4911         * elf/tst-unique4.cc (gets): Likewise.
4912
4913 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
4914
4915         * include/stdio.h: Add C++ protection.  Add gets declarations and
4916         definitions.
4917         * debug/tst-chk1.c: Don't declare gets here.
4918         * stdio-common/tst-gets.c: Likewise.
4919
4920 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
4921
4922         * posix/glob: Remove directory.
4923
4924 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
4925
4926         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4927
4928 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
4929
4930         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4931         of the non-standard EPFNOSUPPORT.
4932
4933 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4934
4935         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4936         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4937         ANYWHERE set to 1 only on KERN_NO_SPACE error.
4938
4939 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
4940
4941         * wcsmbs/uchar.h: Test __STDC_VERSION__.
4942
4943 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
4944
4945         * nscd/aicache.c (addhstaiX): Do not cache negative results of
4946         transient errors.
4947         * nscd/grpcache.c (cache_addgr): Likewise.
4948         * nscd/hstcache.c (cache_addhst): Likewise.
4949         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4950         * nscd/pwdcache.c (cache_addpw): Likewise.
4951         * nscd/servicescache.c (cache_addserv): Likewise.
4952
4953 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
4954
4955         * malloc/malloc.c: Various cleanups.
4956         * malloc/hooks.c: Likewise.
4957
4958         * stdlib/Makefile (tests): Add bug-fmtmsg1.
4959         * stdlib/bug-fmtmsg1.c: New file.
4960
4961         * stdlib/fmtmsg.c (init): Add missing unlock.
4962         Patch by Peng Haitao <penght@cn.fujitsu.com>.
4963
4964 2012-01-12  Marek Polacek  <polacek@redhat.com>
4965
4966         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4967         and _GNU_SOURCE.
4968
4969 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
4970
4971         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4972         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4973         macro to ensure uniqueness of label name.
4974         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4975         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4976
4977 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
4978
4979         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4980
4981         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4982         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4983         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4984         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4985
4986 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
4987
4988         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4989
4990         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4991         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4992         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4993
4994         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4995
4996         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4997         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4998         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4999         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
5000
5001         * math/bits/math-finite.h: Add ldexp support.
5002
5003 2012-01-10  Marek Polacek  <polacek@redhat.com>
5004
5005         * locale/programs/localedef.h (show_archive_content): Add noreturn
5006         attribute.
5007
5008 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
5009
5010         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5011
5012 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
5013
5014         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5015
5016         * io/Makefile (headers): Add bits/poll2.h.
5017
5018 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
5019
5020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5021         typo #include statement.
5022
5023 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
5024
5025         * include/sys/cdefs.h: Define __attribute_alloc_size.
5026         * catgets/gencat.c: Add alloc_size attribute and apply consistently
5027         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5028         * elf/pldd.c: Likewise.
5029         * iconv/iconv_charmap.c: Likewise.
5030         * iconv/iconvconfig.c: Likewise.
5031         * iconv/strtab.c: Likewise.
5032         * locale/programs/locale.c: Likewise.
5033         * locale/programs/localedef.h: Likewise.
5034         * locale/programs/simple-hash.c: Likewise.
5035         * nscd/nscd.h: Likewise.
5036         * nss/makedb.c: Likewise.
5037         * sysdeps/generic/ldconfig.h: Likewise.
5038         * locale/programs/localedef.c: Remove xmalloc prototype.
5039         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5040
5041 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5042
5043         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5044         appropriate.
5045
5046 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
5047
5048         * math/Makefile (tests): Add tst-CMPLX.
5049         * math/tst-CMPLX.c: New file.
5050
5051         * math/complex.h (CMPLXL): Fix typo.
5052
5053         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5054         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5055         GLIBC_2.16.
5056         * debug/tst-chk1.c: Add poll and ppoll tests.
5057         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5058         * include/sys/poll.h: Add hidden proto for ppoll.
5059         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5060         * sysdeps/mach/hurd/ppoll.c: Likewise.
5061         * io/ppoll.c: Likewise.
5062         * debug/poll_chk.c: New file.
5063         * debug/ppoll_chk.c: New file.
5064         * include/bits/poll2.h: New file.
5065         * io/bits/poll2.h: New file.
5066
5067         [BZ #1350]
5068         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5069
5070         * configure.in: static is always set to yes.  Remove.
5071         * config.make.in: Don't set build-static.
5072         * Makeconfig: Remove use of build-static.
5073         * dlfcn/Makefile: Likewise.
5074         * elf/Makefile: Likewise.
5075         * math/Makefile: Likewise.
5076         * misc/Makefile: Likewise.
5077         * nptl/Makefile: Likewise.
5078         * sysdeps/mach/hurd/Makefile: Likewise.
5079
5080         * configure.in: PWD_P is not used anymore.
5081         * config.make.in: Remove PWD_P entry.
5082
5083         * configure.in: Remove last remnants of RANLIB.
5084         No need to check for signed size_t anymore.
5085         Don't set libc_commonpagesize and libc_relro_required here for Alpha
5086         and IA-64.
5087         Remove __builtin_expect test because we require at least gcc 3.4.
5088         * aclocal.m4: Likewise.
5089
5090         * wcsmbs/mbrtoc16.c: Implement using towc function.
5091         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5092         * wcsmbs/wcsmbsload.c: Likewise.
5093         * iconv/gconv_simple.c: Likewise.
5094         * iconv/gconv_int.h: Likewise.
5095         * iconv/gconv_builtin.h: Likewise.
5096         * iconv/iconv_prog.c: Remove CHAR16 handling.
5097
5098         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5099
5100         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5101
5102         * configure.in: Remove --with-elf and --enable-bounded options.
5103         Dont set base_machine for ia64.  More non-ELF conditions removed.
5104         Remove testing and setting of leading underscore information.
5105         * config.make.in (build-bounded): Set to no.
5106         * config.h.in: Remove NO_UNDERSCORES entry.
5107         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
5108         them.
5109         * csu/start.c: Remove !NO_UNDERSCORE code.
5110         * locale/localeinfo.h: Likewise.
5111         * sysdeps/generic/machine-gmon.h: Likewise.
5112         * sysdeps/generic/sysdep.h: Likewise.
5113         * sysdeps/i386/sysdep.h: Likewise.
5114         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5115         * sysdeps/mach/sysdep.h: Likewise.
5116         * sysdeps/s390/s390-32/sysdep.h: Likewise.
5117         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5118         * sysdeps/sh/sysdep.h: Likewise.
5119         * sysdeps/sparc/sparc32/alloca.S: Likewise.
5120         * sysdeps/unix/i386/sysdep.S: Likewise.
5121         * sysdeps/unix/sparc/start.c: Likewise.
5122         * sysdeps/unix/sparc/sysdep.S: Likewise.
5123         * sysdeps/unix/sparc/sysdep.h: Likewise.
5124         * sysdeps/unix/start.c: Likewise.
5125         * sysdeps/unix/x86_64/sysdep.S: Likewise.
5126         * sysdeps/x86_64/sysdep.h: Likewise.
5127
5128 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
5129
5130         [BZ #13553]
5131         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5132         for non-gcc.
5133         * argp/argp-fmtstream.h: Use const instead __const.
5134         * argp/argp.h: Likewise.
5135         * assert/assert.h: Likewise.
5136         * bits/fenv.h: Likewise.
5137         * bits/sched.h: Likewise.
5138         * bits/sigset.h: Likewise.
5139         * bits/sigthread.h: Likewise.
5140         * catgets/nl_types.h: Likewise.
5141         * conform/data/pthread.h-data: Likewise.
5142         * crypt/crypt-private.h: Likewise.
5143         * crypt/crypt.h: Likewise.
5144         * crypt/crypt_util.c: Likewise.
5145         * ctype/ctype.h: Likewise.
5146         * debug/execinfo.h: Likewise.
5147         * debug/mbsnrtowcs_chk.c: Likewise.
5148         * debug/mbsrtowcs_chk.c: Likewise.
5149         * debug/wcsnrtombs_chk.c: Likewise.
5150         * debug/wcsrtombs_chk.c: Likewise.
5151         * debug/wcstombs_chk.c: Likewise.
5152         * dirent/dirent.h: Likewise.
5153         * dlfcn/dlfcn.h: Likewise.
5154         * elf/neededtest4.c: Likewise.
5155         * grp/grp.h: Likewise.
5156         * gshadow/gshadow.h: Likewise.
5157         * iconv/gconv.h: Likewise.
5158         * iconv/gconv_int.h: Likewise.
5159         * iconv/gconv_simple.c: Likewise.
5160         * iconv/iconv.h: Likewise.
5161         * iconv/loop.c: Likewise.
5162         * iconv/skeleton.c: Likewise.
5163         * include/aio.h: Likewise.
5164         * include/aliases.h: Likewise.
5165         * include/argz.h: Likewise.
5166         * include/arpa/inet.h: Likewise.
5167         * include/assert.h: Likewise.
5168         * include/dirent.h: Likewise.
5169         * include/dlfcn.h: Likewise.
5170         * include/execinfo.h: Likewise.
5171         * include/fcntl.h: Likewise.
5172         * include/fenv.h: Likewise.
5173         * include/glob.h: Likewise.
5174         * include/grp.h: Likewise.
5175         * include/libintl.h: Likewise.
5176         * include/mntent.h: Likewise.
5177         * include/netdb.h: Likewise.
5178         * include/pwd.h: Likewise.
5179         * include/rpc/netdb.h: Likewise.
5180         * include/sched.h: Likewise.
5181         * include/search.h: Likewise.
5182         * include/shadow.h: Likewise.
5183         * include/signal.h: Likewise.
5184         * include/stdio.h: Likewise.
5185         * include/stdlib.h: Likewise.
5186         * include/string.h: Likewise.
5187         * include/sys/socket.h: Likewise.
5188         * include/sys/stat.h: Likewise.
5189         * include/sys/statfs.h: Likewise.
5190         * include/sys/statvfs.h: Likewise.
5191         * include/sys/syslog.h: Likewise.
5192         * include/sys/time.h: Likewise.
5193         * include/sys/uio.h: Likewise.
5194         * include/time.h: Likewise.
5195         * include/unistd.h: Likewise.
5196         * include/utmp.h: Likewise.
5197         * include/wchar.h: Likewise.
5198         * include/wctype.h: Likewise.
5199         * inet/aliases.h: Likewise.
5200         * inet/arpa/inet.h: Likewise.
5201         * inet/netinet/ether.h: Likewise.
5202         * inet/netinet/in.h: Likewise.
5203         * intl/libintl.h: Likewise.
5204         * io/bits/fcntl2.h: Likewise.
5205         * io/fcntl.h: Likewise.
5206         * io/ftw.h: Likewise.
5207         * io/sys/poll.h: Likewise.
5208         * io/sys/stat.h: Likewise.
5209         * io/sys/statfs.h: Likewise.
5210         * io/sys/statvfs.h: Likewise.
5211         * io/utime.h: Likewise.
5212         * libio/bits/stdio.h: Likewise.
5213         * libio/bits/stdio2.h: Likewise.
5214         * libio/libio.h: Likewise.
5215         * libio/libioP.h: Likewise.
5216         * libio/stdio.h: Likewise.
5217         * locale/lc-ctype.c: Likewise.
5218         * locale/locale.h: Likewise.
5219         * login/utmp.h: Likewise.
5220         * malloc/arena.c: Likewise.
5221         * malloc/malloc.c: Likewise.
5222         * malloc/malloc.h: Likewise.
5223         * malloc/mcheck.c: Likewise.
5224         * malloc/mtrace.c: Likewise.
5225         * math/bits/mathcalls.h: Likewise.
5226         * math/fenv.h: Likewise.
5227         * math/math_private.h: Likewise.
5228         * misc/bits/error.h: Likewise.
5229         * misc/bits/syslog.h: Likewise.
5230         * misc/err.h: Likewise.
5231         * misc/error.h: Likewise.
5232         * misc/fstab.h: Likewise.
5233         * misc/mntent.h: Likewise.
5234         * misc/regexp.h: Likewise.
5235         * misc/search.h: Likewise.
5236         * misc/sgtty.h: Likewise.
5237         * misc/sys/mman.h: Likewise.
5238         * misc/sys/syslog.h: Likewise.
5239         * misc/sys/uio.h: Likewise.
5240         * misc/sys/xattr.h: Likewise.
5241         * misc/ttyent.h: Likewise.
5242         * nis/rpcsvc/ypclnt.h: Likewise.
5243         * nss/nss.h: Likewise.
5244         * posix/bits/unistd.h: Likewise.
5245         * posix/fnmatch.h: Likewise.
5246         * posix/glob.h: Likewise.
5247         * posix/sched.h: Likewise.
5248         * posix/spawn.h: Likewise.
5249         * posix/sys/wait.h: Likewise.
5250         * posix/unistd.h: Likewise.
5251         * posix/wordexp.h: Likewise.
5252         * pwd/pwd.h: Likewise.
5253         * resolv/netdb.h: Likewise.
5254         * resource/sys/resource.h: Likewise.
5255         * rt/aio.h: Likewise.
5256         * rt/bits/mqueue2.h: Likewise.
5257         * rt/mqueue.h: Likewise.
5258         * shadow/shadow.h: Likewise.
5259         * signal/signal.h: Likewise.
5260         * socket/send.c: Likewise.
5261         * socket/sendto.c: Likewise.
5262         * socket/sys/socket.h: Likewise.
5263         * stdio-common/printf.h: Likewise.
5264         * stdlib/bits/stdlib.h: Likewise.
5265         * stdlib/fmtmsg.h: Likewise.
5266         * stdlib/monetary.h: Likewise.
5267         * stdlib/stdlib.h: Likewise.
5268         * stdlib/ucontext.h: Likewise.
5269         * streams/stropts.h: Likewise.
5270         * string/argz.h: Likewise.
5271         * string/bits/string2.h: Likewise.
5272         * string/string.h: Likewise.
5273         * string/strings.h: Likewise.
5274         * sunrpc/rpc/auth.h: Likewise.
5275         * sunrpc/rpc/auth_des.h: Likewise.
5276         * sunrpc/rpc/clnt.h: Likewise.
5277         * sunrpc/rpc/netdb.h: Likewise.
5278         * sunrpc/rpc/pmap_clnt.h: Likewise.
5279         * sunrpc/rpc/xdr.h: Likewise.
5280         * sysdeps/generic/inttypes.h: Likewise.
5281         * sysdeps/generic/net/if.h: Likewise.
5282         * sysdeps/generic/sys/swap.h: Likewise.
5283         * sysdeps/gnu/net/if.h: Likewise.
5284         * sysdeps/gnu/utmpx.h: Likewise.
5285         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5286         * sysdeps/i386/i486/bits/string.h: Likewise.
5287         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5288         * sysdeps/s390/bits/string.h: Likewise.
5289         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5290         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5291         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5292         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5293         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5294         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5295         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5296         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5297         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5298         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5299         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5300         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5301         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5302         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5303         * sysdeps/unix/sysv/linux/readv.c: Likewise.
5304         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5305         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5306         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5307         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5308         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5309         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5310         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5311         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5312         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5313         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5314         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5315         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5316         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5317         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5318         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5319         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5320         * sysvipc/sys/ipc.h: Likewise.
5321         * sysvipc/sys/msg.h: Likewise.
5322         * sysvipc/sys/sem.h: Likewise.
5323         * sysvipc/sys/shm.h: Likewise.
5324         * termios/termios.h: Likewise.
5325         * time/sys/time.h: Likewise.
5326         * time/time.h: Likewise.
5327         * wcsmbs/bits/wchar2.h: Likewise.
5328         * wcsmbs/uchar.h: Likewise.
5329         * wcsmbs/wchar.h: Likewise.
5330         * wctype/wctype.h: Likewise.
5331
5332         [BZ #13551]
5333         * Makeconfig: Remove all but ELF support including AIX support.
5334         * Makerules: Likewise.
5335         * config.h.in: Likewise.
5336         * config.make.in: Likewise.
5337         * configure: Likewise.
5338         * configure.in: Likewise.
5339         * csu/Makefile: Likewise.
5340         * csu/version.c: Likewise.
5341         * debug/Makefile: Likewise.
5342         * dlfcn/Makefile: Likewise.
5343         * elf/Makefile: Likewise.
5344         * extra-lib.mk: Likewise.
5345         * iconv/Makefile: Likewise.
5346         * include/libc-symbols.h: Likewise.
5347         * include/shlib-compat.h: Likewise.
5348         * resolv/Makefile: Likewise.
5349         * resolv/res_libc.c: Likewise.
5350         * rt/Makefile: Likewise.
5351         * sysdeps/i386/asm-syntax.h: Likewise.
5352         * sysdeps/i386/sysdep.h: Likewise.
5353         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5354         * sysdeps/mach/sysdep.h: Likewise.
5355         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5356         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5357         * sysdeps/s390/asm-syntax.h: Likewise.
5358         * sysdeps/s390/s390-32/sysdep.h: Likewise.
5359         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5360         * sysdeps/sh/sysdep.h: Likewise.
5361         * sysdeps/unix/sparc/sysdep.h: Likewise.
5362         * sysdeps/wordsize-32/divdi3.c: Likewise.
5363         * sysdeps/x86_64/sysdep.h: Likewise.
5364
5365         * argp/Versions: Remove _argp_unlock_xxx.
5366
5367         [BZ #13559]
5368         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
5369         * abilist/libBrokenLocale.abilist: Likewise.
5370         * abilist/libanl.abilist: Likewise.
5371         * abilist/libc.abilist: Likewise.
5372         * abilist/libcrypt.abilist: Likewise.
5373         * abilist/libdl.abilist: Likewise.
5374         * abilist/libm.abilist: Likewise.
5375         * abilist/libnsl.abilist: Likewise.
5376         * abilist/libpthread.abilist: Likewise.
5377         * abilist/libresolv.abilist: Likewise.
5378         * abilist/librt.abilist: Likewise.
5379         * abilist/libthread_db.abilist: Likewise.
5380         * abilist/libutil.abilist: Likewise.
5381         * abilist/libnss_db.abilist: New file.
5382
5383         * scripts/abilist.awk: Add support for indirect functions.
5384
5385         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5386
5387         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5388
5389         * shlib-versions: Remove entries for ports architectures.
5390
5391         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
5392         files in ports.
5393         * elf/stackguard-macros.h: Remove support for IA-64.
5394         * elf/tst-auditmod1.c: Likewise.
5395         * sysdeps/generic/ldsodefs.h: Likewise.
5396
5397         * sysdeps/unix/sysv/linux/configure.in: Ports should define
5398         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5399         configure files.
5400
5401         [BZ #13552]
5402         * configure.in: Remove --enable-omitfp support.
5403         * FAQ.in: Adjust.
5404         * config.make.in: Likewise.
5405         * Makeconfig: Likewise.
5406         * manual/install.texi: Likewise.
5407
5408         In case anyone cares, the IA-64 architecture could move to ports.
5409         * sysdeps/ia64/*: Removed.
5410         * sysdeps/unix/sysv/linux/ia64/*: Removed.
5411         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
5412
5413         [BZ #13555]
5414         * configure.in: Remove entries for unsupported architectures.
5415
5416         [BZ #13533]
5417         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5418         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
5419         routines.
5420         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5421         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5422         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
5423         fall back to using wcrtomb.
5424         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5425         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
5426         renaming.
5427         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5428         * wcsmbs/tst-c16c32-1.c: New file.
5429
5430         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5431         local variable.
5432
5433         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5434
5435         * elf/tst-unique3.cc: Add explicit declaration of gets.
5436         * elf/tst-unique3lib.cc: Likewise.
5437         * elf/tst-unique3lib2.cc: Likewise.
5438         * elf/tst-unique4.cc: Likewise.
5439
5440         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5441
5442 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
5443
5444         [BZ #13566]
5445         * assert/assert.h (static_assert): Don't define for C++.
5446         * libio/stdio.h (gets): Do declare for C++ <= C++11.
5447         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5448
5449 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
5450
5451         * iconv/loop.c (single loop): Fix assertion in storing of
5452         remaining bytes.
5453
5454         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5455
5456 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
5457
5458         * posix/getconf.c: Update copyright year.
5459         * nss/getent.c: Likewise.
5460         * nss/makedb.c: Likewise.
5461         * iconv/iconvconfig.c: Likewise.
5462         * iconv/iconv_prog.c: Likewise.
5463         * elf/ldconfig.c: Likewise.
5464         * elf/pldd.c: Likewise.
5465         * elf/sotruss.ksh: Likewise.
5466         * catgets/gencat.c: Likewise.
5467         * csu/version.c: Likewise.
5468         * elf/ldd.bash.in: Likewise.
5469         * elf/sprof.c (print_version): Likewise.
5470         * locale/programs/locale.c: Likewise.
5471         * locale/programs/localedef.c: Likewise.
5472         * login/programs/pt_chown.c: Likewise.
5473         * nscd/nscd.c (print_version): Likewise.
5474         * debug/xtrace.sh: Likewise.
5475         * malloc/memusage.sh: Likewise.
5476         * malloc/mtrace.pl: Likewise.
5477         * debug/catchsegv.sh: Likewise.
5478
5479 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
5480
5481         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5482         pure attribute.
5483
5484 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
5485
5486         [BZ #13533]
5487         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5488         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5489         transformations.
5490         * iconv/gconv_int.h: Likewise.
5491         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5492         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5493         from libc for GLIBC_2.16.
5494         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5495         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5496         * wcsmbs/uchar.h: Really define mbstate_t.
5497         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5498         * wcsmbs/c16rtomb.c: New file.
5499         * wcsmbs/mbrtoc16.c: New file.
5500         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5501         for C/POSIX locale.
5502         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5503         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5504
5505         * wcsmbs/wchar.h: Add missing __restrict.
5506
5507 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5508
5509         [BZ #13532]
5510         * time/Makefile (routines): Add timespec_get.
5511         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5512         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
5513         timespec for ISO C11.
5514         * time/timespec_get.c: New file.
5515         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5516         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5517
5518         [BZ #13531]
5519         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5520         * stdlib/stdlib.h: Declare aligned_alloc.
5521         * Versions.def: Add GLIBC_2.16 for libc.
5522         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5523
5524         [BZ 13527]
5525         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5526         ISO C11.
5527
5528         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5529         code.
5530
5531         [BZ #13528]
5532         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5533
5534         [BZ #13529]
5535         * assert/assert.h (static_assert): Define.
5536
5537         * version.h: Update for 2.16 development version.
5538
5539         [BZ #13526]
5540         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5541         _ISOC11_SOURCE.
5542
5543         * version.h (RELEASE): Bump for 2.15 release.
5544         * include/features.h (__GLIBC_MINOR__): Bump to 15.
5545
5546         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5547         Patch by Marek Polacek <mpolacek@redhat.com>.
5548
5549         * bits/byteswap.h: Protect long long constants with __extension__.
5550         * sysdeps/i386/bits/byteswap.h: Likewise.
5551         * sysdeps/ia64/bits/byteswap.h: Likewise.
5552         * sysdeps/s390/bits/byteswap.h: Likewise.
5553         * sysdeps/x86_64/bits/byteswap.h: Likewise.
5554
5555 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5556
5557         [BZ #13540]
5558         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5559         destination buffer.
5560         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5561
5562 2011-12-23  Marek Polacek  <polacek@redhat.com>
5563
5564         * elf/dl-addr.c (determine_info): Add inline keyword.
5565         * elf/tst-auditmod4b.c (check_avx): Likewise.
5566         * elf/tst-auditmod6b.c (check_avx): Likewise.
5567         * elf/tst-auditmod6c.c (check_avx): Likewise.
5568         * elf/tst-auditmod7b.c (check_avx): Likewise.
5569
5570 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5571
5572         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5573         !__SSE_MATH__.
5574
5575 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5576
5577         [BZ #13540]
5578         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5579         processing for last bytes.
5580
5581 2011-08-06  Bruno Haible  <bruno@clisp.org>
5582
5583         [BZ #13061]
5584         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5585         U+0385, not to U+1FEE.
5586
5587         [BZ #13062]
5588         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5589         entry for U+00A5 U+0301.
5590
5591 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5592
5593         [BZ #13166]
5594         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5595         buffer for the output is too small.
5596
5597         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5598         optimization.
5599
5600         [BZ #13185]
5601         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5602         SSE flags if possible.
5603
5604 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5605
5606         [BZ #13540]
5607         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5608         processing for last bytes.
5609
5610 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
5611
5612         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5613         (syscall-list-default-options, syscall-list-default-condition)
5614         (syscall-list-includes): Define.
5615         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5616         list of ABIs and options and #if conditions for each ABI.  Do not
5617         handle common syscalls between ABIs specially.
5618         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5619         Remove.
5620         (syscall-list-variants, syscall-list-32bit-options)
5621         (syscall-list-32bit-condition, syscall-list-64bit-options)
5622         (syscall-list-64bit-condition): Define.
5623         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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/sparc/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         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5633         Remove.
5634         (syscall-list-variants, syscall-list-32bit-options)
5635         (syscall-list-32bit-condition, syscall-list-64bit-options)
5636         (syscall-list-64bit-condition): Define.
5637
5638 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5639
5640         * locale/iso-639.def: Add brx entry.
5641
5642         [BZ #13328]
5643         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5644         Proposed by Mariusz_Cukr <marcukr@op.pl>.
5645
5646         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5647         __feraiseexcept_renamed.
5648
5649 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
5650
5651         [BZ #13538]
5652         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5653         EPOLLET with unsigned values.
5654         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5655         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5656
5657         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5658         to large cancellation.
5659         * math/s_cacoshf.c: Likewise.
5660         * math/s_cacoshl.c: Likewise.
5661
5662 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
5663
5664         [BZ #13305]
5665         [BZ #12786]
5666         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5667         * math/s_cacoshf.c: Likewise.
5668         * math/s_cacoshl.c: Likewise.
5669
5670 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
5671
5672         [BZ #13439]
5673         * iconv/gconv.h: Define __GCONV_SWAP.
5674         * iconvdata/unicode.c: The swap bit must be stored in __flags.
5675         * iconvdata/utf-16.c: Likewise.
5676         * iconvdata/utf-32.c: Likewise.
5677
5678 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
5679
5680         [BZ #13524]
5681         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5682         numerator after shifting it by one limb.
5683
5684 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
5685
5686         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5687         under [__USE_EXTERN_INLINES].
5688
5689 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5690
5691         [BZ #13446]
5692         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5693
5694 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5695
5696         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5697         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5698         optimized code.
5699         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5700         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5701         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5702         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5703         for strncasecmp/strncasecmp_l compilation.
5704         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5705         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5706
5707 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
5708
5709         [BZ #13484]
5710         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5711         of __asm__.
5712
5713 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5714
5715         [BZ #13506]
5716         * time/tzfile.c (__tzfile_read): Check values from file header.
5717
5718 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
5719
5720         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5721         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5722         * powerpc/powerpc32/dl-start.S: Likewise.
5723         * powerpc/powerpc32/elf/start.S: Likewise.
5724         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5725         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5726         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5727         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5728         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5729         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5730         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5731         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5732         * powerpc/powerpc32/fpu/s_round.S: Likewise.
5733         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5734         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5735         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5736         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5737         * powerpc/powerpc32/memset.S: Likewise.
5738         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5739         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5740         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5741         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5742         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5743         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5744         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5745         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5746         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5747         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5748         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5749         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5750         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5751
5752 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5753
5754         * math/libm-test.inc: Added more nearbyint tests.
5755         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5756         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5757         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5758         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5759
5760 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
5761
5762         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5763         FD_CLOEXEC.
5764
5765 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5766
5767         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5768         Add wcscpy-ssse3 wcscpy-c.
5769         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5770         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5771         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5772         * sysdeps/x86_64/wcschr.S: New file.
5773         * sysdeps/x86_64/wcsrchr.S: New file.
5774         * string/test-strcmp.c: Remove checking of wcscmp function for
5775         wrong alignments.
5776         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5777         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5778         wcsrchr-sse2 wcsrchr-c.
5779         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5780         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5781         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5782         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5783         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5784         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5785         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5786         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5787         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5788         * wcsmbc/wcschr.c (WCSCHR): New macro.
5789
5790 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5791
5792         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5793         * wcsmbs/test-wcsrchr.c: New file.
5794         * string/test-strrchr.c: Add wcsrchr support.
5795         (WIDE): New macro.
5796         * wcsmbs/test-wcscpy.c: New file.
5797         * string/test-strcpy.c: Add wcscpy support.
5798         (WIDE): New macro.
5799
5800 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
5801
5802         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5803         the inner loop.
5804
5805 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
5806
5807         [BZ #13472]
5808         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5809
5810 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
5811
5812         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5813         Minor optimizations.
5814
5815         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5816         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5817         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5818
5819 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
5820
5821         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5822         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5823         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5824         for gcc to avoid warnings.
5825         * inet/Makefile (tests): Add tst-checks.
5826         * inet/tst-checks.c: New file.
5827
5828         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5829         warning.
5830
5831         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5832         __wmemcmp_sse2.
5833
5834         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5835         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5836
5837         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5838
5839 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
5840
5841         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5842         problem.
5843
5844         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5845
5846 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
5847
5848         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5849         conditional on GCC version.
5850         (__arch_compare_and_exchange_val_8_acq)
5851         (__arch_compare_and_exchange_val_16_acq)
5852         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5853         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5854         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5855
5856 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
5857
5858         * sysdeps/sh/backtrace.c: New file.
5859
5860 2011-12-02  Andreas Schwab  <schwab@redhat.com>
5861
5862         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
5863         parenthesis.
5864
5865 2011-12-01  Andreas Schwab  <schwab@redhat.com>
5866
5867         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5868         falling back to utime.
5869
5870 2011-11-30  Andreas Schwab  <schwab@redhat.com>
5871
5872         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5873         expectations for float.
5874
5875 2011-11-29  Andreas Schwab  <schwab@redhat.com>
5876
5877         * locale/weight.h (findidx): Add parameter len.
5878         * locale/weightwc.h (findidx): Likewise.
5879         * posix/fnmatch_loop.c (FCT): Adjust caller.
5880         * posix/regcomp.c (build_equiv_class): Likewise.
5881         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5882         * posix/regexec.c (check_node_accept_bytes): Likewise.
5883         * string/strcoll_l.c (STRCOLL): Likewise.
5884         * string/strxfrm_l.c (STRXFRM): Likewise.
5885
5886 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
5887
5888         * Makefile.in: Remove CVSOPT handling.
5889         * configure.in: Remove use of AC_REVISION.
5890         * iconvdata/Makefile (distribute): No need to filter out CVS.
5891         * scripts/list-sources.sh: Remove CVS, subversion and monotone
5892         handling.
5893
5894 2011-11-16  Andreas Schwab  <schwab@redhat.com>
5895
5896         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5897         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5898         [USE_AS_STRNCASECMP_L]: Likewise.
5899         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5900         NO_TLS_DIRECT_SEG_REFS.
5901         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5902         Fix argument offsets for non-PIC.
5903         [USE_AS_STRNCASECMP_L]: Likewise.
5904         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5905         NO_TLS_DIRECT_SEG_REFS.
5906
5907 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
5908
5909         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5910         O_CLOEXEC.
5911         * locale/loadlocale.c (_nl_load_locale): Likewise.
5912
5913 2011-11-15  Andreas Schwab  <schwab@redhat.com>
5914
5915         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5916         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5917         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5918         (SYSCALL_GETTIME): Set errno on error.
5919
5920         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5921         count references to noai6ai_cached.
5922
5923 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
5924
5925         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5926
5927         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5928         FD_CLOEXEC for /proc/self/maps.
5929
5930         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5931         FD_CLOEXEC for /proc/meminfo.
5932
5933         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5934         gai.conf.
5935
5936         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
5937         FD_CLOEXEC for given file.
5938
5939         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5940
5941         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5942         FD_CLOEXEC for /etc/hosts.
5943         (_gethtent): Likewise.
5944
5945         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5946
5947         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5948         cancellation and set FD_CLOEXEC for /etc/netgroup.
5949
5950         * nss/nss_files/files-key.c (search): Don't allow cancellation when
5951         reading /etc/publickey.
5952
5953         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5954         allow cancellation when reading /etc/group.
5955
5956         * nss/nss_files/files-alias.c (internal_setent): Don't allow
5957         cancellation.
5958         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
5959
5960         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5961         when using data file.
5962
5963         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5964
5965         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5966         (write_nis_obj): Use "c" and "e" in fopen.
5967
5968         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5969
5970         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5971
5972         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5973
5974         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5975
5976         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5977         locale.alias.
5978
5979         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5980
5981         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5982
5983         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5984
5985         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5986         file parsing and set FD_CLOEXEC.
5987
5988 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
5989
5990         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5991
5992 2011-11-14  Andreas Schwab  <schwab@redhat.com>
5993
5994         * malloc/arena.c (arena_get2): Don't call reused_arena when
5995         _int_new_arena failed.
5996
5997 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
5998
5999         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6000         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6001         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6002         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6003         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6004         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6005         to compile strcasecmp and strncasecmp.
6006         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6007         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6008
6009         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6010
6011 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
6012
6013         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6014         locale-defines.sym to gen-as-const-headers.
6015         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6016         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6017         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6018         to compile strcasecmp and strncasecmp.
6019         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6020         strcasecmp_l and strncasecmp_l.
6021         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6022         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6023         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6024         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6025         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6026         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6027         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6028         * sysdeps/i386/i686/multiarch/strncase.S: New file.
6029         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6030         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6031         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6032
6033 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
6034
6035         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6036         result of SYSDEP_GETTIME_CPU to retval.
6037         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6038         parameter list to macro.  Remove trailing semicolon.  Adjust users.
6039
6040         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6041         variable.
6042
6043         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6044         mantissa words.
6045         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6046
6047         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6048         from unused variable.
6049
6050         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6051         DWARF definitions.
6052         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6053         for assembling.
6054
6055         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6056         over namespaces.
6057
6058         * sunrpc/rpc_prot.c (rejected): Fix case value.
6059
6060         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6061         unsigned long long int to avoid warnings in shift.
6062
6063         * posix/regex_internal.c (re_string_reconstruct): Actually use result
6064         of use of trans.
6065         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6066         variable tmp.
6067
6068         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6069         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6070         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6071
6072         * nis/nis_table.c (nis_list): Use variable of correct type for
6073         result of __follow_path call.
6074
6075 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6076
6077         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6078         of math functions ceil, trunc, floor, round, and sqrt, when
6079         avaliable on the platform.
6080         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6081         name clash.
6082         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6083         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6084         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6085
6086 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
6087
6088         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6089         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6090
6091 2011-11-11  Roland McGrath  <roland@hack.frob.com>
6092
6093         * include/unistd.h: Fix __readlink return type.
6094         Reported by Chris Metcalf <cmetcalf@tilera.com>.
6095
6096 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
6097
6098         * stdlib/ucontext.h: Undo last change for makecontext.
6099
6100 2011-11-11  Andreas Schwab  <schwab@redhat.com>
6101
6102         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6103
6104         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6105         * setjmp/setjmp.h: Mark functions as non-leaf.
6106         * setjmp/bits/setjmp2.h: Likewise.
6107         * stdlib/ucontext.h: Likewise.
6108
6109 2011-11-10  Andreas Schwab  <schwab@redhat.com>
6110
6111         * malloc/arena.c (_int_new_arena): Don't increment narenas.
6112         (reused_arena): Don't check arena limit.
6113         (arena_get2): Atomically check arena limit.
6114
6115 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
6116
6117         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6118         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6119
6120         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6121         instructions.
6122
6123 2011-11-07  Andreas Schwab  <schwab@redhat.com>
6124
6125         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6126         handler when locking.
6127
6128         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6129         Fix size of allocated buffer.
6130
6131 2011-11-04  Andreas Schwab  <schwab@redhat.com>
6132
6133         [BZ #10103]
6134         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6135         declarations for long double functions.
6136         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6137
6138         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6139
6140 2011-11-03  Andreas Schwab  <schwab@redhat.com>
6141
6142         * nscd/nscd.c (main): Don't start AVC thread until credentials are
6143         installed.
6144
6145         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6146         is disabled.
6147
6148 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6149
6150         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6151
6152 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6153
6154         * include/alloca.h (stackinfo_alloca_round): Define.
6155         (extend_alloca): Use it.
6156         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6157         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6158         here.
6159
6160         * scripts/check-local-headers.sh: Ignore libaudit.h.
6161
6162         * nscd/Makefile (extra-objs): Make recursively expanded.
6163
6164 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
6165
6166         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6167         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6168
6169         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6170         * posix/tst-rfc3484-2.c: Likewise.
6171         * posix/tst-rfc3484-3.c: Likewise.
6172
6173         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6174         process_vm_writev.
6175         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6176         process_vm_writev.
6177         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6178         process_vm_writev from libc using GLIBC_2.15 version.
6179
6180         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6181
6182 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
6183
6184         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6185         stack usage.
6186
6187 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
6188
6189         [BZ #13367]
6190         * nss/getent.c (initgroups_keys): Show error message in case no group
6191         names are given.
6192
6193         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6194         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6195         __bump_nl_timestamp.
6196         * nscd/connections (nscd_init): When host database is served open
6197         netlink socket and request notification about configuration changes.
6198         (main_loop_poll): Track netlink file descriptor and bump timestamp
6199         in case data becomes available.
6200         (main_loop_epoll): Likewise.
6201         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6202         (database_pers_head): Add extra_data fileds.
6203         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6204         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6205         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6206         Adjust caller.
6207         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6208         in6ai data, call __free_in6ai.
6209         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6210         Add -DHAVE_NETLINK.
6211         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
6212         interface information.  Reuse previous data if netlink timestamp
6213         is not changed.
6214         (__bump_nl_timestamp): New function.
6215         (__free_in6ai): New function.
6216
6217 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
6218
6219         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6220         close_not_cancel_no_status here.
6221         (__check_pf): Reorganize code a bit to not call close twice if OOM.
6222
6223 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
6224
6225         [BZ #13276]
6226         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6227         return value.
6228
6229         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
6230         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6231         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6232
6233 2011-07-03  Andreas Jaeger  <aj@suse.de>
6234
6235         [BZ #10709]
6236         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6237         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6238         * math/libm-test.inc (sin_test): Add test case.
6239
6240 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
6241
6242         [BZ #13337]
6243         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6244         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6245
6246         * elf/chroot_canon.c (chroot_canon): Cleanups.
6247
6248         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6249
6250         [BZ #13335]
6251         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6252         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6253
6254         * string/test-strchr.c: Make usable for strchrnul testing.
6255         * string/test-strchrnul.c: New file.
6256         * string/Makefile (strop-tests): Add strchrnul.
6257
6258         * po/it.po: Update from translation team.
6259         * po/es.po: Likewise.
6260
6261 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
6262
6263         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6264         the three constants needed as parameters.  Drop the others.
6265         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6266         __m128i_strloadu_tolower.
6267         Create and initialize variable zero and use it in all the places
6268         where _mm_setzero_si128 was used.
6269
6270         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6271         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6272         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6273         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6274         anymore.
6275         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6276         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6277         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6278         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6279         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6280         __mpranred, __mptan.
6281         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6282         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6283         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6284         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6285         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6286         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6287         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6288         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6289         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6290
6291 2011-10-28  Andreas Schwab  <schwab@redhat.com>
6292
6293         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6294         redefine if SHARED.
6295         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6296
6297         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6298         wide char related routines to wcsmbs subdir.
6299
6300 2011-10-27  Andreas Schwab  <schwab@redhat.com>
6301
6302         [BZ #13344]
6303         * misc/sys/cdefs.h (__THROWNL): Define.
6304         * posix/unistd.h: Use __THREADNL instead of __THREAD
6305         for memory synchronization functions.
6306
6307 2011-10-26  Roland McGrath  <roland@hack.frob.com>
6308
6309         [BZ #13349]
6310         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6311         doesn't exist.
6312         * manual/stdio.texi (Obstack Streams): Node removed.
6313
6314 2011-10-26  Andreas Schwab  <schwab@redhat.com>
6315
6316         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6317         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6318         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6319
6320         * math/math_private.h (math_force_eval): Allow non-addressable
6321         arguments.
6322         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6323
6324 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6325
6326         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6327         file is not needed.
6328
6329         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6330         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6331         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6332         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6333         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6334         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6335         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6336         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6337         Add AVX variants.
6338         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6339         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6340         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6341         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6342         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6343         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6344         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6345         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6346         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6347         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6348         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6349         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6350         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6351         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6352         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6353         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6354         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6355         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6356         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6357
6358         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6359         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
6360
6361         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6362         place.  Use VEX encoding when compiling for AVX.
6363
6364 2011-10-25  Andreas Schwab  <schwab@redhat.com>
6365
6366         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6367         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6368
6369         * string/test-strchr.c (do_test): Don't generate NUL bytes.
6370
6371 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6372
6373         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
6374         useless if() expression.
6375         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6376         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6377         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6378         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6379         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6380         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6381         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6382         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6383         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6384         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6385         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6386         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6387         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6388         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6389         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6390         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6391         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6392         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6393         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6394
6395         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6396
6397 2011-10-25  Andreas Schwab  <schwab@redhat.com>
6398
6399         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6400         condition.
6401         * elf/dl-fini.c (_dl_sort_fini): Likewise.
6402
6403 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6404
6405         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6406         .text section.  Avoid duplicate constants.
6407         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6408         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6409         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6410         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6411         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6412         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6413         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6414         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6415         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6416         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6417         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6418         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6419         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6420         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6421         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6422         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6423         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6424         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6425         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6426         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6427         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6428         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6429         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6430         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6431         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6432         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6433         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6434         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6435         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6436         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6437         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6438         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6439         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6440         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6441         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6442         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6443         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6444         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6445         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6446         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6447         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6448         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6449         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6450         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6451         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6452
6453 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
6454
6455         * sysdeps/x86_64/dla.h: Move to ...
6456         * sysdeps/x86_64/fpu/dla.h: ...here.
6457         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6458         situations.  Use __builtin_fma only for gcc 4.6 and up.
6459
6460         * config.make.in: Add have-mfma4 entry.
6461         * configure.in: Substitute libc_cv_cc_fma4.
6462         * math/Makefile (dbl-only-routines): Add sincostab.
6463         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6464         Use __sincostab not sincos.
6465         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6466         name is a macro.
6467         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6468         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6469         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6470         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
6471         using __copysign.
6472         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
6473         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
6474         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6475         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6476         and __inv.
6477         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6478         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6479         __copysign.
6480         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
6481         define aliases when function name is a macro.
6482         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6483         sysdeps/ieee754/dbl-64/sincos.tbl.
6484         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6485         fma4-enabled routines.
6486         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6487         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6488         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6489         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6490         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6491         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6492         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6493         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6494         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6495         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6496         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6497         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6498         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6499         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6500         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6501         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6502         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6503         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6504         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6505         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6506         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6507         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6508         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6509         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6510         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6511         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6512         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6513         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6514         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6515         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6516
6517         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6518         rename.
6519         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6520         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6521         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6522         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6523         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6524         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6525         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6526         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6527
6528 2011-10-24  Andreas Schwab  <schwab@redhat.com>
6529
6530         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6531
6532 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6533
6534         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6535
6536         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6537         prediction.
6538         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6539
6540         * string/strnlen.c: Don't define STRNLEN, reverse logic.
6541         Remove unused variable magic_bits.
6542         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6543
6544         * string/strnlen.c: Define and use STRNLEN macro.
6545         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6546         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6547         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6548         * wcsmbs/wcslen.c: Define and use WCSLEN.
6549         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6550         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6551         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6552         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6553         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6554         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6555         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6556
6557 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6558
6559         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6560         strnlen-sse2-no-bsf.
6561         Rename strlen-no-bsf to strlen-sse2-no-bsf.
6562         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6563         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6564         Add strnlen support.
6565         (USE_AS_STRNLEN): New macro.
6566         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6567         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6568         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6569         * sysdeps/x86_64/wcslen.S: New file.
6570
6571 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
6572
6573         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6574         XMM-moves are used for copying on small sizes.
6575
6576 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6577
6578         * wcsmbs/Makefile (strop-tests): Add wcschr.
6579         * wcsmbs/test-wcschr.c: New file.
6580         * string/test-strchr.c: Update.
6581         Add wcschr support.
6582         (WIDE): New macro.
6583
6584 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6585
6586         * wcsmbs/Makefile (strop-tests): Add wcslen.
6587         * wcsmbs/test-wcslen.c: New file.
6588         * string/test-strlen.c: Update.
6589         Add wcslen support.
6590         (WIDE): New macro.
6591
6592 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6593
6594         * po/it.po: Update from translation team.
6595
6596 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6597
6598         * sysdeps/x86_64/wcscmp.S: Update.
6599         Fix wrong comparison semantics.
6600         wcscmp shall use signed comparison not unsigned.
6601         Don't use substraction to avoid overflow bug.
6602         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6603         * wcsmbc/wcscmp.c: Likewise.
6604         * string/test-strcmp.c: Likewise.
6605         Add new tests to check cases with negative values.
6606
6607 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6608
6609         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6610         * sysdeps/x86_64/dla.h: ...here.  New file.
6611         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6612         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6613         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6614         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6615         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6616         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6617         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6618         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6619         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6620
6621 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
6622
6623         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6624         __ynl_finite aliases.
6625
6626 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
6627
6628         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6629
6630         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6631         define DLA_FMA.
6632         [DLA_FMA] (EMULV): Use DLA_FMA.
6633         [DLA_FMA] (MUL12): Use EMULV.
6634         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6635         that are not needed.
6636         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6637         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6638         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6639         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6640         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6641         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6642         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6643
6644 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
6645
6646         * math/s_nan.c: Undef __nan.
6647         * math/s_nanf.c: Undef __nanf.
6648         * math/s_nanl.c: Undef __nanl.
6649         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6650         "math_private.h".
6651
6652 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
6653
6654         * math/s_catan.c: Add branch predictions.
6655         * math/s_catanf.c: Likewise.
6656         * math/s_catanh.c: Likewise.
6657         * math/s_catanhf.c: Likewise.
6658         * math/s_catanhl.c: Likewise.
6659         * math/s_catanl.c: Likewise.
6660         * math/s_cexp.c: Likewise.
6661         * math/s_cexpf.c: Likewise.
6662         * math/s_cexpl.c: Likewise.
6663         * math/s_clog.c: Likewise.
6664         * math/s_clog10.c: Likewise.
6665         * math/s_clog10f.c: Likewise.
6666         * math/s_clog10l.c: Likewise.
6667         * math/s_clogf.c: Likewise.
6668         * math/s_clogl.c: Likewise.
6669         * math/s_csqrt.c: Likewise.
6670         * math/s_csqrtf.c: Likewise.
6671         * math/s_csqrtl.c: Likewise.
6672         * math/s_ctanf.c: Likewise.
6673         * math/s_ctanh.c: Likewise.
6674         * math/s_ctanhf.c: Likewise.
6675         * math/s_ctanhl.c: Likewise.
6676         * math/s_ctanl.c: Likewise.
6677
6678         * math/math_private.h: Define __nan, __nanf, __nanl.
6679         * math/s_cacosh.c: Include <math_private.h>.
6680         * math/s_cacoshl.c: Likewise.
6681         * math/s_casinh.c: Likewise.
6682         * math/s_casinhf.c: Likewise.
6683         * math/s_casinhl.c: Likewise.
6684         * math/s_ccos.c: Rely entire on ccosh.
6685         * math/s_ccosf.c: Rely entire on ccoshf.
6686         * math/s_ccosl.c: Rely entirely on ccoshl.
6687         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
6688         Remove tests for FE_INVALID.
6689         * math/s_ccoshf.c: Likewise.
6690         * math/s_ccoshl.c: Likewise.
6691         * math/s_csin.c: Likewise.
6692         * math/s_csinf.c: Likewise.
6693         * math/s_csinh.c Likewise.
6694         * math/s_csinhf.c: Likewise.
6695         * math/s_csinhl.c: Likewise.
6696         * math/s_csinl.c: Likewise.
6697         * math/s_ctan.c: Likewise.
6698         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6699         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6700         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6701
6702 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
6703
6704         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6705         compilation problems.
6706
6707         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6708         __builtin_expect.
6709
6710 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
6711
6712         * sysdeps/i386/configure.in: Test for -mfma4 option.
6713         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6714         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6715         COMMON_CPUID_INDEX_80000001.
6716         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6717         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6718         use it if FMA3 is not supported.
6719         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6720
6721         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6722         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6723
6724 2011-10-20  Andreas Schwab  <schwab@redhat.com>
6725
6726         [BZ #12892]
6727         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6728         it would create a cycle with a link time dependency.
6729
6730 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
6731
6732         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6733         instruction.
6734         * string/Makefile (strop-tests): Add rawmemchr.
6735         * string/test-rawmemchr.c: New file.
6736
6737         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6738         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
6739         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
6740         when compiling str{,n}casecmp and when AVX is available.  Hook up
6741         new optimized code in initializers.
6742
6743 2011-10-19  Andreas Schwab  <schwab@redhat.com>
6744
6745         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6746         __feraiseexcept instead of feraiseexcept.
6747
6748 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
6749
6750         * math/math_private.h: Define defaults for libc_fetestexcept and
6751         libc_feupdateenv.
6752         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6753         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6754         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6755         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6756         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6757         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6758         libc_fetestexcept and libc_feupdateenv.
6759
6760         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6761         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6762         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6763         * sysdeps/x86_64/fpu/math_private.h: Define special version of
6764         libc_feholdexcept_setround.
6765
6766         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6767         Add s_nearbyint-c and s_nearbyintf-c.
6768         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6769         nearbyintf inlines.
6770         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6771         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6772         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6773         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6774
6775         * math/math_private.h: Define defaults for libc_fegetround,
6776         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6777         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6778         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6779         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6780         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6781         standard functions.
6782         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6783         Remove comments and hacks for old compiler versions.
6784         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6785         libc_fegetround, libc_fesetround, libc_feholdexcept, and
6786         libc_feholdexceptl.
6787
6788 2011-10-18  Andreas Schwab  <schwab@redhat.com>
6789
6790         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6791         (__feraiseexcept_renamed): Add __NTH.
6792         (feraiseexcept): Add __NTH.  Rename local variables to fix
6793         namespace violations.
6794
6795 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
6796
6797         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6798
6799         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6800
6801         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6802         recently added interfaces.
6803         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6804
6805         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6806         about macro parameter expansion.
6807
6808         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6809         __NO_MATH_INLINES is defined.  Cleanups.
6810
6811         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6812         and __floorf is target has SSE4.1.
6813         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6814         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6815         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6816         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6817
6818         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6819         name.
6820         (floorf): Likewise.
6821
6822         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6823
6824 2011-10-17  Andreas Schwab  <schwab@redhat.com>
6825
6826         * misc/sys/cdefs.h: Fix last change.
6827
6828         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6829         database lookup.
6830
6831 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
6832
6833         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6834
6835         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6836         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6837         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6838         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6839         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6840         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6841         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6842         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6843         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6844         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6845         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6846         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6847         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6848         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6849         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6850         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6851         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6852         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6853         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6854         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6855         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6856         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6857
6858         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6859         ceil, ceilf, floor, floorf.
6860
6861         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6862         Perform IRELATIVE relocations last.
6863
6864         * elf/do-rel.h: Add another parameter nrelative, replacing the
6865         local variable with the same name.  Change name of the function
6866         to end in Rel or Rela (uppercase).
6867         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6868         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
6869         elf_dynamic_do_##reloc function.
6870
6871 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
6872
6873         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6874         is sufficient, at least on modern CPUs.
6875
6876         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6877
6878         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6879         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6880
6881         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6882         __expl_finite.
6883         * math/bits/math-finite.h: Add entries for exp.
6884         * math/e_expl.c: Add __*_finite alias.
6885         * sysdeps/i386/fpu/e_exp.S: Likewise.
6886         * sysdeps/i386/fpu/e_expf.S: Likewise.
6887         * sysdeps/i386/fpu/e_expl.c: Likewise.
6888         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6889         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6890         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6891         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6892         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6893         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6894         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6895
6896         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6897         is sufficient, at least on modern CPUs.
6898
6899         * ctype/ctype-info.c (__ctype_init): Define.
6900         * include/ctype.h (__ctype_init): Declare.
6901         (__ctype_b_loc): The variable is always initialized.
6902         (__ctype_toupper_loc): Likewise.
6903         (__ctype_tolower_loc): Likewise.
6904         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6905         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6906
6907 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
6908
6909         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6910
6911         * configure.in: Also look in $cxxmachine/include for C++ system
6912         headers.
6913
6914 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6915
6916         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6917         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6918         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6919         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
6920         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6921         (USE_AS_WMEMCMP): New macro.
6922         Fixing indents.
6923         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6924         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6925         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6926         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6927         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6928         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6929         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6930         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6931         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6932         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6933         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6934         (USE_AS_WMEMCMP): New macro.
6935         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6936         * sysdeps/string/test-memcmp.c: Update.
6937         Fix simple_wmemcmp.
6938         Add new tests.
6939         * wcsmbs/wmemcmp.c: Update.
6940         (WMEMCMP): New macro.
6941         Fix overflow bug.
6942
6943 2011-10-12  Andreas Jaeger  <aj@suse.de>
6944
6945         [BZ #13268]
6946         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6947
6948 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
6949
6950         * libio/iofwide.c (do_length): Avoid warning.
6951
6952         * ctype/ctype.h (__isctype_f): Add missing __THROW.
6953
6954 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
6955
6956         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6957
6958         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6959         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6960         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6961         * sysdeps/i386/i686/fpu/e_log.S: New file.
6962         * sysdeps/i386/i686/fpu/e_logf.S: New file.
6963         * sysdeps/i386/i686/fpu/e_logl.S: New file.
6964
6965         * ctype/ctype.h: Add support for inlined isXXX functions when
6966         compiling C++ code.
6967
6968 2011-10-14  Andreas Schwab  <schwab@redhat.com>
6969
6970         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6971
6972         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6973
6974 2011-10-13  Roland McGrath  <roland@hack.frob.com>
6975
6976         [BZ #13291]
6977         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6978
6979 2011-10-13  Andreas Schwab  <schwab@redhat.com>
6980
6981         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6982         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6983         feraiseexcept.
6984
6985         * sysdeps/x86_64/memrchr.S: Check for zero size.
6986
6987         * string/stratcliff.c: Add memrchr tests.
6988
6989 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6990
6991         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6992         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6993         rawmemchr-sse2 rawmemchr-sse2-bsf.
6994         * sysdeps/i386/i686/multiarch/memchr.S: New file.
6995         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6996         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6997         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6998         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6999         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7000         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7001         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7002         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7003         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7004         * string/memrchr.c (MEMRCHR): New macro.
7005
7006 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
7007
7008         Add integration with gcc's -ffinite-math-only and optimize wrapper
7009         functions in libm.
7010         * Versions.def: Define GLIBC_2.15 version for libm.
7011         * math/Makefile (headers): Add bits/math-finite.h.
7012         * math/bits/math-finite.h: New file.
7013         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7014         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7015         * math/e_acoshl.c: Add __*_finite alias.
7016         * math/e_acosl.c: Likewise.
7017         * math/e_asinl.c: Likewise.
7018         * math/e_atan2l.c: Likewise.
7019         * math/e_atanhl.c: Likewise.
7020         * math/e_coshl.c: Likewise.
7021         * math/e_exp10.c: Likewise.
7022         * math/e_exp10f.c: Likewise.
7023         * math/e_exp10l.c: Likewise.
7024         * math/e_exp2l.c: Likewise.
7025         * math/e_fmodl.c: Likewise.
7026         * math/e_gammal_r.c: Likewise.
7027         * math/e_hypotl.c: Likewise.
7028         * math/e_j0l.c: Likewise.
7029         * math/e_j1l.c: Likewise.
7030         * math/e_jnl.c: Likewise.
7031         * math/e_lgammal_r.c: Likewise.
7032         * math/e_log10l.c: Likewise.
7033         * math/e_log2l.c: Likewise.
7034         * math/e_logl.c: Likewise.
7035         * math/e_powl.c: Likewise.
7036         * math/e_sinhl.c: Likewise.
7037         * math/e_sqrtl.c: Likewise.
7038         * math/e_scalb.c: Completely rewritten and optimized.
7039         * math/e_scalbf.c: Likewise.
7040         * math/e_scalbl.c: Likewise.
7041         * math/w_acos.c: Likewise.
7042         * math/w_acosf.c: Likewise.
7043         * math/w_acosl.c: Likewise.
7044         * math/w_acosh.c: Likewise.
7045         * math/w_acoshf.c: Likewise.
7046         * math/w_acoshl.c: Likewise.
7047         * math/w_asin.c: Likewise.
7048         * math/w_asinf.c: Likewise.
7049         * math/w_asinl.c: Likewise.
7050         * math/w_atan2.c: Likewise.
7051         * math/w_atan2f.c: Likewise.
7052         * math/w_atan2l.c: Likewise.
7053         * math/w_atanh.c: Likewise.
7054         * math/w_atanhf.c: Likewise.
7055         * math/w_atanhl.c: Likewise.
7056         * math/w_exp10.c: Likewise.
7057         * math/w_exp10f.c: Likewise.
7058         * math/w_exp10l.c: Likewise.
7059         * math/w_fmod.c: Likewise.
7060         * math/w_fmodf.c: Likewise.
7061         * math/w_fmodl.c: Likewise.
7062         * math/w_j0.c: Likewise.
7063         * math/w_j0f.c: Likewise.
7064         * math/w_j0l.c: Likewise.
7065         * math/w_j1.c: Likewise.
7066         * math/w_j1f.c: Likewise.
7067         * math/w_j1l.c: Likewise.
7068         * math/w_jn.c: Likewise.
7069         * math/w_jnf.c: Likewise.
7070         * math/w_log.c: Likewise.
7071         * math/w_logf.c: Likewise.
7072         * math/w_logl.c: Likewise.
7073         * math/w_log10.c: Likewise.
7074         * math/w_log10f.c: Likewise.
7075         * math/w_log10l.c: Likewise.
7076         * math/w_log2.c: Likewise.
7077         * math/w_log2f.c: Likewise.
7078         * math/w_log2l.c: Likewise.
7079         * math/w_pow.c: Likewise.
7080         * math/w_powf.c: Likewise.
7081         * math/w_powl.c: Likewise.
7082         * math/w_remainder.c: Likewise.
7083         * math/w_remainderf.c: Likewise.
7084         * math/w_remainderl.c: Likewise.
7085         * math/w_scalb.c: Likewise.
7086         * math/w_scalbf.c: Likewise.
7087         * math/w_scalbl.c: Likewise.
7088         * math/w_sqrt.c: Likewise.
7089         * math/w_sqrtf.c: Likewise.
7090         * math/w_sqrtl.c: Likewise.
7091         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7092         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
7093         used.
7094         * math/math_private.h: Declare __kernel_standard_f.
7095         * math/w_cosh.c: Remove cruft and optimize a bit.
7096         * math/w_coshf.c: Likewise.
7097         * math/w_coshl.c: Likewise.
7098         * math/w_exp2.c: Likewise.
7099         * math/w_exp2f.c: Likewise.
7100         * math/w_exp2l.c: Likewise.
7101         * math/w_hypot.c: Likewise.
7102         * math/w_hypotf.c: Likewise.
7103         * math/w_hypotl.c: Likewise.
7104         * math/w_lgamma.c: Likewise.
7105         * math/w_lgamma_r.c: Likewise.
7106         * math/w_lgammaf.c: Likewise.
7107         * math/w_lgammaf_r.c: Likewise.
7108         * math/w_lgammal.c: Likewise.
7109         * math/w_lgammal_r.c: Likewise.
7110         * math/w_sinh.c: Likewise.
7111         * math/w_sinhf.c: Likewise.
7112         * math/w_sinhl.c: Likewise.
7113         * math/w_tgamma.c: Likewise.
7114         * math/w_tgammaf.c: Likewise.
7115         * math/w_tgammal.c: Likewise.
7116         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7117         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7118         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7119         Minor optimizations.  Pretty printing.  Remove cruft.
7120         * sysdeps/i386/fpu/e_acosf.S: Likewise.
7121         * sysdeps/i386/fpu/e_acosh.S: Likewise.
7122         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7123         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7124         * sysdeps/i386/fpu/e_acosl.c: Likewise.
7125         * sysdeps/i386/fpu/e_asin.S: Likewise.
7126         * sysdeps/i386/fpu/e_asinf.S: Likewise.
7127         * sysdeps/i386/fpu/e_atan2.S: Likewise.
7128         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7129         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7130         * sysdeps/i386/fpu/e_atanh.S: Likewise.
7131         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7132         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7133         * sysdeps/i386/fpu/e_exp10.S: Likewise.
7134         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7135         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7136         * sysdeps/i386/fpu/e_exp2.S: Likewise.
7137         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7138         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7139         * sysdeps/i386/fpu/e_fmod.S: Likewise.
7140         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7141         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7142         * sysdeps/i386/fpu/e_hypot.S: Likewise.
7143         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7144         * sysdeps/i386/fpu/e_log.S: Likewise.
7145         * sysdeps/i386/fpu/e_log10.S: Likewise.
7146         * sysdeps/i386/fpu/e_log10f.S: Likewise.
7147         * sysdeps/i386/fpu/e_log10l.S: Likewise.
7148         * sysdeps/i386/fpu/e_log2.S: Likewise.
7149         * sysdeps/i386/fpu/e_log2f.S: Likewise.
7150         * sysdeps/i386/fpu/e_log2l.S: Likewise.
7151         * sysdeps/i386/fpu/e_logf.S: Likewise.
7152         * sysdeps/i386/fpu/e_logl.S: Likewise.
7153         * sysdeps/i386/fpu/e_pow.S: Likewise.
7154         * sysdeps/i386/fpu/e_powf.S: Likewise.
7155         * sysdeps/i386/fpu/e_powl.S: Likewise.
7156         * sysdeps/i386/fpu/e_remainder.S: Likewise.
7157         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7158         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7159         * sysdeps/i386/fpu/e_scalb.S: Likewise.
7160         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7161         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7162         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7163         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7164         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7165         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7166         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7167         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7168         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7169         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7170         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7171         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7172         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7173         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7174         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7175         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7176         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7177         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7178         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7179         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7180         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7181         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7182         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7183         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7184         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7185         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7186         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7187         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7188         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7189         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7190         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7191         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7192         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7193         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7194         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7195         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7196         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7197         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7198         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7199         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7200         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7201         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7202         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7203         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7204         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7205         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7206         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7207         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7208         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7209         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7210         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7211         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7212         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7213         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7214         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7215         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7216         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7217         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7218         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7219         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7220         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7221         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7222         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7223         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7224         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7225         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7226         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7227         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7228         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7229         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7230         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7231         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7232         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7233         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7234         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7235         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7236         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7237         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7238         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7239         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7240         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7241         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7242         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7243         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7244         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7245         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7246         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7247         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7248         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7249         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7250         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7251         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7252         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7253         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7254         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7255         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7256         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7257         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7258         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7259         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7260         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7261         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7262         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7263         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7264         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7265         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7266         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7267         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7268         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7269         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7270         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7271         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7272         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7273         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7274         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7275         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
7276         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7277         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7278         (__isnanf): Likewise.
7279         (__isinf_ns): Likewise.
7280         (__isinf_nsf): Likewise.
7281         (__finite): Likewise.
7282         (__finitef): Likewise.
7283         (__ieee754_sqrt): Define as macro.
7284         (__ieee754_sqrtf): Define as macro.
7285         (__ieee754_sqrtl): Define as macro.
7286         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7287         inlined copy.
7288         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7289         __FINITE_MATH_ONLY__ consistent.
7290         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7291
7292 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
7293
7294         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7295         of rawmemchr.
7296
7297         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7298
7299 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
7300
7301         * po/ja.po: Update from translation team.
7302
7303 2011-10-08  Roland McGrath  <roland@hack.frob.com>
7304
7305         * locale/programs/locarchive.c (prepare_address_space): New function.
7306         (create_archive, enlarge_archive, open_archive): Use it.
7307
7308         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7309         inside [SHARED], where it is used.
7310
7311         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7312
7313         * nss/getent.c (netgroup_keys): Remove unused variable.
7314         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7315
7316 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
7317
7318         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7319         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7320         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7321         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7322         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7323         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7324         * math/Makefile (libm-calls): Add s_isinf_ns.
7325         * math/divtc3.c: Use __isinf_nsl instead of isinf.
7326         * math/multc3.c: Likewise.
7327         * math/s_casin.c: Likewise.
7328         * math/s_casinf.c: Likewise.
7329         * math/s_casinl.c: Likewise.
7330         * math/s_ccos.c: Likewise.
7331         * math/s_ccosf.c: Likewise.
7332         * math/s_ccosl.c: Likewise.
7333         * math/s_ctan.c: Likewise.
7334         * math/s_ctanf.c: Likewise.
7335         * math/s_ctanh.c: Likewise.
7336         * math/s_ctanhf.c: Likewise.
7337         * math/s_ctanhl.c: Likewise.
7338         * math/s_ctanl.c: Likewise.
7339         * math/w_fmod.c: Likewise.
7340         * math/w_fmodf.c: Likewise.
7341         * math/w_fmodl.c: Likewise.
7342         * math/w_remainder.c: Likewise.
7343         * math/w_remainderf.c: Likewise.
7344         * math/w_remainderl.c: Likewise.
7345         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7346         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7347         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7348         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7349         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7350         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7351         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7352         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7353
7354         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7355         of the number.
7356         * stdio-common/printf_fphex.c: Likewise.
7357         * stdio-common/printf_size.c: Likewise.
7358
7359         * math/e_exp10.c: Include math_private.h using <...> not "...".
7360         * math/e_exp10f.c: Likewise.
7361         * math/e_exp10l.c: Likewise.
7362         * math/e_exp2l.c: Likewise.
7363         * math/e_j0l.c: Likewise.
7364         * math/e_j1l.c: Likewise.
7365         * math/e_jnl.c: Likewise.
7366         * math/e_lgammal_r.c: Likewise.
7367         * math/e_rem_pio2l.c: Likewise.
7368         * math/e_scalb.c: Likewise.
7369         * math/e_scalbf.c: Likewise.
7370         * math/e_scalbl.c: Likewise.
7371         * math/k_cosl.c: Likewise.
7372         * math/k_sinl.c: Likewise.
7373         * math/k_tanl.c: Likewise.
7374         * math/s_cacoshf.c: Likewise.
7375         * math/s_catan.c: Likewise.
7376         * math/s_catanf.c: Likewise.
7377         * math/s_catanh.c: Likewise.
7378         * math/s_catanhf.c: Likewise.
7379         * math/s_catanhl.c: Likewise.
7380         * math/s_catanl.c: Likewise.
7381         * math/s_ccosh.c: Likewise.
7382         * math/s_ccoshf.c: Likewise.
7383         * math/s_ccoshl.c: Likewise.
7384         * math/s_cexp.c: Likewise.
7385         * math/s_cexpf.c: Likewise.
7386         * math/s_cexpl.c: Likewise.
7387         * math/s_clog.c: Likewise.
7388         * math/s_clog10.c: Likewise.
7389         * math/s_clog10f.c: Likewise.
7390         * math/s_clog10l.c: Likewise.
7391         * math/s_clogf.c: Likewise.
7392         * math/s_clogl.c: Likewise.
7393         * math/s_csin.c: Likewise.
7394         * math/s_csinf.c: Likewise.
7395         * math/s_csinh.c: Likewise.
7396         * math/s_csinhf.c: Likewise.
7397         * math/s_csinhl.c: Likewise.
7398         * math/s_csinl.c: Likewise.
7399         * math/s_csqrt.c: Likewise.
7400         * math/s_csqrtf.c: Likewise.
7401         * math/s_csqrtl.c: Likewise.
7402         * math/s_ctan.c: Likewise.
7403         * math/s_ctanf.c: Likewise.
7404         * math/s_ctanh.c: Likewise.
7405         * math/s_ctanhf.c: Likewise.
7406         * math/s_ctanhl.c: Likewise.
7407         * math/s_ctanl.c: Likewise.
7408         * math/s_ldexp.c: Likewise.
7409         * math/s_ldexpf.c: Likewise.
7410         * math/s_ldexpl.c: Likewise.
7411         * math/s_significand.c: Likewise.
7412         * math/s_significandf.c: Likewise.
7413         * math/s_significandl.c: Likewise.
7414         * math/w_acos.c: Likewise.
7415         * math/w_acosf.c: Likewise.
7416         * math/w_acosh.c: Likewise.
7417         * math/w_acoshf.c: Likewise.
7418         * math/w_acoshl.c: Likewise.
7419         * math/w_acosl.c: Likewise.
7420         * math/w_asin.c: Likewise.
7421         * math/w_asinf.c: Likewise.
7422         * math/w_asinl.c: Likewise.
7423         * math/w_atan2.c: Likewise.
7424         * math/w_atan2f.c: Likewise.
7425         * math/w_atan2l.c: Likewise.
7426         * math/w_atanh.c: Likewise.
7427         * math/w_atanhf.c: Likewise.
7428         * math/w_atanhl.c: Likewise.
7429         * math/w_cosh.c: Likewise.
7430         * math/w_coshf.c: Likewise.
7431         * math/w_coshl.c: Likewise.
7432         * math/w_dremf.c: Likewise.
7433         * math/w_exp10.c: Likewise.
7434         * math/w_exp10f.c: Likewise.
7435         * math/w_exp10l.c: Likewise.
7436         * math/w_exp2.c: Likewise.
7437         * math/w_exp2f.c: Likewise.
7438         * math/w_fmod.c: Likewise.
7439         * math/w_fmodf.c: Likewise.
7440         * math/w_fmodl.c: Likewise.
7441         * math/w_hypot.c: Likewise.
7442         * math/w_hypotf.c: Likewise.
7443         * math/w_hypotl.c: Likewise.
7444         * math/w_j0.c: Likewise.
7445         * math/w_j0f.c: Likewise.
7446         * math/w_j0l.c: Likewise.
7447         * math/w_j1.c: Likewise.
7448         * math/w_j1f.c: Likewise.
7449         * math/w_j1l.c: Likewise.
7450         * math/w_jn.c: Likewise.
7451         * math/w_jnf.c: Likewise.
7452         * math/w_jnl.c: Likewise.
7453         * math/w_lgamma.c: Likewise.
7454         * math/w_lgamma_r.c: Likewise.
7455         * math/w_lgammaf.c: Likewise.
7456         * math/w_lgammaf_r.c: Likewise.
7457         * math/w_lgammal.c: Likewise.
7458         * math/w_lgammal_r.c: Likewise.
7459         * math/w_log.c: Likewise.
7460         * math/w_log10.c: Likewise.
7461         * math/w_log10f.c: Likewise.
7462         * math/w_log10l.c: Likewise.
7463         * math/w_log2.c: Likewise.
7464         * math/w_log2f.c: Likewise.
7465         * math/w_log2l.c: Likewise.
7466         * math/w_logf.c: Likewise.
7467         * math/w_logl.c: Likewise.
7468         * math/w_pow.c: Likewise.
7469         * math/w_powf.c: Likewise.
7470         * math/w_powl.c: Likewise.
7471         * math/w_remainder.c: Likewise.
7472         * math/w_remainderf.c: Likewise.
7473         * math/w_remainderl.c: Likewise.
7474         * math/w_scalb.c: Likewise.
7475         * math/w_scalbf.c: Likewise.
7476         * math/w_scalbl.c: Likewise.
7477         * math/w_sinh.c: Likewise.
7478         * math/w_sinhf.c: Likewise.
7479         * math/w_sinhl.c: Likewise.
7480         * math/w_sqrt.c: Likewise.
7481         * math/w_sqrtf.c: Likewise.
7482         * math/w_sqrtl.c: Likewise.
7483         * math/w_tgamma.c: Likewise.
7484         * math/w_tgammaf.c: Likewise.
7485         * math/w_tgammal.c: Likewise.
7486
7487         * po/ja.po: Update from translation team.
7488
7489 2011-09-29  Andreas Jaeger  <aj@suse.de>
7490
7491         [BZ #13179]
7492         * sunrpc/netname.c (netname2host): Fix logic.
7493
7494         [BZ #6779]
7495         [BZ #6783]
7496         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7497         correctly.
7498         * math/w_remainder.c (__remainder): Likewise.
7499         * math/w_remainderf.c (__remainderf): Likewise.
7500         * math/libm-test.inc (remainder_test): Add test cases.
7501
7502 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7503
7504         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
7505         sdiv_qrnnd.
7506
7507 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7508
7509         * string/test-memcmp.c: Avoid unncessary #defines.
7510         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7511
7512 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7513
7514         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7515         Use new sse2 version for core i3 - i7 as it's faster
7516         than sse42 version.
7517         (bit_Prefer_PMINUB_for_stringop): New.
7518         * sysdeps/x86_64/rawmemchr.S: Update.
7519         Replace with faster SSE2 version.
7520         * sysdeps/x86_64/memrchr.S: New file.
7521         * sysdeps/x86_64/memchr.S: Update.
7522         Replace with faster SSE2 version.
7523
7524 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
7525
7526         * elf/dl-load.c (lose): Add cast to avoid warning.
7527
7528 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7529
7530         * po/ca.po: Update from translation team.
7531
7532         * inet/getnetgrent_r.c: Hook up nscd.
7533         * nscd/Makefile (routines): Add nscd_netgroup.
7534         (nscd-modules): Add netgroupcache.
7535         (CFLAGS-netgroupcache.c): Define.
7536         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7537         (cache_search): Add const to second parameter.
7538         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7539         INNETGR.
7540         (dbs): Add netgrdb entry.
7541         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7542         (verify_persistent_db): Handle netgrdb.
7543         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7544         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7545         GETFDNETGR.
7546         (netgroup_response_header): Define.
7547         (innetgroup_response_header): Define.
7548         (datahead): Add netgroup_response_header and innetgroup_response_header
7549         elements.
7550         * nscd/nscd.conf: Add entries for netgroup cache.
7551         * nscd/nscd.h (dbtype): Add netgrdb.
7552         (_PATH_NSCD_NETGROUP_DB): Define.
7553         (netgroup_iov_disabled): Declare.
7554         (xmalloc, xcalloc, xrealloc): Move declarations here.
7555         (cache_search): Adjust prototype.
7556         Add netgroup-related prototypes.
7557         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7558         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7559         (__nscd_innetgr): Declare.
7560         * nscd/selinux.c (perms): Use access_vector_t as element type and
7561         add netgroup-related initializers.
7562         * nscd/netgroupcache.c: New file.
7563         * nscd/nscd_netgroup.c: New file.
7564         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7565         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7566         For four parameters use innetgr.
7567         * nss/nss_files/files-init.c: Add definition and callback for netgr.
7568         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7569         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7570         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7571
7572         * nscd/connections.c (register_traced_file): Don't register file
7573         for disabled databases.
7574
7575 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
7576
7577         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7578
7579         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7580         from tree and freeing node.
7581
7582 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
7583
7584         * nss/nsswitch.c (__nss_database_lookup): Handle
7585         nss_parse_service_list out of memory case.
7586
7587 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
7588
7589         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7590         out of memory case.
7591
7592 2011-10-04  Andreas Schwab  <schwab@redhat.com>
7593
7594         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7595         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7596         pass it down.
7597         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7598         elf_machine_rela, elf_machine_lazy_rel.
7599         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7600         (ELF_DYNAMIC_DO_REL): Likewise.
7601         (ELF_DYNAMIC_DO_RELA): Likewise.
7602         (ELF_DYNAMIC_RELOCATE): Likewise.
7603         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7604         to ELF_DYNAMIC_DO_REL.
7605         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7606         (dl_main): In trace mode always set __RTLD_NOIFUNC.
7607         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7608         elf_machine_rela.
7609         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7610         skip_ifunc, don't call ifunc function if non-zero.
7611         (elf_machine_rela): Likewise.
7612         (elf_machine_lazy_rel): Likewise.
7613         (elf_machine_lazy_rela): Likewise.
7614         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7615         (elf_machine_lazy_rel): Likewise.
7616         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7617         Likewise.
7618         (elf_machine_lazy_rel): Likewise.
7619         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7620         Likewise.
7621         (elf_machine_lazy_rel): Likewise.
7622         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7623         (elf_machine_lazy_rel): Likewise.
7624         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7625         (elf_machine_lazy_rel): Likewise.
7626         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7627         (elf_machine_lazy_rel): Likewise.
7628         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7629         (elf_machine_lazy_rel): Likewise.
7630         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7631         (elf_machine_lazy_rel): Likewise.
7632         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7633         (elf_machine_lazy_rel): Likewise.
7634
7635 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
7636
7637         * nss/nss_files/files-init.c (_nss_files_init): Use static
7638         initialization for all the *_traced_file variables.
7639
7640 2011-09-28  Andreas Schwab  <schwab@redhat.com>
7641
7642         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7643
7644 2011-09-27  Roland McGrath  <roland@hack.frob.com>
7645
7646         [BZ #13226]
7647         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7648
7649 2011-09-27  Andreas Schwab  <schwab@redhat.com>
7650
7651         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7652         Reread the line before reparsing it.
7653
7654 2011-09-26  Andreas Schwab  <schwab@redhat.com>
7655
7656         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7657
7658 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
7659             Maxim Kuvyrkov  <maxim@codesourcery.com>
7660             Joseph Myers  <joseph@codesourcery.com>
7661
7662         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7663         if needed for __stack_chk_guard.
7664
7665 2011-09-19  Roland McGrath  <roland@hack.frob.com>
7666
7667         * sysdeps/posix/spawni.c (script_execute): Always define it.
7668         It will be optimized away if unused.
7669         (maybe_script_execute): New function.
7670         (__spawni): Call it.
7671
7672         * Makerules: Don't include tls.make.
7673         (config-tls): Always set to thread.
7674         * tls.make.c: File removed.
7675
7676 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
7677
7678         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7679         * config.make.in (CPPFLAGS-config): New substituted variable.
7680
7681 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7682
7683         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7684
7685         [BZ #13192]
7686         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7687         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7688
7689 2011-09-15  Roland McGrath  <roland@hack.frob.com>
7690
7691         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7692         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7693         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7694         (CALL_FAIL): Likewise.
7695         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7696         (CALL_FAIL): Macro removed.
7697         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7698
7699 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7700
7701         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7702         for __FINITE_MATH_ONLY__ == 1.
7703
7704 2011-09-15  Andreas Schwab  <schwab@redhat.com>
7705
7706         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7707         __ieee754_sqrt instead of sqrt.
7708         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7709         __ieee754_sqrtf instead of sqrtf.
7710         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7711         __floorf instead of floorf.
7712         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7713         __floorf, __truncf instead of floorf, truncf.
7714
7715 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
7716
7717         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7718
7719         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7720         __extern_always_inline.
7721         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7722         32-bit.
7723
7724 2011-09-14  Andreas Schwab  <schwab@redhat.com>
7725
7726         * elf/rtld.c (dl_main): Also relocate in dependency order when
7727         doing symbol dependency testing.
7728
7729 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
7730
7731         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7732         Always define `refsym'.
7733
7734 2011-09-13  Andreas Schwab  <schwab@redhat.com>
7735
7736         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7737         (__FD_ELT): Renamed from __FDELT.
7738         * misc/bits/select2.h (__FD_ELT): Likewise.
7739         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7740         __FD_MASK instead of __FDELT, __FDMASK.
7741         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7742         Likewise.
7743         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7744         Likewise.
7745
7746         * elf/Makefile (gen-ldd): Fix pattern.
7747
7748         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7749         (init_tls): Likewise.
7750
7751 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
7752
7753         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7754
7755 2011-09-12  Andreas Schwab  <schwab@redhat.com>
7756
7757         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7758         `struct cmsghdr *' instead of `void *'.
7759         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7760         Likewise.
7761
7762 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
7763
7764         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7765         if non-absolute.
7766         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7767         ldd_rewrite_script.
7768
7769 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
7770
7771         * configure.in: Remove --with-tls option.
7772         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7773         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7774         out in case it is missing.
7775         * sysdeps/ia64/elf/configure.in: Likewise.
7776         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7777         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7778         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7779         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7780         * sysdeps/sh/elf/configure.in: Likewise.
7781         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7782         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7783         * sysdeps/x86_64/elf/configure.in: Likewise.
7784         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7785         * sysdeps/mach/hurd/tls.h: Likewise.
7786
7787         [BZ #13067]
7788         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7789
7790         [BZ #13090]
7791         * configure.in: Fix use of AC_INIT.
7792
7793         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7794
7795 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
7796
7797         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7798         __set_errno.
7799         * malloc/hooks.c: Likewise.
7800
7801         [BZ #11929]
7802         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
7803         variables statically.
7804         (narenas): Initialize.
7805         (list_lock): Initialize.
7806         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
7807         initializtion of main_arena and list_lock.  Small cleanups.
7808         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7809         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
7810         Add initializers to main_arena and mp_.
7811         (malloc_state): Remove pagesize member.  Change all users to use
7812         GLRO(dl_pagesize).
7813
7814         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7815         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
7816         is always initialized.
7817
7818         * malloc/malloc.c: Removed unused configurations and dead code.
7819         * malloc/arena.c: Likewise.
7820         * malloc/hooks.c: Likewise.
7821         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7822
7823         * include/tls.h: Removed.  USE___THREAD must always be defined.
7824         * bits/libc-tsd.h: Don't handle !USE___THREAD.
7825         * elf/dl-libc.c: Likewise.
7826         * elf/dl-tsd.c: Likewise.
7827         * include/errno.h: Likewise.
7828         * include/netdb.h: Likewise.
7829         * include/resolv.h: Likewise.
7830         * inet/herrno-loc.c: Likewise.
7831         * inet/herrno.c: Likewise.
7832         * malloc/arena.c: Likewise.
7833         * malloc/hooks.c: Likewise.
7834         * malloc/malloc.c: Likewise.
7835         * resolv/res-state.c: Likewise.
7836         * resolv/res_libc.c: Likewise.
7837         * sysdeps/i386/dl-machine.h: Likewise.
7838         * sysdeps/ia64/dl-machine.h: Likewise.
7839         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7840         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7841         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7842         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7843         * sysdeps/sh/dl-machine.h: Likewise.
7844         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7845         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7846         * sysdeps/unix/i386/sysdep.S: Likewise.
7847         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7848         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7849         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7850         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7851         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7852         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7853         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7854         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7855         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7856         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7857         * sysdeps/unix/x86_64/sysdep.S: Likewise.
7858         * sysdeps/x86_64/dl-machine.h: Likewise.
7859         * tls.make.c: Likewise.
7860
7861         * configure.in: Remove --with-__thread option.  Make tests for
7862         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7863         tls_model attribute fail if no support is available.  Remove
7864         USE_IN_LIBIO.
7865         * Makeconfig: Adjust for dropped configure option.  All features are
7866         now mandatory.
7867         * Makerules: Likewise.
7868         * Versions.def: Likewise.
7869         * argp/argp-fmtstream.c: Likewise.
7870         * argp/argp-fmtstream.h: Likewise.
7871         * argp/argp-help.c: Likewise.
7872         * assert/assert.c: Likewise.
7873         * config.h.in: Likewise.
7874         * config.make.in: Likewise.
7875         * configure: Likewise.
7876         * configure.in: Likewise.
7877         * csu/Versions: Likewise.
7878         * csu/init.c: Likewise.
7879         * elf/tst-audit2.c: Likewise.
7880         * elf/tst-tls10.c: Likewise.
7881         * elf/tst-tls10.h: Likewise.
7882         * elf/tst-tls11.c: Likewise.
7883         * elf/tst-tls12.c: Likewise.
7884         * elf/tst-tls14.c: Likewise.
7885         * elf/tst-tlsmod11.c: Likewise.
7886         * elf/tst-tlsmod12.c: Likewise.
7887         * elf/tst-tlsmod13.c: Likewise.
7888         * elf/tst-tlsmod13a.c: Likewise.
7889         * elf/tst-tlsmod14a.c: Likewise.
7890         * elf/tst-tlsmod15b.c: Likewise.
7891         * elf/tst-tlsmod16a.c: Likewise.
7892         * elf/tst-tlsmod16b.c: Likewise.
7893         * elf/tst-tlsmod7.c: Likewise.
7894         * elf/tst-tlsmod8.c: Likewise.
7895         * elf/tst-tlsmod9.c: Likewise.
7896         * gmon/gmon.c: Likewise.
7897         * grp/fgetgrent_r.c: Likewise.
7898         * grp/putgrent.c: Likewise.
7899         * hurd/fopenport.c: Likewise.
7900         * include/libc-symbols.h: Likewise.
7901         * include/tls.h: Likewise.
7902         * intl/gettextP.h: Likewise.
7903         * intl/loadinfo.h: Likewise.
7904         * locale/global-locale.c: Likewise.
7905         * locale/localeinfo.h: Likewise.
7906         * mach/devstream.c: Likewise.
7907         * malloc/arena.c: Likewise.
7908         * malloc/set-freeres.c: Likewise.
7909         * misc/err.c: Likewise.
7910         * misc/getttyent.c: Likewise.
7911         * misc/mntent_r.c: Likewise.
7912         * posix/getopt.c: Likewise.
7913         * posix/wordexp.c: Likewise.
7914         * pwd/fgetpwent_r.c: Likewise.
7915         * resolv/Versions: Likewise.
7916         * resolv/res_hconf.c: Likewise.
7917         * shadow/fgetspent_r.c: Likewise.
7918         * shadow/putspent.c: Likewise.
7919         * stdio-common/printf_fphex.c: Likewise.
7920         * stdio-common/tmpfile.c: Likewise.
7921         * stdlib/abort.c: Likewise.
7922         * stdlib/fmtmsg.c: Likewise.
7923         * sunrpc/auth_unix.c: Likewise.
7924         * sunrpc/clnt_perr.c: Likewise.
7925         * sunrpc/clnt_tcp.c: Likewise.
7926         * sunrpc/clnt_udp.c: Likewise.
7927         * sunrpc/clnt_unix.c: Likewise.
7928         * sunrpc/openchild.c: Likewise.
7929         * sunrpc/svc_simple.c: Likewise.
7930         * sunrpc/svc_tcp.c: Likewise.
7931         * sunrpc/svc_udp.c: Likewise.
7932         * sunrpc/svc_unix.c: Likewise.
7933         * sunrpc/xdr.c: Likewise.
7934         * sunrpc/xdr_array.c: Likewise.
7935         * sunrpc/xdr_rec.c: Likewise.
7936         * sunrpc/xdr_ref.c: Likewise.
7937         * sunrpc/xdr_stdio.c: Likewise.
7938
7939 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7940
7941         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7942
7943 2011-07-03  Andreas Jaeger  <aj@suse.de>
7944
7945         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7946         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7947         regenerate with gen-libm-tests.pl.
7948
7949 2010-05-12  Petr Baudis  <pasky@suse.cz>
7950
7951         [BZ #11589]
7952         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7953         around j0() zero points by switching to j1().
7954         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7955         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7956         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7957         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7958
7959 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7960
7961         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7962         instead of 0.
7963         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7964         instead of 0.                              .
7965         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7966         Patch in part by Pavel Roskin <proski@gnu.org>.
7967
7968         [BZ #13138]
7969         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7970         realloc.
7971         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
7972         Free memory block if necessary.
7973
7974         [BZ #12847]
7975         * libio/genops.c (INTDEF): For string streams the _lock pointer can
7976         be NULL.  Don't lock in this case.
7977
7978 2011-09-09  Roland McGrath  <roland@hack.frob.com>
7979
7980         * elf/elf.h (ELFOSABI_GNU): New macro.
7981         (ELFOSABI_LINUX): Define to that.
7982
7983 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
7984
7985         * string/strncat.c (strncat): Undef the symbol in case it has been
7986         defined in bits/string.h.
7987
7988 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7989
7990         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7991
7992         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7993         link map.
7994
7995 2011-08-17  Andreas Jaeger  <aj@suse.de>
7996
7997         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7998
7999 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8000             Ian Lance Taylor  <iant@google.com>
8001
8002         * math/libm-test.inc (lround_test): New testcase.
8003         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8004
8005 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
8006
8007         * Makefile: Remove support for automatic cvs check-ins.
8008         * Makerules: Likewise.
8009         * config.make.in: Likewise.
8010         * configure.in: Likewise.
8011         * intl/Makefile: Likewise.
8012         * locale/Makefile: Likewise.
8013         * po/Makefile: Likewise.
8014         * posix/Makefile: Likewise.
8015         * sysdeps/gnu/Makefile: Likewise.
8016         * sysdeps/mach/hurd/Makefile: Likewise.
8017         * sysdeps/sparc/sparc32/Makefile: Likewise.
8018
8019         [BZ #13118]
8020         * posix/Makefile (bug-regex32-ENV): Define.
8021         Patch by John Stanley <jpsinthemix@verizon.net>.
8022
8023         * misc/Makefile (headers): Add bits/select2.h.
8024         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8025         * misc/bits/select2.h: New file.
8026         * include/bits/select2.h: New file.
8027         * debug/Makefile (routines): Add fdelt_chk.
8028         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8029         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8030         FD_ISSET.
8031         * debug/fdelt_chk.c: New file.
8032
8033         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
8034         * wcsmbs/test-wmemcmp.c: Likewise.
8035         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
8036         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
8037
8038 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8039
8040         * string/Makefile (strop-tests): Add memcmp.
8041         * string/test-wmemcmp.c: New file.
8042         * string/test-memcmp.c: Add wmemcmp support.
8043
8044 2011-09-08  Roland McGrath  <roland@hack.frob.com>
8045
8046         [BZ #13153]
8047         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8048         2011-07-19 change.
8049
8050         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8051         garbage value in a __mach_port_mod_refs call in the cases of the
8052         task-self and thread-self ports.
8053
8054 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8055
8056         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8057
8058 2011-09-08  Andreas Schwab  <schwab@redhat.com>
8059
8060         * elf/dl-load.c (lose): Check for non-null L.
8061
8062 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
8063
8064         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8065
8066         * elf/dl-libc.c (dlerror_run): Pass back error code from
8067         dl_catch_error.
8068
8069         [BZ #13123]
8070         * elf/dl-load.c (lose): Free l_origin if it is valid.
8071
8072         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8073         names.
8074         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8075         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8076         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8077         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8078         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8079         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8080
8081 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8082
8083         * sysdeps/powerpc/fpu/e_hypot.c: New file.
8084         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8085         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8086         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8087         * sysdeps/powerpc/fpu/k_cosf.c: New file.
8088         * sysdeps/powerpc/fpu/k_sinf.c: New file.
8089         * sysdeps/powerpc/fpu/s_cosf.c: New file.
8090         * sysdeps/powerpc/fpu/s_sinf.c: New file.
8091         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8092         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8093
8094 2011-08-15  Alan Modra  <amodra@gmail.com>
8095
8096         [BZ #13092]
8097         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8098         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8099         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
8100         ppc_mcount to static-only-routines.
8101         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8102         __mcount_internal.
8103         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8104         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
8105
8106 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
8107
8108         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8109         for finite and infinity parameters.
8110
8111 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
8112
8113         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8114         and add nop instructions for throughput optimization.
8115         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8116
8117 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
8118
8119         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8120         aligned copy for power7 with vector-scalar instructions.
8121         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8122
8123 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
8124
8125         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8126         AVX check.
8127
8128 2011-09-07  Andreas Schwab  <schwab@redhat.com>
8129
8130         [BZ #13144]
8131         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8132         last change.
8133
8134 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
8135
8136         * sysdeps/unix/sysv/linux/x86_64/init-first.c
8137         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8138         syscall wrapper around clock_gettime in __vdso_clock_gettime.
8139         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8140         clock_gettime.
8141
8142 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
8143
8144         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8145         Forgot to demangle the pointer.
8146
8147         * sysdeps/i386/sysdep.h: Define atom_text_section.
8148         * sysdeps/x86_64/sysdep.h: Likewise.
8149         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8150         section with atom_text_section.
8151         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8152         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8153         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8154         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8155         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8156
8157         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8158         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8159         already be defined.  Change to take two parameters and don't assign
8160         result to variable.  Adjust all users.
8161         Define INTERNAL_GETTIME if not already defined.
8162         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8163         call.
8164         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8165         HAVE_CLOCK_GETTIME_VSYSCALL.
8166         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8167
8168         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8169         gettimeofday vsyscall, just use time.
8170
8171 2011-09-06  Andreas Schwab  <schwab@redhat.com>
8172
8173         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8174         <errno.h>.
8175
8176 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
8177
8178         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8179         syscall on x86-64.
8180         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8181         syscall.
8182         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8183         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8184         syscall if possible.
8185
8186 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
8187
8188         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8189         e_ident.  Don't pass to find_mapsXX.
8190         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8191
8192 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8193
8194         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8195         strchr-sse2-no-bsf strrchr-sse2-no-bsf
8196         * sysdeps/x86_64/multiarch/strchr.S: Update.
8197         Check bit_slow_BSF bit.
8198         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8199         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8200         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8201
8202 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
8203
8204         [BZ #13134]
8205         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8206         before glibc 2.15.
8207         (tryshell): Define.
8208         (__spawni): Change last parameter to be flag.  Test
8209         SPAWN_XFLAGS_USE_PATH flag to use path or not.
8210         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8211         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8212         * posix/spawni.c: Likewise.
8213         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8214         * posix/spawnp.c: Likewise.  Change normal version to use
8215         SPAWN_XFLAGS_USE_PATH.
8216         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8217         SPAWN_XFLAGS_TRY_SHELL.
8218
8219         [BZ #13150]
8220         * posix/glob.h: Remove gcc 1.x support.
8221
8222         [BZ #13068]
8223         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8224
8225 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8226
8227         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8228         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8229         strrchr-sse2-bsf
8230         * sysdeps/i386/i686/multiarch/strchr.S: New file.
8231         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8232         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8233         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8234         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8235         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8236
8237 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8238
8239         * sysdeps/x86_64/wcscmp.S: New file.
8240
8241         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8242         wcscmp-c wcscmp-sse2
8243         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8244         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8245         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8246         * wcsmbs/wcscmp.c: Allow renaming.
8247
8248 2011-09-05  David S. Miller  <davem@davemloft.net>
8249
8250         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8251         stack slot, rather than the struct return pointer slot.
8252         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8253         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8255         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8256
8257 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
8258
8259         * po/ja.po: Update from translation team.
8260
8261         [BZ #13144]
8262         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8263         kernel in 64-bit binaries.
8264
8265 2011-09-01  David S. Miller  <davem@davemloft.net>
8266
8267         * elf/elf.h (HWCAP_SPARC_*): Move to..
8268         * sysdeps/sparc/sysdep.h: this new file and add new values.
8269         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8270         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8271         _DL_HWCAP_COUNT to 24.
8272         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8273         entries.
8274         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8275         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8276         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8277         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8278         instead of magic constants.
8279         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8280
8281 2011-08-31  David S. Miller  <davem@davemloft.net>
8282
8283         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8284         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8285         Reimplement to do errno handling inline.
8286         (SYSCALL_ERROR_HANDLER): New macro.
8287         (__SYSCALL_STRING): Do not do errno handling in asm.
8288         (__CLONE_SYSCALL_STRING): Delete.
8289         (__INTERNAL_SYSCALL_STRING): Delete.
8290         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8291         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8292         (PSEUDO): Reimplement to do errno handling inline.
8293         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8294         (SYSCALL_ERROR_HANDLER): New macro.
8295         (__SYSCALL_STRING): Do not do errno handling in asm.
8296         (__CLONE_SYSCALL_STRING): Delete.
8297         (__INTERNAL_SYSCALL_STRING): Delete.
8298         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8299         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8300         i386.
8301         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8302         (inline_syscall*): Add 'err' argument.
8303         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8304         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8305         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8306         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8307
8308         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8309         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8310
8311 2011-08-30  Andreas Schwab  <schwab@redhat.com>
8312
8313         * elf/rtld.c (dl_main): Relocate objects in dependency order.
8314
8315 2011-08-29  Jiri Olsa <jolsa@redhat.com>
8316
8317         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8318         directive.
8319
8320 2011-08-24  David S. Miller  <davem@davemloft.net>
8321
8322         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8323
8324 2011-08-24  Andreas Schwab  <schwab@redhat.com>
8325
8326         * elf/Makefile: Add rules to build and run unload8 test.
8327         * elf/unload8.c: New file.
8328         * elf/unload8mod1.c: New file.
8329         * elf/unload8mod1x.c: New file.
8330         * elf/unload8mod2.c: New file.
8331         * elf/unload8mod3.c: New file.
8332
8333         * elf/dl-close.c (_dl_close_worker): Reset private search list if
8334         it wasn't used.
8335
8336 2011-08-23  David S. Miller  <davem@davemloft.net>
8337
8338         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8339         subtract stack bias.
8340         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8341         %sp not %fp in calculations.
8342         (_JMPBUF_UNWINDS_ADJ): Likewise.
8343
8344         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8345         (aio_suspend): Call it to force an exception region around the
8346         AIO_MISC_WAIT() invocation.
8347
8348 2011-08-23  Andreas Schwab  <schwab@redhat.com>
8349
8350         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8351         backslash.
8352
8353 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
8354
8355         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8356         protection macro.
8357         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8358         and <dl-machine.h>.
8359         (Elf64_FuncDesc): Remove.
8360
8361 2011-08-22  David S. Miller  <davem@davemloft.net>
8362
8363         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8364         sigaltstack check, add missing cfi directives.
8365         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8366         missing cfi directives, and sigaltstack handling.
8367
8368 2011-08-16  Andreas Schwab  <schwab@redhat.com>
8369
8370         [BZ #11724]
8371         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8372         object is seen twice.
8373         * elf/dl-fini.c (_dl_sort_fini): Likewise.
8374
8375         * elf/Makefile (distribute): Add tst-initorder2.c.
8376         (tests): Add tst-initorder2.
8377         (modules-names): Add tst-initorder2a tst-initorder2b
8378         tst-initorder2c tst-initorder2d.  Add rules to build them.
8379         ($(objpfx)tst-initorder2.out): New rule.
8380         * elf/tst-initorder2.c: New file.
8381         * elf/tst-initorder2.exp: New file.
8382
8383 2011-08-22  Andreas Schwab  <schwab@redhat.com>
8384
8385         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8386
8387         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8388         dependencies back to end of function.
8389
8390         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8391         $(elfobjdir)/ld.so.
8392
8393 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
8394
8395         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8396         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8397         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8398         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8399         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8400         of __vdso_gettimeofday.
8401         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8402         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
8403         attribute_hidden.
8404         (_libc_vdso_platform_setup): Remove initialization of
8405         __vdso_gettimeofday and __vdso_time.
8406
8407 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
8408
8409         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8410         and fgetc_unlocked.
8411         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8412         getc_unlocked.
8413
8414         * elf/dl-open.c (add_to_global): Report additions to the global scope
8415         for LD_DEBUG=scopes.
8416         (dl_open_worker): Also print scope of newly loaded dependencies.
8417         (_dl_show_scope): Indicate if there is no scope.
8418
8419         [BZ #13114]
8420         * stdio-common/Makefile (tests): Add bug24.
8421         * stdio-common/bug24.c: New file.
8422
8423 2011-08-19  Andreas Jaeger  <aj@suse.de>
8424
8425         [BZ #13114]
8426         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8427         non-existant file when using close-on-exec mode.
8428
8429 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
8430
8431         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8432         the very first instruction.
8433
8434         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8435         the CFI state in the end.
8436         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8437         inclusion of dl-trampoline.h.
8438         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8439
8440 2011-08-19  Andreas Schwab  <schwab@redhat.com>
8441
8442         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8443         expectations for long double.
8444
8445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8446         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8447
8448 2011-08-14  David S. Miller  <davem@davemloft.net>
8449
8450         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8451         artificual limit depends upon the system page size.
8452
8453 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
8454
8455         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8456         * resolv/Makefile: Define CFLAGS-libresolv.
8457
8458 2011-08-17  Andreas Schwab  <schwab@redhat.com>
8459
8460         * nss/makedb.c (compute_tables): Make variables used in nested
8461         function static.
8462
8463 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
8464
8465         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8466         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8467         if buffer was too small.
8468
8469         * elf/pldd.c (main): Attach to all threads in the process.
8470         Rewrite /proc handling to use *at functions.
8471
8472 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
8473
8474         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8475         specifies first scope to show.
8476         (dl_open_worker): Update callers.  Move printing scope of new
8477         object to before the relocation.
8478         * elf/rtld.c (dl_main): Update _dl_show_scope call.
8479         * sysdeps/generic/ldsodefs.h: Update declaration.
8480
8481         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8482         string for the scope number.
8483
8484 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
8485
8486         * nscd/servicescache.c (cache_addserv): Make sure written is always
8487         initialized.
8488
8489 2011-08-14  Roland McGrath  <roland@hack.frob.com>
8490
8491         * sysdeps/i386/i486/bits/atomic.h
8492         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8493         statement expression, so as to suppress "set but not used" warning.
8494         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8495
8496         * string/strncat.c (STRNCAT): Use prototype definition.
8497
8498         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8499         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8500         -Iprograms here.
8501         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8502         (localedef-modules): Add localedef.
8503         (locale-modules): Add locale.
8504
8505         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8506         * elf/rtld.c (dl_main): Invert order of assignment in last change,
8507         to avoid a warning.
8508
8509 2011-08-14  David S. Miller  <davem@davemloft.net>
8510
8511         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8512         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8513
8514 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
8515
8516         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8517         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8518         * elf/rtld.c (dl_main): Set l_name of vDSO.
8519         Call _dl_show_scope when DL_DEBUG_SCOPES.
8520         (process_dl_debug): Recognize scopes flag and also set it for all.
8521         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8522         Declare _dl_show_scope.
8523
8524         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8525         (do_dlopen): Pass caller_dlopen to dl_open.
8526         (__libc_dlopen_mode): Initialize caller_dlopen.
8527
8528         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8529         of libc.  Make tolower call locale-independent.  Optimize a bit by
8530         using isdigit instead of isalnum.
8531         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8532
8533 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
8534
8535         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8536         was a dependency or dynamically loaded.
8537
8538 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
8539
8540         * intl/l10nflist.c: Allow architecture-specific pop function.
8541         * sysdeps/x86_64/l10nflist.c: New file.
8542
8543         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8544         classification.
8545
8546 2011-08-10  Andreas Schwab  <schwab@redhat.com>
8547
8548         * include/dirent.h: Add libc_hidden_proto for scandirat and
8549         scandirat64.  Don't declare __scandirat64.
8550         * dirent/scandirat.c: Add libc_hidden_def.
8551         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8552         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8553
8554 2011-08-10  David S. Miller  <davem@davemloft.net>
8555
8556         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8557         enum.
8558         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8559         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8560         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8561
8562 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
8563
8564         * Versions.def [libc]: Add GLIBC_2.15.
8565         * dirent/Makefile (routines): Add scandirat and scandirat64.
8566         * dirent/Versions [libc]: Export scandirat and scandirat64 for
8567         GLIBC_2.15.
8568         * dirent/dirent.h: Declare scandirat and scandirat64.
8569         * dirent/scandirat.c: New file.
8570         * dirent/scandirat64.c: New file.
8571         * sysdeps/wordsize-64/scandirat.c: New file.
8572         * sysdeps/wordsize-64/scandirat64.c: New file.
8573         * dirent/opendir.c: Define opendirat.
8574         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
8575         using scandirat.
8576         * dirent/scandir64.c: Adjust for scandir.c change.
8577         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
8578         __scandirat64, and __scandir_cancel_handler.
8579         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
8580         additional parameter and use openat instead of open (outside of ld.so).
8581         Add new __opendir as wrapper around __opendirat.
8582         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8583         here without requiring old scandirat implementation.
8584
8585 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
8586
8587         * dirent/scandir.c (cancel_handler): Renamed to
8588         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
8589         defined.  Adjust users.
8590         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8591         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8592
8593 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
8594
8595         * string/test-string.h (IMPL): Use __STRING to expand name and then
8596         stringify it.
8597
8598         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
8599         of cleanups.
8600
8601 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8602
8603         * string/Makefile: Update.
8604         (strop-tests): Append strncat.
8605         * string/test-wcscmp.c: New file.
8606         New comprehensive test for wcscmp.
8607         * string/test-strcmp.c: Update.
8608         (WIDE): New define.
8609
8610 2011-07-22  Andreas Schwab  <schwab@redhat.com>
8611
8612         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8613         line.
8614
8615 2011-07-26  Andreas Schwab  <schwab@redhat.com>
8616
8617         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8618         encoding to ACE if AI_IDN.
8619
8620 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
8621
8622         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8623         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8624
8625 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8626
8627         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8628         Fix overflow bug in strncat.
8629         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8630
8631         * string/test-strncat.c: Update.
8632         Add new tests for checking overflow bugs.
8633
8634 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8635
8636         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8637         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8638         * sysdeps/i386/i686/multiarch/strcat.S: New file.
8639         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8640         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8641         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8642         * sysdeps/i386/i686/multiarch/strncat.S: New file.
8643         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8644         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8645
8646         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8647         (USE_AS_STRCAT): Define.
8648         Add strcat and strncat support.
8649         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8650
8651 2011-07-25  Andreas Schwab  <schwab@redhat.com>
8652
8653         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8654         __n bigger than INT_MAX+1.
8655         (__strncmp_g): Likewise.
8656
8657 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
8658
8659         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8660         * libio/stido.h: Likewise.
8661
8662         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8663         (AF_NFC): Define.
8664         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8665         (AF_NFC): Define.
8666
8667         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8668         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8669         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8670         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8671         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8672
8673         [BZ #13021]
8674         * scripts/test-installation.pl: Don't expect libnss_test1 to be
8675         installed.
8676
8677         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8678         typo.
8679         (_dl_x86_64_save_sse): Likewise.
8680
8681 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
8682
8683         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8684         OSXSAVE.
8685         (_dl_x86_64_save_sse): Likewise.
8686
8687         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8688
8689         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8690
8691 2011-07-21  Andreas Schwab  <schwab@redhat.com>
8692
8693         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8694         change.
8695         (_dl_x86_64_save_sse): Use correct AVX check.
8696
8697 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8698
8699         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8700         bug in strncpy/strncat.
8701         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8702
8703 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
8704
8705         * string/tester.c (test_strcat): Add tests for different alignments
8706         of source and destination.
8707         (test_strncat): Likewise.
8708
8709 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8710
8711         [BZ #12852]
8712         * posix/glob.c (glob): Check passed in values before using them in
8713         expressions to avoid some overflows.
8714         (glob_in_dir): Likewise.
8715
8716         [BZ #13007]
8717         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8718         check for AVX enablement so that we don't crash with old kernels and
8719         new hardware.
8720         * elf/tst-audit4.c: Add same checks here.
8721         * elf/tst-audit6.c: Likewise.
8722
8723         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8724
8725 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
8726
8727         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8728
8729 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8730
8731         * po/cs.po: Update from translation team.
8732         * po/bg.po: Likewise.
8733
8734 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
8735
8736         * misc/sys/cdefs.h: Add support for const attribute.
8737         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8738         to gnu_dev_{major,minor,makedev} functions.
8739
8740 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
8741
8742         * intl/dcigettext.c (get_output_charset): Add missing bracket.
8743
8744 2011-07-20  Andreas Schwab  <schwab@redhat.com>
8745
8746         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8747         strlen results.
8748
8749 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8750
8751         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8752         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8753         register in order to avoid conflicts with the soft frame pointer
8754         being held in r11 when necessary.
8755         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8756         (INTERNAL_VSYSCALL_NCS): Likewise.
8757
8758 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
8759
8760         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8761         * elf/dl-fini.c (_dl_fini): Adjust caller.
8762         * elf/dl-close.c (_dl_close_worker): Likewise.
8763         * sysdeps/generic/ldsodefs.h: Adjust declaration.
8764
8765 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8766
8767         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8768         "aux_cache->nlibs < 0".
8769
8770         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8771         in the reload-count case.
8772
8773 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8774
8775         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8776         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8777         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8778         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8779         * sysdeps/x86_64/multiarch/strcat.S: New file.
8780         * sysdeps/x86_64/multiarch/strncat.S: New file.
8781         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8782         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8783         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8784         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8785         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8786         (USE_AS_STRCAT): Define.
8787         Add strcat and strncat support.
8788         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8789         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8790         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8791         * string/strncat.c: Update.
8792         (USE_AS_STRNCAT): Define.
8793         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8794         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8795         and i7.
8796         * sysdeps/x86_64/multiarch/init-arch.h
8797         (bit_Prefer_PMINUB_for_stringop): New.
8798         (index_Prefer_PMINUB_for_stringop): Likewise.
8799         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8800         bit_Prefer_PMINUB_for_stringop.
8801
8802 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8803
8804         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8805         buffer64.
8806         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8807         of casting of buffer.
8808         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8809         buffer32 and buffer64.
8810         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8811         writes instead of casting of buffer.
8812         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8813         buffer32.
8814         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8815         casting of buffer.
8816
8817 2011-07-19  Andreas Schwab  <schwab@redhat.com>
8818
8819         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8820
8821 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8822
8823         * nscd/nscd.c (termination_handler): Don't do anything for a database
8824         if it has not yet been initialized.
8825
8826 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8827
8828         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8829
8830 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8831
8832         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8833
8834 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8835
8836         * po/nl.po: Update from translation team.
8837         * po/sv.po: Likewise.
8838
8839 2011-07-16  Roland McGrath  <roland@hack.frob.com>
8840
8841         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8842         now disallowed by GCC.
8843
8844         * configure.in (use-default-link): Default to yes if a test -shared
8845         link meets our qualifications.
8846         * configure: Regenerated.
8847
8848         * config.make.in (output-format): New variable.
8849         * configure.in: Check for ld --print-output-format support.
8850         * configure: Regenerated.
8851         * Makerules ($(common-objpfx)format.lds)
8852         [$(output-format) != unknown]: Just use $(output-format),
8853         instead of the linker-script munging.
8854
8855 2011-07-14  Roland McGrath  <roland@hack.frob.com>
8856
8857         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8858         of $(common-objpfx)shlib.lds.
8859         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8860
8861         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8862         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8863
8864         * configure.in (-z relro check): Adjust test code to add a large
8865         writable data section after it.
8866         * configure: Regenerated.
8867
8868 2011-07-11  Roland McGrath  <roland@hack.frob.com>
8869
8870         * configure.in (-z relro check): Fix test code to make the variable
8871         truly const.
8872         * configure: Regenerated.
8873
8874 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
8875
8876         * nscd/nscd.h (struct traced_file): Define.
8877         (struct database_dyn): Remove inotify_descr, reset_res, and filename
8878         elements.  Add traced_files.
8879         (inotify_fd): Declare.
8880         (register_traced_file): Declare.
8881         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8882         (inotify_fd): Export.
8883         (resolv_conf_descr): Remove.
8884         (nscd_init): Move inotify descriptor creation to main.
8885         Don't register files for notification here.
8886         (register_traced_file): New function.
8887         (invalidate_cache): Don't use reset_res to determine whether to call
8888         res_init, go through the list of registered files.
8889         (main_loop_poll): The inotify descriptors are now stored in the
8890         structures for the traced files.
8891         (main_loop_epoll): Likewise
8892         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
8893         to __nss_disable_nscd.
8894         * nscd/cache.c (prune_cache): There is no single inotify descriptor
8895         for a database anymore.  Check the records for all the registered
8896         files instead.
8897         * nss/Makefile (libnss_files-routines): Add files-init.
8898         (libnss_db-routines): Add db-init.
8899         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8900         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8901         * nss/nss_db/db-init.c: New file.
8902         * nss/nss_files/files-init.c: New file.
8903         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
8904         __nss_lookup_function.
8905         (__nss_lookup_function): Call nss_load_library.
8906         (nss_load_all_libraries): New function.
8907         (__nss_disable_nscd): Take parameter with callback function for files
8908         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
8909         used for the cached services.
8910         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8911         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8912         options for features to all the files in nscd.
8913
8914         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8915
8916 2011-07-10  Roland McGrath  <roland@hack.frob.com>
8917
8918         * csu/elf-init.c (__libc_csu_init): Comment typo.
8919
8920 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
8921
8922         * po/pl.po: Update from translation team.
8923         * po/ja.po: Likewise.
8924         * po/ru.po: Likewise.
8925         * po/ko.po: Likewise.
8926         * po/fr.po: Likewise.
8927
8928 2011-07-09  Roland McGrath  <roland@hack.frob.com>
8929
8930         * configure.in (.ctors/.dtors header and trailer check):
8931         Use an empirical test on a built program.
8932         * configure: Regenerated.
8933
8934         * configure.in (-z relro check): Use an empirical test on a built DSO.
8935         Detect, but do not require, on ia64.
8936         * configure: Regenerated.
8937
8938         * configure.in (READELF): Find it with AC_CHECK_TOOL.
8939         Update tests that use readelf to use $READELF instead.
8940         * configure: Regenerated.
8941
8942 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
8943
8944         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8945         if the result is not used.
8946
8947 2011-07-05  Andreas Jaeger  <aj@suse.de>
8948
8949         [BZ#9696]
8950         * stdlib/tst-strtod.c: Add testcase.
8951
8952 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
8953
8954         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8955         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8956         The latter has a higher limit.  Take additional parameter to pass to
8957         the new function.
8958         (__pathconf): Pass file to __statfs_link_max.
8959         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8960         __statfs_link_max.
8961         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8962         __statfs_link_max.
8963
8964         [BZ #12868]
8965         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8966         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8967         Handle Lustre.
8968         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8969         (__statfs_filesize_max): Likewise.
8970         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8971
8972 2011-07-05  Andreas Jaeger  <aj@suse.de>
8973
8974         * resolv/res_comp.c (dn_skipname): Remove unused variable.
8975
8976 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
8977
8978         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8979         `status' variable.
8980         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8981         Likewise.
8982
8983 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
8984
8985         * Makefile (strop-tests): Add strncat.
8986         * string/test-strncat.c: New file.
8987
8988 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
8989
8990         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8991
8992 2011-06-21  Andreas Jaeger  <aj@suse.de>
8993
8994         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8995         Copy rule from iconvdata/Makefile.
8996
8997 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
8998
8999         [BZ #12922]
9000         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9001         but no long options are defined, just return 'W'.
9002
9003 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
9004
9005         [BZ #9696]
9006         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9007
9008 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
9009
9010         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9011         netgroups to read.
9012         (innetgr): Likewise.
9013
9014 2011-07-05  Roland McGrath  <roland@hack.frob.com>
9015
9016         * config.make.in (install_root): Default to $(DESTDIR).
9017
9018 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
9019
9020         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9021
9022 2011-07-02  Roland McGrath  <roland@hack.frob.com>
9023
9024         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9025
9026         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9027         containing directory rather than embedding absolute directory names.
9028
9029         * scripts/check-local-headers.sh: Rewritten using awk.
9030         Match by word, not by line.  Print error messages for matches.
9031         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9032
9033         * Makerules [shlib-lds-flags empty]:
9034         ($(common-objpfx)libc_pic.opts): New target.
9035         ($(common-objpfx)libc_pic.os.clean): New target.
9036         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9037
9038         * config.make.in (OBJCOPY): New variable.
9039         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9040         * configure: Regenerated.
9041
9042         * config.make.in (use-default-link): New variable.
9043         * configure.in (use_default_link): Grok --with-default-link to set it.
9044         * configure: Regenerated.
9045         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9046         (shlib-lds, shlib-lds-flags): Define to empty.
9047
9048         * Makerules (shlib-lds): New variable.
9049         (shlib-lds-flags): New variable.
9050         (build-shlib, build-moduile, build-module-asneeded): Use it.
9051         ($(common-objpfx)libc.so): Use $(shlib-lds).
9052         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9053         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9054
9055         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9056         DT_FLAGS/DT_FLAGS_1 with zero flags.
9057
9058         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9059         linker script munging.
9060
9061 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
9062
9063         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9064         as 128-bit value.
9065         * crypt/sha512.c (sha512_process_block): Perform total addition using
9066         128-bit if possible.
9067         (__sha512_finish_ctx): Likewise.
9068         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9069         as 64-bit value.
9070         * crypt/sha256.c (SWAP64): Define.
9071         (sha256_process_block): Perform total addition using 64-bit if
9072         possible.
9073         (__sha256_finish_ctx): Likewise.
9074
9075 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
9076
9077         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
9078         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9079         * nscd/hstcache.c (cache_addhst): Likewise.
9080         * nscd/grpcache.c (cache_addgr): Likewise.
9081         * nscd/aicache.c (addhstaiX): Likewise
9082         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9083
9084 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
9085
9086         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9087         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9088         * nscd/hstcache.c (cache_addhst): Likewise.
9089         * nscd/grpcache.c (cache_addgr): Likewise.
9090         * nscd/aicache.c (addhstaiX): Likewise
9091
9092 2011-07-01  Andreas Schwab  <schwab@redhat.com>
9093
9094         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9095         domain only when needed.
9096
9097 2011-06-30  Andreas Schwab  <schwab@redhat.com>
9098
9099         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9100         is always restored.
9101
9102 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
9103
9104         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9105         are re-adding the entry.
9106         * nscd/servicescache.c (cache_addserv): Likewise.
9107
9108 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
9109
9110         * sysdeps/generic/dl-irel.h: fix protection against multiple
9111         inclusions.
9112         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9113
9114 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
9115
9116         [BZ #12935]
9117         * malloc/memusage.sh: Fix quoting in message.
9118         * debug/xtrace.sh: Likewise.
9119
9120         * configure.in: Remove support for --experimental-malloc option, make
9121         it the default.
9122         * config.make.in: Likewise.
9123         * malloc/Makefile: Likewise.
9124
9125 2011-06-27  Andreas Schwab  <schwab@redhat.com>
9126
9127         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9128         two-byte characters.
9129
9130 2011-06-27  Roland McGrath  <roland@hack.frob.com>
9131
9132         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9133         AC_CACHE_CHECK invocation.
9134         * configure: Regenerated.
9135
9136         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9137
9138 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
9139
9140         [BZ #12350]
9141         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
9142         bit from old_res_options.
9143
9144         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9145
9146         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9147         value type for setfct.
9148
9149 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
9150
9151         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9152         __gettimeofday instead of gettimeofday.
9153
9154 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
9155
9156         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9157
9158 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9159
9160         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9161
9162         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9163         info.
9164
9165 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
9166
9167         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9168         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9169         strcpy-sse2-unaligned strncpy-sse2-unaligned
9170         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9171         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9172         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9173         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9174         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9175         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9176         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9177         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9178         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9179         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9180         (STRCPY): Support SSE2 and SSSE3 versions.
9181
9182 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
9183
9184         [BZ #12874]
9185         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9186         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9187         kernels which artificially limit size of requests.
9188
9189 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
9190
9191         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9192         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9193         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9194         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9195         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9196         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9197         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9198         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9199         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9200         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9201         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9202         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9203         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9204         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9205         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9206         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9207         Enable unaligned load optimization for Intel Core i3, i5 and i7
9208         processors.
9209         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9210         Define.
9211         (index_Fast_Unaligned_Load): Define.
9212         (HAS_FAST_UNALIGNED_LOAD): Define.
9213
9214 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
9215
9216         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9217
9218 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
9219
9220         [BZ #12907]
9221         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9222         until it is clear that the information is realy needed.
9223         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9224
9225 2011-06-22  Andreas Schwab  <schwab@redhat.com>
9226
9227         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9228
9229 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
9230
9231         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9232         /sys/devices/system/cpu/online if it is usable.
9233
9234         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9235         reading the information from the /proc filesystem to once a second.
9236
9237 2011-06-21  Andreas Jaeger  <aj@suse.de>
9238
9239         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9240         NULL after inclusion of kernel headers.
9241
9242 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
9243
9244         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9245         calls to internal_setent.
9246
9247         [BZ #12885]
9248         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9249         addresses using gethostbyname4_r ignore IPv4 addresses.
9250
9251         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9252         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
9253
9254         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9255
9256 2011-06-20  David S. Miller  <davem@davemloft.net>
9257
9258         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9259         inclusions.
9260         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9261
9262         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9263         (elf_irel): Use it.
9264         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9265         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9266         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9267         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9268         * sysdeps/x86_64/dl-irel.h: Likewise.
9269
9270         * elf/dl-runtime.c: Use elf_ifunc_invoke.
9271         * elf/dl-sym.c: Likewise.
9272
9273 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
9274
9275         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
9276         need to dereference resplen2.
9277
9278 2011-06-14  Andreas Schwab  <schwab@redhat.com>
9279
9280         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9281
9282 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
9283
9284         * Makeconfig: Define vardbdir and inst_vardbdir.
9285         * nss/Makefile: Add rules to install db-Makefile.
9286
9287         * nss/nss_db/db-XXX.c: Cleanup.
9288
9289         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9290         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9291         GLIBC_PRIVATE.
9292         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9293         * nss/makedb.c: Implement -g option to specify that value strings
9294         are generated and should not be added to table iterated over for
9295         get*ent calls.
9296         * nss/nss_db/db-initgroups.c: New file.
9297
9298         * nss/getent.c: Add support for initgroups lookups through getgrouplist
9299         interface.
9300
9301         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9302         (internal_getgrouplist): Adjust to name change.
9303         Update use_initgroups_entry if this is not the first call.
9304         * nss/databases.def: Add initgroups entry.
9305
9306         * nss/makedb.c (compute_tables): Check result of multiple hash table
9307         sizes to minimize maximum chain length.
9308
9309 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
9310
9311         * Versions.def: Add entry for libnss_db.
9312         * shlib-versions: Likewise.
9313         * nss/Makefile: Add rules to build libnss_db.
9314         * nss/Versions: Add libnss_db information.  Organize libnss_files
9315         entries better.
9316         * nss/db-Makefile: Add gshadow support.  Change rules for the new
9317         makedb progra.  Some minor improvements to generate smaller files.
9318         * nss/nss_db/nss_db.h: Move NSS database header data structures to
9319         here from...
9320         * nss/makedb.c: ...here.
9321         Improve database format to be smaller and require less memory at
9322         runtime.
9323         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
9324         db anymore.
9325         * nss/nss_db/db-netgrp.c: Likewise.
9326         * nss/nss_db/db-open.c: Likewise.
9327         * nss/nss_files/flies-XXX.x: Adjust comments.
9328         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9329         * nss/nss_files/files-grp.c: Likewise.
9330         * nss/nss_files/files-hosts.c: Likewise.
9331         * nss/nss_files/files-network.c: Likewise.
9332         * nss/nss_files/files-proto.c: Likewise.
9333         * nss/nss_files/files-pwd.c: Likewise.
9334         * nss/nss_files/files-rpc.c: Likewise.
9335         * nss/nss_files/files-service.c: Likewise.
9336         * nss/nss_files/files-sgrp.c: Likewise.
9337         * nss/nss_files/files-spwd.c: Likewise.
9338         * nss/nss_db/db-alias.c: Removed.
9339         * nss/nss_db/dummy-db.h: Removed.
9340
9341 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
9342
9343         * nss/makedb.c: Rewritten to not use database library.
9344         * nss/Makefile: Update to build new makedb program.
9345
9346 2011-06-14  Andreas Jaeger  <aj@suse.de>
9347
9348         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9349         memset declaration.
9350
9351 2011-06-10  Andreas Schwab  <schwab@redhat.com>
9352
9353         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9354         tmpbuf.
9355
9356 2011-06-10  Roland McGrath  <roland@hack.frob.com>
9357
9358         * Makerules (shlib.lds): Fail if the linker script comes out empty.
9359         * elf/Makefile ($(objpfx)ld.so): Likewise.
9360
9361         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9362         Don't list ld.so twice in dependencies.
9363
9364         * posix/bug-regex31.c: Include <stdlib.h>.
9365
9366         * nscd/hstcache.c (cache_addhst): Remove unused variable.
9367
9368         * nis/nss_compat/compat-spwd.c
9369         (getspent_next_nss_netgr): Remove unused variable.
9370         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9371
9372         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9373         nonmembers" output to use the right array.
9374
9375         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9376
9377         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9378
9379         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9380         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9381         * catgets/gencat.c (read_input_file): Likewise.
9382         * locale/programs/locarchive.c (enlarge_archive): Likewise.
9383
9384         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9385         variable definition inside #if's controlling its use.
9386
9387         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9388
9389         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9390
9391         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9392
9393         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9394         unreachable code.
9395
9396         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9397
9398         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9399         * configure: Regenerated.
9400
9401         * Makerules: Revert last change.
9402         * elf/Makefile: Likewise.
9403
9404 2011-06-09  Roland McGrath  <roland@hack.frob.com>
9405
9406         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9407         * elf/Makefile ($(objpfx)librtld.os): Likewise.
9408         (reloc-link): Likewise.
9409
9410 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
9411
9412         * elf/Makefile: Add rules to build pldd.
9413         * elf/pldd.c: New file.
9414         * elf/pldd-xx.c: New file.
9415
9416 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
9417
9418         * version.h: Update for 2.15 development version.
9419
9420 2011-06-07  David S. Miller  <davem@davemloft.net>
9421
9422         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9423         ifuncs.
9424         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9425         elf_machine_lazy_rel): Likewise.
9426         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9427         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9428         elf_machine_lazy_rel): Likewise.
9429         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9430         dl_hwcap via passed in argument.
9431         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9432         Likewise.
9433
9434 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9435
9436         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
9437
9438 2011-06-06  Roland McGrath  <roland@hack.frob.com>
9439
9440         [BZ #12849]
9441         * manual/fdl-1.1.texi: New file, verbatim from:
9442         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9443         * manual/lgpl-2.1.texi: New file, verbatim from:
9444         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9445         * manual/Makefile (licenses): New variable, list those new file names.
9446         (texis): Use it.
9447         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9448
9449         * manual/fdl.texi: File removed.
9450         * manual/lesser.texi: File removed.
9451         * manual/libc.texinfo (Copying, Documentation License):
9452         Use new @include file names, put @appendix directive before @include.
9453
9454 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
9455
9456         [BZ #12841]
9457         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9458         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9459         (mq_open): Add __NTH.
9460
9461 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
9462
9463         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9464         Assume Intel Core i3/i5/i7 processor if AVX is available.
9465
9466 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
9467
9468         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9469         typo.
9470
9471 2011-05-31  Andreas Schwab  <schwab@redhat.com>
9472
9473         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9474         memory.  Use alloca_account.  Fix memory leak when retrying.
9475
9476 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
9477
9478         * version.h (RELEASE): Bump for 2.14 release.
9479         * include/features.h (__GLIBC_MINOR__): Bump to 14.
9480
9481         * config.make.in (RANLIB): Remove entry.
9482
9483 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
9484
9485         * po/Makefile (po-sed-cmd): Add ksh to extensions.
9486         (libc.pot): Work around missing support for .ksh extension in xgettext.
9487
9488         [BZ #12684]
9489         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9490         if both request failed.
9491         (send_dg): In case of server errors clear resplen or *resplen2.
9492
9493         [BZ #12454]
9494         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9495         when there are multiple maps.
9496         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9497         (_dl_fini): Remove test here.
9498
9499         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9500
9501 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
9502
9503         [BZ #12350]
9504         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9505         bit from old_res_options.
9506         (gaih_inet): Likewise.
9507
9508         [BZ #11099]
9509         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9510         as signed.
9511
9512         * resolv/res_init.c (res_setoptions): Make the code more compact.
9513
9514         [BZ #11558]
9515         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9516         set RES_USEVC.
9517
9518         [BZ #11634]
9519         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9520
9521         * malloc/malloc.h: Mark malloc hook variables as deprecated.
9522
9523         [BZ #11781]
9524         * malloc/malloc.h: Declare malloc hook variables as volatile.
9525
9526         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9527         in last patch.
9528
9529         [BZ #11799]
9530         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9531         raise in the comment.
9532         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9533         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9534         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9535
9536 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
9537
9538         [BZ #12811]
9539         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9540         grow the buffers more if it already has to be sufficient.
9541         (build_wcs_upper_buffer): Likewise.
9542         * posix/regexec.c (check_matching): Likewise.
9543         (clean_state_log_if_needed): Likewise.
9544         (extend_buffers): Don't enlarge buffers beyond size of the input
9545         buffer.
9546         Patches mostly by Emil Wojak <emil@wojak.eu>.
9547         * posix/bug-regex32.c: New file.
9548         * posix/Makefile (tests): Add bug-regex32.
9549
9550         * locale/findlocale.c (_nl_find_locale): Return right away if
9551         _nl_explode_name failed.
9552         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9553
9554         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9555
9556         * debug/xtrace.sh: Unify messages.
9557         * malloc/memusage.sh: Likewise.
9558
9559         [BZ #12813]
9560         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9561         time symbol from vDSO.  Substitute with vsyscall if not available.
9562         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9563         __vdso_time.
9564
9565         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9566         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9567         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9568         Add sendmmsg and internal_sendmmsg.
9569         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9570         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9571         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9572
9573         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9574         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9575         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9576
9577 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
9578
9579         [BZ #12813]
9580         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9581         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
9582         available.
9583         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9584         __vdso_getcpu.
9585
9586         [BZ #12814]
9587         * iconvdata/Makefile (tests): Add bug-iconv9.
9588         * iconvdata/bug-iconv9.c: New file.
9589
9590 2011-05-27  Andreas Schwab  <schwab@redhat.com>
9591
9592         [BZ #12814]
9593         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9594
9595 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
9596
9597         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9598         (struct user_regs_struct): Change intcs field back to cs.
9599
9600 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
9601
9602         * po/ja.po: Update from translation team.
9603
9604 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
9605
9606         [BZ #12795]
9607         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9608         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9609
9610 2011-05-20  Andreas Schwab  <schwab@redhat.com>
9611
9612         * stdlib/longlong.h: Update from GCC.
9613
9614 2011-05-23  Andreas Schwab  <schwab@redhat.com>
9615
9616         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9617         parameter name.
9618         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9619         Add parameter name.
9620         (__sysconf): Pass it down.
9621
9622 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
9623
9624         [BZ #12671]
9625         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9626         some situations.
9627         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9628         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9629         add in in __libc_use_alloca calls.  Adjust callers.
9630         (glob): Use malloc in some situations.
9631
9632         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9633         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9634         pltexit.
9635
9636 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
9637
9638         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9639         and CLOCK_BOOTTIME_ALARM.
9640
9641         [BZ #12782]
9642         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9643         is returned.
9644
9645         * string/_strerror.c (__strerror_r): Print negative errors as signed
9646         numbers.
9647
9648         [BZ #12777]
9649         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9650         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9651         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9652
9653         * configure.in: Fix typo in redirection and correct removal of test
9654         files in two cases.
9655
9656         [BZ #12788]
9657         * locale/setlocale.c (new_composite_name): Fix test to check for
9658         identical name of all categories.
9659
9660         [BZ #12792]
9661         * libio/filedoalloc.c (local_isatty): New function.
9662         (_IO_file_doallocate): Use local_isatty.
9663         * stdio-common/perror.c (perror): In case a new stream is used
9664         forward the stream error.
9665         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9666         error flag.
9667
9668 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
9669
9670         [BZ #11869]
9671         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9672         alloca.
9673         * include/alloca.h (extend_alloca_account): Define.
9674
9675         [BZ #11857]
9676         * posix/regex.h: Fix comments with documentation of user-accessible
9677         fields after compilation and describe correct free'ing of pattern
9678         after re_compile_pattern.
9679         Patch by Reuben Thomas <rrt@sc3d.org>.
9680
9681 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
9682
9683         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9684         and -mno-altivec to prevent the compiler from using Altivec and/or
9685         VSX instructions when the corresponding registers are not available.
9686
9687 2011-05-19  Andreas Schwab  <schwab@redhat.com>
9688
9689         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9690
9691 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
9692
9693         * libio/freopen.c (freopen): Use __dup2, not dup2.
9694         * libio/freopen64.c (freopen64): Likewise.
9695
9696 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9697
9698         [BZ #12775]
9699         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9700         * math/Makefile (tests): Add test-powl.
9701         (CFLAGS-test-powl.c): Define.
9702         * math/test-powl.c: New file.
9703
9704 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9705
9706         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9707
9708 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
9709
9710         [BZ #11837]
9711         * iconvdata/gb18030.c: Update to GB18020-2005.
9712
9713 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
9714
9715         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9716         RE_SYNTAX_POSIX_AWK): Update to match recent development.
9717         Patch by Aharon Robbins <arnold@skeeve.com>.
9718
9719         [BZ #11892]
9720         * stdlib/putenv.c (putenv): Don't always create copy of the variable
9721         on the stack.
9722
9723         [BZ #11895]
9724         * misc/pselect.c (__pselect): Handle timeout value errors hidden
9725         through underflows.
9726
9727         [BZ #12766]
9728         * misc/error.c (error_at_line): Ensure file_name and old_file_name
9729         point to strings before performing equality test for error_one_per_line
9730         mode.
9731
9732         [BZ #11697]
9733         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9734
9735         [BZ #11820]
9736         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9737         (struct user_fpregs_struct): Avoid __uint*_t types.
9738
9739         [BZ #6420]
9740         * malloc/mtrace.c (tr_where): Add additional parameter to point to
9741         symbol info.  Use it instead of calling _dl_addr locally.
9742         (lock_and_info): New function.
9743         (tr_freehook): Call lock_and_info and pass symbol info as additional
9744         parameter to tr_where.
9745         (tr_mallochook): Likewise.
9746         (tr_reallochook): Likewise.
9747         (tr_memalignhook): Likewise.
9748
9749         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
9750         used and couldn't be at all thread-safe.
9751
9752 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
9753
9754         * libio/freopen.c (freopen): Don't close old file descriptor
9755         before the new one is opened.  Instead dup the new file descriptor
9756         to the old one after the new stream is created.
9757         * libio/freopen64.c (freopen64): Likewise.
9758         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9759         * libio/fileops.c (_IO_new_file_close_it): Handle new
9760         _IO_FLAGS2_NOCLOSE flag.
9761         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9762         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9763         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9764         _IO_FLAGS2_NOCLOSE flag.
9765         * include/unistd.h: Add hidden_proto for dup3.
9766         Define __have_dup3.
9767         * io/dup3.c: Define hidden symbol.
9768         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9769
9770         [BZ #7101]
9771         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9772         when an incomplete long option is used.
9773         * posix/tst-getopt_long1.c: New file.
9774         * posix/Makefile (tests): Add tst-getopt_long1.
9775
9776         [BZ #10138]
9777         * scripts/config.guess: Update from autoconf-2.68.
9778         * scripts/config.sub: Likewise.
9779
9780         [BZ #10157]
9781         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9782         tests into ...
9783         (has_cpuclock): ...this.  New function.
9784         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9785         macro here based on has_cpuclock code.
9786
9787         [BZ #10149]
9788         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9789         First byte (not low byte) is now always NUL.
9790         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9791
9792         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9793         Use non-cancelable interfaces.
9794
9795         [BZ #9809]
9796         * locale/iso-639.def: Add entry for Sorani.
9797
9798         [BZ #11901]
9799         * include/stdlib.h: Move include protection to the right place.
9800         Define abort_msg_s.  Declare __abort_msg with it.
9801         * stdlib/abort.c (__abort_msg): Adjust type.
9802         * assert/assert.c (__assert_fail_base): New function.  Majority
9803         of code from __assert_fail.  Allocate memory for __abort_msg with
9804         mmap.
9805         (__assert_fail): Now call __assert_fail_base.
9806         * assert/assert-perr.c: Remove bulk of implementation.  Use
9807         __assert_fail_base.
9808         * include/assert.hL Declare __assert_fail_base.
9809         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9810         mmap.
9811         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9812
9813 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
9814
9815         [BZ #11952]
9816         [BZ #12453]
9817         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9818         until all modules are registered in the DTV.
9819         * elf/Makefile: Add rules to build and run tst-tls19.
9820         * elf/tst-tls19.c: New file.
9821         * elf/tst-tls19mod1.c: New file.
9822         * elf/tst-tls19mod2.c: New file.
9823         * elf/tst-tls19mod3.c: New file.
9824         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9825
9826         [BZ #12083]
9827         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9828         correctly.
9829
9830         [BZ #12601]
9831         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9832         two-byte sequence errors.
9833         * iconvdata/Makefile (tests): Add bug-iconv8.
9834         * iconvdata/bug-iconv8.c: New file.
9835
9836         [BZ #12626]
9837         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9838         buf2 definition.
9839
9840         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9841
9842         [BZ #12432]
9843         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9844         (dummy_getcfa): New function.
9845         (init): Get _Unwind_GetCFA address, use dummy if not found.
9846         (backtrace_helper): In recursion check, also check whether CFA changes.
9847         (__backtrace): Completely initialize arg.
9848
9849         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9850         storing incomplete byte sequence in state object.  Avoid testing for
9851         guaranteed too small input if we know there is enough data available.
9852
9853 2011-05-11  Andreas Schwab  <schwab@redhat.com>
9854
9855         * Makeconfig (+link-pie): Indent.
9856         * Rules (binaries-pie): Define if $(have-fpie) and
9857         $(build-shared).
9858         (binaries-shared): Also filter out $(binaries-pie).
9859         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9860         * nscd/Makefile (others-pie): Add nscd.
9861         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9862         ($(objpfx)nscd): Remove command override.
9863         * login/Makefile (others-pie): Add pt_chown.
9864         ($(objpfx)pt_chown): Remove command override.
9865         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9866         remove command overrides.
9867
9868 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
9869
9870         * libio/tst_putwc.c: Fix error messages.
9871
9872         [BZ #12724]
9873         * libio/fileops.c (_IO_new_file_close_it): Always flush when
9874         currently writing and seek to current position when not.
9875         * libio/Makefile (tests): Add bug-fclose1.
9876         * libio/bug-fclose1.c: New file.
9877
9878 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
9879
9880         [BZ #12511]
9881         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9882         don't set DF_1_NODELETE here.
9883         (do_lookup_x): When entering new entry test for copy relocation
9884         and if necessary set DF_1_NODELETE flag.
9885         * elf/tst-unique4.cc: New file.
9886         * elf/tst-unique4.h: New file.
9887         * elf/tst-unique4lib.cc: New file.
9888         * elf/Makefile: Add rules to build and run tst-unique4.
9889         Patch by Piotr Bury <pbury@goahead.com>.
9890
9891 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
9892
9893         [BZ #12052]
9894         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9895
9896         [BZ #12625]
9897         * misc/mntent_r.c (addmntent): Flush the stream after the output
9898
9899         [BZ #12393]
9900         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9901         (is_trusted_path_normalize): Skip initial colon.  Append slash
9902         to empty buffer.  Duplicate is_trusted_path code but allow
9903         constructed patch to be prefix.
9904         (is_dst): Allow $ORIGIN followed by /.
9905         (_dl_dst_substitute): Correct clearing of check_for_trusted.
9906         Correct testing of result of is_trusted_path_normalize
9907         (decompose_rpath): Fix warning.
9908
9909 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
9910
9911         [BZ #11257]
9912         * grp/initgroups.c (internal_getgrouplist): When we found the service
9913         list through the initgroups entry in nsswitch.conf do not always
9914         continue on a successful lookup.  Don't always use the
9915         __nss_group_database value if it is set.
9916         * nss/nsswitch.conf (initgroups): Change action for successful db
9917         lookup to continue for compatibility.
9918
9919 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
9920
9921         [BZ #11532]
9922         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9923         and CP774 modules.
9924         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9925         and CP774 modules.
9926         * iconvdata/tst-tables.sh: Likewise.
9927         * iconvdata/cp770.c: New file.
9928         * iconvdata/cp771.c: New file.
9929         * iconvdata/cp772.c: New file.
9930         * iconvdata/cp773.c: New file.
9931         * iconvdata/cp774.c: New file.
9932         * iconvdata/testdata/CP770: New file.
9933         * iconvdata/testdata/CP770..UTF8: New file.
9934         * iconvdata/testdata/CP771: New file.
9935         * iconvdata/testdata/CP771..UTF8: New file.
9936         * iconvdata/testdata/CP772: New file.
9937         * iconvdata/testdata/CP772..UTF8: New file.
9938         * iconvdata/testdata/CP773: New file.
9939         * iconvdata/testdata/CP773..UTF8: New file.
9940         * iconvdata/testdata/CP774: New file.
9941         * iconvdata/testdata/CP774..UTF8: New file.
9942
9943         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9944         END CHARMAP line.
9945         * iconvdata/gen-8bit-gap.sh: Likewise.
9946         * iconvdata/gen-8bit.sh: Likewise.
9947
9948         * locale/iso-639.def: Add ary entry.
9949
9950         [BZ #11258]
9951         * locale/C-translit.h.in: Add U20A1 transliteration.
9952
9953         [BZ #12178]
9954         * locale/iso-639.def: Add wae entry.
9955         Patch by Kevin Bortis <bortis@translate-wae.ch>.
9956
9957         [BZ #12545]
9958         * locale/programs/localedef.c (construct_output_path): Use ssize_t
9959         for n.
9960
9961         [BZ #12711]
9962         * locale/C-translit.h.in: Add entry for U20B9.
9963         Patch by pravin.d.s@gmail.com.
9964
9965 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
9966
9967         [BZ #12713]
9968         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9969         ENAMETOOLONG use generic getcwd.
9970         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
9971         in rtld.  Use *stat64.
9972         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9973         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9974         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9975         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9976         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9977         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9978         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9979         __fstatat64 macros.
9980         * include/dirent.h: Add libc_hidden_proto for rewinddir.
9981         * dirent/rewinddir.c: Add libc_hidden_def.
9982         * sysdeps/mach/hurd/rewinddir.c: Likewise.
9983         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
9984
9985         * include/dirent.h (__alloc_dir): Add flags parameter.
9986         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9987         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9988         __alloc_dir.
9989         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
9990         from fdopendir if O_CLOEXEC is already set.
9991
9992 2011-03-15  Alan Modra  <amodra@gmail.com>
9993
9994         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9995         l_tls_firstbyte_offset non-zero.  Save padding offset in
9996         l_tls_firstbyte_offset for later use.
9997         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9998         freeing static tls block.
9999
10000 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
10001
10002         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10003         where #ifdef was intended.  The intent is to prevent ARG_MAX from
10004         being defined by the kernel headers.
10005
10006 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
10007
10008         [BZ #12734]
10009         * resolv/resolv.h: Define RES_NOTLDQUERY.
10010         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10011         no-tld-query and set RES_NOTLDQUERY.
10012         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10013         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10014         modern BIND to search name as TLD unless forbidden.
10015
10016 2011-05-07  Petr Baudis  <pasky@suse.cz>
10017             Ulrich Drepper  <drepper@gmail.com>
10018
10019         [BZ #12393]
10020         * elf/dl-load.c (fillin_rpath): Move trusted path check...
10021         (is_trusted_path): ...to here.
10022         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
10023         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
10024         using is_trusted_path_normalize() in setuid scripts.
10025
10026 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10027
10028         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10029         __BEGIN/__END_DECLS.
10030
10031 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
10032
10033         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10034         NSS_STATUS_NOTFOUND if no record was found.
10035
10036 2011-05-05  Andreas Schwab  <schwab@redhat.com>
10037
10038         * sunrpc/Makefile (headers): Add rpc/netdb.h.
10039         (headers-not-in-tirpc): Remove rpc/netdb.h
10040         * resolv/netdb.h: Revert last change.
10041
10042 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10043
10044         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10045         circular dependency between libgcc.a and libc.a.
10046
10047 2011-05-05  Andreas Schwab  <schwab@redhat.com>
10048
10049         * resolv/netdb.h: Don't include <rpc/netdb.h>.
10050         * nis/Makefile: Don't install rpcsvc/*.
10051         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10052         instead of <rpc/types.h>.
10053         (MAXHOSTNAMELEN): Define.
10054
10055 2011-05-03  Andreas Schwab  <schwab@redhat.com>
10056
10057         * elf/ldconfig.c (add_dir): Don't crash on empty path.
10058
10059 2011-04-28  Maciej Babinski  <mbabinski@google.com>
10060
10061         [BZ #12714]
10062         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10063         gethostbyname4_r when IPv6 results are possible.
10064
10065 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
10066
10067         [BZ #12723]
10068         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10069         _PC_PIPE_BUF handling.
10070
10071 2011-04-30  Bruno Haible  <bruno@clisp.org>
10072
10073         [BZ #12717]
10074         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10075         * resolv/netdb.h (getnameinfo): Change type of flags parameter
10076         to 'int'.
10077         * inet/getnameinfo.c (getnameinfo): Likewise.
10078
10079 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
10080
10081         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10082         to groups setting in database lookup.
10083         * nss/nsswitch.conf: Add initgroups entry.
10084
10085 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
10086
10087         [BZ #12685]
10088         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10089         mode string.
10090         Patch by Eric Blake <eblake@redhat.com>.
10091
10092 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
10093
10094         * sunrpc/Makefile (need-export-routines): Add svc_run.
10095         (routines): Remove svc_run.
10096         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10097         * sunrpc/clnt_perr.c (clnt_perrno): Export.
10098         * sunrpc/svc_run.c (svc_run): Likewise.
10099         * sunrpc/svc_udp.c (svcudp_create): Likewise.
10100
10101 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
10102
10103         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10104         problem in reallocation in last patch.
10105
10106 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
10107
10108         * sunrpc/Makefile: Move inclusion of Rules.
10109
10110 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
10111
10112         * nss/nss_files/files-initgroups.c: New file.
10113         * nss/Makefile (libnss_files-routines): Add files-initgroups.
10114         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10115         _nss_files_initgroups_dyn.
10116
10117 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
10118
10119         * elf/elf.h (R_ARM_IRELATIVE): Define.
10120
10121 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
10122
10123         * po/ru.po: Update from translation team.
10124
10125 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
10126
10127         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10128         dependencies.
10129
10130 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
10131
10132         [BZ #12653]
10133         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10134         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10135         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10136         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10137         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10138
10139 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
10140
10141         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10142         differing bytes.
10143         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10144         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10145         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10146
10147 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
10148
10149         [BZ #12420]
10150         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10151         storing it.
10152         * stdlib/bug-getcontext.c: New file.
10153         * stdlib/Makefile: Add rules to build and run bug-getcontext.
10154
10155 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10156
10157         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10158         instructions into .machine "z9-109".
10159         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10160         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10161
10162 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10163
10164         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10165         between environment variables and auxiliary vector.
10166
10167 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
10168
10169         * Makefile: Add rules to build linkobj/libc.so.
10170         * include/libc-symbols.h: Define libc_hidden_nolink.
10171         * include/rpc/auth.h: Mark functions which are to be hidden.
10172         * include/rpc/auth_des.h: Likewise.
10173         * include/rpc/auth_unix.h: Likewise.
10174         * include/rpc/clnt.h: Likewise.
10175         * include/rpc/des_crypt.h: Likewise.
10176         * include/rpc/key_prot.h: Likewise.
10177         * include/rpc/pmap_clnt.h: Likewise.
10178         * include/rpc/pmap_prot.h: Likewise.
10179         * include/rpc/pmap_rmt.h: Likewise.
10180         * include/rpc/rpc_msg.h: Likewise.
10181         * include/rpc/svc.h: Likewise.
10182         * include/rpc/svc_auth.h: Likewise.
10183         * include/rpc/xdr.h: Likewise.
10184         * nis/Makefile: Link all DSOs against linkobj/libc.so.
10185         * nss/Makefile: Likewise.
10186         * sunrpc/Makefile: Don't install headers.  Build library with normal
10187         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
10188         * sunrpc/auth_des.c: Hide exported symbols by default, export some
10189         for the compat linking library.  Remove use of INTDEF/INTUSE.
10190         * sunrpc/auth_none.c: Likewise.
10191         * sunrpc/auth_unix.c: Likewise.
10192         * sunrpc/authdes_prot.c: Likewise.
10193         * sunrpc/authuxprot.c: Likewise.
10194         * sunrpc/clnt_gen.c: Likewise.
10195         * sunrpc/clnt_perr.c: Likewise.
10196         * sunrpc/clnt_raw.c: Likewise.
10197         * sunrpc/clnt_simp.c: Likewise.
10198         * sunrpc/clnt_tcp.c: Likewise.
10199         * sunrpc/clnt_udp.c: Likewise.
10200         * sunrpc/clnt_unix.c: Likewise.
10201         * sunrpc/des_crypt.c: Likewise.
10202         * sunrpc/des_soft.c: Likewise.
10203         * sunrpc/get_myaddr.c: Likewise.
10204         * sunrpc/key_call.c: Likewise.
10205         * sunrpc/key_prot.c: Likewise.
10206         * sunrpc/netname.c: Likewise.
10207         * sunrpc/pm_getmaps.c: Likewise.
10208         * sunrpc/pm_getport.c: Likewise.
10209         * sunrpc/pmap_clnt.c: Likewise.
10210         * sunrpc/pmap_prot.c: Likewise.
10211         * sunrpc/pmap_prot2.c: Likewise.
10212         * sunrpc/pmap_rmt.c: Likewise.
10213         * sunrpc/publickey.c: Likewise.
10214         * sunrpc/rpc_cmsg.c: Likewise.
10215         * sunrpc/rpc_common.c: Likewise.
10216         * sunrpc/rpc_dtable.c: Likewise.
10217         * sunrpc/rpc_prot.c: Likewise.
10218         * sunrpc/rpc_thread.c: Likewise.
10219         * sunrpc/rtime.c: Likewise.
10220         * sunrpc/svc.c: Likewise.
10221         * sunrpc/svc_auth.c: Likewise.
10222         * sunrpc/svc_authux.c: Likewise.
10223         * sunrpc/svc_raw.c: Likewise.
10224         * sunrpc/svc_run.c: Likewise.
10225         * sunrpc/svc_simple.c: Likewise.
10226         * sunrpc/svc_tcp.c: Likewise.
10227         * sunrpc/svc_udp.c: Likewise.
10228         * sunrpc/svc_unix.c: Likewise.
10229         * sunrpc/svcauth_des.c: Likewise.
10230         * sunrpc/xcrypt.c: Likewise.
10231         * sunrpc/xdr.c: Likewise.
10232         * sunrpc/xdr_array.c: Likewise.
10233         * sunrpc/xdr_float.c: Likewise.
10234         * sunrpc/xdr_intXX_t.c: Likewise.
10235         * sunrpc/xdr_mem.c: Likewise.
10236         * sunrpc/xdr_rec.c: Likewise.
10237         * sunrpc/xdr_ref.c: Likewise.
10238         * sunrpc/xdr_sizeof.c: Likewise.
10239         * sunrpc/xdr_stdio.c: Likewise.
10240
10241 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
10242
10243         [BZ #12650]
10244         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10245         * sysdeps/ia64/dl-tls.h: Likewise.
10246         * sysdeps/powerpc/dl-tls.h: Likewise.
10247         * sysdeps/s390/dl-tls.h: Likewise.
10248         * sysdeps/sh/dl-tls.h: Likewise.
10249         * sysdeps/sparc/dl-tls.h: Likewise.
10250         * sysdeps/x86_64/dl-tls.h: Likewise.
10251         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10252
10253 2011-03-14  Andreas Schwab  <schwab@redhat.com>
10254
10255         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10256         rpath element also skip the following colon.
10257         (expand_dynamic_string_token): Add is_path parameter and pass
10258         down to DL_DST_REQUIRED and _dl_dst_substitute.
10259         (decompose_rpath): Call expand_dynamic_string_token with
10260         non-zero is_path.  Ignore empty rpaths.
10261         (_dl_map_object_from_fd): Call expand_dynamic_string_token
10262         with zero is_path.
10263
10264 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
10265
10266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10267         Make cancelable.
10268
10269 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
10270
10271         [BZ #12655]
10272         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10273         Patch by Filipe David Manana <fdmanana@apache.org>.
10274
10275 2011-04-07  Andreas Schwab  <schwab@redhat.com>
10276
10277         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10278         Maintain aligned stack.
10279         (CHECK_RSP): Remove unused macro.
10280
10281 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
10282
10283         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10284         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10285
10286 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
10287
10288         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10289
10290         * include/features.h: Mention __USE_XOPEN2K8 in comment.
10291
10292 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
10293
10294         [BZ #12518]
10295         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10296         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10297         * sysdeps/x86_64/memmove.c: New file.
10298         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10299         (memcpy): Renamed to ...
10300         (__new_memcpy): This.
10301         (memcpy): Provide GLIBC_2_14 memcpy.
10302         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10303         (memcpy): Provide GLIBC_2_2_5 memcpy.
10304
10305 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10306
10307         [BZ #12631]
10308         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10309
10310 2011-03-30  Andreas Schwab  <schwab@redhat.com>
10311
10312         * misc/syncfs.c: New file.
10313         * misc/Makefile (routines): Add syncfs.
10314         * posix/unistd.h: Declare syncfs.
10315         * sysdeps/unix/syscalls.list: Add syncfs.
10316
10317 2011-04-01  Andreas Schwab  <schwab@redhat.com>
10318
10319         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10320         open_by_handle_at.
10321         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10322         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10323         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10324         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10325         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10326         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10327         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10328
10329 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10330
10331         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10332         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10333         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10334         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10335         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10336         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10337         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10338
10339         * io/Makefile: Compile fallocate.c, fallocate64.c, and
10340         sync_file_range.c with -fexceptions.
10341         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10342         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10343         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10344         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10345         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10346         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10347         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
10348         sync_file_range as cancellation point
10349         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
10350         now a wrapper around __call_sync_file_range with cancellation handling.
10351         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10352         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
10353         function name to __call_sync_file_range.
10354         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10355         Add call_sync_file_range.
10356
10357 2011-04-01  Andreas Schwab  <schwab@redhat.com>
10358
10359         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10360         bits/timex.h.
10361
10362 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10363
10364         * iconv/iconv.h: Fix typo in comment.
10365         * io/fcntl.h: Likewise.
10366         * libio/stdio.h: Likewise.
10367         * posix/spawn.h: Likewise.
10368         * posix/unistd.h: Likewise.
10369         * stdlib/stdlib.h: Likewise.
10370         * time/time.h: Likewise.
10371         * wcsmbs/wchar.h: Likewise.
10372
10373         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10374         open_by_handle): Add.
10375         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10376         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
10377         Augment a few comments.
10378         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10379         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10380         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10381         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10382         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10383         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10384         open_by_handle.
10385
10386         * io/fcntl.h (AT_EMPTY_PATH): Define.
10387
10388 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
10389
10390         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10391         * sysdeps/unix/sysv/linux/bits/time.h: New file.
10392         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10393         to...
10394         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
10395         * Versions.def: Add GLIBC_2.14.
10396         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10397         Export.
10398
10399 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
10400
10401         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10402         round counter.
10403         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10404
10405 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
10406
10407         [BZ #12597]
10408         * string/test-strncmp.c (do_page_test): New function.
10409         (check2): Likewise.
10410         (test_main): Call check2.
10411         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10412
10413 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
10414
10415         [BZ #12587]
10416         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10417         Handle cache information in CPU leaf 4.
10418         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10419
10420 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
10421
10422         [BZ #12583]
10423         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10424         character representation.
10425         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10426
10427 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
10428
10429         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10430         END(__isnan) to END(__isnanf) to match function entry point/label
10431         EALIGN(__isnanf,...).
10432
10433 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
10434
10435         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10436
10437 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
10438
10439         [BZ #12510]
10440         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10441         copy from the symbol referenced in the relocation to initialize the
10442         used variable.
10443         Patch by Piotr Bury <pbury@goahead.com>.
10444         * elf/Makefile: Add rules to build and tst-unique3.
10445         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10446         * elf/tst-unique3.cc: New file.
10447         * elf/tst-unique3.h: New file.
10448         * elf/tst-unique3lib.cc: New file.
10449         * elf/tst-unique3lib2.cc: New file.
10450
10451         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10452
10453 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
10454
10455         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10456         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
10457         to _start.
10458
10459 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
10460
10461         * elf/dl-load.c (_dl_map_object): If we are looking for the first
10462         to-be-loaded object along a path to loader is ld.so.
10463
10464 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
10465             Ulrich Drepper  <drepper@gmail.com>
10466
10467         * sysdeps/x86_64/memset.S: After aligning destination, code
10468         branches to different locations depending on the value of
10469         misalignment, when multiarch is enabled. Fix this.
10470
10471 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
10472
10473         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10474         Set _x86_64_preferred_memory_instruction for AMD processsors.
10475         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10476         Set bit_Prefer_SSE_for_memop for AMD processors.
10477
10478 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
10479
10480         * libio/fmemopen.c (fmemopen): Optimize a bit.
10481
10482 2011-03-03  Andreas Schwab  <schwab@redhat.com>
10483
10484         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10485
10486 2011-03-03  Roland McGrath  <roland@redhat.com>
10487
10488         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10489
10490 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
10491
10492         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10493         __bzero_ultra1 instead of __memset_ultra1.
10494
10495 2011-02-23  Andreas Schwab  <schwab@redhat.com>
10496             Ulrich Drepper  <drepper@gmail.com>
10497
10498         [BZ #12509]
10499         * include/link.h (struct link_map): Add l_orig_initfini.
10500         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10501         returning unsuccessfully.
10502         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10503         close of a file loaded at startup, restore the original l_initfini
10504         list.
10505         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10506         list, store the pointer.
10507         * elf/Makefile ($(objpfx)noload-mem): New rule.
10508         (noload-ENV): Define.
10509         (tests): Add $(objpfx)noload-mem.
10510         * elf/noload.c: Include <memcheck.h>.
10511         (main): Call mtrace.  Close all opened handles.
10512
10513 2011-02-17  Andreas Schwab  <schwab@redhat.com>
10514
10515         [BZ #12454]
10516         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10517         dependencies are missing.
10518
10519 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10520
10521         Fix __if_freereq crash: Unlike the generic version which uses free,
10522         Hurd needs munmap.
10523         * sysdeps/mach/hurd/ifreq.h: New file.
10524
10525 2011-01-27  Petr Baudis  <pasky@suse.cz>
10526             Ulrich Drepper  <drepper@gmail.com>
10527
10528         [BZ 12445]#
10529         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10530         to extend_alloca().
10531         * stdio-common/bug23.c: New file.
10532         * stdio-common/Makefile (tests): Add bug23.
10533
10534 2010-09-28  Andreas Schwab  <schwab@redhat.com>
10535             Ulrich Drepper  <drepper@gmail.com>
10536
10537         [BZ #12489]
10538         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10539         before performing relro protection.  At old place add assertion
10540         to make sure nothing changed.
10541
10542 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
10543             Glauber de Oliveira Costa  <glommer@gmail.com>
10544
10545         * elf/elf.h: Add new ARM TLS relocs.
10546
10547 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
10548
10549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10550         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10551         cast from r3.
10552         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
10553         'tests' variable.
10554         * sysdeps/wordsize-64/tst-writev.c: New file.
10555
10556 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
10557
10558         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10559         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10560         insns in _dl_start to prevent a TOC reference before relocs are
10561         resolved.
10562
10563 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
10564
10565         [BZ #12469]
10566         * Makeconfig: Remove RANLIB definition.
10567         * Makerules: Don't use RANLIB.
10568         * aclocal.m4: Remove ranlib test.
10569         * configure.in: No need to check for ranlib.
10570         * elf/rtld-Rules: Don't use RANLIB.
10571
10572 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10573
10574         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10575         protection macro.
10576         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10577         inclusion protection macro.
10578
10579         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10580         SIGRTMIN and SIGRTMAX and print information in that case only when
10581         SIGRTMIN is defined.
10582
10583 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
10584
10585         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10586         arginfo fn returning -1.
10587
10588         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10589         and thousands string is zero terminated.
10590
10591 2011-02-03  Andreas Schwab  <schwab@redhat.com>
10592
10593         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10594         sysdeps/unix/sysv/linux/bits/socket.h.
10595
10596 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10597
10598         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10599         (__CPU_COUNT): Remove old macros.
10600         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10601         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10602         (__CPU_ALLOC, __CPU_FREE): Add macros.
10603         (__sched_cpualloc, __sched_cpufree): Add declarations.
10604
10605 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
10606
10607         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10608         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10609         * nscd/aicache.c (addhstaiX): Return timeout of added value.
10610         (readdhstai): Return value of addhstaiX call.
10611         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10612         (addgrbyX): Return value returned by cache_addgr.
10613         (readdgrbyname): Return value returned by addgrbyX.
10614         (readdgrbygid): Likewise.
10615         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10616         (addpwbyX): Return value returned by cache_addpw.
10617         (readdpwbyname): Return value returned by addhstbyX.
10618         (readdpwbyuid): Likewise.
10619         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10620         (addservbyX): Return value returned by cache_addserv.
10621         (readdservbyname): Return value returned by addservbyX:
10622         (readdservbyport): Likewise.
10623         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10624         (addhstbyX): Return value returned by cache_addhst.
10625         (readdhstbyname): Return value returned by addhstbyX.
10626         (readdhstbyaddr): Likewise.
10627         (readdhstbynamev6): Likewise.
10628         (readdhstbyaddrv6): Likewise.
10629         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10630         (readdinitgroups): Return value returned by addinitgroupsX.
10631         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10632         (prune_cache): Keep track of timeout value of re-added entries.
10633         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10634         * nscd/nscd.h: Adjust prototypes of readd* functions.
10635
10636 2011-02-04  Roland McGrath  <roland@redhat.com>
10637
10638         * nis/nis_server.c (nis_servstate): Use the right name for 0.
10639         (nis_stats): Likewise.
10640         * nis/nis_modify.c (nis_modify): Likewise.
10641         * nis/nis_remove.c (nis_remove): Likewise.
10642         * nis/nis_add.c (nis_add): Likewise.
10643
10644         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10645
10646         * posix/fnmatch_loop.c: Add some consts.
10647
10648         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10649
10650 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
10651
10652         [BZ #12460]
10653         * config.make.in (config-cflags-novzeroupper): Define.
10654         * configure.in: Substitute libc_cv_cc_novzeroupper.
10655         * elf/Makefile (AVX-CFLAGS): Define.
10656         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10657         (CFLAGS-tst-auditmod4a.c): Likewise.
10658         (CFLAGS-tst-auditmod4b.c): Likewise.
10659         (CFLAGS-tst-auditmod6b.c): Likewise.
10660         (CFLAGS-tst-auditmod6c.c): Likewise.
10661         (CFLAGS-tst-auditmod7b.c): Likewise.
10662         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10663
10664 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
10665
10666         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10667         function to the callback.
10668         Patch partly by Jiri Olsa <jolsa@redhat.com>.
10669
10670 2011-02-02  Andreas Schwab  <schwab@redhat.com>
10671
10672         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10673         of errno.
10674
10675 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
10676
10677         [BZ #11724]
10678         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10679         of constructors.
10680         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10681         of destructors.
10682         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10683
10684         [BZ #11724]
10685         * elf/Makefile: Add rules to build and run new test.
10686         * elf/tst-initorder.c: New file.
10687         * elf/tst-initorder.exp: New file.
10688         * elf/tst-initordera1.c: New file.
10689         * elf/tst-initordera2.c: New file.
10690         * elf/tst-initordera3.c: New file.
10691         * elf/tst-initordera4.c: New file.
10692         * elf/tst-initorderb1.c: New file.
10693         * elf/tst-initorderb2.c: New file.
10694         * elf/tst-order-a1.c: New file.
10695         * elf/tst-order-a2.c: New file.
10696         * elf/tst-order-a3.c: New file.
10697         * elf/tst-order-a4.c: New file.
10698         * elf/tst-order-b1.c: New file.
10699         * elf/tst-order-b2.c: New file.
10700         * elf/tst-order-main.c: New file.
10701         New test case by George Gensure <werkt0@gmail.com>.
10702
10703 2010-10-01  Andreas Schwab  <schwab@redhat.com>
10704
10705         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10706         decoding ACE if AI_CANONIDN.
10707
10708 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
10709
10710         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10711
10712 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
10713
10714         * version.h (RELEASE): Bump for 2.13 release.
10715         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10716
10717         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10718
10719         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10720         MADV_NOHUGEPAGE.
10721         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10722         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10723         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10724         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10725         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10726         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10727
10728         * posix/getconf.c: Update copyright year.
10729         * catgets/gencat.c: Likewise.
10730         * csu/version.c: Likewise.
10731         * debug/catchsegv.sh: Likewise.
10732         * debug/xtrace.sh: Likewise.
10733         * elf/ldconfig.c: Likewise.
10734         * elf/ldd.bash.in: Likewise.
10735         * elf/sprof.c (print_version): Likewise.
10736         * iconv/iconv_prog.c: Likewise.
10737         * iconv/iconvconfig.c: Likewise.
10738         * locale/programs/locale.c: Likewise.
10739         * locale/programs/localedef.c: Likewise.
10740         * malloc/memusage.sh: Likewise.
10741         * malloc/mtrace.pl: Likewise.
10742         * nscd/nscd.c (print_version): Likewise.
10743         * nss/getent.c: Likewise.
10744
10745         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10746         PF_CAIF, and PF_ALG.
10747         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10748
10749 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
10750
10751         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10752         (modules-names): Use them.
10753         (ifunc-test-modules, ifunc-pie-tests): Define.
10754         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10755         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10756         (test-extras): Likewise.
10757         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10758         $(compile-command.c).
10759         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10760         (all-built-dso): Define.
10761         (check-textrel.out, check-execstack.out): Depend on it.
10762
10763         * configure.in: Don't override --enable-multi-arch.
10764
10765 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
10766
10767         [BZ #6812]
10768         * nscd/hstcache.c (tryagain): Define.
10769         (cache_addhst): Return tryagain not notfound for temporary errors.
10770         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10771         failed.
10772
10773 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
10774
10775         [BZ #10563]
10776         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10777         to make the syscall.
10778         * sysdeps/unix/sysv/linux/setgroups.c: New file.
10779
10780         [BZ #12378]
10781         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10782         and fall back to matching as normal character if the string ends before
10783         the matching ']' is found.  This is what POSIX requires.
10784         * posix/testfnm.c: Adjust test result.
10785         * posix/globtest.sh: Adjust test result.  Add new test.
10786         * posix/tst-fnmatch.input: Likewise.
10787         * posix/tst-fnmatch2.c: Add new test.
10788
10789 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
10790
10791         * elf/Makefile (check-execstack): Revert last change.  Depend on
10792         check-execstack.h.
10793         (check-execstack.h): New target.
10794         (generated): Add check-execstack.h.
10795         * elf/check-execstack.c: Include "check-execstack.h".
10796         (main): Revert last change.
10797         (handle_file): Return zero if GNU_STACK is absent and
10798         DEFAULT_STACK_PERMS doesn't include PF_X.
10799
10800 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
10801
10802         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10803         in child fails because the descriptor is already closed.
10804         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10805         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10806         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10807
10808         [BZ #12397]
10809         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10810         syscall.
10811
10812         [BZ #10484]
10813         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10814         temporary buffer used to handle multi lookups locally.
10815         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10816
10817 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10818
10819         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10820         loader is ld.so.
10821
10822 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
10823
10824         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10825         alignment for SSE2.
10826
10827 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10828
10829         [BZ #12394]
10830         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10831         characters.  When rounding increased number of integer digits recompute
10832         number of groups.
10833         * stdio-common/tst-grouping.c: New file.
10834         * stdio-common/Makefile: Add rules to build and run tst-grouping.
10835
10836 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
10837
10838         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10839         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
10840
10841         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10842         void.
10843         * bits/select.h: Likewise.
10844
10845 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
10846
10847         * po/ja.po: Update from translation team.
10848
10849 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
10850
10851         [BZ #11155]
10852         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10853         implementation just like for lxstat, fxstatat, et al.
10854
10855 2010-12-27  Jim Meyering  <meyering@redhat.com>
10856
10857         [BZ #12348]
10858         * posix/regexec.c (build_trtable): Return failure indication upon
10859         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
10860
10861 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
10862
10863         [BZ #12201]
10864         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10865         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10866         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10867         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10868
10869         [BZ #12207]
10870         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10871
10872         [BZ #12204]
10873         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10874         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10875
10876 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10877
10878         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10879         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10880         script has SORT_BY_INIT_PRIORITY.
10881         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10882         NO_CTORS_DTORS_SECTIONS is defined.
10883         * elf/soinit.c: Likewise.
10884         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10885         NO_CTORS_DTORS_SECTIONS is defined.
10886         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10887         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10888         * sysdeps/sh/init-first.c: Likewise.
10889         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10890
10891 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
10892
10893         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10894         always use the slow path.
10895
10896 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
10897
10898         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10899         similar rule which adds the sysdep directories to the header search in
10900         order to pick up the correct platform stackinfo.h.
10901         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10902         perform test if it is, otherwise return successfully without testing.
10903         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10904         DEFAULT_STACK_PERMS define in stackinfo.h.
10905         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10906         defined in stackinfo.h.
10907         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10908         DEFAULT_STACK_PERMS defined in stackinfo.h.
10909         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10910         * sysdeps/ia64/stackinfo.h: Likewise.
10911         * sysdeps/s390/stackinfo.h: Likewise.
10912         * sysdeps/sh/stackinfo.h: Likewise.
10913         * sysdeps/sparc/stackinfo.h: Likewise.
10914         * sysdeps/x86_64/stackinfo.h: Likewise.
10915         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10916         PF_X for powerpc64.  Retain PF_X for powerpc32.
10917
10918 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
10919
10920         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10921         accurately.
10922         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10923         GETDENTS_64BIT_ALIGNED.
10924
10925 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
10926
10927         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10928
10929 2010-12-10  Andreas Schwab  <schwab@redhat.com>
10930
10931         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10932         _GNU_SOURCE.
10933
10934         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10935         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10936         Remove __restrict.
10937         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10938         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10939
10940 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
10941
10942         [BZ #11655]
10943         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10944         are initialized.
10945
10946 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
10947
10948         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10949
10950 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
10951
10952         * po/it.po: Update from translation team.
10953
10954 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
10955
10956         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10957         unused codes.
10958
10959 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
10960
10961         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10962
10963 2010-11-24  Andreas Schwab  <schwab@redhat.com>
10964
10965         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10966         specially.
10967         (gaih_getanswer_slice): Likewise.
10968
10969 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
10970
10971         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10972
10973 2010-05-31  Petr Baudis  <pasky@suse.cz>
10974
10975         [BZ #11149]
10976         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10977         silently even in the chroot mode.
10978
10979 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
10980
10981         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10982         last patch a bit.  Pretty printing
10983
10984 2010-05-31  Petr Baudis <pasky@suse.cz>
10985
10986         [BZ #10085]
10987         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10988         initialization of skip_initgroups_dyn.
10989
10990 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
10991
10992         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10993         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10994
10995 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
10996
10997         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10998
10999 2010-11-11  Andreas Schwab  <schwab@redhat.com>
11000
11001         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11002         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11003         (tst-fnmatch-ENV): Set MALLOC_TRACE.
11004         ($(objpfx)tst-fnmatch-mem): New rule.
11005         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11006         * posix/tst-fnmatch.c (main): Call mtrace.
11007
11008 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
11009
11010         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11011         Support Intel processor model 6 and model 0x2c.
11012
11013 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
11014
11015         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11016           signed comparison.
11017
11018 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
11019
11020         [BZ #12205]
11021         * string/test-strncasecmp.c (check_result): New function.
11022         (do_one_test): Use it.
11023         (check1): New function.
11024         (test_main): Use it.
11025         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11026         Support strcasecmp and strncasecmp.
11027
11028 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
11029
11030         [BZ #12194]
11031         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11032         * sysdeps/x86_64/bits/byteswap.h: Likewise.
11033
11034 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11035
11036         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11037         IFUNC support.
11038         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11039         memset-x86-64.
11040         * sysdeps/x86_64/multiarch/bzero.S: New file.
11041         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11042         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11043         * sysdeps/x86_64/multiarch/memset.S: New file.
11044         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11045         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11046         Set bit_Prefer_SSE_for_memop for Intel processors.
11047         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11048         Define.
11049         (index_Prefer_SSE_for_memop): Define.
11050         (HAS_PREFER_SSE_FOR_MEMOP): Define.
11051
11052 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
11053
11054         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11055         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11056
11057 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
11058
11059         [BZ #12191]
11060         * sysdeps/i386/i686/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
11065         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11066         (__x86_64_raw_data_cache_size_half): Likewise.
11067         (__x86_64_raw_shared_cache_size): Likewise.
11068         (__x86_64_raw_shared_cache_size_half): Likewise.
11069         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11070         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11071         and __x86_64_raw_shared_cache_size_half.  Round
11072         __x86_64_data_cache_size_half, __x86_64_data_cache_size
11073         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11074         to multiple of 256 bytes.
11075
11076 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
11077
11078         [BZ #12167]
11079         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11080         of inacessible symlinks.  Verify result of symlink before returning it.
11081         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11082         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11083
11084 2010-10-28  Erich Ritz  <erichritz@gmail.com>
11085
11086         * math/math.h (isinf): Fix typo in comment.
11087
11088 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
11089
11090         * po/da.po: Update from translation team.
11091
11092 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
11093
11094         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11095         is added to the list.
11096
11097 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11098             Ulrich Drepper  <drepper@gmail.com>
11099
11100         * elf/dl-object.c (_dl_new_object): Don't append the new object to
11101         the global list here.  Move code to...
11102         (_dl_add_to_namespace_list): ...here.  New function.
11103         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11104         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11105         * elf/dl-load.c (lose): Don't remove the element from the list.
11106         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11107         (_dl_map_object): Likewise.
11108
11109 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
11110
11111         [BZ #12159]
11112         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11113         into all bytes of SSE register.
11114         Patch by Richard Li <richardpku@gmail.com>.
11115
11116 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
11117
11118         [BZ #12140]
11119         * malloc/malloc.c (_int_free): Fill correct number of bytes when
11120         perturbing.
11121
11122 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
11123
11124         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11125         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11126         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11127         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11129         submachine.
11130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11131
11132 2010-10-22  Andreas Schwab  <schwab@redhat.com>
11133
11134         * include/dlfcn.h (__RTLD_SECURE): Define.
11135         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
11136         mode & __RTLD_SECURE instead.
11137         (open_path): Rename preloaded parameter to secure.
11138         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11139         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11140         * elf/dl-deps.c (openaux): Likewise.
11141         * elf/rtld.c (struct map_args): Remove is_preloaded.
11142         (map_doit): Don't use it.
11143         (dl_main): Likewise.
11144         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11145         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11146
11147 2010-09-09  Andreas Schwab  <schwab@redhat.com>
11148
11149         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11150         (sysd-rules-targets): Remove duplicates.
11151         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11152         rtld-%.$o dependency.
11153
11154 2010-10-18  Andreas Schwab  <schwab@redhat.com>
11155
11156         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11157         _dl_map_object do it.
11158
11159 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
11160
11161         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11162         fast fma builtins, define the macros in the C99 standard.
11163         (FP_FAST_FMAF): Likewise.
11164         (FP_FAST_FMAL): Likewise.
11165         * sysdeps/x86_64/bits/mathdef.h: Likewise.
11166
11167         * bits/mathdef.h: Update copyright year.
11168         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11169
11170 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
11171
11172         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11173         builtins, define the macros in the C99 standard.
11174         (FP_FAST_FMAF): Likewise.
11175         (FP_FAST_FMAL): Likewise.
11176         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11177         multiply/add.
11178         (FP_FAST_FMAF): Likewise.
11179
11180 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
11181
11182         [BZ #3268]
11183         * math/libm-test.inc (fma_test): Some new testcases.
11184         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11185         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11186         y and infinite z.  Do multiplication by C already in long double.
11187         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11188         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11189         y and infinite z.  Do bitwise or of inexact bit into u.d.
11190         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11191         * sysdeps/i386/fpu/s_fmaf.S: Removed.
11192         * sysdeps/i386/fpu/s_fma.S: Removed.
11193         * sysdeps/i386/fpu/s_fmal.S: Removed.
11194
11195 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
11196
11197         [BZ #3268]
11198         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11199         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11200         computation is not scheduled after fetestexcept.  Fix value
11201         of minimum denormal long double.
11202
11203 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
11204
11205         [BZ #3268]
11206         * math/libm-test.inc (fma_test): Add some more tests.
11207         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11208         correctly.
11209
11210 2010-10-15  Andreas Schwab  <schwab@redhat.com>
11211
11212         * scripts/data/localplt-s390-linux-gnu.data: New file.
11213         * scripts/data/localplt-s390x-linux-gnu.data: New file.
11214
11215 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
11216
11217         [BZ #3268]
11218         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11219         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11220         instead of dbl-64.
11221         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11222         inlines.
11223         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11224         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11225         if one of x and y is very large and the other is subnormal.
11226         * sysdeps/s390/fpu/s_fmaf.c: New file.
11227         * sysdeps/s390/fpu/s_fma.c: New file.
11228         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11229         * sysdeps/powerpc/fpu/s_fma.S: New file.
11230         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11231         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11232         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11233
11234 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
11235
11236         [BZ #3268]
11237         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11238         fma tests.
11239         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11240         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11241         * sysdeps/i386/i686/multiarch/s_fma.c: Include
11242         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11243         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11244         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11245         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11246
11247 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
11248
11249         [BZ #12078]
11250         * posix/regcomp.c (parse_branch): One more memory leak plugged.
11251         * posix/bug-regex31.input: Add test case.
11252
11253 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
11254
11255         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11256         * posix/bug-regex31.input: New file.
11257
11258         [BZ #12078]
11259         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11260         (parse_sub_exp): Fix last change, use postorder.
11261
11262         * posix/bug-regex31.c: New file.
11263         * posix/Makefile: Add rules to build and run bug-regex31.
11264
11265         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11266
11267         [BZ #12078]
11268         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11269
11270         [BZ #12108]
11271         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11272         to have entries in sys_siglist.
11273
11274         [BZ #12093]
11275         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11276         be NULL.
11277
11278 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
11279
11280         [BZ #3268]
11281         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11282         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11283         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11284         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11285         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11286         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11287         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11288         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11289         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11290         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11291         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11292         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11293         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11294         * math/ftestexcept.c (fetestexcept): Likewise.
11295         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11296         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11297         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11298         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11299         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11300         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11301         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11302
11303 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
11304
11305         [BZ #12107]
11306         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11307         newline.
11308
11309 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
11310
11311         * string/bug-strstr1.c: New file.
11312         * string/Makefile: Add rules to build and run bug-strstr1.
11313
11314 2010-10-05  Eric Blake  <eblake@redhat.com>
11315
11316         [BZ #12092]
11317         * string/str-two-way.h (two_way_long_needle): Always clear memory
11318         when skipping input due to the shift table.
11319
11320 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
11321
11322         [BZ #12005]
11323         * malloc/mcheck.c: Handle large requests.
11324
11325         [BZ #12077]
11326         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11327         for strncmp and strncasecmp.
11328         * string/stratcliff.c: Add tests for strcmp and strncmp.
11329         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11330
11331 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11332
11333         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11334         __set_fpscr.
11335
11336 2010-09-30  Andreas Jaeger  <aj@suse.de>
11337
11338         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11339         (CGROUP_SUPER_MAGIC): Define.
11340         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11341         Handle btrfs and cgroup file systems.
11342         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11343         Likewise.
11344
11345 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
11346
11347         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11348         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11349
11350 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11351
11352         [BZ #12067]
11353         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11354         trying to locate the ELF header.
11355
11356 2010-09-27  Andreas Schwab  <schwab@redhat.com>
11357
11358         [BZ #11611]
11359         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11360         Mask out sign-bit copies when constructing f_fsid.
11361
11362 2010-09-24  Petr Baudis <pasky@suse.cz>
11363
11364         * debug/stack_chk_fail_local.c: Add missing licence exception.
11365         * debug/warning-nop.c: Likewise.
11366
11367 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
11368
11369         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11370         implementing getdents64 using getdents syscall, set d_type if
11371         __ASSUME_GETDENTS32_D_TYPE.
11372
11373 2010-09-16  Andreas Schwab  <schwab@redhat.com>
11374
11375         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11376         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11377
11378 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
11379
11380         [BZ #12037]
11381         * posix/unistd.h: Undo change of feature selection for ftruncate from
11382         2010-01-11.
11383
11384 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
11385
11386         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
11387         detection.
11388
11389 2010-09-20  Andreas Schwab  <schwab@redhat.com>
11390
11391         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11392         fanotify_mark.
11393         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11394
11395 2010-09-14  Andreas Schwab  <schwab@redhat.com>
11396
11397         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11398         variables after CHECK_SP call.
11399         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11400
11401 2010-09-13  Andreas Schwab  <schwab@redhat.com>
11402             Ulrich Drepper  <drepper@redhat.com>
11403
11404         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11405         re-relocationg ld.so.
11406         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11407         _dl_init_paths call.
11408         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
11409         here anymore.
11410
11411 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
11412
11413         * resolv/res_init.c (__res_vinit): Count the default server we added.
11414
11415 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
11416             Ulrich Drepper  <drepper@redhat.com>
11417
11418         [BZ #11968]
11419         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11420         (____longjmp_chk): Use %ebx for saving value across system call.
11421         Add unwind info.
11422
11423 2010-09-06  Andreas Schwab  <schwab@redhat.com>
11424
11425         * manual/Makefile: Don't mix pattern rules with normal rules.
11426
11427 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
11428
11429         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11430         operation.
11431         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11432         * libio/iofopncook.c (_IO_cookie_init): Likewise.
11433         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11434         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11435         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11436         Likewise.
11437
11438 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
11439
11440         [BZ #11979]
11441         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11442         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11443
11444 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
11445
11446         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11447         * sysdeps/x86_64/addmul_1.S: Likewise.
11448         * sysdeps/x86_64/lshift.S: Likewise.
11449         * sysdeps/x86_64/mul_1.S: Likewise.
11450         * sysdeps/x86_64/rshift.S: Likewise.
11451         * sysdeps/x86_64/sub_n.S: Likewise.
11452         * sysdeps/x86_64/submul_1.S: Likewise.
11453
11454 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11455
11456         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11457         Define __sched_param instead of SCHED_* and sched_param when
11458         <bits/sched.h> is included with __need_schedparam defined.
11459         * bits/sched.h [__need_schedparam]
11460         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11461         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11462         (__defined_schedparam): Define to 1.
11463         (__sched_param): New structure, identical to sched_param.
11464         (__need_schedparam): Undefine.
11465
11466 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
11467
11468         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11469         (epoll_create1): Declare.
11470
11471         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11472
11473 2010-08-31  Andreas Schwab  <schwab@redhat.com>
11474
11475         [BZ #7066]
11476         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11477         shifting retval into place.
11478
11479 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
11480
11481         * nis/rpcsvc/nis.h: Update copyright notice.
11482         * nis/rpcsvc/nis.x: Likewise.
11483         * nis/rpcsvc/nis_callback.h: Likewise.
11484         * nis/rpcsvc/nis_callback.x: Likewise.
11485         * nis/rpcsvc/nis_object.x: Likewise.
11486         * nis/rpcsvc/nis_tags.h: Likewise.
11487         * nis/rpcsvc/yp.h: Likewise.
11488         * nis/rpcsvc/yp.x: Likewise.
11489         * nis/rpcsvc/ypupd.h: Likewise.
11490         * nis/yp_xdr.c: Likewise.
11491         * nis/ypupdate_xdr.c: Likewise.
11492
11493         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
11494         mainly the body of pmap_getport.  Add parameters to specify timeouts.
11495         (pmap_getport): Use __libc_rpc_getport.
11496         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11497         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11498         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11499
11500 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
11501
11502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11503         fanotify_mark.
11504
11505 2010-08-27  Roland McGrath  <roland@redhat.com>
11506
11507         * sysdeps/i386/i686/multiarch/Makefile
11508         (CFLAGS-varshift.c): New variable.
11509
11510 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
11511
11512         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11513         * sysdeps/i386/i686/multiarch/varshift.c: New file.
11514
11515         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11516
11517         * sysdeps/x86_64/strlen.S: Minimal code improvement.
11518
11519 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11520
11521         * sysdeps/x86_64/strlen.S: Unroll the loop.
11522         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11523         strlen-sse2 strlen-sse2-bsf.
11524         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11525         __strlen_no_bsf if bit_Slow_BSF is set.
11526         (__strlen_sse42): Removed.
11527         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11528         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11529
11530 2010-08-25  Roland McGrath  <roland@redhat.com>
11531
11532         * sysdeps/x86_64/multiarch/varshift.S: File removed.
11533         * sysdeps/x86_64/multiarch/varshift.c: New file.
11534         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11535         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11536         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11537         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11538
11539 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11540
11541         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11542         strlen-sse2 strlen-sse2-bsf.
11543         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11544         __strlen_sse2_bsf if bit_Slow_BSF is unset.
11545         (__strlen_sse2): Removed.
11546         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11547         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11548         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11549         bit_Slow_BSF for Atom.
11550         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11551         (index_Slow_BSF): Define.
11552         (HAS_SLOW_BSF): Define.
11553
11554 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
11555
11556         [BZ #10851]
11557         * resolv/res_init.c (__res_vinit): When no server address at all
11558         is given default to loopback.
11559
11560 2010-08-24  Roland McGrath  <roland@redhat.com>
11561
11562         * configure.in: Remove config-name.h generation.
11563         * configure: Regenerated.
11564         * config-name.in: File removed.
11565         * scripts/config-uname.sh: New file.
11566         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11567         ($(objdir)config-name.h): New target.
11568
11569         * sunrpc/rpc_parse.h: Avoid nested comment.
11570
11571 2010-08-24  Richard Henderson  <rth@redhat.com>
11572             Ulrich Drepper  <drepper@redhat.com>
11573             H.J. Lu  <hongjiu.lu@intel.com>
11574
11575         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11576         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11577         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11578         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
11579         _mm_alignr_epi8 with _mm_loadu_si128.
11580         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11581         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11582         (__m128i_shift_right): Removed.
11583         * sysdeps/i386/i686/multiarch/varshift.h: New file.
11584         * sysdeps/i386/i686/multiarch/varshift.S: New file.
11585         * sysdeps/x86_64/multiarch/varshift.h: New file.
11586         * sysdeps/x86_64/multiarch/varshift.S: New file.
11587
11588 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
11589
11590         * configure.in: Move assembler checks to before sysdep dir checking.
11591
11592 2010-08-20  Petr Baudis  <pasky@suse.cz>
11593
11594         * LICENSES: Sync the sunrpc license.
11595
11596 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
11597
11598         * sunrpc/auth_des.c: Update copyright notice once again.
11599         * sunrpc/auth_none.c: Likewise.
11600         * sunrpc/auth_unix.c: Likewise.
11601         * sunrpc/authdes_prot.c: Likewise.
11602         * sunrpc/authuxprot.c: Likewise.
11603         * sunrpc/bindrsvprt.c: Likewise.
11604         * sunrpc/clnt_gen.c: Likewise.
11605         * sunrpc/clnt_perr.c: Likewise.
11606         * sunrpc/clnt_raw.c: Likewise.
11607         * sunrpc/clnt_simp.c: Likewise.
11608         * sunrpc/clnt_tcp.c: Likewise.
11609         * sunrpc/clnt_udp.c: Likewise.
11610         * sunrpc/clnt_unix.c: Likewise.
11611         * sunrpc/des_crypt.c: Likewise.
11612         * sunrpc/des_soft.c: Likewise.
11613         * sunrpc/get_myaddr.c: Likewise.
11614         * sunrpc/getrpcport.c: Likewise.
11615         * sunrpc/key_call.c: Likewise.
11616         * sunrpc/key_prot.c: Likewise.
11617         * sunrpc/openchild.c: Likewise.
11618         * sunrpc/pm_getmaps.c: Likewise.
11619         * sunrpc/pm_getport.c: Likewise.
11620         * sunrpc/pmap_clnt.c: Likewise.
11621         * sunrpc/pmap_prot.c: Likewise.
11622         * sunrpc/pmap_prot2.c: Likewise.
11623         * sunrpc/pmap_rmt.c: Likewise.
11624         * sunrpc/rpc/auth.h: Likewise.
11625         * sunrpc/rpc/auth_unix.h: Likewise.
11626         * sunrpc/rpc/clnt.h: Likewise.
11627         * sunrpc/rpc/des_crypt.h: Likewise.
11628         * sunrpc/rpc/key_prot.h: Likewise.
11629         * sunrpc/rpc/netdb.h: Likewise.
11630         * sunrpc/rpc/pmap_clnt.h: Likewise.
11631         * sunrpc/rpc/pmap_prot.h: Likewise.
11632         * sunrpc/rpc/pmap_rmt.h: Likewise.
11633         * sunrpc/rpc/rpc.h: Likewise.
11634         * sunrpc/rpc/rpc_des.h: Likewise.
11635         * sunrpc/rpc/rpc_msg.h: Likewise.
11636         * sunrpc/rpc/svc.h: Likewise.
11637         * sunrpc/rpc/svc_auth.h: Likewise.
11638         * sunrpc/rpc/types.h: Likewise.
11639         * sunrpc/rpc/xdr.h: Likewise.
11640         * sunrpc/rpc_clntout.c: Likewise.
11641         * sunrpc/rpc_cmsg.c: Likewise.
11642         * sunrpc/rpc_common.c: Likewise.
11643         * sunrpc/rpc_cout.c: Likewise.
11644         * sunrpc/rpc_dtable.c: Likewise.
11645         * sunrpc/rpc_hout.c: Likewise.
11646         * sunrpc/rpc_main.c: Likewise.
11647         * sunrpc/rpc_parse.c: Likewise.
11648         * sunrpc/rpc_parse.h: Likewise.
11649         * sunrpc/rpc_prot.c: Likewise.
11650         * sunrpc/rpc_sample.c: Likewise.
11651         * sunrpc/rpc_scan.c: Likewise.
11652         * sunrpc/rpc_scan.h: Likewise.
11653         * sunrpc/rpc_svcout.c: Likewise.
11654         * sunrpc/rpc_tblout.c: Likewise.
11655         * sunrpc/rpc_util.c: Likewise.
11656         * sunrpc/rpc_util.h: Likewise.
11657         * sunrpc/rpcinfo.c: Likewise.
11658         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11659         * sunrpc/rpcsvc/key_prot.x: Likewise.
11660         * sunrpc/rpcsvc/klm_prot.x: Likewise.
11661         * sunrpc/rpcsvc/mount.x: Likewise.
11662         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11663         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11664         * sunrpc/rpcsvc/rex.x: Likewise.
11665         * sunrpc/rpcsvc/rstat.x: Likewise.
11666         * sunrpc/rpcsvc/rusers.x: Likewise.
11667         * sunrpc/rpcsvc/sm_inter.x: Likewise.
11668         * sunrpc/rpcsvc/spray.x: Likewise.
11669         * sunrpc/rpcsvc/yppasswd.x: Likewise.
11670         * sunrpc/rtime.c: Likewise.
11671         * sunrpc/svc.c: Likewise.
11672         * sunrpc/svc_auth.c: Likewise.
11673         * sunrpc/svc_authux.c: Likewise.
11674         * sunrpc/svc_raw.c: Likewise.
11675         * sunrpc/svc_run.c: Likewise.
11676         * sunrpc/svc_simple.c: Likewise.
11677         * sunrpc/svc_tcp.c: Likewise.
11678         * sunrpc/svc_udp.c: Likewise.
11679         * sunrpc/svc_unix.c: Likewise.
11680         * sunrpc/svcauth_des.c: Likewise.
11681         * sunrpc/xcrypt.c: Likewise.
11682         * sunrpc/xdr.c: Likewise.
11683         * sunrpc/xdr_array.c: Likewise.
11684         * sunrpc/xdr_float.c: Likewise.
11685         * sunrpc/xdr_mem.c: Likewise.
11686         * sunrpc/xdr_rec.c: Likewise.
11687         * sunrpc/xdr_ref.c: Likewise.
11688         * sunrpc/xdr_sizeof.c: Likewise.
11689         * sunrpc/xdr_stdio.c: Likewise.
11690
11691         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11692         handling.
11693
11694 2010-08-19  Andreas Schwab  <schwab@redhat.com>
11695
11696         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11697
11698 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
11699
11700         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11701         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11702         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11703         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11704         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11705         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11706         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11707         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11708         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11709         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11710         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11711         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11712         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11713         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11714
11715 2010-07-26  Anton Blanchard  <anton@samba.org>
11716
11717         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11718         * malloc/arena.c (heap_trim): Likewise.
11719
11720 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
11721
11722         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11723         here.  Not...
11724         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11725         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11726
11727 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
11728
11729         * sysdeps/i386/elf/Makefile: New file.
11730
11731 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11732
11733         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11734         from fanotify_init.
11735         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11736         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11737
11738 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
11739
11740         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11741         of strncasecmp_l.
11742         * sysdeps/multiarch/strcmp.S: Likewise.
11743
11744 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
11745
11746         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11747         strncase_l-nonascii.
11748         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11749         Add strncase_l-ssse3.
11750         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11751         * sysdeps/x86_64/strcmp.S: Likewise.
11752         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11753         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11754         * sysdeps/x86_64/strncase.S: New file.
11755         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11756         * sysdeps/x86_64/strncase_l.S: New file.
11757         * string/Makefile (strop-tests): Add strncasecmp.
11758         * string/test-strncasecmp.c: New file.
11759
11760         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11761         warning.
11762
11763         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11764         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11765
11766 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11767
11768         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11769
11770 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
11771
11772         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11773         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11774         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11775
11776 2010-05-01  Alan Modra  <amodra@gmail.com>
11777
11778         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11779         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11780         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11781         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11782         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11783         tidying.  Don't tail-call __sigjmp_save for static lib.
11784         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11785         save location.
11786         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11787         (CALL_MCOUNT): Add eh info, and nop after bl.
11788         (TAIL_CALL_SYSCALL_ERROR): New macro.
11789         (PSEUDO_RET): Use it.
11790         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11791         Correct save location of integer regs and cr.
11792         (_dl_profile_resolve): Correct cr save location.  Delete nops
11793         after bl when SHARED.  Reduce cfi size a little by better
11794         placement of cfi directives.
11795         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11796         make a stack frame.  Instead use parm save area as a temp.
11797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11798         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
11799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11800         Don't make a stack frame for parent, use parm save area.
11801         Increase child stack frame to 112 bytes.  Don't save unused reg,
11802         and adjust reg usage.  Set up cfi on error recovery and
11803         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11805         (__makecontext): Add dummy nop after jump to exit.
11806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11807         Use correct parm save area and cr save, reduce stack frame.
11808         Correct cfi for possible PSEUDO_RET frame setup.
11809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11810         Branch to local label emitted by PSEUDO_RET rather than
11811         __syscall_error.
11812
11813 2010-08-12  Andreas Schwab  <schwab@redhat.com>
11814
11815         [BZ #11904]
11816         * locale/programs/locale.c (print_assignment): New function.
11817         (show_locale_vars): Use it.
11818
11819 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
11820
11821         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11822         field.
11823         (struct statfs64): Likewise.
11824         (_STATFS_F_FLAGS): Define.
11825         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11826         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11827         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11828         (ST_VALID): Define locally.
11829         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11830         __statvfs_getflags, use the provided value.
11831         * sysdeps/unix/sysv/linux/kernel-features.h: Define
11832         __ASSUME_STATFS_F_FLAGS.
11833
11834         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11835
11836         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11837         Add sys/fanotify.h.
11838         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11839         fanotify_mask for GLIBC_2.13.
11840         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11841         fanotify_init and fanotify_mark.
11842         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11843         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11844
11845         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11846         Add prlimit.
11847         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11848         prlimit64 for GLIBC_2.13.
11849         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11850         prlimit64.
11851         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11852         syscall.
11853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11854         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11855         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11856         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11857         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
11858         add prlimit alias.
11859         * sysdeps/unix/sysv/linux/prlimit.c: New file.
11860
11861         [BZ #11903]
11862         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11863         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11864
11865         * nss/Makefile: Add rules to build and run tst-nss-test1.
11866         * shlib-versions: Add entry for libnss_test1.
11867         * nss/nss_test1.c: New file.
11868         * nss/tst-nss-test1.c: New file.
11869
11870         * nss/nsswitch.c (__nss_database_custom): Define new variable.
11871         (__nss_configure_lookup): Set appropriate entry in
11872         __nss_configure_lookup to true.
11873         * nss/nsswitch.h: Define enum with indeces of databases in
11874         databases and __nss_database_custom arrays.  Declare
11875         __nss_database_custom.
11876         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11877         to avoid using nscd when custom rules are installed.
11878         * nss/getXXbyYY_r.c: Likewise.
11879         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11880
11881         * nss/nss_files/files-parse.c: Whitespace fixes.
11882
11883 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
11884
11885         [BZ #11883]
11886         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11887         * posix/fnmatch_loop.c: Likewise.
11888
11889 2010-07-17  Andi Kleen  <ak@linux.intel.com>
11890
11891         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11892         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11893         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11894         * Versions.def [GLIBC_2.13]: Add.
11895
11896 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
11897
11898         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11899         Also fail if tpwd after pwuid call is NULL.
11900
11901 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11902
11903         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11904         when converting to ms.
11905
11906 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11907
11908         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11909         EOPNOTSUPP errors with ENOTTY.
11910         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11911         EOPNOTSUPP errors with ENOTTY.
11912
11913 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
11914
11915         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11916         Add strcasecmp_l-ssse3.
11917         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11918         strcasecmp.
11919         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11920         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11921         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11922
11923 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
11924
11925         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11926
11927         * string/Makefile (strop-tests): Add strcasecmp.
11928         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11929         strcasecmp_l-nonascii.
11930         (gen-as-const-headers): Add locale-defines.sym.
11931         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11932         * sysdeps/x86_64/strcasecmp.S: New file.
11933         * sysdeps/x86_64/strcasecmp_l.S: New file.
11934         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11935         * sysdeps/x86_64/locale-defines.sym: New file.
11936         * string/test-strcasecmp.c: New file.
11937
11938         * string/test-strcasestr.c: Test both ends of the range of characters.
11939         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11940
11941 2010-07-29  Roland McGrath  <roland@redhat.com>
11942
11943         [BZ #11856]
11944         * manual/locale.texi (Yes-or-No Questions): Fix example code.
11945
11946 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
11947
11948         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11949         for ld.so.
11950
11951 2010-07-27  Andreas Schwab  <schwab@redhat.com>
11952
11953         * manual/memory.texi (Malloc Tunable Parameters): Document
11954         M_PERTURB.
11955
11956 2010-07-26  Roland McGrath  <roland@redhat.com>
11957
11958         [BZ #11840]
11959         * configure.in (-fgnu89-inline check): Set and substitute
11960         gnu89_inline, not libc_cv_gnu89_inline.
11961         * configure: Regenerated.
11962         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11963
11964 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
11965
11966         * string/test-strnlen.c: New file.
11967         * string/Makefile (strop-tests): Add strnlen.
11968         * string/tester.c (test_strnlen): Add a few more test cases.
11969         * string/tst-strlen.c: Better error reporting.
11970
11971         * sysdeps/x86_64/strnlen.S: New file.
11972
11973 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
11974
11975         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11976         lower-latency instructions.
11977
11978 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
11979
11980         * string/test-strcasestr.c: New file.
11981         * string/test-strstr.c: New file.
11982         * string/Makefile (strop-tests): Add strstr and strcasestr.
11983         * string/str-two-way.h: Don't undefine MAX.
11984         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11985
11986 2010-07-21  Andreas Schwab  <schwab@redhat.com>
11987
11988         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11989         strcasestr-nonascii.
11990         (CFLAGS-strcasestr-nonascii.c): Define.
11991         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11992         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11993         Remove unused attribute.
11994
11995 2010-07-20  Roland McGrath  <roland@redhat.com>
11996
11997         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11998         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
11999         ld.so.cache was broken.  With it, there is no way to disable dsocaps
12000         like LD_HWCAP_MASK can disable hwcaps.
12001
12002 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
12003
12004         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12005
12006 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
12007
12008         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12009         call in strcasestr.
12010         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12011         __strcasestr_sse42_nonascii.
12012         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12013         strcasestr-nonascii.c.
12014         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12015
12016 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
12017
12018         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12019         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12020         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12021         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12022
12023 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
12024
12025         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12026         fcntl.
12027
12028 2010-07-06  Andreas Schwab  <schwab@redhat.com>
12029
12030         [BZ #11577]
12031         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12032         dl_signal_cerror.
12033
12034 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
12035
12036         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12037         _PC_PIPE_BUF using F_GETPIPE_SZ.
12038
12039 2010-07-05  Roland McGrath  <roland@redhat.com>
12040
12041         * manual/arith.texi (Rounding Functions): Fix rint description
12042         implicit in round description.
12043
12044 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
12045
12046         * elf/Makefile: Fix linking for a few tests to make recent linker
12047         happy.
12048
12049 2010-06-30  Andreas Schwab  <schwab@redhat.com>
12050
12051         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12052         $(common-objpfx)libc_nonshared.a.
12053
12054 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
12055
12056         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12057         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12058         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12059         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12060         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12061         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12062         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12063         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12078         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12079         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12080         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12081         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12082         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12083         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12084         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12085         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12086         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12087         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12088         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12089         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12104
12105 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
12106
12107         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12108         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
12109         * string/memmove.c (memmove): Renamed to ...
12110         (MEMMOVE): ...this.  Default to memmove.
12111         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12112         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12113         (END_CHK): Define.
12114         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12115         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12116         mempcpy-ssse3-back memmove-ssse3-back.
12117         * sysdeps/x86_64/multiarch/bcopy.S: New file .
12118         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12119         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12120         * sysdeps/x86_64/multiarch/memcpy.S: New file.
12121         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12122         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12123         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12124         * sysdeps/x86_64/multiarch/memmove.c: New file.
12125         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12126         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12127         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12128         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12129         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12130         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12131         Define.
12132         (index_Fast_Copy_Backward): Define.
12133         (HAS_ARCH_FEATURE): Define.
12134         (HAS_FAST_REP_STRING): Define.
12135         (HAS_FAST_COPY_BACKWARD): Define.
12136
12137 2010-06-21  Andreas Schwab  <schwab@redhat.com>
12138
12139         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12140         Restore proper fallback handling.
12141
12142 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
12143
12144         [BZ #11701]
12145         * posix/group_member.c (__group_member): Correct checking loop.
12146
12147         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12148         OOM in getpwuid_r correctly.  Return error number when the caller
12149         should return, otherwise -1.
12150         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12151         call returning > 0 value.
12152         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12153
12154 2010-06-07  Andreas Schwab  <schwab@redhat.com>
12155
12156         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12157         libc_nonshared.a from targets in modules-names.
12158
12159 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
12160
12161         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12162         requires it.
12163
12164 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
12165
12166         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12167         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12168         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12169         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12170
12171 2010-06-02  Andreas Schwab  <schwab@redhat.com>
12172
12173         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12174
12175 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
12176
12177         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12178         and F_GETPIPE_SZ.
12179         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12180         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12181         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12182         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12183         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12184         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12185
12186 2010-06-14  Roland McGrath  <roland@redhat.com>
12187
12188         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12189
12190 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
12191
12192         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12193         __REDIRECT followed by __THROW.
12194         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12195         * posix/getopt.h (getopt): Likewise.
12196
12197 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
12198
12199         * hurd/lookup-at.c (__file_name_lookup_at): Accept
12200         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
12201         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12202         in AT_FLAGS.
12203         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12204         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12205
12206 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
12207
12208         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12209
12210 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
12211
12212         [BZ #11640]
12213         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12214         Properly check family and model.
12215
12216 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
12217
12218         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12219
12220 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
12221
12222         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12223
12224 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
12225
12226         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12227         symbol reference.
12228
12229 2010-05-19  Andreas Schwab  <schwab@redhat.com>
12230
12231         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12232         symbol reference.
12233
12234 2010-05-21  Andreas Schwab  <schwab@redhat.com>
12235
12236         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12237         and internal_recvmmsg.
12238         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12239         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12240         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12241         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12242
12243         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12244         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12245         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12246
12247 2010-05-20  Andreas Schwab  <schwab@redhat.com>
12248
12249         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12250
12251 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
12252
12253         POWER7 optimizations.
12254         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12255         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12256
12257 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
12258
12259         * version.h: Update for 2.13 development version.
12260
12261 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
12262
12263         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12264         exceptions.  Return 0.
12265
12266 2010-05-07  Roland McGrath  <roland@redhat.com>
12267
12268         * elf/ldconfig.c (main): Add a const.
12269
12270 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
12271
12272         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12273         (args_options): Add no-idn option.
12274         (ahosts_keys_int): Add idn_flags to ai_flags.
12275         (parse_option): Handle 'i' option to clear idn_flags.
12276
12277         * malloc/malloc.c (_int_free): Possible race in the most recently
12278         added check.  Only act on the data if no current modification
12279         happened.
12280
12281 See ChangeLog.17 for earlier changes.