Don't use long double *_finite functions if no long double math
[platform/upstream/glibc.git] / ChangeLog
1 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
2
3         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4         double functions to double *_finite functions.
5
6         [BZ #13941]
7         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
9         LDBL_MIN_EXP.
10         * stdio-common/Makefile (tests): Add tst-sprintf3.
11         * stdio-common/tst-sprintf3.c: New file.
12
13         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15
16 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
17
18         * conform/conformtest.pl: Remove duplicate typed-constant
19         handling.
20
21 2012-04-28  David S. Miller  <davem@davemloft.net>
22
23         * Makerules (%.abilist): Add vpath on sysdep_dirs.
24         (check-abi-%): Remove AWK script prerequisite and explicit
25         abilist directory.
26         (check-abi): Rewrite to just diff the symlist with the abilist.
27         (config-tls, config-abi-config): Delete, no longer used.
28         (update-abi-%): Remove AWK script and explicit abilist directory.
29         (update-abi): Rewrite to simply compare and conditionally copy the
30         symlist and the sysdep abilist file.  Remove update-abi-config
31         checks.
32         * abilist/ld.abilist: Remove.
33         * abilist/libBrokenLocale.abilist: Remove.
34         * abilist/libanl.abilist: Remove.
35         * abilist/libcrypt.abilist: Remove.
36         * abilist/libdl.abilist: Remove.
37         * abilist/librt.abilist: Remove.
38         * abilist/libthread_db.abilist: Remove.
39         * abilist/libutil.abilist: Remove.
40         * scripts/extract-abilist.awk: Remove.
41         * scripts/merge-abilist.awk: Remove.
42         * sysdeps/generic/libcidn.abilist: New file.
43         * sysdeps/generic/libnss_compat.abilist: New file.
44         * sysdeps/generic/libnss_db.abilist: New file.
45         * sysdeps/generic/libnss_dns.abilist: New file.
46         * sysdeps/generic/libnss_files.abilist: New file.
47         * sysdeps/generic/libnss_hesiod.abilist: New file.
48         * sysdeps/generic/libnss_nis.abilist: New file.
49         * sysdeps/generic/libnss_nisplus.abilist: New file.
50         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
51         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
52         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
53         file.
54         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
55         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
56         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
57         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
58         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
59         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
60         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
61         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
62         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
63         file.
64         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
65         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
66         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
67         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
68         file.
69         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
70         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
71         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
72         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
73         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
74         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
75         file.
76         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
77         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
78         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
79         file.
80         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
81         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
82         New file.
83         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
84         New file.
85         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
86         New file.
87         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
88         New file.
89         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
90         New file.
91         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
92         New file.
93         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
94         New file.
95         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
96         New file.
97         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
98         New file.
99         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
100         New file.
101         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
102         New file.
103         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
104         New file.
105         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
106         New file.
107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
108         file.
109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
110         New file.
111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
112         New file.
113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
114         file.
115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
116         New file.
117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
118         New file.
119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
120         file.
121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
122         New file.
123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
124         New file.
125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
126         New file.
127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
128         New file.
129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
130         New file.
131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
132         New file.
133         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
135         file.
136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
137         New file.
138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
139         file.
140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
141         file.
142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
143         file.
144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
145         file.
146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
147         file.
148         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
149         New file.
150         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
151         file.
152         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
153         file.
154         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
155         New file.
156         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
157         file.
158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
160         file.
161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
162         New file.
163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
164         file.
165         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
166         file.
167         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
168         file.
169         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
170         file.
171         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
172         file.
173         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
174         New file.
175         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
176         file.
177         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
178         file.
179         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
180         New file.
181         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
182         file.
183         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
184         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
185         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
186         file.
187         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
188         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
189         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
190         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
191         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
192         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
193         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
194         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
195         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
196         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
197         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
198         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
199         file.
200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
201         New file.
202         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
203         file.
204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
205         file.
206         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
207         file.
208         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
209         file.
210         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
211         file.
212         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
213         New file.
214         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
215         New file.
216         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
217         file.
218         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
219         New file.
220         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
221         file.
222         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
224         file.
225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
226         New file.
227         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
228         file.
229         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
230         file.
231         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
232         file.
233         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
234         file.
235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
236         file.
237         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
238         New file.
239         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
240         New file.
241         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
242         file.
243         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
244         New file.
245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
246         file.
247
248 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
249
250         * conform/conformtest.pl: Fix typo in handling typed-constant from
251         allow-header.
252
253 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
254
255         * README: Cut down references to pre-2.6 Linux kernels and
256         Linuxthreads.  Update lists of configurations in libc and ports
257         and sort alphabetically.  Say "or newer" with Linux kernel version
258         requirements.
259
260         * config.h.in [IS_IN_build]: Allow compiling without optimization.
261
262 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
263
264         [BZ #887]
265         * math/libm-test.inc (logb_test_downward): New test to expose
266         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
267         rounding mode.
268
269 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
270
271         [BZ #14027]
272         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
273         to be done.
274         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
275         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
276
277 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
278
279         * sysdeps/unix/i386/brk.S: Remove file.
280         * sysdeps/unix/i386/dl-brk.S: Likewise.
281         * sysdeps/unix/i386/pipe.S: Likewise.
282         * sysdeps/unix/i386/sigreturn.S: Likewise.
283         * sysdeps/unix/i386/syscall.S: Likewise.
284         * sysdeps/unix/i386/vfork.S: Likewise.
285         * sysdeps/unix/i386/wait.S: Likewise.
286
287         * sysdeps/unix/common/tcsendbrk.c: Move to ...
288         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
289
290         * configure.in (arm*-none*): Do not allow without
291         --enable-hacker-mode.
292         (netbsd*): Remove case setting base_os.
293         (386bsd*): Likewise.
294         (freebsd*): Likewise.
295         (bsdi*): Likewise.
296         (osf*): Likewise.
297         (sunos*): Likewise.
298         (ultrix*): Likewise.
299         (newsos*): Likewise.
300         (dynix*): Likewise.
301         (*bsd*): Likewise.
302         (sysv*): Likewise.
303         (isc*): Likewise.
304         (esix*): Likewise.
305         (sco*): Likewise.
306         (minix*): Likewise.
307         (irix4*): Likewise.
308         (irix6*): Likewise.
309         (solaris[2-9]*): Likewise.
310         (none): Likewise.
311         * configure: Regenerated.
312
313 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
314
315         [BZ #11521]
316         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
317         overflow or cancellation in calculating denominator.
318         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
319         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
320         down expression to avoid unexpected rounding in newer GCCs.
321         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
322
323 2012-04-26  David S. Miller  <davem@davemloft.net>
324
325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
326         long-double compat symbols.
327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
332         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
335         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
336         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
339         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
340
341 2012-04-25  David S. Miller  <davem@davemloft.net>
342
343         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
344         HWCAP_* values only after the memory barriers have been defined.
345         (atomic_full_barrier): Define.
346         (atomic_read_barrier): Define.
347         (atomic_write_barrier): Define.
348
349 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
350
351         * shlib-versions: Add libgcc_s version information.
352         * sysdeps/generic/libgcc_s.h: Remove.
353         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
354         libgcc_s.h.
355         * sysdeps/gnu/unwind-resume.c: Likewise.
356         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
357
358 2012-04-25  David S. Miller  <davem@davemloft.net>
359
360         * sysdeps/unix/sparc/brk.S: Delete.
361         * sysdeps/unix/sparc/dl-brk.S: Delete.
362         * sysdeps/unix/sparc/pipe.S: Delete.
363         * sysdeps/unix/sparc/sysdep.S: Delete.
364         * sysdeps/unix/sparc/sysdep.h: Delete.
365         * sysdeps/unix/sparc/vfork.S: Delete.
366         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
367         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
368         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
369         ret_ERRVAL, r0, r1, MOVE): Define.
370         (JUMPTARGET): Remove.
371         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
372         sysdeps/unix/sparc/sysdep.h
373         (ENTRY, END): Remove.
374         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
375
376 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
377
378         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
379         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
380         -DIS_IN_build.
381
382         * timezone/README: Update upstream location and email address for
383         tzcode and tzdata.
384         * timezone/zdump.c: Update from tzcode 2012b.
385         * timezone/zic.c: Likewise.
386
387         * configure.in (libc_cv_as_needed): Remove test.
388         * configure: Regenerated.
389         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
390         conditional definition.
391         [$(have-as-needed) != yes] (no-as-needed): Likewise.
392         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
393         * config.make.in (have-as-needed): Remove variable.
394
395 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
396             Paul Pluzhnikov  <ppluzhnikov@google.com>
397
398         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
399         strings correctly.
400
401 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
402
403         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
404         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
405         * sysdeps/sh/strlen.S: Likewise.
406
407 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
408
409         * sysdeps/unix/fork.S: Remove file.
410         * sysdeps/unix/i386/fork.S: Likewise.
411         * sysdeps/unix/sparc/fork.S: Likewise.
412
413         * sysdeps/unix/system.c: Remove file.
414         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
415
416         * sysdeps/unix/getegid.S: Remove file.
417         * sysdeps/unix/geteuid.S: Likewise.
418
419 2012-04-24  Roland McGrath  <roland@hack.frob.com>
420
421         * scripts/check-localplt.awk: New file.
422         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
423         of diff.
424         * scripts/data/localplt-generic.data: Add a comment.
425
426         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
427         NODE when __dir_mkfile failed.
428         * sysdeps/mach/hurd/symlinkat.c: Likewise.
429         Reported by Ludovic Courtès <ludo@gnu.org>.
430
431 2012-04-24  Andreas Jaeger  <aj@suse.de>
432
433         * Makerules (common-clean): Also remove gen-as-const-headers
434         files.
435
436 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
437
438         * Makerules (native-compile): Do not change working directory for
439         build.  Use $(OUTPUT_OPTION) in command.
440         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
441
442 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
443
444         [BZ #13886]
445         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
446         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
447         * math/libm-test.inc (floor_test): Add more tests.
448         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
449
450 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
451
452         * sysdeps/unix/getdents.c: Remove file.
453         * sysdeps/unix/sysv/getdents.c: Likewise.
454         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
455
456         * sysdeps/unix/syscalls.list (madvise): Add syscall from
457         sysdeps/unix/mman/syscalls.list.
458         (mmap): Likewise.
459         (mprotect): Likewise.
460         (msync): Likewise.
461         (munmap): Likewise.
462         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
463         * sysdeps/unix/mman/syscalls.list: Remove.
464         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
465
466         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
467         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
468         * configure: Regenerated.
469         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
470         $(libgcc_s_suffix).
471         * config.make.in (libgcc_s_suffix): Remove variable.
472
473 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
474
475         * sysdeps/unix/sysv/gethostname.c: Move to ...
476         * sysdeps/posix/gethostname.c: ... here.
477
478         * sysdeps/unix/execve.S: Remove file.
479
480         * sysdeps/unix/_exit.S: Remove file.
481
482 2012-04-23  Andreas Jaeger  <aj@suse.de>
483
484         [BZ #13739]
485         * manual/Makefile: Remove make dist support, there's no
486         need for a stand-alone documentation tar ball.
487         (TEXI2DVI): Define always, it's not in Makeconfig.
488         (dist): Removed.
489         (tar-it): Removed.
490         (edition): Removed.
491         (glibc-doc-$(edition).tar): Removed
492         (%.Z): Removed.
493         (%.gz): Removed.
494         (%.uu): Removed.
495         (ETAGS): Remove, it's in Makeconfig.
496         (move-if-change): Remove, it's in Makeconfig.
497
498 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
499
500         [BZ #13970]
501         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
502         (strtod, strtof, strtold, strtol, strtoul, strtoq)
503         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
504         (strtod_l, strtof_l, strtold_l): Remove __wur.
505         It is not necessarily an error to ignore strtol's return value.
506         One can reliably look at the stored endptr to decide whether
507         the number had valid syntax.
508
509 2012-04-21  Andreas Jaeger  <aj@suse.de>
510
511         [BZ #13739]
512         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
513
514 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
515
516         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
517         * sysdeps/unix/sysv/Versions: Remove file.
518
519 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
520
521         [BZ #13927]
522         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
523
524 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
525
526         [BZ #7064]
527         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
528         version from __vm86.
529
530 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
531
532         * sysdeps/unix/common/lxstat.c: Remove file.
533         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
534
535         * sysdeps/unix/sysv/Makefile: Remove file.
536
537         * sysdeps/unix/sysv/direct.h: Remove file.
538
539         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
540         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
541         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
542         * sysdeps/unix/sysv/bits/signum.h: Likewise.
543         * sysdeps/unix/sysv/bits/stat.h: Likewise.
544         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
545         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
546
547         * sysdeps/unix/sysv/setrlimit.c: Remove file.
548
549         * sysdeps/unix/xmknod.c: Remove file.
550         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
551
552         * sysdeps/unix/sysv/settimeofday.c: Remove file.
553
554         * sysdeps/unix/sysv/i386/time.S: Remove file.
555
556         * sysdeps/unix/fxstat.c: Remove file.
557         * sysdeps/unix/xstat.c: Likewise.
558         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
559
560         * sysdeps/unix/sysv/sigaction.c: Remove file.
561
562         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
563         (sysdep_headers): Remove variable.
564         [termio.h not in sysdep_headers] (generated): Likewise.
565         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
566         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
567         * sysdeps/unix/sysv/tcdrain.c: Likewise.
568         * sysdeps/unix/sysv/tcflow.c: Likewise.
569         * sysdeps/unix/sysv/tcflush.c: Likewise.
570         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
571         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
572         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
573         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
574         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
575
576         * sysdeps/unix/siglist.c: Remove file.
577
578         * sysdeps/unix/getppid.S: Remove file.
579
580         * sysdeps/unix/mkdir.c: Remove file.
581         * sysdeps/unix/rmdir.c: Likewise.
582
583 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
584
585         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
586         ERR_MAX value.
587         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
588         errlist-compat value.
589
590 2012-04-18  David S. Miller  <davem@davemloft.net>
591
592         * sysdeps/generic/memcopy.h (reg_char): Delete.
593         * debug/strcat_chk.c: Use char, not reg_char.
594         * debug/strcpy_chk.c: Likewise.
595         * debug/strncat_chk.c: Likewise.
596         * debug/strncpy_chk.c: Likewise.
597         * string/memchr.c: Likewise.
598         * string/memrchr.c: Likewise.
599         * string/rawmemchr.c: Likewise.
600         * string/strcat.c: Likewise.
601         * string/strchr.c: Likewise.
602         * string/strchrnul.c: Likewise.
603         * string/strcmp.c: Likewise.
604         * string/strcpy.c: Likewise.
605         * string/strncat.c: Likewise.
606         * string/strncmp.c: Likewise.
607         * string/strncpy.c: Likewise.
608
609 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
610
611         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
612         __builtin_memcopy is called when src and dest ranges are known to not
613         overlap.
614
615 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
616
617         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
618         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
619         fwd_align_merge macro call.
620         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
621         bwd_align_merge macro call.
622         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
623
624 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
625
626         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
627         bwd_align_merge macros.
628         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
629         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
630         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
631
632 2012-04-18  David S. Miller  <davem@davemloft.net>
633
634         * sysdeps/sparc/sparc64/memcopy.h: Delete.
635
636 2012-04-18  Andreas Jaeger  <aj@suse.de>
637
638         [BZ# 6794]
639         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
640         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
641         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
642
643         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
644         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
645         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
646
647         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
648         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
649         Adjust for changed ldbl-128 files.
650
651         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
652         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
653         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
654
655 2012-04-17  David S. Miller  <davem@davemloft.net>
656
657         * sysdeps/sparc/sparc32/memcopy.h: Delete.
658
659 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
660
661         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
662         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
663         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
664         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
665         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
666         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
667
668 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
669
670         [BZ #6794]
671         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
672         * math/libm-test.inc: Add ilogb errno and exception tests.
673         * math/w_ilogb.c: New file: ilogb wrapper.
674         * math/w_ilogbf.c: New file: ilogbf wrapper.
675         * math/w_ilogbl.c: New file: ilogbl wrapper.
676         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
677         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
678         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
679         exception being thrown with 0.0 as argument.
680         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
681         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
682         exception being thrown with 0.0 as argument.
683         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
684         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
685         exception being thrown with 0.0 as argument.
686         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
687         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
688         exception being thrown with 0.0 as argument.
689         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
690         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
691         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
692         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
693         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
694         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
695         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
696         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
697         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
698
699 2012-04-17  Petr Baudis  <pasky@ucw.cz>
700
701         * include/sys/uio.h: Change __vector to __iovec to avoid clash
702         with altivec.
703
704 2012-04-16  Marek Polacek  <polacek@redhat.com>
705
706         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
707
708 2012-04-16  Marek Polacek  <polacek@redhat.com>
709
710         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
711         operands of fdivp instruction.
712
713 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
714
715         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
716         * elf/tst-auditmod3b.c: Likewise.
717         * elf/tst-auditmod4b.c: Likewise.
718         * elf/tst-auditmod5b.c: Likewise.
719         * elf/tst-auditmod6b.c: Likewise.
720         * elf/tst-auditmod6c.c: Likewise.
721         * elf/tst-auditmod7b.c: Likewise.
722         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
723         * sysdeps/x86_64/preconfigure.in: Likewise.
724         * sysdeps/x86_64/preconfigure: Regenerated.
725
726 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
727
728         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
729         __ILP32__.
730
731 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
732
733         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
734         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
735
736 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
737
738         [BZ #13973]
739         * locale/iso-639.def: Fix gl language name. Spotted by
740         Yaron Shahrabani.
741
742 2012-04-12  Roland McGrath  <roland@hack.frob.com>
743
744         [BZ #2074]
745         * libio/libio.h (__io_write_fn): Update comment.
746
747 2012-04-12  Petr Baudis  <pasky@ucw.cz>
748
749         [BZ #2074]
750         * stdio.texi (Hook Functions): The user provided writer function
751         is not allowed to return -1.
752
753 2012-04-11  David S. Miller  <davem@davemloft.net>
754
755         * sysdeps/sparc/fpu/libm-test-ulps: Update.
756
757 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
758
759         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
760         Add a leading slash to rtkaio.
761
762 2012-04-11  Jim Meyering  <meyering@redhat.com>
763
764         [BZ #11959]
765         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
766         It is not necessarily an error to ignore fwrite's return
767         value.  One can reliably use ferror to test for errors after
768         the fact.
769
770 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
771
772         * bits/types.h (__snseconds_t): New type.
773         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
774
775         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
776         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
777         (__SNSECONDS_T_TYPE): Likewise.
778         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
779         (__SNSECONDS_T_TYPE): Likewise.
780         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
781         (__SNSECONDS_T_TYPE): Likewise.
782
783 2012-04-10  Andreas Jaeger  <aj@suse.de>
784
785         [BZ #2636]
786         * manual/time.texi (Processor Time): Return type of times is
787         elapsed real time since an arbitrary point in the past.
788         (CPU Time): Move CLK_TCK from here...
789         (Processor Time): ...to here.  Correct description.
790         * manual/conf.texi (Constants for Sysconf): Correct description of
791         _SC_CLK_TCK.
792
793 2012-04-10  David S. Miller  <davem@davemloft.net>
794
795         [BZ #13967]
796         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
797         where the is a gap between DT_REL(A) and DT_JMPREL.
798
799 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
800
801         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
802         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
803         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
804
805 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
806
807         * elf/dl-support.c (_dl_inhibit_cache): New variable.
808         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
809         (dl_main): Handle --inhibit-cache.
810         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
811         _dl_inhibit_cache.
812         * elf/dl-load.c (_dl_map_object): Use it.
813         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
814
815 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
816
817         [BZ #13872]
818         * sysdeps/i386/fpu/e_powl.S (p78): New object.
819         (__ieee754_powl): Saturate large exponents rather than testing for
820         overflow of y*log2(x).
821         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
822         * math/libm-test.inc (pow_test): Do not permit spurious overflow
823         exceptions.
824
825         [BZ #11521]
826         * math/s_ctan.c: Include <float.h>.
827         (__ctan): Avoid internal overflow or cancellation in calculating
828         denominator.
829         * math/s_ctanf.c: Likewise.
830         * math/s_ctanl.c: Likewise.
831         * math/s_ctanh.c: Likewise.
832         * math/s_ctanhf.c: Likewise.
833         * math/s_ctanhl.c: Likewise.
834         * math/libm-test.inc (ctan_test): Add more tests.
835         (ctanh_test): Likewise.
836         * sysdeps/i386/fpu/libm-test-ulps: Update.
837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
838
839 2012-04-09  Andreas Jaeger  <aj@suse.de>
840
841         [BZ #6894]
842         * manual/filesys.texi (Directory Entries): Mention that d_namlen
843         is an optional BSD extension.
844
845         [BZ #10254]
846         * manual/stdio.texi (Opening Streams): Document additional fopen
847         parameters.
848
849 2012-04-09  Roland McGrath  <roland@hack.frob.com>
850
851         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
852         %eax without telling the compiler.
853
854 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
855
856         [BZ # 13963]
857         * manual/install.texi: Use sourceware.org.
858
859 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
860
861         [BZ #13873]
862         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
863         (__ieee754_pow): Generate overflow and underflow using huge*huge
864         and tiny*tiny rather than just returning constant infinity or zero
865         for large exponents.
866         * math/libm-test.inc (pow_test): Require overflow exceptions for
867         applicable cases of large exponents.
868
869         [BZ #706]
870         * sysdeps/i386/fpu/e_pow.S (p10): New object.
871         (__ieee754_pow): Use iterative multiplication algorithm only for
872         integer exponents with absolute value below 1024.  Check for odd
873         integer exponents when using algorithm for real exponents.
874         * math/libm-test.inc (pow_test): Add more tests.
875         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
876
877 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
878
879         [BZ #13705]
880         * math/libm-test.inc (exp_test): Do not allow overflow exception
881         on underflow test.
882
883 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
884
885         [BZ #13705]
886         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
887         instead of __kernel_standard_f.
888
889 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
890
891         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
892         * sysdeps/x86_64/memset_chk.S: Likewise.
893
894 2012-04-08  Andreas Jaeger  <aj@suse.de>
895
896         [BZ #10153]
897         * manual/startup.texi (Environment Access): Describe return value
898         for putenv and setenv.
899
900         [BZ #6895]
901         * manual/filesys.texi (Directory Entries): Add description for
902         DT_LNK.
903
904         [BZ #6890]
905         * manual/filesys.texi (Directory Entries): Clarify that it's file
906         system not operating system in the description of DT_UNKNOWN.
907
908         [BZ #6578]
909         * manual/syslog.texi (closelog): Fix reference, it's openlog.
910
911 2012-04-08  Stephen Compall  <s11@member.fsf.org>
912
913         [BZ #6649]
914         * manual/llio.texi (Opening and Closing Files): Add cross
915         reference to explain mode argument.
916
917 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
918
919         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
920         * sysdeps/x86_64/memset_chk.S: Likewise.
921
922 2012-04-07  David S. Miller  <davem@davemloft.net>
923
924         * elf/elf.h (R_SPARC_WDISP10): Define.
925         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
926         R_SPARC_SIZE32.
927         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
928         R_SPARC_SIZE64 and R_SPARC_H34.
929
930 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
931
932         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
933         conditions and remove no longer applicable assertion.
934
935 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
936
937         * bits/byteswap.h: Include <features.h>.
938         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
939         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
940
941 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
942
943         * bits/byteswap.h (__bswap_16): Removed.
944         Include <bits/byteswap-16.h> to get __bswap_16.
945         * sysdeps/i386/bits/byteswap.h: Likewise.
946         * sysdeps/s390/bits/byteswap.h: Likewise.
947         * sysdeps/x86_64/bits/byteswap.h: Likewise.
948         * bits/byteswap-16.h: New file.
949         * sysdeps/i386/bits/byteswap-16.h: Likewise.
950         * sysdeps/s390/bits/byteswap-16.h: Likewise.
951         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
952         * string/Makefile (headers): Add bits/byteswap-16.h.
953
954 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
955
956         [BZ #13895]
957         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
958         extra indirection.
959         * nss/Makefile (tests-static, tests): Add tst-nss-static.
960         * nss/tst-nss-static.c: New.
961
962 2012-04-06  Robert Millan  <rmh@gnu.org>
963
964         [BZ #6486]
965         * manual/llio.texi (File Position Primitive): lseek
966         refers to WHENCE when it really means OFFSET.
967
968 2012-04-06  Andreas Jaeger  <aj@suse.de>
969
970         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
971         strncmp declarations.
972
973         * abilist/libc.abilist: Add __poll and __ppoll.
974
975 2012-04-05  David S. Miller  <davem@davemloft.net>
976
977         * scripts/check-local-headers.sh: Accept a host triplet in the
978         path matched by the exclude regexp.
979
980         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
981         definition.
982         * sysdeps/powerpc/powerpc32/dl-machine.h
983         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
984         * sysdeps/s390/s390-32/dl-machine.h
985         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
986         * sysdeps/sparc/sparc32/dl-machine.h
987         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
988         * sysdeps/sparc/sparc64/dl-machine.h
989         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
990
991         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
992         lazy binding.
993         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
994         undefined symbol errors.
995
996         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
997         DT_NEEDED entries.
998
999 2012-04-05  Michael Matz  <matz@suse.de>
1000
1001         [BZ #13592]
1002         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1003
1004 2012-04-05  Andreas Jaeger  <aj@suse.de>
1005
1006         [BZ #13908]
1007         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1008         comment.
1009
1010 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1011
1012         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1013         which ROUND is no valid rounding mode.
1014
1015 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1016
1017         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1018         read again.
1019         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1020
1021 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1022
1023         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1024         an exception using FPU order intentionally.
1025
1026 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1027
1028         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1029         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1030         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1031         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1032
1033 2012-04-05  Simon Josefsson  <simon@josefsson.org>
1034
1035         [BZ #12340]
1036         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1037         EINVAL when BUFLEN is too smal.
1038
1039 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
1040
1041         [BZ #13553]
1042         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1043         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1044
1045 2012-04-03  Andreas Jaeger  <aj@suse.de>
1046
1047         [BZ #13938]
1048         * manual/setjmp.texi (System V contexts): Fix sentence.
1049
1050         [BZ #13926]
1051         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1052         New macro for this case.
1053         [!__GNUC__] (__bswap_64): New inline function for this case.
1054         * sysdeps/x86_64/bits/byteswap.h: Likewise.
1055         * bits/byteswap.h: Likewise.
1056         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1057         ull, guard with __GLIBC_HAVE_LONG_LONG.
1058
1059         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1060         __GLIBC_HAVE_LONG_LONG.
1061
1062         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1063         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1064
1065 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1066
1067         [BZ #13691]
1068         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1069         inptr and inend, rather than using last_ch.
1070
1071 2012-04-02  David S. Miller  <davem@davemloft.net>
1072
1073         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1074         * stdio-common/printf-parse.h (read_int): Change return type to
1075         'int', return -1 on INT_MAX overflow.
1076         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1077         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
1078         overflows INT_MAX.  Check for overflow of in-format-string precision
1079         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
1080         SIZE_MAX not INT_MAX for integer overflow test.
1081         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1082         skip the construct in the format string but do not record anything.
1083         * stdio-common/bug22.c: Adjust to test both width/prevision
1084         INT_MAX overflow as well as total length INT_MAX overflow.  Check
1085         explicitly for proper errno values.
1086
1087 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
1088
1089         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1090         CHAR_MAX.
1091         * string/test-strcmp.c [! WIDE]: Likewise.
1092         * time/tst-mktime2.c: Likewise for INT_MAX.
1093         * string/test-string.h: #include <sys/param.h> for MIN.
1094
1095         * csu/init-first.c (__libc_init_first): Call __ctype_init.
1096         * sysdeps/i386/init-first.c (init): Likewise.
1097         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1098         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1099         * sysdeps/sh/init-first.c (init): Likewise.
1100
1101 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
1102
1103         * po/ru.po: Update from translation team.
1104         * po/vi.po: Likewise.
1105
1106 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1107
1108         * resolv/nss_dns/dns-host.c: Merge copyright years.
1109
1110 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1111
1112         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1113         Optimize memcpy with prefetch if
1114         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
1115         src, dst pointers have unequal 16 byte alignments.
1116
1117 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1118
1119         [BZ #13928]
1120         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1121         from a CNAME entry and return the minimum ttl for the query.
1122         (gaih_getanswer_slice): Likewise.
1123
1124 2012-03-30  Jeff Law  <law@redhat.com>
1125
1126         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1127         due to long keys.
1128         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1129         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1130
1131         * resolv/nss_dns/dns-host.c: Update copyright year.
1132
1133 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
1134
1135         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
1136         requests to save a system call.  Fix check that all bytes are sent.
1137
1138         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1139         comments for sendmmsg.
1140
1141 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1142
1143         [BZ #13691]
1144         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1145         with only 1 character between 0x0041 and 0x01b0.
1146         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1147         * wcsmbs/tst-mbsnrtowcs.c: New file.
1148
1149 2012-03-29  David S. Miller  <davem@davemloft.net>
1150
1151         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1152         small copies by hand.
1153
1154 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1155
1156         [BZ #13761]
1157         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1158         _nss_compat_initgroups_dyn): Fall back to malloc/free
1159         for large group memberships.
1160
1161 2012-03-28  David S. Miller  <davem@davemloft.net>
1162
1163         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1164         that branches into memcpy.
1165         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1166         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1167         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1168         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1169         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1170         bits.
1171         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1172         implementation too.
1173         * sysdeps/sparc/mempcpy.S: New file.
1174
1175         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1176         the IFUNC routine in the libc case.
1177         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1178
1179         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1180         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1181         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1182         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1183         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1184         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1185         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1186         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1187
1188         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1189         loop to 256 bytes instead of 64 bytes and fix test signedness.
1190
1191         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1192         * sysdeps/sparc/sparc32/Makefile: rather than here...
1193         * sysdeps/sparc/sparc64/Makefile: and here.
1194
1195 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
1196
1197         * malloc/mallocbug.c: Avoid warnings about unused variables.
1198
1199 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1200
1201         [BZ #13760]
1202         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1203         in the right place. Discard and retry query if response is
1204         larger than input buffer size.
1205
1206 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
1207
1208         [BZ #369]
1209         [BZ #2678]
1210         [BZ #3866]
1211         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1212         x for large integer exponent.
1213         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1214         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
1215         sign of result as needed afterwards.
1216         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1217         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1218         result for underflowing pow the same as for overflow.
1219         (__kernel_standard_l): Handle powl overflow and underflow here
1220         rather than calling __kernel_standard.
1221         * math/libm-test.inc (pow_test): Add more tests.
1222
1223         [BZ #3868]
1224         [BZ #13879]
1225         [BZ #13910]
1226         [BZ #13911]
1227         [BZ #13912]
1228         [BZ #13913]
1229         [BZ #13915]
1230         [BZ #13916]
1231         [BZ #13917]
1232         [BZ #13918]
1233         [BZ #13919]
1234         [BZ #13920]
1235         [BZ #13921]
1236         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1237         * sysdeps/ieee754/k_standard.c: Include <float.h>.
1238         (__kernel_standard_l): New function.
1239         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1240         __kernel_standard.
1241         * math/w_acosl.c (__acosl): Likewise.
1242         * math/w_asinl.c (__asinl): Likewise.
1243         * math/w_atan2l.c (__atan2l): Likewise.
1244         * math/w_atanhl.c (__atanhl): Likewise.
1245         * math/w_coshl.c (__coshl): Likewise.
1246         * math/w_exp10l.c (__exp10l): Likewise.
1247         * math/w_exp2l.c (__exp2l): Likewise.
1248         * math/w_fmodl.c (__fmodl): Likewise.
1249         * math/w_hypotl.c (__hypotl): Likewise.
1250         * math/w_j0l.c (__j0l, __y0l): Likewise.
1251         * math/w_j1l.c (__j1l, __y1l): Likewise.
1252         * math/w_jnl.c (__jnl, __ynl): Likewise.
1253         * math/w_lgammal.c (__lgammal): Likewise.
1254         * math/w_log10l.c (__log10l): Likewise.
1255         * math/w_log2l.c (__log2l): Likewise.
1256         * math/w_logl.c (__logl): Likewise.
1257         * math/w_powl.c (__powl): Likewise.
1258         * math/w_remainderl.c (__remainderl): Likewise.
1259         * math/w_scalbl.c (sysv_scalbl): Likewise.
1260         * math/w_sinhl.c (__sinhl): Likewise.
1261         * math/w_sqrtl.c (__sqrtl): Likewise.
1262         * math/w_tgammal.c (__tgammal): Likewise.
1263         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1264         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1265         * math/libm-test.inc (acos_test): Add more tests.
1266         (acosh_test): Likewise.
1267         (asin_test): Likewise.
1268         (atanh_test): Likewise.
1269         (exp_test): Likewise.
1270         (exp10_test): Likewise.
1271         (exp2_test): Likewise.
1272         (expm1_test): Likewise.
1273         (lgamma_test): Likewise.
1274         (log_test): Likewise.
1275         (log10_test): Likewise.
1276         (log1p_test): Likewise.
1277         (log2_test): Likewise.
1278         (pow_test): Do not allow some spurious overflow exceptions.
1279         (sqrt_test): Add more tests.
1280         (tgamma_test): Likewise.
1281         (y0_test): Likewise.
1282         (y1_test): Likewise.
1283         (yn_test): Likewise.
1284
1285 2012-03-27  Anton Blanchard  <anton@samba.org>
1286
1287         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1288         MAP_HUGETLB.
1289         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1290         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1291         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1292
1293 2012-03-27  David S. Miller  <davem@davemloft.net>
1294
1295         * conform/Makefile: Run run-conformtest.sh using $(BASH).
1296
1297         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1298         have-as-vis3 check.
1299
1300 2012-03-27  Andreas Jaeger  <aj@suse.de>
1301
1302         * sysdeps/x86_64/elf/configure.in: Moved to ...
1303         * sysdeps/x86_64/configure.in: ... here.
1304         * sysdeps/x86_64/elf/start.S: Moved to ...
1305         * sysdeps/x86_64/start.S: ... here.
1306         * sysdeps/x86_64/elf/configure: Delete.
1307
1308         * sysdeps/x86_64/configure.in: Merge contents from
1309         sysdeps/i386/configure.in (without i686 check).
1310
1311         * sysdeps/i386/elf/Versions: Merge into ...
1312         * sysdeps/i386/Versions: ... this.
1313         * sysdeps/i386/elf/Versions: Delete file.
1314         * sysdeps/i386/elf/start.S: Moved to ...
1315         * sysdeps/i386/start.S: ...here.
1316         * sysdeps/i386/elf/configure.in: Merge into...
1317         * sysdeps/i386/configure.in: ...here.
1318         * sysdeps/i386/elf/configure.in: Delete file.
1319         * sysdeps/i386/elf/configure: Delete file.
1320
1321         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1322         * debug/backtracesyms.c: ... here.
1323         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1324         * debug/backtracesymsfd.c: ... here.
1325         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1326         * sysdeps/generic/ifunc-sel.h: ... here.
1327
1328         * sysdeps/unix/i386/start.c: Delete file.
1329         * sysdeps/unix/sparc/start.c: Delete file.
1330         * sysdeps/unix/start.c: Delete file.
1331
1332         * sysdeps/sh/elf/configure.in: Moved to ...
1333         * sysdeps/sh/configure.in: ... here.
1334         * sysdeps/sh/elf/start.S: Moved to ...
1335         * sysdeps/sh/start.S: ... here.
1336         * sysdeps/sh/elf/configure: Delete file.
1337
1338         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1339         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1340         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1341         * sysdeps/powerpc/powerpc64/entry.h: ... here.
1342         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1343         * sysdeps/powerpc/powerpc64/start.S: here.
1344         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1345         * sysdeps/powerpc/powerpc64/Makefile: ... this.
1346         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1347         * sysdeps/powerpc/powerpc64/configure.in: ... this.
1348         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1349
1350         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1351         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1352         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1353         * sysdeps/powerpc/powerpc32/start.S: ... here.
1354         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1355         * sysdeps/powerpc/powerpc32/configure.in: ... this.
1356         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1357
1358         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1359         * sysdeps/powerpc/ifunc-sel.h: ... here.
1360         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1361         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1362
1363         * sysdeps/sparc/elf/configure.in: Moved to ...
1364         * sysdeps/sparc/configure.in: ... here.
1365         * sysdeps/sparc/elf/configure: Delete file.
1366         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1367         * sysdeps/sparc/sparc32/start.S: ... here.
1368         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1369         * sysdeps/sparc/sparc64/start.S: ... here.
1370         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1371         * sysdeps/sparc/sparc32/Makefile: ... this.
1372         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1373         * sysdeps/sparc/sparc64/Makefile: ... this.
1374
1375         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1376         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1377         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1378         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1379         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1380         * sysdeps/s390/s390-32/setjmp.S: ... here.
1381         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1382         * sysdeps/s390/s390-32/configure.in: ... here.
1383         * sysdeps/s390/s390-32/elf/configure: Delete file.
1384         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1385         * sysdeps/s390/s390-32/start.S: ... here.
1386
1387         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1388         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1389         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1390         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1391         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1392         * sysdeps/s390/s390-64/setjmp.S: ... here.
1393         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1394         * sysdeps/s390/s390-64/configure.in: ... here
1395         * sysdeps/s390/s390-64/elf/configure: Delete file.
1396         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1397         * sysdeps/s390/s390-64/start.S: ... here.
1398         * sysdeps/s390/s390-64/elf/configure: Delete.
1399
1400         * configure.in: Remove support for elf directories in sysdeps.
1401
1402         * configure: Regenerated.
1403         * sysdeps/i386/configure: Regenerated.
1404         * sysdeps/powerpc/powerpc32/configure: Regenerated.
1405         * sysdeps/powerpc/powerpc64/configure: Regenerated.
1406         * sysdeps/s390/s390-32/configure: Regenerated.
1407         * sysdeps/s390/s390-64/configure: Regenerated.
1408         * sysdeps/sh/configure: Regenerated.
1409         * sysdeps/sparc/configure: Regenerated.
1410         * sysdeps/x86_64/configure: Regenerated.
1411
1412 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
1413
1414         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1415
1416         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1417         denormal result into account.
1418
1419 2012-03-25  Roland McGrath  <roland@hack.frob.com>
1420
1421         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1422         Reported by Allan McRae <allan@archlinux.org>.
1423
1424 2012-03-23  Jeff Law  <law@redhat.com>
1425
1426         * nss/getnssent.c (__nss_getent): Fix typo.
1427
1428 2012-03-23  David S. Miller  <davem@davemloft.net>
1429
1430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1431
1432 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
1433
1434         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1435         to pad to uint64_t for each field.
1436         (dl_tls_index): Replace unsigned long with uint64_t.
1437
1438 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
1439         Paul Pluzhnikov  <ppluzhnikov@google.com>
1440
1441         [BZ #6528]
1442         * grp/Makefile (otherlibs): Don't set it.
1443         * inet/Makefile (otherlibs): Likewise.
1444         * login/Makefile (otherlibs): Likewise.
1445         * nscd/Makefile (otherlibs): Likewise.
1446         * posix/Makefile (otherlibs): Likewise.
1447         * pwd/Makefile (otherlibs): Likewise.
1448         * rt/Makefile (otherlibs): Likewise.
1449         * sunrpc/Makefile (otherlibs): Likewise.
1450         * nss/Makefile (otherlibs): Likewise.
1451         Add libnss_files to routines and static-only-routines.
1452         ($(objpfx)getent): Remove rule.
1453         * resolv/Makefile: Add libnss_dns and libresolv to routines and
1454         static-only-routines.
1455
1456 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
1457
1458         [BZ #13892]
1459         * math/s_cexp.c: Include <float.h>.
1460         (__cexp): Handle exp result overflowing not necessarily
1461         overflowing both real and imaginary parts of result.
1462         * math/s_cexpf.c: Likewise.
1463         * math/s_cexpl.c: Likewise.
1464         * math/libm-test.inc (cexp_test): Add more tests.
1465         * sysdeps/i386/fpu/libm-test-ulps: Update.
1466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1467
1468 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1469
1470         * include/link.h (ELFW): New macro.
1471         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1472         Replace ELF64_R_TYPE with ELFW(R_TYPE).
1473
1474 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1475
1476         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1477         with uint64_t.
1478
1479 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1480
1481         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1482         declaration.
1483         (struct La_x32_retval): Likewise.
1484
1485 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1486
1487         * sysdeps/x86_64/preconfigure.in: New file.
1488         * sysdeps/x86_64/preconfigure: New generated file.
1489
1490 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
1491
1492         [BZ #13824]
1493         * math/e_exp2l.c: Include <float.h>.
1494         (__ieee754_exp2l): Handle overflow and underflow cases
1495         separately.  Only pass fractional part of argument to
1496         __ieee754_expl.
1497         * math/libm-test.inc (exp2_test): Add more tests.
1498
1499         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1500         negating x to take absolute value.
1501         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1502         Likewise.
1503         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1504         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1505         Likewise.
1506         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1507         computing low part if x was negated.
1508         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1509
1510 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1511
1512         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1513         la_x32_gnu_pltexit.
1514         (pltexit): Cast int_retval to ptrdiff_t.
1515         * elf/tst-auditmod3b.c: Likewise.
1516         * elf/tst-auditmod4b.c: Likewise.
1517         * elf/tst-auditmod5b.c: Likewise.
1518         * elf/tst-auditmod6b.c: Likewise.
1519         * elf/tst-auditmod6c.c: Likewise.
1520         * elf/tst-auditmod7b.c: Likewise.
1521
1522         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1523         and x32_gnu_pltexit.
1524
1525         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1526         __ELF_NATIVE_CLASS.
1527         (La_x32_regs): New macro.
1528         (La_x32_retval): Likewise.
1529         (la_x32_gnu_pltenter): New function prototype.
1530         (la_x32_gnu_pltexit): Likewise.
1531
1532 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
1533
1534         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1535         exponent.
1536
1537         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1538
1539         * configure.in (libc_cv_cc_nofma): Check for option to disable
1540         generation of FMA instructions.
1541         * configure: Regenerate.
1542         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1543         * sysdeps/ieee754/dbl-64/Makefile: New file.
1544         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1545         Remove brandred-fma4.
1546         (CFLAGS-brandred-fma4.c): Remove.
1547         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1548         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1549         define.
1550         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1551         define.
1552
1553 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1554
1555         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1556         LLONG_MAX != LONG_MAX.
1557         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1558         (_fitoa_word): Likewise.
1559         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1560         LLONG_MAX != LONG_MAX.
1561         * stdio-common/_itowa.h: Include <_itoa.h>.
1562         (_itowa_word): Use _ITOA_WORD_TYPE on value.
1563         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
1564         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
1565         only if not defined.
1566         (_ITOA_WORD_TYPE): Likewise.
1567         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1568         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1569
1570 2012-03-21  David S. Miller  <davem@davemloft.net>
1571
1572         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1573
1574 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1575
1576         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1577         of x86_64 when setting libc_cv_slibdir, libdir and
1578         libc_cv_localedir.
1579         * sysdeps/unix/sysv/linux/configure: Regenerated.
1580
1581 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1582
1583         * manual/lang.texi (Old Varargs): Remove section.
1584         (How Variadic): Update menu.
1585         (va_start): Do not mention varargs.h.
1586
1587 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1588             Joseph Myers  <joseph@codesourcery.com>
1589
1590         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1591         link test.
1592         * configure: Regenerated.
1593
1594 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1595
1596         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1597         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1598         conformtest.pl
1599
1600 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1601
1602         * NOTES: Remove.
1603         * Makefile (files-for-dist): Remove NOTES.
1604         (NOTES): Remove rule.
1605         * README: Don't refer to NOTES.
1606         * manual/creature.texi: Don't include macros.texi.
1607         * manual/intro.texi (creature.texi): Remove comment referring to
1608         NOTES.
1609
1610         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1611         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1612         * configure: Regenerated.
1613         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1614         LIBC_TRY_CC_OPTION.
1615         (libc_cv_as_i686): Likewise.
1616         (libc_cv_cc_avx): Likewise.
1617         (libc_cv_cc_sse2avx): Likewise.
1618         (libc_cv_cc_fma4): Likewise.
1619         (libc_cv_cc_novzeroupper): Likewise.
1620         * sysdeps/i386/configure: Regenerated.
1621
1622         [BZ #13883]
1623         * sysdeps/i386/fpu/s_cexp.S: Remove.
1624         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1625         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1626         * math/libm-test.inc (cexp_test): Add more tests.
1627         * sysdeps/i386/fpu/libm-test-ulps: Update.
1628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1629
1630 2012-03-21  Allan McRae  <allan@archlinux.org>
1631
1632         * timezone/Makefile: Do not install iso3166.tab and zone.tab
1633
1634 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1635
1636         [BZ #13871]
1637         * math/w_exp2.c: Do not include <float.h>.
1638         (o_threshold, u_threshold): Remove.
1639         (__exp2): Calculate result before checking finiteness and calling
1640         __kernel_standard.
1641         * math/w_exp2f.c: Likewise.
1642         * math/w_exp2l.c: Likewise.
1643         * math/libm-test.inc (exp2_test): Require overflow exception for
1644         1e6 input.
1645
1646         [BZ #3866]
1647         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1648         range of signed 64-bit integers before using fistpll.  Remove
1649         checks for whether integers fit in mantissa bits.
1650         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1651         the range of signed 32-bit integers before using fistpl.  Remove
1652         checks for whether integers fit in mantissa bits.
1653         * sysdeps/i386/fpu/e_powl.S (p64): New object.
1654         (__ieee754_powl): Test for y outside the range of signed 64-bit
1655         integers before using fistpll.  Reduce 64-bit values to 63-bit
1656         ones as needed.
1657         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1658         divide-by-zero is raised for zero to large negative powers.
1659         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1660         (__ieee754_powl): Test for y outside the range of signed 64-bit
1661         integers before using fistpll.  Reduce 64-bit values to 63-bit
1662         ones as needed.
1663         * math/libm-test.inc (pow_test): Add more tests.
1664
1665 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1666
1667         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1668         <stdio-common/_itoa.h>.
1669         * debug/segfault.c: Likewise.
1670         * elf/dl-cache.c: Likewise.
1671         * elf/dl-minimal.c: Likewise.
1672         * elf/dl-misc.c: Likewise.
1673         * elf/dl-sysdep.c: Likewise.
1674         * elf/dl-version.c: Likewise.
1675         * elf/rtld.c: Likewise.
1676         * hurd/hurdsock.c: Likewise.
1677         * hurd/lookup-retry.c: Likewise.
1678         * malloc/malloc.c: Likewise.
1679         * malloc/mtrace.c: Likewise.
1680         * nscd/nscd_getgr_r.c: Likewise.
1681         * nscd/nscd_getpw_r.c: Likewise.
1682         * nscd/nscd_getserv_r.c: Likewise.
1683         * posix/getopt_init.c: Likewise.
1684         * posix/wordexp.c: Likewise.
1685         * stdio-common/_itoa.c: Likewise.
1686         * stdio-common/printf_fphex.c: Likewise.
1687         * stdio-common/vfprintf.c: Likewise.
1688         * string/_strerror.c: Likewise.
1689         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1690         * sysdeps/i386/i686/hp-timing.h: Likewise.
1691         * sysdeps/mach/_strerror.c: Likewise.
1692         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1693         * sysdeps/mach/hurd/sethostid.c: Likewise.
1694         * sysdeps/mach/hurd/xmknodat.c: Likewise.
1695         * sysdeps/mach/xpg-strerror.c: Likewise.
1696         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1697         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1698         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1699         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1700         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1701         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1702         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1703         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1704         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1705         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1706         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1707         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1708         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1709         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1710         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1711         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1712         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1713         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1714         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1715         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1716         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1717
1718         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1719
1720         * stdio-common/_itoa.h: Moved to ...
1721         * sysdeps/generic/_itoa.h: Here.
1722
1723         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1724
1725         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1726         instead of "_itoa.h" and "_itowa.h".
1727         * stdio-common/vfprintf.: Likewise.
1728
1729 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1730
1731         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1732         <bits/wordsize.h>.
1733         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1734         (__signbit): Likwise.
1735         (llrintf): Likwise.
1736         (llrint): Likwise.
1737
1738 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1739
1740         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1741         __WORDSIZE != 64.
1742
1743 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
1744
1745         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1746         OVERFLOW_EXCEPTION_OK.
1747         * math/libm-test.inc ("Philosophy"): Update comment about
1748         exception testing.
1749         (OVERFLOW_EXCEPTION): Define.
1750         (OVERFLOW_EXCEPTION_OK): Likewise.
1751         (INVALID_EXCEPTION_OK): Renumber.
1752         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1753         (IGNORE_ZERO_INF_SIGN): Likewise.
1754         (test_exceptions): Handle FE_OVERFLOW.
1755         (exp10_test): Expect overflow exceptions.
1756         (exp2_test): Likewise.
1757         (expm1_test): Likewise.
1758         (nextafter_test): Likewise.
1759         (pow_test): Likewise.
1760         (scalbn_test): Likewise.
1761         (scalbln_test): Likewise.
1762
1763 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1764
1765         * sysdeps/x86_64/bits/atomic.h
1766         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1767         64bit integer.
1768         (atomic_exchange_acq): Likewise.
1769         (__arch_exchange_and_add_body): Likewise.
1770         (__arch_add_body): Likewise.
1771         (atomic_add_negative): Likewise.
1772         (atomic_add_zero): Likewise.
1773
1774 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1775
1776         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1777         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1778
1779 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1780
1781         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1782         Check __x86_64__ instead of __WORDSIZE.
1783
1784 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1785
1786         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1787
1788 2012-03-19  David S. Miller  <davem@davemloft.net>
1789
1790         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1791
1792         * sysdeps/sparc/fpu/fenv_private.h: New file.
1793         * sysdeps/sparc/fpu/math_private.h: Use it.
1794         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1795         Remove.
1796         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1797         (libc_feholdexcept_setroundl): Remove.
1798         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1799         Remove.
1800         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1801         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1802
1803 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1804
1805         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1806         int64_t instead of long int.
1807         (INSERT_WORDS64): Likwise.
1808
1809 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
1810
1811         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1812         _Unwind_GetCFA return to _Unwind_Ptr first.
1813
1814 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
1815
1816         [BZ #13629]
1817         * math/s_clog.c: Include <float.h>.
1818         (__clog): Scale large or subnormal inputs.
1819         * math/s_clogf.c: Likewise.
1820         * math/s_clogl.c: Likewise.
1821         * math/s_clog10.c: Include <float.h>.
1822         (M_LOG10_2): Define.
1823         (__clog10): Scale large or subnormal inputs.
1824         * math/s_clog10f.c: Likewise.
1825         * math/s_clog10l.c: Likewise.
1826         * math/libm-test.inc (clog_test): Add more tests.
1827         (clog10_test): Likewise.
1828         * sysdeps/i386/fpu/libm-test-ulps: Update.
1829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1830
1831         [BZ #11451]
1832         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1833         x and y.
1834         * math/libm-test.inc (atan2_test): Add another test.
1835
1836         * Makerules (common-objdir-compile): Remove.
1837         * sysdeps/unix/Makefile (config-generated): Do not add
1838         $(unix-generated) to variable.
1839         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1840         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1841         Remove rule.
1842         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1843         Likewise.
1844         [generic bits/local_lim.h] (before-compile): Do not append to
1845         variable.
1846         [generic bits/local_lim.h] (common-generated): Likewise.
1847         [generic sys/param.h] (before-compile): Do not append to variable.
1848         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1849         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1850         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1851         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1852         include.
1853         [generic sys/param.h] (sys/param.h-includes): Remove variable.
1854         [generic sys/param.h] (sys/param.h-includes): Remove rule.
1855         [generic sys/param.h] ($(addprefix
1856         $(common-objpfx),$(sys/param.h-includes))): Likewise.
1857         [generic sys/param.h] (common-generated): Do not append to
1858         variable.
1859         [generic sys/param.h] (sysdep_headers): Likewise.
1860         [generic bits/errno.h] (before-compile): Do not append to
1861         variable.
1862         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1863         rule.
1864         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1865         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1866         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1867         [generic bits/errno.h] (common-generated): Do not append to
1868         variable.
1869         [generic bits/ioctls.h] (before-compile): Do not append to
1870         variable.
1871         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1872         rule.
1873         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1874         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1875         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1876         rule.
1877         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1878         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1879         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1880         [generic bits/ioctls.h] (common-generated): Do not append to
1881         variable.
1882         [generic sys/syscall.h] (syscall.h): Remove variable.
1883         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1884         rule.
1885         [generic sys/syscall.h] (before-compile): Do not append to
1886         variable.
1887         [generic sys/syscall.h] (common-generated): Likewise.
1888         * sysdeps/unix/errnos-tmpl.c: Remove file.
1889         * sysdeps/unix/errnos.awk: Likewise.
1890         * sysdeps/unix/ioctls-tmpl.c: Likewise.
1891         * sysdeps/unix/ioctls.awk: Likewise.
1892         * sysdeps/unix/mk-local_lim.c: Likewise.
1893         * sysdeps/unix/snarf-ioctls: Likewise.
1894
1895 2012-03-19  Richard Henderson  <rth@twiddle.net>
1896
1897         * sysdeps/i386/fpu/fenv_private.h: New file.
1898         * sysdeps/i386/fpu/math_private.h: Use it.
1899         (math_opt_barrier, math_force_eval): Remove.
1900         (libc_feholdexcept_setround_53bit): Remove.
1901         (libc_feupdateenv_53bit): Remove.
1902         * sysdeps/x86_64/fpu/math_private.h: Likewise.
1903         (math_opt_barrier, math_force_eval): Remove.
1904         (libc_feholdexcept): Remove.
1905         (libc_feholdexcept_setround): Remove.
1906         (libc_fetestexcept, libc_fesetenv): Remove.
1907         (libc_feupdateenv_test): Remove.
1908         (libc_feupdateenv, libc_feholdsetround): Remove.
1909         (libc_feresetround): Remove.
1910
1911         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1912         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1913
1914         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1915         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1916         (libc_feupdateenv_testl): New.
1917         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1918         (libc_feupdateenv_testf): New.
1919         (libc_feupdateenv): Use libc_feupdateenv_test.
1920         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1921         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1922
1923         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1924         (libc_feholdsetroundf, libc_feholdsetroundl): New.
1925         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1926         (libc_feresetround_noex): New.
1927         (libc_feresetround_noexf): New.
1928         (libc_feresetround_noexl): New.
1929         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1930         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1931         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1932         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1933         SET_RESTORE_ROUND.
1934         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1935         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1936         (__cos): Likewise.
1937         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1938         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1939         SET_RESTORE_ROUND_NOEX.
1940         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1941         SET_RESTORE_ROUND_NOEXF.
1942         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1943         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1944         (libc_feholdsetroundf): New.
1945         (libc_feresetround, libc_feresetroundf): New.
1946
1947         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1948         (libc_feholdexcept_setround_53bit): Convert from macro to function.
1949         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
1950
1951         * sysdeps/generic/math_private.h: Include <fenv.h>.
1952         (default_libc_feholdexcept): New.
1953         (default_libc_feholdexcept_setround): New.
1954         (default_libc_fesetenv, default_libc_feupdateenv): New.
1955         (libc_feholdexcept): Only define if undefined.
1956         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1957         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1958         (libc_feholdexcept_setroundl): Likewise.
1959         (libc_feholdexcept_setround_53bit): Likewise.
1960         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1961         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1962         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1963         (libc_feupdateenv_53bit): Likewise.
1964         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1965         (libc_feholdexcept): Convert from macro to inline function.
1966         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1967         (libc_fesetenv, libc_feupdateenv): Likewise.
1968
1969         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1970         not previously defined.
1971         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1972         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1973         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1974         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1975         * sysdeps/ieee754/flt-32/math_private.h: New file.
1976         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1977         math_private.h below SET_FLOAT_WORD.
1978         (__isnan, __isinf_ns, __finite): Remove.
1979         (__isnanf, __isinf_nsf, __finitef): Remove.
1980
1981 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
1982
1983         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1984
1985 2012-03-17  David S. Miller  <davem@davemloft.net>
1986
1987         [BZ #6471]
1988         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1989         for 2.16.
1990
1991 2012-03-16  David S. Miller  <davem@davemloft.net>
1992
1993         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1994         warnings.
1995
1996         [BZ #6471]
1997         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1998         properly.
1999         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2000         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2001         sysdep_routines when subdir is sysvipc.
2002         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2003         __getshmlba helper.
2004
2005         * sysdeps/sparc/fpu/libm-test/ulps: Update.
2006
2007 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2008
2009         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2010         [__LP64__].
2011
2012 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2013
2014         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2015         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2016         (__lround): Renamed to ...
2017         (__llround): This.  Replace long int with long long int.
2018         Define lround functions as aliases of llround functions.
2019         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2020
2021 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2022
2023         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2024         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
2025         adresses to uintptr_t.  Replace "long int" and "unsigned long
2026         int" with "greg_t" on va_arg.
2027
2028 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2029
2030         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2031         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2032
2033         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2034         Move e_machine check before EI_CLASS check.  Handle x32
2035         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2036         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2037         SKIP_EM_IA_64 and include
2038         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2039
2040         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2041         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2042         (add_system_dir): New macro.
2043
2044         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2045         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2046
2047 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
2048
2049         [BZ #2551]
2050         [BZ #2552]
2051         [BZ #2553]
2052         [BZ #2554]
2053         [BZ #2562]
2054         [BZ #2563]
2055         [BZ #2565]
2056         [BZ #2566]
2057         [BZ #2576]
2058         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2059         (y0): Likewise.
2060         * math/w_j0f.c (j0f): Likewise.
2061         (y0f): Likewise.
2062         * math/w_j0l.c (__j0l): Likewise.
2063         (__y0l): Likewise.
2064         * math/w_j1.c (j1): Likewise.
2065         (y1): Likewise.
2066         * math/w_j1f.c (j1f): Likewise.
2067         (y1f): Likewise.
2068         * math/w_j1l.c (__j1l): Likewise.
2069         (__y1l): Likewise.
2070         * math/w_jn.c (jn): Likewise.
2071         (yn): Likewise.
2072         * math/w_jnf.c (jnf): Likewise.
2073         (ynf): Likewise.
2074         * math/w_jnl.c (__jnl): Likewise.
2075         (__ynl): Likewise.
2076         * math/libm-test.inc (j0_test): Add more tests.
2077         (j1_test): Likewise.
2078         (jn_test): Likewise.  Add trailing semicolon to existing test.
2079         (y0_test): Likewise.
2080         (y1_test): Likewise.
2081         * sysdeps/i386/fpu/libm-test-ulps: Update.
2082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2083
2084         [BZ #13851]
2085         [BZ #13854]
2086         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2087         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2088         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2089         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2090         (__tanl): Set errno for infinite argument.
2091         * sysdeps/i386/fpu/mptan.c: Remove.
2092         * sysdeps/i386/fpu/s_tan.S: Likewise.
2093         * sysdeps/i386/fpu/s_tanl.S: Likewise.
2094         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2095         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2096         * math/libm-test.inc (tan_test): Add more tests and enable more
2097         tests for double and long double.
2098         * sysdeps/i386/fpu/libm-test-ulps: Update.
2099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2100
2101 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
2102
2103         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2104         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2105
2106 2012-03-16  Roland McGrath  <roland@hack.frob.com>
2107
2108         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2109         * configure.in: Use it for both main tree and add-ons.
2110         * configure: Regenerated.
2111
2112 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2113
2114         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2115
2116 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
2117
2118         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2119         in comment.
2120
2121         [BZ #13851]
2122         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2123         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2124         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2125         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2126         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2127         infinite argument.
2128         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2129         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2130         != 0 for prec == 2.
2131         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2132         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2133         * sysdeps/i386/fpu/s_cosl.S: Likewise.
2134         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2135         * sysdeps/i386/fpu/s_sinl.S: Likewise.
2136         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2137         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2138         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2139         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2140         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2141         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2142         * math/libm-test.inc (cos_test): Add more tests and enable more
2143         tests for long double.
2144         (sin_test): Likewise.
2145         (sincos_test): Likewise.
2146         * sysdeps/i386/fpu/libm-test-ulps: Update.
2147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2148
2149 2012-03-16  David S. Miller  <davem@davemloft.net>
2150
2151         * sysdeps/sparc/fpu/math_private.h: New file.
2152
2153 2012-03-15  David S. Miller  <davem@davemloft.net>
2154
2155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2156         file.
2157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
2158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2159         file.
2160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2161         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2162         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2163         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2164         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2165         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2166         sysdep routines.
2167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2168
2169         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2170         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2171
2172         * sysdeps/sparc/sparc-ifunc.h: New file.
2173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2174         sparc-ifunc.h
2175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2177         Likewise.
2178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2179         Likewise.
2180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2184         Likewise.
2185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2190         Likewise.
2191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2192         Likewise.
2193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2197         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2198         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2199         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2200         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2201         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2202         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2203         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2204         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2205         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2206         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2207         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2208         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2209         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2210         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2211         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2212         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2213         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2214         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2215         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2216         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2217
2218 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
2219
2220         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2221         scaling.
2222         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2223
2224 2012-03-15  Andreas Jaeger  <aj@suse.de>
2225
2226         [BZ #13852]
2227         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2228         ieee754/flt-32 implementation for sin, cos and sincos.
2229         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2230         * sysdeps/i386/fpu/s_cosf.S: Likewise.
2231         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2232         * sysdeps/i386/fpu/s_sinf.S: Likewise.
2233         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2234         ieee754/flt-32 implementation for tan.
2235
2236         * math/libm-test.inc (cos_test): Enable some large input tests for
2237         float as well
2238         (sin_test): Likewise.
2239         (sincos_test): Likewise.
2240         (tan_test): Add tests for large input.
2241
2242         * sysdeps/i386/fpu/libm-test-ulps: Update.
2243
2244 2012-03-15  Andreas Jaeger  <aj@suse.de>
2245
2246         [BZ #13658]
2247         * math/libm-test.inc (cos_test): Add more test cases.
2248         (sin_test): Likewise.
2249         (sincos_test): Likewise.
2250
2251 2012-03-15  Andreas Jaeger  <aj@suse.de>
2252
2253         [BZ #13837]
2254         * math/libm-test.inc (cos_test): Add a test case for large input
2255         value.
2256         (sin_test): Likewise.
2257         (sincos_test): Likewise.
2258
2259 2012-03-15  Andreas Jaeger  <aj@suse.de>,
2260         Joseph Myers  <joseph@codesourcery.com>
2261
2262         [BZ #13658]
2263         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
2264         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2265         * sysdeps/i386/fpu/branred.c: Likewise.
2266         * sysdeps/i386/fpu/dosincos.c: Likewise.
2267         * sysdeps/i386/fpu/mpa.c: Likewise.
2268         * sysdeps/i386/fpu/s_cos.S: Likewise.
2269         * sysdeps/i386/fpu/s_sin.S: Likewise.
2270         * sysdeps/i386/fpu/s_sincos.S: Likewise.
2271         * sysdeps/i386/fpu/sincos32.c: Likewise.
2272
2273         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2274         Define.
2275         (libc_feupdateenv_53bit): Define.
2276         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2277         Define.
2278         (libc_feupdateenv_53bit): Define.
2279
2280         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2281         53 bit (without extend i386 double precision).
2282
2283         * math/libm-test.inc (sincos_test): Add tests for large input.
2284         (sin): Likewise.
2285         (cos): Likewise.
2286
2287         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2288
2289 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
2290
2291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2292
2293 2012-03-15  David S. Miller  <davem@davemloft.net>
2294
2295         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2296         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2297         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2298         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2300         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2303         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2304         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2305         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2306         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2307         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2308         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2309         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
2310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2311         file.
2312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
2313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2314         file.
2315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
2316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2317         file.
2318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
2319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2320         file.
2321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2322         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2323         fmin/fmax sysdep routines.
2324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2325
2326 2012-03-14  David S. Miller  <davem@davemloft.net>
2327
2328         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2329         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2330         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2331         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2332         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2333         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2334         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2335         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2336         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2337         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2338         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2339         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2340         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2341         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2342         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2343         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2344         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2345         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2346         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2347         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2348         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2349         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2350         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2351         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2352         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2353         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2354         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2355         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
2356         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2357         routines.
2358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2359         file.
2360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
2361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2362         file.
2363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
2364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2365         file.
2366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
2367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2368         file.
2369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
2370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2371         file.
2372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
2373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2374         file.
2375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2376         file.
2377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2378         file.
2379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2380         file.
2381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2382         New file.
2383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2384         file.
2385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2386         file.
2387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
2388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2389         file.
2390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
2391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2392         file.
2393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
2394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2395         file.
2396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
2397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2398         VIS3 routines.
2399
2400         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2401         New file.
2402
2403         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2404
2405         * sysdeps/sparc/configure.in: New file.
2406         * sysdeps/sparc/configure: Generate.
2407         * configure.in (libc_cv_sparc_as_vis3): Substitute.
2408         * configure: Regenerate.
2409         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2410         * config.make.in (have-as-vis3): New.
2411         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2412         available use -Av9d instead of -Av9a.
2413         * sysdeps/sparc/sparc64/Makefile: Likewise.
2414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
2415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2416         New file.
2417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2418         file.
2419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2420         New file.
2421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2422         file.
2423         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2424         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2425         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2426         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2427         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2428
2429         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2430         fzeros/fnegs to load 0x80000000 into a float register instead of
2431         using the stack.
2432         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2433
2434 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
2435
2436         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2437         bits/syscall.h.
2438         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2439         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2440         ($(inst_includedir)/bits/syscall.h): Remove rule.
2441         ($(objpfx)bits/syscall.d): Include instead of
2442         $(objpfx)syscall-list.d.
2443         (generated): Change syscall-list.h and syscall-list.d to
2444         bits/syscall.h and bits/syscall.d.
2445
2446 2012-03-14  Roland McGrath  <roland@hack.frob.com>
2447
2448         [BZ #13846]
2449         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2450
2451 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
2452
2453         [BZ #13841]
2454         * math/s_csqrt.c: Include <float.h>.
2455         (__csqrt): Scale large or subnormal inputs.
2456         * math/s_csqrtf.c: Likewise.
2457         * math/s_csqrtl.c: Likewise.
2458         * math/libm-test.inc (csqrt_test): Add more tests.
2459         * sysdeps/i386/fpu/libm-test-ulps: Update.
2460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2461
2462         [BZ #13840]
2463         * math/libm-test.inc (hypot_test): Add more tests.
2464
2465 2012-03-13  David S. Miller  <davem@davemloft.net>
2466
2467         [BZ #13840]
2468         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2469         double-precision for the calculation instead of scaling.
2470
2471 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
2472
2473         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2474         manipulate bits before adding and subtracting TWO52[sx].
2475         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2476         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2477         Likewise.
2478         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2479
2480 2012-03-13  David S. Miller  <davem@davemloft.net>
2481
2482         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2483         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2484         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2485         rtld-global-offsets.h
2486         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2487
2488         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2489         large parameters.
2490
2491         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2492
2493         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2494         'err' in the ifdef scope in which it is actually used.
2495
2496         * nss/nss_db/db-init.c: Include string.h
2497
2498 2012-03-12  David S. Miller  <davem@davemloft.net>
2499
2500         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2501         masking out of the most significant byte of random value used.
2502         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2503         Fix coding style in previous change.
2504
2505         * sysdeps/unix/sysv/linux/kernel-features.h
2506         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2507         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2508         expression.
2509         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2510         later.
2511
2512 2012-03-11  David S. Miller  <davem@davemloft.net>
2513
2514         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2515         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2516         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2517         for 'resultvar' otherwise things get truncated on 64-bit.
2518
2519         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2520         Fix masking out of the most significant byte of random value used.
2521
2522         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2523
2524 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
2525
2526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2527
2528 2012-03-09  David S. Miller  <davem@davemloft.net>
2529
2530         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2531         variables with appropriate CPP guards.
2532         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2533         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
2534         on resulting framesize and the management of the outregs buffer for pltexit.
2535         Preserve floating point return values across _dl_call_pltexit call.
2536         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2537         framesize and the management of the outregs buffer for pltexit.
2538         Preserve floating point return values across _dl_call_pltexit
2539         call.
2540         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2541         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2542         (print_exit): Fix format string for return register value.
2543
2544 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
2545
2546         * sunrpc/Makefile (others): Add rpcgen.
2547         ($(objpfx)rpcgen): Remove special build rule and dependency on
2548         libc.
2549         * sunrpc/rpcgen.c: New file.
2550
2551 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
2552
2553         [BZ #13673]
2554         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2555         * stdio-common/bug-vfprintf-nargs.c: Likewise.
2556         * sysdeps/i386/crti.S: Likewise.
2557         * sysdeps/i386/crtn.S: Likewise.
2558         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2559         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2560         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2561         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2562         * sysdeps/sh/crti.S: Likewise.
2563         * sysdeps/sh/crtn.S: Likewise.
2564         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2565
2566         [BZ #13673]
2567         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2568         with URL.
2569         * locale/programs/locfile-kw.gperf: Likewise.
2570         * locale/programs/charmap-kw.h: Regenerated.
2571         * locale/programs/locfile-kw.h: Likewise.
2572
2573         [BZ #13673]
2574         * intl/plural.y: Replace FSF snail mail address with URL.
2575         * intl/plural.c: Regenerated.
2576
2577 2012-03-09  Richard Henderson  <rth@twiddle.net>
2578
2579         * include/math_private.h: Remove file.
2580         * math/math_private.h: Move file ...
2581         * sysdeps/generic/math_private.h: ... here.
2582
2583         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2584         * sysdeps/powerpc/fpu/math_private.h: Likewise.
2585         * sysdeps/x86_64/fpu/math_private.h: Likewise.
2586
2587         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2588         and <math_private.h>.
2589         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2590         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2591         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2592         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2593         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2594         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2595         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2596         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2597         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2598         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2599         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2600         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2601         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2602         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2603         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2604         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2605         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2606         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2607         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2608         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2609         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2610         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2611         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2612         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2613         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2614         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2615         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2616         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2617         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2618         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2619         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2620         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2621         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2622         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2623         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2624         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2625         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2626         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2627         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2628         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2629         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2630         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2631         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2632         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2633         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2634         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2635         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2636         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2637         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2638         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2639         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2640         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2641         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2642         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2643         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2644         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2645         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2646         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2647         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2648         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2649         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2650         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2651         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2652         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2653         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2654         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2655         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2656         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2657         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2658         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2659         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2660         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2661         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2662         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2663         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2664         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2665         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2666         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2667         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2668         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2669         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2670         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2671         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2672         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2673         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2674         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2675         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2676         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2677         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2678         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2679         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2680         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2681         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2682         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2683         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2684         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2685         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2686         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2687         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2688         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2689         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2690         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2691         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2692         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2693         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2694         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2695         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2696         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2697         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2698         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2699         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2700         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2701         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2702         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2703         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2704         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2705         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2706         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2707         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2708         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2709         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2710         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2711         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2712         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2713         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2714         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2715         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2716         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2717         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2718         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2719         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2720         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2721         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2722         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2723         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2724         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2725         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2726         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2727         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2728         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2729         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2730         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2731         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2732         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2733         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2734         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2735         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2736         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2737         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2738         * sysdeps/ieee754/k_standard.c: Likewise.
2739         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2740         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2741         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2742         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2743         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2744         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2745         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2746         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2747         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2748         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2749         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2750         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2751         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2752         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2753         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2754         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2755         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2756         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2757         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2758         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2759         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2760         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2761         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2762         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2763         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2764         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2765         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2766         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2767         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2768         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2769         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2770         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2771         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2772         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2773         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2774         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2775         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2776         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2777         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2778         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2779         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2780         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2781         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2782         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2783         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2784         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2785         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2786         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2787         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2788         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2789         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2790         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2791         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2792         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2793         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2794         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2795         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2796         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2797         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2798         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2799         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2800         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2801         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2802         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2803         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2804         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2805         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2806         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2807         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2808         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2809         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2810         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2811         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2812         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2813         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2814         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2815         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2816         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2817         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2818         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2819         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2820         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2821         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2822         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2823         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2824         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2825         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2826         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2827         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2828         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2829         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2830         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2831         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2832         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2833         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2834         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2835         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2836         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2837         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2838         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2839         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2840         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2841         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2842         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2843         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2844         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2845         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2846         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2847         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2848         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2849         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2850         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2851         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2852         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2853         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2854         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2855         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2856         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2857         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2858         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2859         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2860         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2861         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2862         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2863         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2864         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2865         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2866         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2867         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2868         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2869         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2870         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2871         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2872         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2873         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2874         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2875         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2876         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2877         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2878         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2879         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2880         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2881         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2882         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2883         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2884         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2885         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2886         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2887         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2888         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2889         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2890         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2891         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2892         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2893         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2894         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2895         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2896         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2897         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2898         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2899         * sysdeps/ieee754/s_lib_version.c: Likewise.
2900         * sysdeps/ieee754/s_matherr.c: Likewise.
2901         * sysdeps/ieee754/s_signgam.c: Likewise.
2902         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2903         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2904         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2905         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2906         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2907         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2908         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2909         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2910         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2911         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2912         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2913         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2914         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2915         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2916         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2917         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2918         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2919         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2920         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2921         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2922         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2923
2924 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
2925
2926         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2927         * sunrpc/rpc_main.c: Likewise.
2928         * sunrpc/rpc_svcout.c: Likewise.
2929
2930 2012-03-09  David S. Miller  <davem@davemloft.net>
2931
2932         * include/math_private.h: New file.
2933
2934 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
2935
2936         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2937         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2938         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2939         from <bits/socket_type.h>.
2940         (enum __socket_type): Don't define here.
2941         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2942         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2943         bits/socket_type.h.
2944
2945         [BZ #13566]
2946         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2947         checking __USE_GNU.
2948
2949         * Makerules ($(inst_includedir)/%.h): New rule.
2950         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2951         (install-others): Remove variable setting.
2952         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2953
2954 2012-03-08  Richard Henderson  <rth@twiddle.net>
2955
2956         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2957         from macro to inline function; merge with the
2958         !__LIBC_INTERNAL_MATH_INLINES version.
2959         (__ieee754_sqrtf): Likewise.
2960
2961         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2962         to inline function.
2963         (__rintf, __floor, __floorf): Likewise.
2964
2965         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2966         macro to inline function.
2967         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2968
2969         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2970         not <math/math_private.h>.
2971
2972 2012-03-08  David S. Miller  <davem@davemloft.net>
2973
2974         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2975         copyright year.
2976         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2977
2978 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
2979
2980         * resolv/gai_misc.c (handle_requests): Fix struct timespec
2981         normalization.
2982         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2983         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2984
2985 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
2986
2987         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
2988         be defined individually, they must be defined as a block.  Define
2989         S for printing a string instead of hidint the different by using a
2990         macro for adding the 'l'.
2991         * stdio-common/tst-fphex-wide.c: Adjust.
2992
2993 2012-03-07  Marek Polacek  <polacek@redhat.com>
2994
2995         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2996
2997 2012-03-08  Marek Polacek  <polacek@redhat.com>
2998
2999         [BZ #13806]
3000         * stdio-common/Makefile (tests): Add tst-fphex-wide.
3001         * stdio-common/tst-fphex.c: Define a few macros to make the
3002         test reusable.  Use them.
3003         * stdio-common/tst-fphex-wide.c: New file.
3004
3005 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
3006
3007         [BZ #6911]
3008         * manual/macros.texi (gnusystems): New macro.
3009         (nongnusystems): Likewise.
3010         (gnulinuxhurdsystems): Likewise.
3011         (gnuhurdsystems): Likewise..
3012         (gnulinuxsystems): Likewise.
3013         * manual/charset.texi: Use new macros or @theglibc{} to refer to
3014         variants of the GNU system, not "GNU system".
3015         * manual/conf.texi: Likewise.
3016         * manual/errno.texi: Likewise.  Update example of errno macro
3017         expansion.
3018         * manual/filesys.texi: Likewise.
3019         (getumask): Document as specific to GNU/Hurd.
3020         * manual/install.texi: Likewise.  Reword some references to
3021         GNU/Linux.
3022         * manual/intro.texi: Likewise.
3023         * manual/io.texi: Likewise.
3024         (File Name Portability): Detail which constraints are inapplicable
3025         to all GNU systems and which are only inapplicable to GNU/Hurd.
3026         * manual/job.texi: Likewise.
3027         * manual/llio.texi: Likewise.
3028         (O_NOCTTY): Document as present on GNU/Linux.
3029         * manual/maint.texi: Likewise.
3030         * manual/memory.texi: Likewise.
3031         * manual/pattern.texi: Likewise.
3032         * manual/pipe.texi: Likewise.
3033         * manual/process.texi: Likewise.
3034         * manual/resource.texi: Likewise.
3035         (RUSAGE_CHILDREN): Remove statement about specifying a particular
3036         child on GNU/Hurd.
3037         * manual/setjmp.texi: Likewise.
3038         * manual/signal.texi: Likewise.
3039         * manual/startup.texi: Likewise.
3040         * manual/stdio.texi: Likewise.
3041         * manual/terminal.texi: Likewise.
3042         (ONLCR): Document as POSIX.
3043         (OXTABS): Document availability on GNU/Linux as XTABS.
3044         (ONOEOT): Document availability separately from other bits.
3045         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3046         * manual/time.texi: Likewise.
3047         * manual/users.texi: Likewise.
3048         * INSTALL: Regenerated.
3049         * sysdeps/gnu/errlist.c: Regenerated.
3050
3051         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3052         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3053         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
3054         puts.
3055         * configure: Regenerated.
3056
3057 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
3058
3059         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3060         default includes instead of AC_HEADER_CHECK.
3061         * sysdeps/i386/configure: Regenerated.
3062
3063         [BZ #10716]
3064         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3065         * math/s_cacoshf.c (__cacoshf): Likewise.
3066         * math/s_cacoshl.c (__cacoshl): Likewise.
3067         * math/s_casinh.c (__casinh): Set signs of result from argument.
3068         * math/s_casinhf.c (__casinhf): Likewise.
3069         * math/s_casinhl.c (__casinhl): Likewise.
3070         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3071         (casinh_test): Add more tests.
3072         * sysdeps/i386/fpu/libm-test-ulps: Update.
3073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3074
3075 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
3076
3077         * po/zh_TW.po: Update from translation team.
3078
3079         * login/Makefile (distribute): Remove variable.
3080         * catgets/Makefile: Likewise.
3081         * mach/Makefile: Likewise.
3082         * malloc/Makefile: Likewise.
3083         * misc/Makefile: Likewise.
3084         * iconv/Makefile: Likewise.
3085         * nscd/Makefile: Likewise.
3086         * hurd/Makefile: Likewise.
3087         * manual/Makefile: Likewise.
3088         * locale/Makefile: Likewise.
3089         * intl/Makefile: Likewise.
3090         * conform/Makefile: Likewise.
3091         * nss/Makefile: Likewise.
3092         * time/Makefile: Likewise.
3093         * soft-fp/Makefile: Likewise.
3094         * dirent/Makefile: Likewise.
3095         * gmon/Makefile: Likewise.
3096         * po/Makefile: Likewise.
3097         * rt/Makefile: Likewise.
3098         * socket/Makefile: Likewise.
3099         * math/Makefile: Likewise.
3100         * signal/Makefile: Likewise.
3101         * debug/Makefile: Likewise.
3102         * elf/Makefile: Likewise.
3103         * timezone/Makefile: Likewise.
3104         * stdlib/Makefile: Likewise.
3105         * iconvdata/Makefile: Likewise.
3106         * sunrpc/Makefile: Likewise.
3107         * io/Makefile: Likewise.
3108         * argp/Makefile: Likewise.
3109         * inet/Makefile: Likewise.
3110         * hesiod/Makefile: Likewise.
3111         * grp/Makefile: Likewise.
3112         * csu/Makefile: Likewise.
3113         * wctype/Makefile: Likewise.
3114         * crypt/Makefile: Likewise.
3115         * libio/Makefile: Likewise.
3116         * string/Makefile: Likewise.
3117         * nis/Makefile: Likewise.
3118         * resolv/Makefile: Likewise.
3119         * stdio-common/Makefile: Likewise.
3120         * wcsmbs/Makefile: Likewise.
3121         * dlfcn/Makefile: Likewise.
3122         * posix/Makefile: Likewise.
3123
3124         * timezone/Makefile: Don't install timezone files, just the programs
3125         and scripts.
3126
3127 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
3128
3129         * nss/databases.def: Add missing gshadow entry.
3130
3131         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
3132
3133 2012-03-06  Marek Polacek  <polacek@redhat.com>
3134
3135         [BZ #13726]
3136         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3137         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3138         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3139         * stdio-common/tst-long-dbl-fphex.c: New file.
3140
3141 2012-03-06  David S. Miller  <davem@davemloft.net>
3142
3143         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3144         (set_obp_int): New function.
3145         (get_obp_int): New function.
3146         (__get_clockfreq_via_dev_openprom): Likewise.
3147         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3148         Avoid unused variable warnings on 'val' and use builtin_expect.
3149         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3150         __builtin_expect.
3151         (INLINE_CLONE_SYSCALL): Likewise.
3152
3153 2012-03-05  David S. Miller  <davem@davemloft.net>
3154
3155         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3156
3157 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
3158
3159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3160
3161         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3162         only for |x| >= 40.
3163         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3164
3165 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
3166
3167         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3168         Replace gettimeofday with __vdso_gettimeofday.
3169
3170         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3171         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3172         __vdso_clock_gettime and __vdso_getcpu.
3173
3174         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3175         time with __vdso_time.
3176
3177 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
3178
3179         * manual/lang.texi (size_t): Note types to which size_t may be
3180         equivalent with the GNU C Library, but do not describe when
3181         differences between them are significant.
3182
3183 2012-03-05  Andreas Jaeger  <aj@suse.de>
3184
3185         * sysdeps/i386/fpu/libm-test-ulps: Update.
3186
3187 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
3188
3189         [BZ #3976]
3190         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3191         (__ieee754_pow): Save and restore rounding mode and use
3192         round-to-nearest for main computations.
3193         * math/libm-test.inc (pow_test_tonearest): New function.
3194         (pow_test_towardzero): Likewise.
3195         (pow_test_downward): Likewise.
3196         (pow_test_upward): Likewise.
3197         (main): Call the new functions.
3198         * sysdeps/i386/fpu/libm-test-ulps: Update.
3199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3200
3201         [BZ #3976]
3202         * math/libm-test.inc (cosh_test_tonearest): New function.
3203         (cosh_test_towardzero): Likewise.
3204         (cosh_test_downward): Likewise.
3205         (cosh_test_upward): Likewise.
3206         (sinh_test_tonearest): Likewise.
3207         (sinh_test_towardzero): Likewise.
3208         (sinh_test_downward): Likewise.
3209         (sinh_test_upward): Likewise.
3210         (main): Call the new functions.
3211         * sysdeps/i386/fpu/libm-test-ulps: Update.
3212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3213
3214 2012-03-05  Tom de Vries  <tom@codesourcery.com>
3215
3216         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3217         default stack guard is set in last bytes.
3218         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3219
3220 2012-03-05  Kees Cook  <keescook@chromium.org>
3221
3222         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
3223
3224         [BZ #13656]
3225         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3226         possibly allocate from heap instead of stack.
3227         * stdio-common/bug-vfprintf-nargs.c: New file.
3228         * stdio-common/Makefile (tests): Add nargs overflow test.
3229
3230 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
3231
3232         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3233
3234 2012-03-03  Marek Polacek  <polacek@redhat.com>
3235
3236         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3237         * math/math_private.h: Likewise.
3238         * stdlib/tst-strtod.c: Likewise.
3239         * sysdeps/i386/i486/bits/atomic.h: Likewise.
3240         * sysdeps/x86_64/bits/atomic.h: Likewise.
3241
3242 2012-03-02  David S. Miller  <davem@davemloft.net>
3243
3244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3248         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3249         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3250         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3251         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3252
3253 2012-03-02  Roland McGrath  <roland@hack.frob.com>
3254
3255         [BZ #13792]
3256         * manual/examples/README: New file, says the example source files
3257         can be used under GPL>=2.
3258         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3259         line containing just "*/".
3260         * manual/examples/add.c: Add copyright header (GPL>=2).
3261         * manual/examples/argp-ex1.c: Likewise.
3262         * manual/examples/argp-ex2.c: Likewise.
3263         * manual/examples/argp-ex3.c: Likewise.
3264         * manual/examples/argp-ex4.c: Likewise.
3265         * manual/examples/atexit.c: Likewise.
3266         * manual/examples/db.c: Likewise.
3267         * manual/examples/dir.c: Likewise.
3268         * manual/examples/dir2.c: Likewise.
3269         * manual/examples/execinfo.c: Likewise.
3270         * manual/examples/filecli.c: Likewise.
3271         * manual/examples/filesrv.c: Likewise.
3272         * manual/examples/fmtmsgexpl.c: Likewise.
3273         * manual/examples/genpass.c: Likewise.
3274         * manual/examples/inetcli.c: Likewise.
3275         * manual/examples/inetsrv.c: Likewise.
3276         * manual/examples/isockad.c: Likewise.
3277         * manual/examples/longopt.c: Likewise.
3278         * manual/examples/memopen.c: Likewise.
3279         * manual/examples/memstrm.c: Likewise.
3280         * manual/examples/mkfsock.c: Likewise.
3281         * manual/examples/mkisock.c: Likewise.
3282         * manual/examples/mygetpass.c: Likewise.
3283         * manual/examples/pipe.c: Likewise.
3284         * manual/examples/popen.c: Likewise.
3285         * manual/examples/rprintf.c: Likewise.
3286         * manual/examples/search.c: Likewise.
3287         * manual/examples/select.c: Likewise.
3288         * manual/examples/setjmp.c: Likewise.
3289         * manual/examples/sigh1.c: Likewise.
3290         * manual/examples/sigusr.c: Likewise.
3291         * manual/examples/stpcpy.c: Likewise.
3292         * manual/examples/strdupa.c: Likewise.
3293         * manual/examples/strftim.c: Likewise.
3294         * manual/examples/strncat.c: Likewise.
3295         * manual/examples/subopt.c: Likewise.
3296         * manual/examples/swapcontext.c: Likewise.
3297         * manual/examples/termios.c: Likewise.
3298         * manual/examples/testopt.c: Likewise.
3299         * manual/examples/testpass.c: Likewise.
3300         * manual/examples/timeval_subtract.c: Likewise.
3301
3302         [BZ #13792]
3303         * manual/time.texi (Elapsed Time): Move timeval_subtract example
3304         function to ...
3305         * manual/timeval_subtract.c.texi: ... here, new file.
3306
3307 2012-03-02  David S. Miller  <davem@davemloft.net>
3308
3309         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3310
3311 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
3312
3313         [BZ #3976]
3314         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3315         (__sin): Save and restore rounding mode and use round-to-nearest
3316         for all computations.
3317         (__cos): Save and restore rounding mode and use round-to-nearest
3318         for all computations.
3319         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3320         <fenv.h>.
3321         (tan): Save and restore rounding mode and use round-to-nearest for
3322         all computations.
3323         * math/libm-test.inc (cos_test_tonearest): New function.
3324         (cos_test_towardzero): Likewise.
3325         (cos_test_downward): Likewise.
3326         (cos_test_upward): Likewise.
3327         (sin_test_tonearest): Likewise.
3328         (sin_test_towardzero): Likewise.
3329         (sin_test_downward): Likewise.
3330         (sin_test_upward): Likewise.
3331         (tan_test_tonearest): Likewise.
3332         (tan_test_towardzero): Likewise.
3333         (tan_test_downward): Likewise.
3334         (tan_test_upward): Likewise.
3335         (main): Call the new functions.
3336         * sysdeps/i386/fpu/libm-test-ulps: Update.
3337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3338
3339         [BZ #10135]
3340         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3341         small n, then large n, before computing and testing k+n.
3342         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3343         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3344         Likewise.
3345         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3346         Likewise.
3347         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3348         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3349         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3350         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3351         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3352         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3353         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3354         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3355         * math/libm-test.inc (scalbn_test): Add more tests.
3356         (scalbln_test): Likewise.
3357
3358         * manual/filesys.texi (mode_t): Describe constraints on size and
3359         signedness, not exact equivalence to a particular type.
3360         (ino_t): Likewise.
3361         (ino64_t): Likewise.
3362         (dev_t): Likewise.
3363         (nlink_t): Likewise.
3364         (blkcnt_t): Likewise.
3365         (blkcnt64_t): Likewise.
3366         * manual/llio.texi (off_t): Likewise.
3367
3368         [BZ #3976]
3369         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3370         (__ieee754_exp): Save and restore rounding mode and use
3371         round-to-nearest for all computations.
3372         * math/libm-test.inc (exp_test_tonearest): New function.
3373         (exp_test_towardzero): Likewise.
3374         (exp_test_downward): Likewise.
3375         (exp_test_upward): Likewise.
3376         (main): Call the new functions.
3377         * sysdeps/i386/fpu/libm-test-ulps: Update.
3378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3379
3380 2012-03-01  Chris Demetriou  <cgd@google.com>
3381
3382         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3383         have predictable order.
3384
3385 2012-03-01  David S. Miller  <davem@davemloft.net>
3386
3387         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3388
3389         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3390         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3391         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3392         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3393
3394         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3395         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3396         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3398         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3399         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3400         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3401         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3402         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3403
3404         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3405
3406         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3407         * sysdeps/sparc/fpu/libm-test-ulps: to here.
3408         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3409
3410         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3411         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3412         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3413         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3414         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3415         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3416         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3417         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3418         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3419         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3420         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3421         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3422         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3423         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3424         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3425         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3426         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3427         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3428         * sysdeps/sparc/elf/configure: Regenerated.
3429
3430 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
3431
3432         * configure.in (AS, LD): Require binutils 2.20 or later.
3433         * configure: Regenerated.
3434         * manual/install.texi (Tools for Compilation): Give binutils 2.20
3435         as required minimum version.
3436         * INSTALL: Regenerated.
3437
3438         [BZ #2541]
3439         [BZ #4108]
3440         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3441         before squaring exponent.
3442         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3443         bottom long double and 27 bits of top long double before squaring
3444         exponent.
3445         * math/libm-test.inc (erfc_test): Add more tests.
3446         * sysdeps/i386/fpu/libm-test-ulps: Update.
3447         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3449
3450 2012-03-01  Kai Tietz  <ktietz@redhat.com>
3451
3452         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3453         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3454         containing bit-fields.
3455         * soft-fp/extended.h (_FP_UNION_E): Likewise.
3456         * soft-fp/single.h (_FP_UNION_S): Likewise.
3457         * soft-fp/double.h (_FP_UNION_D): Likewise.
3458
3459 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3460
3461         [BZ #13786]
3462         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3463         not include ../strcmp.S.
3464         [USE_AS_STRNCASECMP_L]: Likewise.
3465         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3466         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3467         * sysdeps/i386/i686/multiarch/strncase_l-c.c
3468         (__strncasecmp_l_ia32): Define as alias to
3469         __strncasecmp_l_nonascii.
3470
3471         [BZ #5794]
3472         * math/libm-test.inc (expm1_test): Add test for bug 5794.
3473         * sysdeps/i386/fpu/libm-test-ulps: Update.
3474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3475
3476         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3478
3479 2012-02-29  Jeff Law  <law@redhat.com>
3480
3481         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3482         out of bounds read.
3483
3484 2012-02-29  Marek Polacek  <polacek@redhat.com>
3485
3486         [BZ #13706]
3487         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3488         * elf/Makefile: Add rules to run tst-unused-dep.out.
3489
3490 2012-02-28  David S. Miller  <davem@davemloft.net>
3491
3492         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3493         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3494         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3495         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3496         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3497         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3498
3499 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3500
3501         * math/libm-test.inc (llround_test): Move one test from
3502         lround_test.  Use TEST_f_L in moved test.
3503         (lround_test): Move misplaced test to llround_test.  Add testcase
3504         from bug 2561.
3505
3506 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
3507
3508         * sysdeps/x86_64/fpu/e_expf.S: New file.
3509         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3510
3511 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
3512
3513         [BZ #13637]
3514         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3515         of remain_len that may cause incomplete multi-byte character and
3516         false match.
3517         * posix/bug-regex33.c: New file.
3518         * posix/Makefile (tests): Add bug-regex33.
3519
3520 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
3521
3522         * manual/macros.texi: New file.
3523         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3524         * manual/libc.texinfo: Include macros.texi.
3525         * manual/creatute.texi: Likewise.
3526         * manual/install.texi: Likewise.
3527         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3528         @glibcadj{} in references to the GNU C Library.
3529         * manual/charset.texi: Likewise.
3530         * manual/conf.texi: Likewise.
3531         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
3532         when not using those macros.
3533         * manual/creature.texi: Likewise.
3534         * manual/crypt.texi: Likewise.
3535         * manual/errno.texi: Likewise.
3536         * manual/filesys.texi: Likewise.
3537         * manual/header.texi: Likewise.
3538         * manual/install.texi: Likewise.
3539         * manual/intro.texi: Likewise.
3540         * manual/io.texi: Likewise.
3541         * manual/job.texi: Likewise.
3542         * manual/lang.texi: Likewise.
3543         * manual/libc.texiinfo: Likewise.
3544         * manual/llio.texi: Likewise.
3545         * manual/locale.texi: Likewise.
3546         * manual/maint.texi: Likewise.
3547         * manual/math.texi: Likewise.
3548         * manual/memory.texi: Likewise.
3549         * manual/message.texi: Likewise.
3550         * manual/nss.texi: Likewise.
3551         * manual/pattern.texi: Likewise.
3552         * manual/process.texi: Likewise.
3553         * manual/resource.texi: Likewise.
3554         * manual/search.texi: Likewise.
3555         * manual/setjmp.texi: Likewise.
3556         * manual/signal.texi: Likewise.
3557         * manual/socket.texi: Likewise.
3558         * manual/startup.texi: Likewise.
3559         * manual/stdio.texi: Likewise.
3560         * manual/string.texi: Likewise.
3561         * manual/sysinfo.texi: Likewise.
3562         * manual/syslog.texi: Likewise.
3563         * manual/terminal.texi: Likewise.
3564         * manual/time.texi: Likewise.
3565         * manual/users.texi: Likewise.
3566         * INSTALL: Regenerated.
3567         * NOTES: Regenerated.
3568         * sysdeps/gnu/errlist.c: Regenerated.
3569
3570 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
3571
3572         * include/dirent.h: Include <dirstream.h> before
3573         <dirent/dirent.h>.
3574
3575 2012-02-28  David S. Miller  <davem@davemloft.net>
3576
3577         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3578         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3579         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3580         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3581
3582 2012-02-27  David S. Miller  <davem@davemloft.net>
3583
3584         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3585         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3586         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3587         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3588
3589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3590         frame pointer instead of stack pointer relative arg slot.
3591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3592         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3593         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3594
3595 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
3596
3597         [BZ #3992]
3598         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3599
3600 2012-02-27  David S. Miller  <davem@davemloft.net>
3601
3602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3603         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3606         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3607         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3608         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3609         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3610
3611 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3612
3613         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3614         later.  Allow versions 5-9.
3615         * configure: Regenerated.
3616         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3617         required minimum version and 4.6 as recommended version.  Do not
3618         mention bugs in GCC 2.7 and 2.8.
3619         * INSTALL: Regenerated.
3620
3621 2012-02-27  David S. Miller  <davem@davemloft.net>
3622
3623         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3624         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3625         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3626         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3627         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3628         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3629         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3630         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3631
3632         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3633         manipulate bits before adding and subtracting TWO112[sx].
3634         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3635
3636 2012-02-27  Roland McGrath  <roland@hack.frob.com>
3637
3638         [BZ #13775]
3639         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3640         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3641         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3642         being in POSIX, because they are in 1003.1-2008.
3643
3644         * rt/tst-aio.c: Include <fcntl.h>.
3645         * rt/tst-aio7.c: Likewise.
3646         * rt/tst-aio64.c: Likewise.
3647
3648         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3649
3650 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3651
3652         * manual/install.texi (--with-headers): Describe headers as
3653         interface headers, not private headers.
3654         (Specific advice for GNU/Linux systems): Describe use of headers
3655         from "make headers_install", not private headers from older
3656         kernels.
3657         * INSTALL: Regenerated.
3658         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3659         Change to 2.6.19.
3660         * sysdeps/unix/sysv/linux/configure: Regenerated.
3661
3662         * manual/llio.texi (fclean): Remove documentation.
3663
3664         * manual/Makefile (libc-texi-generated): New variable.  Include
3665         version.texi.
3666         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3667         $(libc-texi-generated), not duplicated list of files.
3668         (version.texi, stamp-version): New rules.
3669         (realclean): Remove $(libc-texi-generated), not individual files
3670         from that list.  Do not remove dir-add.texinfo.
3671         * manual/libc.texinfo: Comment out uses of edition numbers and
3672         references to printed manual.  Remove last-updated dates.
3673         (EDITION): Comment out.
3674         (ISBN): Likewise.
3675         (VERSION, UPDATED): Remove.
3676         (version.texi): Include.
3677
3678 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
3679
3680         * sysdeps/posix/spawni.c: Include <signal.h>.
3681         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3682         * sysdeps/pthread/aio_fsync.c: Likewise.
3683
3684 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
3685
3686         * conform/Makefile (tests): Run only when not cross-compiling and
3687         when fast-check is not defined.
3688
3689         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3690         * conform/data/limits.h-data: Fixes for POSIX2008.
3691         * conform/run-conformtest.sh: Run all tests.
3692         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3693         headers.
3694         * include/bits/dlfcn.h: Likewise.
3695         * include/langinfo.h: Likewise.
3696         * include/monetary.h: Likewise.
3697         * include/sys/poll.h: Likewise.
3698
3699         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3700         for __USE_GNU.
3701         * posix/spawn.h: Define __need_sigset_t.
3702         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3703         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3704         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
3705         to get sigevent_t only.
3706         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3707         only for __USE_GNU.
3708         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3709         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3710         process_vm_writev only for __USE_GNU.
3711         * termios/termios.h: Declare tcgetsid also for POSIX2008.
3712
3713         * conform/Makefile: For now ignore errors from run-conformtest.
3714         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
3715         POSIX to avoid namespace pollution.  Don't prepend headers.
3716         * conform/data/aio.h-data: Fixes for POSIX testing.
3717         * conform/data/fcntl.h-data: Likewise.
3718         * conform/data/glob.h-data: Likewise.
3719         * conform/data/grp.h-data: Likewise.
3720         * conform/data/pthread.h-data: Likewise.
3721         * conform/data/pwd.h-data: Likewise.
3722         * conform/data/signal.h-data: Likewise.
3723         * conform/data/spawn.h-data: Likewise.
3724         * conform/data/stdio.h-data: Likewise.
3725         * conform/data/stdlib.h-data: Likewise.
3726         * conform/data/stropts.h-data: Likewise.
3727         * conform/data/sys/mman.h-data: Likewise.
3728         * conform/data/sys/stat.h-data: Likewise.
3729         * conform/data/sys/types.h-data: Likewise.
3730         * conform/data/sys/wait.h-data: Likewise.
3731         * conform/data/time.h-data: Likewise.
3732         * conform/data/unistd.h-data: Likewise.
3733         * conform/data/utime.h-data: Likewise.
3734
3735         * io/sys/stat.h: fchmod was always in POSIX.
3736         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3737         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3738         * rt/aio.h: Define __need_timespec before including <time.h>.
3739         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3740         struct.  Add forward declaration of pthread_attr_t and use it in
3741         sigevent.
3742         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3743         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3744         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3745         always remove CLK_TCK definition.
3746
3747 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
3748
3749         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3750
3751 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
3752
3753         * conform/run-conformtest.sh: New file.
3754         * conform/Makefile: Run run-conformtest for tests.
3755         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
3756         support.
3757
3758         * conform/data/uchar.h-data: New file.
3759         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3760         * conform/data/arpa/inet.h-data: Likewise.
3761         * conform/data/assert.h-data: Likewise.
3762         * conform/data/complex.h-data: Likewise.
3763         * conform/data/cpio.h-data: Likewise.
3764         * conform/data/ctype.h-data: Likewise.
3765         * conform/data/dirent.h-data: Likewise.
3766         * conform/data/dlfcn.h-data: Likewise.
3767         * conform/data/errno.h-data: Likewise.
3768         * conform/data/fcntl.h-data: Likewise.
3769         * conform/data/float.h-data: Likewise.
3770         * conform/data/fmtmsg.h-data: Likewise.
3771         * conform/data/fnmatch.h-data: Likewise.
3772         * conform/data/ftw.h-data: Likewise.
3773         * conform/data/glob.h-data: Likewise.
3774         * conform/data/grp.h-data: Likewise.
3775         * conform/data/iconv.h-data: Likewise.
3776         * conform/data/inttypes.h-data: Likewise.
3777         * conform/data/langinfo.h-data: Likewise.
3778         * conform/data/libgen.h-data: Likewise.
3779         * conform/data/limits.h-data: Likewise.
3780         * conform/data/locale.h-data: Likewise.
3781         * conform/data/math.h-data: Likewise.
3782         * conform/data/monetary.h-data: Likewise.
3783         * conform/data/mqueue.h-data: Likewise.
3784         * conform/data/ndbm.h-data: Likewise.
3785         * conform/data/net/if.h-data: Likewise.
3786         * conform/data/netdb.h-data: Likewise.
3787         * conform/data/netinet/in.h-data: Likewise.
3788         * conform/data/nl_types.h-data: Likewise.
3789         * conform/data/poll.h-data: Likewise.
3790         * conform/data/pthread.h-data: Likewise.
3791         * conform/data/pwd.h-data: Likewise.
3792         * conform/data/regex.h-data: Likewise.
3793         * conform/data/sched.h-data: Likewise.
3794         * conform/data/search.h-data: Likewise.
3795         * conform/data/semaphore.h-data: Likewise.
3796         * conform/data/setjmp.h-data: Likewise.
3797         * conform/data/signal.h-data: Likewise.
3798         * conform/data/spawn.h-data: Likewise.
3799         * conform/data/stdarg.h-data: Likewise.
3800         * conform/data/stdio.h-data: Likewise.
3801         * conform/data/stdlib.h-data: Likewise.
3802         * conform/data/string.h-data: Likewise.
3803         * conform/data/strings.h-data: Likewise.
3804         * conform/data/stropts.h-data: Likewise.
3805         * conform/data/sys/ipc.h-data: Likewise.
3806         * conform/data/sys/mman.h-data: Likewise.
3807         * conform/data/sys/msg.h-data: Likewise.
3808         * conform/data/sys/resource.h-data: Likewise.
3809         * conform/data/sys/select.h-data: Likewise.
3810         * conform/data/sys/sem.h-data: Likewise.
3811         * conform/data/sys/shm.h-data: Likewise.
3812         * conform/data/sys/socket.h-data: Likewise.
3813         * conform/data/sys/stat.h-data: Likewise.
3814         * conform/data/sys/statvfs.h-data: Likewise.
3815         * conform/data/sys/time.h-data: Likewise.
3816         * conform/data/sys/timeb.h-data: Likewise.
3817         * conform/data/sys/times.h-data: Likewise.
3818         * conform/data/sys/types.h-data: Likewise.
3819         * conform/data/sys/uio.h-data: Likewise.
3820         * conform/data/sys/un.h-data: Likewise.
3821         * conform/data/sys/utsname.h-data: Likewise.
3822         * conform/data/sys/wait.h-data: Likewise.
3823         * conform/data/syslog.h-data: Likewise.
3824         * conform/data/tar.h-data: Likewise.
3825         * conform/data/termios.h-data: Likewise.
3826         * conform/data/utime.h-data: Likewise.
3827         * conform/data/utmpx.h-data: Likewise.
3828         * conform/data/varargs.h-data: Likewise.
3829         * conform/data/wchar.h-data: Likewise.
3830         * conform/data/wctype.h-data: Likewise.
3831         * conform/data/wordexp.h-data: Likewise.
3832
3833         * include/stropts.h: New file.
3834         * include/uchar.h: New file.
3835         * include/aio.h: Changes to allow conformtest.pl to use the headers.
3836         * include/assert.h: Likewise.
3837         * include/ctype.h: Likewise.
3838         * include/dirent.h: Likewise.
3839         * include/dlfcn.h: Likewise.
3840         * include/fcntl.h: Likewise.
3841         * include/fnmatch.h: Likewise.
3842         * include/glob.h: Likewise.
3843         * include/grp.h: Likewise.
3844         * include/libio.h: Likewise.
3845         * include/locale.h: Likewise.
3846         * include/math.h: Likewise.
3847         * include/net/if.h: Likewise.
3848         * include/netdb.h: Likewise.
3849         * include/netinet/in.h: Likewise.
3850         * include/pthread.h: Likewise.
3851         * include/pwd.h: Likewise.
3852         * include/regex.h: Likewise.
3853         * include/sched.h: Likewise.
3854         * include/search.h: Likewise.
3855         * include/setjmp.h: Likewise.
3856         * include/signal.h: Likewise.
3857         * include/stdio.h: Likewise.
3858         * include/stdlib.h: Likewise.
3859         * include/string.h: Likewise.
3860         * include/sys/cdefs.h: Likewise.
3861         * include/sys/mman.h: Likewise.
3862         * include/sys/msg.h: Likewise.
3863         * include/sys/resource.h: Likewise.
3864         * include/sys/select.h: Likewise.
3865         * include/sys/socket.h: Likewise.
3866         * include/sys/stat.h: Likewise.
3867         * include/sys/statvfs.h: Likewise.
3868         * include/sys/time.h: Likewise.
3869         * include/sys/times.h: Likewise.
3870         * include/sys/uio.h: Likewise.
3871         * include/sys/utsname.h: Likewise.
3872         * include/sys/wait.h: Likewise.
3873         * include/termios.h: Likewise.
3874         * include/time.h: Likewise.
3875         * include/ulimit.h: Likewise.
3876         * include/unistd.h: Likewise.
3877         * include/utime.h: Likewise.
3878         * include/wchar.h: Likewise.
3879         * include/wctype.h: Likewise.
3880         * include/wordexp.h: Likewise.
3881
3882         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3883
3884         * time/time.h: TIME_UTC must be a macro.
3885         Make timespec_get available for ISO C11 only as well.
3886
3887 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
3888
3889         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3890         Reported by Peng Haitao <penght@cn.fujitsu.com>.
3891
3892 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3893
3894         * configure.in: Use -o not -a in test for unsupported multi-arch.
3895
3896 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3897
3898         * manual/texinfo.tex: Update to version 2012-01-19.16.
3899
3900 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
3901
3902         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3903
3904 2012-02-24  Roland McGrath  <roland@hack.frob.com>
3905
3906         [BZ #13738]
3907         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3908         * manual/fdl-1.3.texi: New file.
3909         * manual/fdl-1.1.texi: File removed.
3910
3911         [BZ #13738]
3912         * manual/libc.texinfo (FDL_VERSION): New @set.
3913         Use it for mention of FDL in cover text.
3914         (Documentation License): Use it in @include file name.
3915
3916 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3917             Roland McGrath  <roland@hack.frob.com>
3918
3919         [BZ #5461]
3920         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3921         not LONG_LONG_MAX and LONG_LONG_MIN.
3922         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3923         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
3924         name.
3925         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3926
3927 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3928
3929         [BZ #2547]
3930         [BZ #11365]
3931         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3932         manipulate bits before adding and subtracting TWO23[sx].
3933         * math/libm-test.inc (nearbyint_test): Add more tests.
3934
3935 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3936
3937         [BZ #2548]
3938         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3939         bits before adding and subtracting TWO23[sx].
3940         * math/libm-test.inc (rint_test): Add more tests.
3941         (rint_test_tonearest): Likewise.
3942         (rint_test_towardzero): Likewise.
3943         (rint_test_downward): Likewise.
3944         (rint_test_upward: Likewise.
3945
3946 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3947
3948         [BZ #10110]
3949         * include/stdc-predef.h: New file.  Extracted from features.h.
3950         * include/features.h: Include stdc-predef.h.
3951         * Makefile (headers): Add stdc-predef.h.
3952         * CONFORMANCE (Compiler limitations): Update.
3953
3954 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3955
3956         * manual/libc.texinfo (VERSION, UPDATED): Revert.
3957
3958 2012-02-21  David S. Miller  <davem@davemloft.net>
3959
3960         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3961         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3962
3963 2012-02-20  David S. Miller  <davem@davemloft.net>
3964
3965         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3966         using a normal save/restore sequence, rather than allocating a
3967         dummy stack frame just to store a frame pointer and restore.
3968         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3969
3970 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3971
3972         * manual/install.texi: Fix stray word in line-wrapped comment.
3973
3974 2012-02-20  David S. Miller  <davem@davemloft.net>
3975
3976         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3977         both binutils and gcc support GOTDATA.
3978
3979         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3980         "rd %pc" in the PIC register setup sequences.
3981
3982         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3983         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3984         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3985         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3986         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3987         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3988         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3989         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3990         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3991         (SYSCALL_ERROR_HANDLER): Likewise.
3992         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3993         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3994         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3995         (SYSCALL_ERROR_HANDLER): Likewise.
3996
3997         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3998         (HAVE_GCC_GOTDATA): New.
3999         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4000         relocation support in both binutils and gcc.
4001         * sysdeps/sparc/elf/configure: Regenerate.
4002
4003         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4004         * sysdeps/sparc/sparc32/elf/configure: Delete.
4005         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4006         * sysdeps/sparc/sparc64/elf/configure: Delete.
4007         * sysdeps/sparc/elf/configure.in: New file.
4008         * sysdeps/sparc/elf/configure: Generate.
4009
4010         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4011         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4012         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4013         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4014         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4015
4016 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
4017
4018         * manual/install.texi: Do not mention specific glibc version
4019         numbers.
4020         * manual/libc.texinfo (VERSION, UPDATED): Update.
4021         (@copying): Use @copyright{} and range of years.
4022
4023 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
4024
4025         [BZ #13695]
4026         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4027         [crti.S not in sysdirs] (generated): Do not append.
4028         [crti.S not in sysdirs] (omit-deps): Likewise.
4029         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4030         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4031         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4032         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4033         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4034         Likewise.
4035         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4036         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4037         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4038         * csu/defs.awk: Remove file.
4039         * sysdeps/generic/initfini.c: Likewise.
4040         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4041         variable.
4042         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4043         Likewise.
4044
4045 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
4046
4047         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4048         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4049         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4050         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4051         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4052         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4053         <bits/epoll.h>.
4054         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4055         (__EPOLL_PACKED): Define to empty if not defined by
4056         <bits/epoll.h>.
4057         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4058         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4059         bits/epoll.h.
4060
4061 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
4062
4063         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4064         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4065         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4066         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4067         <bits/timerfd.h>.
4068         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4069         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4070         bits/timerfd.h.
4071
4072 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
4073
4074         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4075         in C locale.
4076         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4077         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4078         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4080
4081 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
4082
4083         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4084         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4085
4086 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
4087
4088         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4089         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4090         defined.
4091         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4092         Likewise.
4093         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4094         entry for 2.16.
4095
4096 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
4097
4098         * math/w_acos.c: Use non-signaling floating-point comparisons.
4099         * math/w_acosf.c: Likewise.
4100         * math/w_acosh.c: Likewise.
4101         * math/w_acoshf.c: Likewise.
4102         * math/w_acoshl.c: Likewise.
4103         * math/w_acosl.c: Likewise.
4104         * math/w_asin.c: Likewise.
4105         * math/w_asinf.c: Likewise.
4106         * math/w_asinl.c: Likewise.
4107         * math/w_atanh.c: Likewise.
4108         * math/w_atanhf.c: Likewise.
4109         * math/w_atanhl.c: Likewise.
4110         * math/w_exp2.c: Likewise.
4111         * math/w_exp2f.c: Likewise.
4112         * math/w_exp2l.c: Likewise.
4113         * math/w_j0.c: Likewise.
4114         * math/w_j0f.c: Likewise.
4115         * math/w_j0l.c: Likewise.
4116         * math/w_j1.c: Likewise.
4117         * math/w_j1f.c: Likewise.
4118         * math/w_j1l.c: Likewise.
4119         * math/w_jn.c: Likewise.
4120         * math/w_jnf.c: Likewise.
4121         * math/w_log.c: Likewise.
4122         * math/w_log10.c: Likewise.
4123         * math/w_log10f.c: Likewise.
4124         * math/w_log10l.c: Likewise.
4125         * math/w_log2.c: Likewise.
4126         * math/w_log2f.c: Likewise.
4127         * math/w_log2l.c: Likewise.
4128         * math/w_logf.c: Likewise.
4129         * math/w_logl.c: Likewise.
4130         * math/w_sqrt.c: Likewise.
4131         * math/w_sqrtf.c: Likewise.
4132         * math/w_sqrtl.c: Likewise.
4133         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4134         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4135         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4136         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4137         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4138
4139 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
4140
4141         [BZ #9739]
4142         * manual/string.texi (strnlen): Use correct parameter name in
4143         equivalent expression.
4144
4145 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
4146
4147         [BZ #11174]
4148         * manual/users.texi (seteuid): Consistently use neweuid for
4149         argument name.
4150
4151 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
4152
4153         [BZ #13704]
4154         * manual/nss.texi (Services in the NSS configuration): Correct
4155         list of services in example configuration file.
4156
4157 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
4158
4159         [BZ #11322]
4160         * manual/arith.texi: Remove statements about negative zero
4161         behaving identically to zero.
4162
4163 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
4164
4165         [BZ #5993]
4166         * manual/install.texi: Do not document upgrading from libc5.
4167
4168 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
4169
4170         [BZ #4596]
4171         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4172
4173 2012-02-18  David S. Miller  <davem@davemloft.net>
4174
4175         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4176         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4177         %o7 across the call.
4178         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4179         instead.
4180         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4181         SETUP_PIC_REG_LEAF.
4182         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4183         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4184         * sysdeps/sparc/crtn.S: Likewise.
4185
4186 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
4187
4188         * aout/Makefile: Remove.
4189
4190 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
4191
4192         [BZ #13058]
4193         * manual/examples/argp-ex1.c (main): Format definition in GNU
4194         style.
4195         * manual/examples/argp-ex2.c (main): Likewise.
4196         * manual/examples/argp-ex3.c (main): Likewise.
4197         * manual/examples/argp-ex4.c (main): Likewise.
4198         * manual/examples/longopt.c (main): Use new-style prototype
4199         definition.
4200         * manual/examples/strncat.c (main): Specify return type and use
4201         (void) for arguments.
4202         * manual/examples/subopt.c (main): Use char **argv argument.
4203
4204 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4205
4206         [BZ #5077]
4207         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4208         rounding modes.
4209
4210 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
4211
4212         [BZ #6907]
4213         * manual/string.texi (strchr): Change when strchrnul is
4214         recommended.
4215
4216 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
4217
4218         [BZ #174]
4219         * manual/locale.texi (setlocale): Document LOCPATH.
4220
4221 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4222
4223         [BZ #10210]
4224         * manual/process.texi (execle): Move @dots{} before last argument.
4225
4226 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
4227
4228         [BZ #12047]
4229         * manual/charset.texi (Generic Charset Conversion): Fix typo
4230         (LC_TYPE -> LC_CTYPE).
4231
4232 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
4233
4234         [BZ #5805]
4235         * manual/arith.texi (scalbn): Use @var{} on parameter names.
4236         (scalbnf): Likewise.
4237         (scalbnl): Likewise.
4238         (scalbln): Likewise.
4239         (scalblnf): Likewise.
4240         (scalblnl): Likewise.
4241         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4242         (vwarnx): Likewise.
4243         (verr): Likewise.
4244         (verrx): Likewise.
4245         * manual/filesys.texi (telldir): Use braces around return type.
4246         * manual/llio.texi (mmap): Add space after comma.
4247         (mmap64): Likewise.
4248         * manual/math.texi (jn): Use @var{} on parameter names.
4249         (jnf): Likewise.
4250         (jnl): Likewise.
4251         (yn): Likewise.
4252         (ynf): Likewise.
4253         (ynl): Likewise.
4254         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4255         line.
4256         * manual/resource.texi (ulimit): Use @dots{} instead of literal
4257         "...".
4258         (sched_get_priority_min): Remove semicolon on @deftypefun line.
4259         (sched_get_priority_max): Likewise.
4260         * manual/signal.texi (sigvec): Add space after comma.
4261         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4262         names.
4263         (if_indextoname): Likewise.
4264         (if_freenameindex): Likewise.
4265         (sendto): Use ',' instead of '.' in prototype.
4266         * manual/startup.texi (syscall): Use @dots{} instead of literal
4267         "...".
4268         * manual/stdio.texi (__fpending): Separate initial words of
4269         paragraph from @deftypefun line.
4270         * manual/syslog.texi (syslog): Use @dots{} instead of literal
4271         "...".
4272         (vsyslog): Use @var{} on parameter names.
4273         * manual/terminal.texi (stty): Use @var{} on parameter names.
4274         * manual/users.texi (getutmp): Use @var{} on parameter names.
4275         (getutmpx): Likewise.
4276
4277 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4278
4279         [BZ #6884]
4280         * manual/stdio.texi (fopen): Fix typos in description of
4281         ",ccs=STRING".
4282
4283 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
4284
4285         [BZ #4026]
4286         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4287         get clock_id definition.
4288
4289 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
4290
4291         [BZ #4822]
4292         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4293         (madvise): Cast every argument to void on its own.
4294
4295 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4296
4297         [BZ #9902]
4298         * manual/startup.texi (Exit Status): Fix typo.
4299
4300 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4301
4302         [BZ #10140]
4303         * manual/examples/argp-ex1.c: Include <stdlib.h>.
4304         * manual/examples/argp-ex2.c: Likewise.
4305         * manual/examples/argp-ex3.c: Likewise.
4306
4307 2012-02-16  Richard Henderson  <rth@redhat.com>
4308
4309         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4310         * sysdeps/s390/s390-32/initfini.c: Remove.
4311         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4312         * sysdeps/s390/s390-64/initfini.c: Remove.
4313
4314 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4315
4316         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4317         compiler output for sysdeps/generic/initfini.c.
4318         * sysdeps/sh/elf/initfini.c: Remove file.
4319
4320 2012-02-16  David S. Miller  <davem@davemloft.net>
4321
4322         [BZ #11494]
4323         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4324
4325         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4326         * sysdeps/sparc/crti.S: New file.
4327         * sysdeps/sparc/crtn.S: New file.
4328         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4329         * sysdeps/sparc/sparc64/Makefile: Likewise.
4330
4331 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
4332
4333         [BZ #3335]
4334         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4335
4336 2012-02-15  Roland McGrath  <roland@hack.frob.com>
4337
4338         [BZ #4822]
4339         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4340
4341         * mach/devstream.c (cookie_io_functions_t): Macro removed.
4342         (write, read, close): Likewise.
4343         Patch by Aurelien Jarno <aurelien@aurel32.net>.
4344
4345 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
4346
4347         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4348         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4349         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4350         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4351         <bits/signalfd.h>.
4352         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4353         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4354         bits/signalfd.h.
4355
4356 2012-02-14  Marek Polacek  <polacek@redhat.com>
4357
4358         * sysdeps/x86_64/crti.S: New file.
4359         * sysdeps/x86_64/crtn.S: New file.
4360         * sysdeps/x86_64/elf/initfini.c: Remove file.
4361
4362 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
4363
4364         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4365         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4366         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4367         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4368         <bits/inotify.h>.
4369         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4370         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4371         bits/inotify.h.
4372
4373 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
4374
4375         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4376         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4377         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4378         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4379         <bits/eventfd.h>.
4380         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4381         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4382         bits/eventfd.h.
4383
4384 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
4385
4386         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4387         __feraiseexcept instead of feraiseexcept.
4388
4389         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4390         nanosleep invocations.
4391         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4392         strings, and add error checking for a nanosleep invocations.
4393
4394 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
4395
4396         Replace FSF snail mail address with URLs, as per GNU coding standards.
4397         Most of the snail mail addresses were wrong anyway, and omitting
4398         them makes the source code easier to maintain.  Almost all of the
4399         changes are to license notices and to locale LC_IDENTIFICATION
4400         addresses, except for this one:
4401         * manual/libc.texinfo: In "Published by", give the FSF's URL,
4402         not its snail mail address.
4403
4404 2012-02-09  Richard Henderson  <rth@twiddle.net>
4405
4406         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4407         of kernel-features.h.
4408
4409         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4410
4411 2012-02-08  Marek Polacek  <polacek@redhat.com>
4412
4413         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4414         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4415         * sysdeps/gnu/_G_config.h: Likewise.
4416         * sysdeps/generic/_G_config.h: Likewise.
4417
4418 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
4419
4420         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4421         tests.
4422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4423
4424         * sysdeps/powerpc/powerpc32/crti.S: New file.
4425         * sysdeps/powerpc/powerpc32/crtn.S: New file.
4426         * sysdeps/powerpc/powerpc64/crti.S: New file.
4427         * sysdeps/powerpc/powerpc64/crtn.S: New file.
4428
4429         * Makeconfig (have-initfini): Don't set.
4430         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4431         * configure.in (nopic_initfini): Don't substitute.
4432         * config.h.in (HAVE_INITFINI): Don't #undef.
4433         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4434         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4435
4436 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
4437
4438         Support crti.S and crtn.S provided directly by architectures.
4439         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4440         [crti.S in sysdirs] (omit-deps): Likewise.
4441         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4442         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4443         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4444         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4445         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4446         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4447         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4448         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4449         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4450         compiler output for sysdeps/generic/initfini.c.
4451         * sysdeps/i386/elf/Makefile: Remove file.
4452         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4453
4454 2012-02-07  Marek Polacek  <polacek@redhat.com>
4455
4456         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4457         * sysdeps/gnu/_G_config.h: Likewise.
4458         * sysdeps/mach/hurd/_G_config.h: Likewise.
4459
4460 2012-02-07  Marek Polacek  <polacek@redhat.com>
4461
4462         * math/Makefile (tests): Add tst-CMPLX2.
4463         * math/tst-CMPLX2.c: New file.
4464
4465 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
4466
4467         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4468
4469         * math/libm-test.inc (jn_test): Add missing L suffix.
4470
4471 2012-02-06  Marek Polacek  <polacek@redhat.com>
4472
4473         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4474         * sysdeps/i386/fpu/e_powf.S: Likewise.
4475         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4476         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4477         * sysdeps/i386/fpu/e_acosh.S: Likewise.
4478         * sysdeps/i386/fpu/e_pow.S: Likewise.
4479         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4480         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4481         * sysdeps/i386/fpu/s_expm1.S: Likewise.
4482         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4483         * sysdeps/i386/fpu/e_log2.S: Likewise.
4484         * sysdeps/i386/fpu/e_log2l.S: Likewise.
4485         * sysdeps/i386/fpu/e_scalb.S: Likewise.
4486         * sysdeps/i386/fpu/e_powl.S: Likewise.
4487         * sysdeps/i386/fpu/s_log1p.S: Likewise.
4488         * sysdeps/i386/fpu/e_log10f.S: Likewise.
4489         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4490         * sysdeps/i386/fpu/e_logl.S: Likewise.
4491         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4492         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4493         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4494         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4495         * sysdeps/i386/fpu/e_log2f.S: Likewise.
4496         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4497         * sysdeps/i386/fpu/e_log.S: Likewise.
4498         * sysdeps/i386/fpu/s_cexp.S: Likewise.
4499         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4500         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4501         * sysdeps/i386/fpu/e_logf.S: Likewise.
4502         * sysdeps/i386/fpu/e_log10l.S: Likewise.
4503         * sysdeps/i386/fpu/e_atanh.S: Likewise.
4504         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4505         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4506         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4507         * sysdeps/i386/fpu/e_log10.S: Likewise.
4508         * sysdeps/i386/fpu/s_frexp.S: Likewise.
4509         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4510         * sysdeps/i386/fpu/s_asinh.S: Likewise.
4511         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4512         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4513         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4514         * sysdeps/i386/asm-syntax.h: Likewise.
4515         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4516         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4517         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4518         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4519         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4520         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4521         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4522         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4523         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4524         * sysdeps/powerpc/sysdep.h: Likewise.
4525         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4526         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4527
4528 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4529
4530         [BZ #411]
4531         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4532
4533 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4534
4535         * sysdeps/i386/sysdep.h: Include <features.h>.
4536         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4537         version.
4538
4539 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
4540
4541         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4542         Define.
4543         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4544         LOAD_PIC_REG_STR.
4545
4546 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4547
4548         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4549         (SETUP_PIC_REG): Use GET_PC_THUNK.
4550         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4551         macro.
4552
4553 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4554
4555         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4556         for non-PIC compilation.
4557         (SETUP_PIC_REG): Add .p2align directive.
4558         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4559         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4560         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4561         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4562         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4563         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4564         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4565         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4566         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4567         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4568         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4569         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4570         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4571         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4572         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4573         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4574         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4575         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4576         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4577         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4578         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4579         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4580         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4581         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4582         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4583         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4584         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4585         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4586         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4587         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4588         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4589         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4590         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4591         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4592         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4593         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4594         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4595         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4596         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4597         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4598         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4599
4600 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4601
4602         * math/tst-CMPLX.c: Include <stdio.h>.
4603
4604 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
4605
4606         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4607         float.
4608         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4609         * sysdeps/sparc/bits/mathdef.h: Likewise.
4610
4611 2012-01-31  Marek Polacek  <polacek@redhat.com>
4612
4613         * libio/libio.h: Don't define _PARAMS.
4614         * locale/programs/config.h: Don't define PARAMS.
4615         * stdlib/strtol_l.c: Likewise.
4616         (__strtol_l): Remove PARAMS from the prototype.
4617
4618 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
4619
4620         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
4621         names.  Just use the correct names.  Remove unnecessary wrapper
4622         functions.
4623         * malloc/arena.c: Likewise.
4624         * malloc/hooks.c: Likewise.
4625
4626         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4627         ARENA_TEST says not to.  Simplify test for creation of a new arena.
4628         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4629
4630 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
4631
4632         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4633         into tail calls.
4634         (update_get_addr): New function.
4635         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4636         GET_ADDR_MODULE parameter.
4637
4638 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
4639
4640         * crypt/cert.c: Remove __STDC__ conditionals.
4641         * crypt/crypt-entry.c: Likewise.
4642         * crypt/crypt_util.c: Likewise.
4643         * libio/filedoalloc.c: Likewise.
4644         * libio/fileops.c: Likewise.
4645         * libio/genops.c: Likewise.
4646         * libio/iofclose.c: Likewise.
4647         * libio/iofdopen.c: Likewise.
4648         * libio/iofopen.c: Likewise.
4649         * libio/iofopen64.c: Likewise.
4650         * libio/iogetdelim.c: Likewise.
4651         * libio/iopopen.c: Likewise.
4652         * libio/obprintf.c: Likewise.
4653         * libio/oldfileops.c: Likewise.
4654         * libio/oldiofclose.c: Likewise.
4655         * libio/oldiofdopen.c: Likewise.
4656         * libio/oldiofopen.c: Likewise.
4657         * libio/oldiopopen.c: Likewise.
4658         * libio/wfiledoalloc.c: Likewise.
4659         * libio/wgenops.c: Likewise.
4660         * locale/programs/xmalloc.c: Likewise.
4661         * misc/syslog.c: Likewise.
4662         * stdio-common/xbug.c: Likewise.
4663         * string/memchr.c: Likewise.
4664         * string/memcmp.c: Likewise.
4665         * string/memrchr.c: Likewise.
4666         * string/rawmemchr.c: Likewise.
4667         * sysdeps/posix/getcwd.c: Likewise.
4668         * time/strftime_l.c: Likewise.
4669
4670 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
4671
4672         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
4673         * config.make.in (config-cflags-sse2avx): Define.
4674         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4675         Fix typo.
4676
4677 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
4678
4679         * scripts/config.guess: Update from upstream config git repository.
4680         * scripts/config.sub: Likewise.
4681
4682 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
4683
4684         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4685         (EM_NUM): Update.
4686         (R_TILEPRO_*, R_TILEGX_*): New macros.
4687
4688         * scripts/firstversions.awk: Fix bug in version range handling.
4689
4690         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4691
4692         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4693
4694         * include/sys/epoll.h: New file.
4695         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4696         libc_hidden_def.
4697
4698 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
4699
4700         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4701         Avoid unnecessary __WORDSIZE == 64 test.
4702         (fmaxf): Use VEX format if possible.
4703         (fmax): Likewise.
4704         (fminf): Likewise.
4705         (fmin): Likewise.
4706
4707         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4708         * math/math_private.h: Remove libc_fegetround* and
4709         libc_fesetround*.
4710         * sysdeps/i386/configure.in: Check for -msse2avx.
4711         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4712         also if SSE2AVX is defined.
4713         Remove libc_fegetround* and libc_fesetround*.
4714         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4715         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
4716         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4717         of HAS_YMM_USABLE.
4718         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4719         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4720         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4721         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4722         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4723
4724         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4725
4726 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4727
4728         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4729         size is not set.
4730         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4731
4732 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
4733
4734         [BZ #13618]
4735         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4736         relocation.
4737         * Makeconfig (libm): Define.
4738         * elf/Makefile: Add rules to build and run tst-relsort1.
4739         * elf/tst-relsort1.c: New file.
4740         * elf/tst-relsort1mod1.c: New file.
4741         * elf/tst-relsort1mod2.c: New file.
4742
4743 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
4744
4745         * math/s_ldexp.c: Remove __STDC__ conditionals.
4746         * math/s_ldexpf.c: Likewise.
4747         * math/s_ldexpl.c: Likewise.
4748         * math/s_nextafter.c: Likewise.
4749         * math/s_nexttowardf.c: Likewise.
4750         * math/s_significand.c: Likewise.
4751         * math/s_significandf.c: Likewise.
4752         * math/s_significandl.c: Likewise.
4753         * math/w_jnl.c: Likewise.
4754         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4755         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4756         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4757         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4758         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4759         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4760         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4761         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4762         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4763         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4764         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4765         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4766         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4767         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4768         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4769         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4770         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4771         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4772         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4773         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4774         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4775         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4776         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4777         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4778         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4779         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4780         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4781         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4782         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4783         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4784         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4785         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4786         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4787         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4788         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4789         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4790         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4791         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4792         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4793         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4794         * sysdeps/ieee754/k_standard.c: Likewise.
4795         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4796         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4797         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4798         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4799         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4800         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4801         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4802         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4803         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4804         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4805         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4806         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4807         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4808         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4809         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4810         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4811         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4812         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4813         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4814         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4815         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4816         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4817         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4818         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4819         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4820         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4821         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4822         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4823         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4824         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4825         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4826         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4827         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4828         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4829         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4830         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4831         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4832         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4833         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4834         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4835         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4836         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4837         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4838         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4839         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4840         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4841         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4842         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4843         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4844         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4845         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4846         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4847         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4848         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4849         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4850         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4851         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4852         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4853         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4854         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4855         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4856         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4857         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4858         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4859         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4860         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4861         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4862         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4863         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4864         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4865         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4866         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4867         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4868         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4869         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4870         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4871         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4872         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4873         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4874         * sysdeps/ieee754/s_matherr.c: Likewise.
4875         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4876         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4877         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4878         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4879
4880 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
4881
4882         * crypt/md5.h: Remove __STDC__ conditionals.
4883         * libio/libioP.h: Likewise.
4884         * locale/programs/config.h: Likewise.
4885         * sysdeps/generic/sysdep.h: Likewise.
4886         * sysdeps/i386/asm-syntax.h: Likewise.
4887         * sysdeps/s390/asm-syntax.h: Likewise.
4888         * sysdeps/unix/sysdep.h: Likewise.
4889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4891
4892 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
4893
4894         * libio/libio.h: Remove __STDC__ conditionals.
4895         * malloc/obstack.h: Likewise.
4896         * math/complex.h: Likewise.
4897         * math/math.h: Likewise.
4898         * sysdeps/generic/_G_config.h: Likewise.
4899         * sysdeps/gnu/_G_config.h: Likewise.
4900         * sysdeps/mach/hurd/_G_config.h: Likewise.
4901         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4902         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4903         * sysdeps/sparc/bits/mathdef.h: Likewise.
4904
4905 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
4906
4907         [BZ #13583]
4908         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4909         Clean up HAS_* macros.
4910         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4911         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4912         possible.
4913         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4914         HAS_AVX.
4915         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4916         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4917         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4918         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4919         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4920
4921 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
4922
4923         * elf/tst-unique3.cc (gets): Remove declaration.
4924         * elf/tst-unique3lib.cc (gets): Likewise.
4925         * elf/tst-unique3lib2.cc (gets): Likewise.
4926         * elf/tst-unique4.cc (gets): Likewise.
4927
4928 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
4929
4930         * include/stdio.h: Add C++ protection.  Add gets declarations and
4931         definitions.
4932         * debug/tst-chk1.c: Don't declare gets here.
4933         * stdio-common/tst-gets.c: Likewise.
4934
4935 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
4936
4937         * posix/glob: Remove directory.
4938
4939 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
4940
4941         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4942
4943 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
4944
4945         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4946         of the non-standard EPFNOSUPPORT.
4947
4948 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4949
4950         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4951         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4952         ANYWHERE set to 1 only on KERN_NO_SPACE error.
4953
4954 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
4955
4956         * wcsmbs/uchar.h: Test __STDC_VERSION__.
4957
4958 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
4959
4960         * nscd/aicache.c (addhstaiX): Do not cache negative results of
4961         transient errors.
4962         * nscd/grpcache.c (cache_addgr): Likewise.
4963         * nscd/hstcache.c (cache_addhst): Likewise.
4964         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4965         * nscd/pwdcache.c (cache_addpw): Likewise.
4966         * nscd/servicescache.c (cache_addserv): Likewise.
4967
4968 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
4969
4970         * malloc/malloc.c: Various cleanups.
4971         * malloc/hooks.c: Likewise.
4972
4973         * stdlib/Makefile (tests): Add bug-fmtmsg1.
4974         * stdlib/bug-fmtmsg1.c: New file.
4975
4976         * stdlib/fmtmsg.c (init): Add missing unlock.
4977         Patch by Peng Haitao <penght@cn.fujitsu.com>.
4978
4979 2012-01-12  Marek Polacek  <polacek@redhat.com>
4980
4981         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4982         and _GNU_SOURCE.
4983
4984 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
4985
4986         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4987         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4988         macro to ensure uniqueness of label name.
4989         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4990         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4991
4992 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
4993
4994         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4995
4996         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4997         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4998         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4999         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5000
5001 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
5002
5003         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5004
5005         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5006         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5007         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5008
5009         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5010
5011         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
5012         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5013         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5014         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
5015
5016         * math/bits/math-finite.h: Add ldexp support.
5017
5018 2012-01-10  Marek Polacek  <polacek@redhat.com>
5019
5020         * locale/programs/localedef.h (show_archive_content): Add noreturn
5021         attribute.
5022
5023 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
5024
5025         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5026
5027 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
5028
5029         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5030
5031         * io/Makefile (headers): Add bits/poll2.h.
5032
5033 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
5034
5035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5036         typo #include statement.
5037
5038 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
5039
5040         * include/sys/cdefs.h: Define __attribute_alloc_size.
5041         * catgets/gencat.c: Add alloc_size attribute and apply consistently
5042         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5043         * elf/pldd.c: Likewise.
5044         * iconv/iconv_charmap.c: Likewise.
5045         * iconv/iconvconfig.c: Likewise.
5046         * iconv/strtab.c: Likewise.
5047         * locale/programs/locale.c: Likewise.
5048         * locale/programs/localedef.h: Likewise.
5049         * locale/programs/simple-hash.c: Likewise.
5050         * nscd/nscd.h: Likewise.
5051         * nss/makedb.c: Likewise.
5052         * sysdeps/generic/ldconfig.h: Likewise.
5053         * locale/programs/localedef.c: Remove xmalloc prototype.
5054         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5055
5056 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5057
5058         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5059         appropriate.
5060
5061 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
5062
5063         * math/Makefile (tests): Add tst-CMPLX.
5064         * math/tst-CMPLX.c: New file.
5065
5066         * math/complex.h (CMPLXL): Fix typo.
5067
5068         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5069         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5070         GLIBC_2.16.
5071         * debug/tst-chk1.c: Add poll and ppoll tests.
5072         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5073         * include/sys/poll.h: Add hidden proto for ppoll.
5074         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5075         * sysdeps/mach/hurd/ppoll.c: Likewise.
5076         * io/ppoll.c: Likewise.
5077         * debug/poll_chk.c: New file.
5078         * debug/ppoll_chk.c: New file.
5079         * include/bits/poll2.h: New file.
5080         * io/bits/poll2.h: New file.
5081
5082         [BZ #1350]
5083         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5084
5085         * configure.in: static is always set to yes.  Remove.
5086         * config.make.in: Don't set build-static.
5087         * Makeconfig: Remove use of build-static.
5088         * dlfcn/Makefile: Likewise.
5089         * elf/Makefile: Likewise.
5090         * math/Makefile: Likewise.
5091         * misc/Makefile: Likewise.
5092         * nptl/Makefile: Likewise.
5093         * sysdeps/mach/hurd/Makefile: Likewise.
5094
5095         * configure.in: PWD_P is not used anymore.
5096         * config.make.in: Remove PWD_P entry.
5097
5098         * configure.in: Remove last remnants of RANLIB.
5099         No need to check for signed size_t anymore.
5100         Don't set libc_commonpagesize and libc_relro_required here for Alpha
5101         and IA-64.
5102         Remove __builtin_expect test because we require at least gcc 3.4.
5103         * aclocal.m4: Likewise.
5104
5105         * wcsmbs/mbrtoc16.c: Implement using towc function.
5106         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5107         * wcsmbs/wcsmbsload.c: Likewise.
5108         * iconv/gconv_simple.c: Likewise.
5109         * iconv/gconv_int.h: Likewise.
5110         * iconv/gconv_builtin.h: Likewise.
5111         * iconv/iconv_prog.c: Remove CHAR16 handling.
5112
5113         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5114
5115         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5116
5117         * configure.in: Remove --with-elf and --enable-bounded options.
5118         Dont set base_machine for ia64.  More non-ELF conditions removed.
5119         Remove testing and setting of leading underscore information.
5120         * config.make.in (build-bounded): Set to no.
5121         * config.h.in: Remove NO_UNDERSCORES entry.
5122         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
5123         them.
5124         * csu/start.c: Remove !NO_UNDERSCORE code.
5125         * locale/localeinfo.h: Likewise.
5126         * sysdeps/generic/machine-gmon.h: Likewise.
5127         * sysdeps/generic/sysdep.h: Likewise.
5128         * sysdeps/i386/sysdep.h: Likewise.
5129         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5130         * sysdeps/mach/sysdep.h: Likewise.
5131         * sysdeps/s390/s390-32/sysdep.h: Likewise.
5132         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5133         * sysdeps/sh/sysdep.h: Likewise.
5134         * sysdeps/sparc/sparc32/alloca.S: Likewise.
5135         * sysdeps/unix/i386/sysdep.S: Likewise.
5136         * sysdeps/unix/sparc/start.c: Likewise.
5137         * sysdeps/unix/sparc/sysdep.S: Likewise.
5138         * sysdeps/unix/sparc/sysdep.h: Likewise.
5139         * sysdeps/unix/start.c: Likewise.
5140         * sysdeps/unix/x86_64/sysdep.S: Likewise.
5141         * sysdeps/x86_64/sysdep.h: Likewise.
5142
5143 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
5144
5145         [BZ #13553]
5146         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5147         for non-gcc.
5148         * argp/argp-fmtstream.h: Use const instead __const.
5149         * argp/argp.h: Likewise.
5150         * assert/assert.h: Likewise.
5151         * bits/fenv.h: Likewise.
5152         * bits/sched.h: Likewise.
5153         * bits/sigset.h: Likewise.
5154         * bits/sigthread.h: Likewise.
5155         * catgets/nl_types.h: Likewise.
5156         * conform/data/pthread.h-data: Likewise.
5157         * crypt/crypt-private.h: Likewise.
5158         * crypt/crypt.h: Likewise.
5159         * crypt/crypt_util.c: Likewise.
5160         * ctype/ctype.h: Likewise.
5161         * debug/execinfo.h: Likewise.
5162         * debug/mbsnrtowcs_chk.c: Likewise.
5163         * debug/mbsrtowcs_chk.c: Likewise.
5164         * debug/wcsnrtombs_chk.c: Likewise.
5165         * debug/wcsrtombs_chk.c: Likewise.
5166         * debug/wcstombs_chk.c: Likewise.
5167         * dirent/dirent.h: Likewise.
5168         * dlfcn/dlfcn.h: Likewise.
5169         * elf/neededtest4.c: Likewise.
5170         * grp/grp.h: Likewise.
5171         * gshadow/gshadow.h: Likewise.
5172         * iconv/gconv.h: Likewise.
5173         * iconv/gconv_int.h: Likewise.
5174         * iconv/gconv_simple.c: Likewise.
5175         * iconv/iconv.h: Likewise.
5176         * iconv/loop.c: Likewise.
5177         * iconv/skeleton.c: Likewise.
5178         * include/aio.h: Likewise.
5179         * include/aliases.h: Likewise.
5180         * include/argz.h: Likewise.
5181         * include/arpa/inet.h: Likewise.
5182         * include/assert.h: Likewise.
5183         * include/dirent.h: Likewise.
5184         * include/dlfcn.h: Likewise.
5185         * include/execinfo.h: Likewise.
5186         * include/fcntl.h: Likewise.
5187         * include/fenv.h: Likewise.
5188         * include/glob.h: Likewise.
5189         * include/grp.h: Likewise.
5190         * include/libintl.h: Likewise.
5191         * include/mntent.h: Likewise.
5192         * include/netdb.h: Likewise.
5193         * include/pwd.h: Likewise.
5194         * include/rpc/netdb.h: Likewise.
5195         * include/sched.h: Likewise.
5196         * include/search.h: Likewise.
5197         * include/shadow.h: Likewise.
5198         * include/signal.h: Likewise.
5199         * include/stdio.h: Likewise.
5200         * include/stdlib.h: Likewise.
5201         * include/string.h: Likewise.
5202         * include/sys/socket.h: Likewise.
5203         * include/sys/stat.h: Likewise.
5204         * include/sys/statfs.h: Likewise.
5205         * include/sys/statvfs.h: Likewise.
5206         * include/sys/syslog.h: Likewise.
5207         * include/sys/time.h: Likewise.
5208         * include/sys/uio.h: Likewise.
5209         * include/time.h: Likewise.
5210         * include/unistd.h: Likewise.
5211         * include/utmp.h: Likewise.
5212         * include/wchar.h: Likewise.
5213         * include/wctype.h: Likewise.
5214         * inet/aliases.h: Likewise.
5215         * inet/arpa/inet.h: Likewise.
5216         * inet/netinet/ether.h: Likewise.
5217         * inet/netinet/in.h: Likewise.
5218         * intl/libintl.h: Likewise.
5219         * io/bits/fcntl2.h: Likewise.
5220         * io/fcntl.h: Likewise.
5221         * io/ftw.h: Likewise.
5222         * io/sys/poll.h: Likewise.
5223         * io/sys/stat.h: Likewise.
5224         * io/sys/statfs.h: Likewise.
5225         * io/sys/statvfs.h: Likewise.
5226         * io/utime.h: Likewise.
5227         * libio/bits/stdio.h: Likewise.
5228         * libio/bits/stdio2.h: Likewise.
5229         * libio/libio.h: Likewise.
5230         * libio/libioP.h: Likewise.
5231         * libio/stdio.h: Likewise.
5232         * locale/lc-ctype.c: Likewise.
5233         * locale/locale.h: Likewise.
5234         * login/utmp.h: Likewise.
5235         * malloc/arena.c: Likewise.
5236         * malloc/malloc.c: Likewise.
5237         * malloc/malloc.h: Likewise.
5238         * malloc/mcheck.c: Likewise.
5239         * malloc/mtrace.c: Likewise.
5240         * math/bits/mathcalls.h: Likewise.
5241         * math/fenv.h: Likewise.
5242         * math/math_private.h: Likewise.
5243         * misc/bits/error.h: Likewise.
5244         * misc/bits/syslog.h: Likewise.
5245         * misc/err.h: Likewise.
5246         * misc/error.h: Likewise.
5247         * misc/fstab.h: Likewise.
5248         * misc/mntent.h: Likewise.
5249         * misc/regexp.h: Likewise.
5250         * misc/search.h: Likewise.
5251         * misc/sgtty.h: Likewise.
5252         * misc/sys/mman.h: Likewise.
5253         * misc/sys/syslog.h: Likewise.
5254         * misc/sys/uio.h: Likewise.
5255         * misc/sys/xattr.h: Likewise.
5256         * misc/ttyent.h: Likewise.
5257         * nis/rpcsvc/ypclnt.h: Likewise.
5258         * nss/nss.h: Likewise.
5259         * posix/bits/unistd.h: Likewise.
5260         * posix/fnmatch.h: Likewise.
5261         * posix/glob.h: Likewise.
5262         * posix/sched.h: Likewise.
5263         * posix/spawn.h: Likewise.
5264         * posix/sys/wait.h: Likewise.
5265         * posix/unistd.h: Likewise.
5266         * posix/wordexp.h: Likewise.
5267         * pwd/pwd.h: Likewise.
5268         * resolv/netdb.h: Likewise.
5269         * resource/sys/resource.h: Likewise.
5270         * rt/aio.h: Likewise.
5271         * rt/bits/mqueue2.h: Likewise.
5272         * rt/mqueue.h: Likewise.
5273         * shadow/shadow.h: Likewise.
5274         * signal/signal.h: Likewise.
5275         * socket/send.c: Likewise.
5276         * socket/sendto.c: Likewise.
5277         * socket/sys/socket.h: Likewise.
5278         * stdio-common/printf.h: Likewise.
5279         * stdlib/bits/stdlib.h: Likewise.
5280         * stdlib/fmtmsg.h: Likewise.
5281         * stdlib/monetary.h: Likewise.
5282         * stdlib/stdlib.h: Likewise.
5283         * stdlib/ucontext.h: Likewise.
5284         * streams/stropts.h: Likewise.
5285         * string/argz.h: Likewise.
5286         * string/bits/string2.h: Likewise.
5287         * string/string.h: Likewise.
5288         * string/strings.h: Likewise.
5289         * sunrpc/rpc/auth.h: Likewise.
5290         * sunrpc/rpc/auth_des.h: Likewise.
5291         * sunrpc/rpc/clnt.h: Likewise.
5292         * sunrpc/rpc/netdb.h: Likewise.
5293         * sunrpc/rpc/pmap_clnt.h: Likewise.
5294         * sunrpc/rpc/xdr.h: Likewise.
5295         * sysdeps/generic/inttypes.h: Likewise.
5296         * sysdeps/generic/net/if.h: Likewise.
5297         * sysdeps/generic/sys/swap.h: Likewise.
5298         * sysdeps/gnu/net/if.h: Likewise.
5299         * sysdeps/gnu/utmpx.h: Likewise.
5300         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5301         * sysdeps/i386/i486/bits/string.h: Likewise.
5302         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5303         * sysdeps/s390/bits/string.h: Likewise.
5304         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5305         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5306         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5307         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5308         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5309         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5310         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5311         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5312         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5313         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5314         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5315         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5316         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5317         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5318         * sysdeps/unix/sysv/linux/readv.c: Likewise.
5319         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5320         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5321         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5322         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5323         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5324         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5325         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5326         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5327         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5328         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5329         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5330         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5331         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5332         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5333         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5334         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5335         * sysvipc/sys/ipc.h: Likewise.
5336         * sysvipc/sys/msg.h: Likewise.
5337         * sysvipc/sys/sem.h: Likewise.
5338         * sysvipc/sys/shm.h: Likewise.
5339         * termios/termios.h: Likewise.
5340         * time/sys/time.h: Likewise.
5341         * time/time.h: Likewise.
5342         * wcsmbs/bits/wchar2.h: Likewise.
5343         * wcsmbs/uchar.h: Likewise.
5344         * wcsmbs/wchar.h: Likewise.
5345         * wctype/wctype.h: Likewise.
5346
5347         [BZ #13551]
5348         * Makeconfig: Remove all but ELF support including AIX support.
5349         * Makerules: Likewise.
5350         * config.h.in: Likewise.
5351         * config.make.in: Likewise.
5352         * configure: Likewise.
5353         * configure.in: Likewise.
5354         * csu/Makefile: Likewise.
5355         * csu/version.c: Likewise.
5356         * debug/Makefile: Likewise.
5357         * dlfcn/Makefile: Likewise.
5358         * elf/Makefile: Likewise.
5359         * extra-lib.mk: Likewise.
5360         * iconv/Makefile: Likewise.
5361         * include/libc-symbols.h: Likewise.
5362         * include/shlib-compat.h: Likewise.
5363         * resolv/Makefile: Likewise.
5364         * resolv/res_libc.c: Likewise.
5365         * rt/Makefile: Likewise.
5366         * sysdeps/i386/asm-syntax.h: Likewise.
5367         * sysdeps/i386/sysdep.h: Likewise.
5368         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5369         * sysdeps/mach/sysdep.h: Likewise.
5370         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5371         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5372         * sysdeps/s390/asm-syntax.h: Likewise.
5373         * sysdeps/s390/s390-32/sysdep.h: Likewise.
5374         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5375         * sysdeps/sh/sysdep.h: Likewise.
5376         * sysdeps/unix/sparc/sysdep.h: Likewise.
5377         * sysdeps/wordsize-32/divdi3.c: Likewise.
5378         * sysdeps/x86_64/sysdep.h: Likewise.
5379
5380         * argp/Versions: Remove _argp_unlock_xxx.
5381
5382         [BZ #13559]
5383         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
5384         * abilist/libBrokenLocale.abilist: Likewise.
5385         * abilist/libanl.abilist: Likewise.
5386         * abilist/libc.abilist: Likewise.
5387         * abilist/libcrypt.abilist: Likewise.
5388         * abilist/libdl.abilist: Likewise.
5389         * abilist/libm.abilist: Likewise.
5390         * abilist/libnsl.abilist: Likewise.
5391         * abilist/libpthread.abilist: Likewise.
5392         * abilist/libresolv.abilist: Likewise.
5393         * abilist/librt.abilist: Likewise.
5394         * abilist/libthread_db.abilist: Likewise.
5395         * abilist/libutil.abilist: Likewise.
5396         * abilist/libnss_db.abilist: New file.
5397
5398         * scripts/abilist.awk: Add support for indirect functions.
5399
5400         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5401
5402         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5403
5404         * shlib-versions: Remove entries for ports architectures.
5405
5406         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
5407         files in ports.
5408         * elf/stackguard-macros.h: Remove support for IA-64.
5409         * elf/tst-auditmod1.c: Likewise.
5410         * sysdeps/generic/ldsodefs.h: Likewise.
5411
5412         * sysdeps/unix/sysv/linux/configure.in: Ports should define
5413         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5414         configure files.
5415
5416         [BZ #13552]
5417         * configure.in: Remove --enable-omitfp support.
5418         * FAQ.in: Adjust.
5419         * config.make.in: Likewise.
5420         * Makeconfig: Likewise.
5421         * manual/install.texi: Likewise.
5422
5423         In case anyone cares, the IA-64 architecture could move to ports.
5424         * sysdeps/ia64/*: Removed.
5425         * sysdeps/unix/sysv/linux/ia64/*: Removed.
5426         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
5427
5428         [BZ #13555]
5429         * configure.in: Remove entries for unsupported architectures.
5430
5431         [BZ #13533]
5432         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5433         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
5434         routines.
5435         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5436         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5437         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
5438         fall back to using wcrtomb.
5439         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5440         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
5441         renaming.
5442         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5443         * wcsmbs/tst-c16c32-1.c: New file.
5444
5445         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5446         local variable.
5447
5448         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5449
5450         * elf/tst-unique3.cc: Add explicit declaration of gets.
5451         * elf/tst-unique3lib.cc: Likewise.
5452         * elf/tst-unique3lib2.cc: Likewise.
5453         * elf/tst-unique4.cc: Likewise.
5454
5455         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5456
5457 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
5458
5459         [BZ #13566]
5460         * assert/assert.h (static_assert): Don't define for C++.
5461         * libio/stdio.h (gets): Do declare for C++ <= C++11.
5462         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5463
5464 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
5465
5466         * iconv/loop.c (single loop): Fix assertion in storing of
5467         remaining bytes.
5468
5469         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5470
5471 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
5472
5473         * posix/getconf.c: Update copyright year.
5474         * nss/getent.c: Likewise.
5475         * nss/makedb.c: Likewise.
5476         * iconv/iconvconfig.c: Likewise.
5477         * iconv/iconv_prog.c: Likewise.
5478         * elf/ldconfig.c: Likewise.
5479         * elf/pldd.c: Likewise.
5480         * elf/sotruss.ksh: Likewise.
5481         * catgets/gencat.c: Likewise.
5482         * csu/version.c: Likewise.
5483         * elf/ldd.bash.in: Likewise.
5484         * elf/sprof.c (print_version): Likewise.
5485         * locale/programs/locale.c: Likewise.
5486         * locale/programs/localedef.c: Likewise.
5487         * login/programs/pt_chown.c: Likewise.
5488         * nscd/nscd.c (print_version): Likewise.
5489         * debug/xtrace.sh: Likewise.
5490         * malloc/memusage.sh: Likewise.
5491         * malloc/mtrace.pl: Likewise.
5492         * debug/catchsegv.sh: Likewise.
5493
5494 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
5495
5496         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5497         pure attribute.
5498
5499 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
5500
5501         [BZ #13533]
5502         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5503         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5504         transformations.
5505         * iconv/gconv_int.h: Likewise.
5506         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5507         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5508         from libc for GLIBC_2.16.
5509         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5510         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5511         * wcsmbs/uchar.h: Really define mbstate_t.
5512         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5513         * wcsmbs/c16rtomb.c: New file.
5514         * wcsmbs/mbrtoc16.c: New file.
5515         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5516         for C/POSIX locale.
5517         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5518         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5519
5520         * wcsmbs/wchar.h: Add missing __restrict.
5521
5522 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5523
5524         [BZ #13532]
5525         * time/Makefile (routines): Add timespec_get.
5526         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5527         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
5528         timespec for ISO C11.
5529         * time/timespec_get.c: New file.
5530         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5531         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5532
5533         [BZ #13531]
5534         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5535         * stdlib/stdlib.h: Declare aligned_alloc.
5536         * Versions.def: Add GLIBC_2.16 for libc.
5537         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5538
5539         [BZ 13527]
5540         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5541         ISO C11.
5542
5543         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5544         code.
5545
5546         [BZ #13528]
5547         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5548
5549         [BZ #13529]
5550         * assert/assert.h (static_assert): Define.
5551
5552         * version.h: Update for 2.16 development version.
5553
5554         [BZ #13526]
5555         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5556         _ISOC11_SOURCE.
5557
5558         * version.h (RELEASE): Bump for 2.15 release.
5559         * include/features.h (__GLIBC_MINOR__): Bump to 15.
5560
5561         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5562         Patch by Marek Polacek <mpolacek@redhat.com>.
5563
5564         * bits/byteswap.h: Protect long long constants with __extension__.
5565         * sysdeps/i386/bits/byteswap.h: Likewise.
5566         * sysdeps/ia64/bits/byteswap.h: Likewise.
5567         * sysdeps/s390/bits/byteswap.h: Likewise.
5568         * sysdeps/x86_64/bits/byteswap.h: Likewise.
5569
5570 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5571
5572         [BZ #13540]
5573         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5574         destination buffer.
5575         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5576
5577 2011-12-23  Marek Polacek  <polacek@redhat.com>
5578
5579         * elf/dl-addr.c (determine_info): Add inline keyword.
5580         * elf/tst-auditmod4b.c (check_avx): Likewise.
5581         * elf/tst-auditmod6b.c (check_avx): Likewise.
5582         * elf/tst-auditmod6c.c (check_avx): Likewise.
5583         * elf/tst-auditmod7b.c (check_avx): Likewise.
5584
5585 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5586
5587         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5588         !__SSE_MATH__.
5589
5590 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5591
5592         [BZ #13540]
5593         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5594         processing for last bytes.
5595
5596 2011-08-06  Bruno Haible  <bruno@clisp.org>
5597
5598         [BZ #13061]
5599         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5600         U+0385, not to U+1FEE.
5601
5602         [BZ #13062]
5603         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5604         entry for U+00A5 U+0301.
5605
5606 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5607
5608         [BZ #13166]
5609         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5610         buffer for the output is too small.
5611
5612         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5613         optimization.
5614
5615         [BZ #13185]
5616         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5617         SSE flags if possible.
5618
5619 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5620
5621         [BZ #13540]
5622         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5623         processing for last bytes.
5624
5625 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
5626
5627         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5628         (syscall-list-default-options, syscall-list-default-condition)
5629         (syscall-list-includes): Define.
5630         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5631         list of ABIs and options and #if conditions for each ABI.  Do not
5632         handle common syscalls between ABIs specially.
5633         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5634         Remove.
5635         (syscall-list-variants, syscall-list-32bit-options)
5636         (syscall-list-32bit-condition, syscall-list-64bit-options)
5637         (syscall-list-64bit-condition): Define.
5638         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5639         (syscall-list-variants, syscall-list-32bit-options)
5640         (syscall-list-32bit-condition, syscall-list-64bit-options)
5641         (syscall-list-64bit-condition): Define.
5642         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5643         Remove.
5644         (syscall-list-variants, syscall-list-32bit-options)
5645         (syscall-list-32bit-condition, syscall-list-64bit-options)
5646         (syscall-list-64bit-condition): Define.
5647         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5648         Remove.
5649         (syscall-list-variants, syscall-list-32bit-options)
5650         (syscall-list-32bit-condition, syscall-list-64bit-options)
5651         (syscall-list-64bit-condition): Define.
5652
5653 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5654
5655         * locale/iso-639.def: Add brx entry.
5656
5657         [BZ #13328]
5658         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5659         Proposed by Mariusz_Cukr <marcukr@op.pl>.
5660
5661         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5662         __feraiseexcept_renamed.
5663
5664 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
5665
5666         [BZ #13538]
5667         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5668         EPOLLET with unsigned values.
5669         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5670         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5671
5672         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5673         to large cancellation.
5674         * math/s_cacoshf.c: Likewise.
5675         * math/s_cacoshl.c: Likewise.
5676
5677 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
5678
5679         [BZ #13305]
5680         [BZ #12786]
5681         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5682         * math/s_cacoshf.c: Likewise.
5683         * math/s_cacoshl.c: Likewise.
5684
5685 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
5686
5687         [BZ #13439]
5688         * iconv/gconv.h: Define __GCONV_SWAP.
5689         * iconvdata/unicode.c: The swap bit must be stored in __flags.
5690         * iconvdata/utf-16.c: Likewise.
5691         * iconvdata/utf-32.c: Likewise.
5692
5693 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
5694
5695         [BZ #13524]
5696         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5697         numerator after shifting it by one limb.
5698
5699 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
5700
5701         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5702         under [__USE_EXTERN_INLINES].
5703
5704 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5705
5706         [BZ #13446]
5707         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5708
5709 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5710
5711         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5712         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5713         optimized code.
5714         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5715         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5716         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5717         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5718         for strncasecmp/strncasecmp_l compilation.
5719         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5720         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5721
5722 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
5723
5724         [BZ #13484]
5725         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5726         of __asm__.
5727
5728 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
5729
5730         [BZ #13506]
5731         * time/tzfile.c (__tzfile_read): Check values from file header.
5732
5733 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
5734
5735         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5736         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5737         * powerpc/powerpc32/dl-start.S: Likewise.
5738         * powerpc/powerpc32/elf/start.S: Likewise.
5739         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5740         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5741         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5742         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5743         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5744         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5745         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5746         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5747         * powerpc/powerpc32/fpu/s_round.S: Likewise.
5748         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5749         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5750         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5751         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5752         * powerpc/powerpc32/memset.S: Likewise.
5753         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5754         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5755         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5756         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5757         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5758         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5759         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5760         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5761         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5762         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5763         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5764         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5765         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5766
5767 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5768
5769         * math/libm-test.inc: Added more nearbyint tests.
5770         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5771         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5772         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5773         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5774
5775 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
5776
5777         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5778         FD_CLOEXEC.
5779
5780 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5781
5782         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5783         Add wcscpy-ssse3 wcscpy-c.
5784         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5785         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5786         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5787         * sysdeps/x86_64/wcschr.S: New file.
5788         * sysdeps/x86_64/wcsrchr.S: New file.
5789         * string/test-strcmp.c: Remove checking of wcscmp function for
5790         wrong alignments.
5791         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5792         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5793         wcsrchr-sse2 wcsrchr-c.
5794         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5795         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5796         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5797         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5798         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5799         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5800         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5801         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5802         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5803         * wcsmbc/wcschr.c (WCSCHR): New macro.
5804
5805 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5806
5807         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5808         * wcsmbs/test-wcsrchr.c: New file.
5809         * string/test-strrchr.c: Add wcsrchr support.
5810         (WIDE): New macro.
5811         * wcsmbs/test-wcscpy.c: New file.
5812         * string/test-strcpy.c: Add wcscpy support.
5813         (WIDE): New macro.
5814
5815 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
5816
5817         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5818         the inner loop.
5819
5820 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
5821
5822         [BZ #13472]
5823         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5824
5825 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
5826
5827         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5828         Minor optimizations.
5829
5830         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5831         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5832         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5833
5834 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
5835
5836         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5837         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5838         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5839         for gcc to avoid warnings.
5840         * inet/Makefile (tests): Add tst-checks.
5841         * inet/tst-checks.c: New file.
5842
5843         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5844         warning.
5845
5846         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5847         __wmemcmp_sse2.
5848
5849         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5850         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5851
5852         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5853
5854 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
5855
5856         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5857         problem.
5858
5859         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5860
5861 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
5862
5863         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5864         conditional on GCC version.
5865         (__arch_compare_and_exchange_val_8_acq)
5866         (__arch_compare_and_exchange_val_16_acq)
5867         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5868         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5869         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5870
5871 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
5872
5873         * sysdeps/sh/backtrace.c: New file.
5874
5875 2011-12-02  Andreas Schwab  <schwab@redhat.com>
5876
5877         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
5878         parenthesis.
5879
5880 2011-12-01  Andreas Schwab  <schwab@redhat.com>
5881
5882         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5883         falling back to utime.
5884
5885 2011-11-30  Andreas Schwab  <schwab@redhat.com>
5886
5887         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5888         expectations for float.
5889
5890 2011-11-29  Andreas Schwab  <schwab@redhat.com>
5891
5892         * locale/weight.h (findidx): Add parameter len.
5893         * locale/weightwc.h (findidx): Likewise.
5894         * posix/fnmatch_loop.c (FCT): Adjust caller.
5895         * posix/regcomp.c (build_equiv_class): Likewise.
5896         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5897         * posix/regexec.c (check_node_accept_bytes): Likewise.
5898         * string/strcoll_l.c (STRCOLL): Likewise.
5899         * string/strxfrm_l.c (STRXFRM): Likewise.
5900
5901 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
5902
5903         * Makefile.in: Remove CVSOPT handling.
5904         * configure.in: Remove use of AC_REVISION.
5905         * iconvdata/Makefile (distribute): No need to filter out CVS.
5906         * scripts/list-sources.sh: Remove CVS, subversion and monotone
5907         handling.
5908
5909 2011-11-16  Andreas Schwab  <schwab@redhat.com>
5910
5911         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5912         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5913         [USE_AS_STRNCASECMP_L]: Likewise.
5914         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5915         NO_TLS_DIRECT_SEG_REFS.
5916         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5917         Fix argument offsets for non-PIC.
5918         [USE_AS_STRNCASECMP_L]: Likewise.
5919         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5920         NO_TLS_DIRECT_SEG_REFS.
5921
5922 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
5923
5924         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5925         O_CLOEXEC.
5926         * locale/loadlocale.c (_nl_load_locale): Likewise.
5927
5928 2011-11-15  Andreas Schwab  <schwab@redhat.com>
5929
5930         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5931         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5932         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5933         (SYSCALL_GETTIME): Set errno on error.
5934
5935         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5936         count references to noai6ai_cached.
5937
5938 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
5939
5940         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5941
5942         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5943         FD_CLOEXEC for /proc/self/maps.
5944
5945         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5946         FD_CLOEXEC for /proc/meminfo.
5947
5948         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5949         gai.conf.
5950
5951         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
5952         FD_CLOEXEC for given file.
5953
5954         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5955
5956         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5957         FD_CLOEXEC for /etc/hosts.
5958         (_gethtent): Likewise.
5959
5960         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5961
5962         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5963         cancellation and set FD_CLOEXEC for /etc/netgroup.
5964
5965         * nss/nss_files/files-key.c (search): Don't allow cancellation when
5966         reading /etc/publickey.
5967
5968         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5969         allow cancellation when reading /etc/group.
5970
5971         * nss/nss_files/files-alias.c (internal_setent): Don't allow
5972         cancellation.
5973         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
5974
5975         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5976         when using data file.
5977
5978         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5979
5980         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5981         (write_nis_obj): Use "c" and "e" in fopen.
5982
5983         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5984
5985         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5986
5987         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5988
5989         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5990
5991         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5992         locale.alias.
5993
5994         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5995
5996         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5997
5998         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5999
6000         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6001         file parsing and set FD_CLOEXEC.
6002
6003 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
6004
6005         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6006
6007 2011-11-14  Andreas Schwab  <schwab@redhat.com>
6008
6009         * malloc/arena.c (arena_get2): Don't call reused_arena when
6010         _int_new_arena failed.
6011
6012 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
6013
6014         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6015         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6016         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6017         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6018         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6019         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6020         to compile strcasecmp and strncasecmp.
6021         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6022         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6023
6024         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6025
6026 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
6027
6028         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6029         locale-defines.sym to gen-as-const-headers.
6030         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6031         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6032         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6033         to compile strcasecmp and strncasecmp.
6034         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6035         strcasecmp_l and strncasecmp_l.
6036         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6037         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6038         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6039         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6040         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6041         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6042         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6043         * sysdeps/i386/i686/multiarch/strncase.S: New file.
6044         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6045         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6046         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6047
6048 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
6049
6050         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6051         result of SYSDEP_GETTIME_CPU to retval.
6052         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6053         parameter list to macro.  Remove trailing semicolon.  Adjust users.
6054
6055         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6056         variable.
6057
6058         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6059         mantissa words.
6060         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6061
6062         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6063         from unused variable.
6064
6065         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6066         DWARF definitions.
6067         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6068         for assembling.
6069
6070         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6071         over namespaces.
6072
6073         * sunrpc/rpc_prot.c (rejected): Fix case value.
6074
6075         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6076         unsigned long long int to avoid warnings in shift.
6077
6078         * posix/regex_internal.c (re_string_reconstruct): Actually use result
6079         of use of trans.
6080         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6081         variable tmp.
6082
6083         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6084         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6085         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6086
6087         * nis/nis_table.c (nis_list): Use variable of correct type for
6088         result of __follow_path call.
6089
6090 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6091
6092         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6093         of math functions ceil, trunc, floor, round, and sqrt, when
6094         avaliable on the platform.
6095         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6096         name clash.
6097         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6098         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6099         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6100
6101 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
6102
6103         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6104         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6105
6106 2011-11-11  Roland McGrath  <roland@hack.frob.com>
6107
6108         * include/unistd.h: Fix __readlink return type.
6109         Reported by Chris Metcalf <cmetcalf@tilera.com>.
6110
6111 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
6112
6113         * stdlib/ucontext.h: Undo last change for makecontext.
6114
6115 2011-11-11  Andreas Schwab  <schwab@redhat.com>
6116
6117         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6118
6119         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6120         * setjmp/setjmp.h: Mark functions as non-leaf.
6121         * setjmp/bits/setjmp2.h: Likewise.
6122         * stdlib/ucontext.h: Likewise.
6123
6124 2011-11-10  Andreas Schwab  <schwab@redhat.com>
6125
6126         * malloc/arena.c (_int_new_arena): Don't increment narenas.
6127         (reused_arena): Don't check arena limit.
6128         (arena_get2): Atomically check arena limit.
6129
6130 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
6131
6132         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6133         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6134
6135         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6136         instructions.
6137
6138 2011-11-07  Andreas Schwab  <schwab@redhat.com>
6139
6140         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6141         handler when locking.
6142
6143         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6144         Fix size of allocated buffer.
6145
6146 2011-11-04  Andreas Schwab  <schwab@redhat.com>
6147
6148         [BZ #10103]
6149         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6150         declarations for long double functions.
6151         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6152
6153         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6154
6155 2011-11-03  Andreas Schwab  <schwab@redhat.com>
6156
6157         * nscd/nscd.c (main): Don't start AVC thread until credentials are
6158         installed.
6159
6160         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6161         is disabled.
6162
6163 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6164
6165         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6166
6167 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6168
6169         * include/alloca.h (stackinfo_alloca_round): Define.
6170         (extend_alloca): Use it.
6171         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6172         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6173         here.
6174
6175         * scripts/check-local-headers.sh: Ignore libaudit.h.
6176
6177         * nscd/Makefile (extra-objs): Make recursively expanded.
6178
6179 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
6180
6181         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6182         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6183
6184         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6185         * posix/tst-rfc3484-2.c: Likewise.
6186         * posix/tst-rfc3484-3.c: Likewise.
6187
6188         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6189         process_vm_writev.
6190         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6191         process_vm_writev.
6192         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6193         process_vm_writev from libc using GLIBC_2.15 version.
6194
6195         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6196
6197 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
6198
6199         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6200         stack usage.
6201
6202 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
6203
6204         [BZ #13367]
6205         * nss/getent.c (initgroups_keys): Show error message in case no group
6206         names are given.
6207
6208         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6209         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6210         __bump_nl_timestamp.
6211         * nscd/connections (nscd_init): When host database is served open
6212         netlink socket and request notification about configuration changes.
6213         (main_loop_poll): Track netlink file descriptor and bump timestamp
6214         in case data becomes available.
6215         (main_loop_epoll): Likewise.
6216         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6217         (database_pers_head): Add extra_data fileds.
6218         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6219         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6220         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6221         Adjust caller.
6222         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6223         in6ai data, call __free_in6ai.
6224         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6225         Add -DHAVE_NETLINK.
6226         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
6227         interface information.  Reuse previous data if netlink timestamp
6228         is not changed.
6229         (__bump_nl_timestamp): New function.
6230         (__free_in6ai): New function.
6231
6232 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
6233
6234         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6235         close_not_cancel_no_status here.
6236         (__check_pf): Reorganize code a bit to not call close twice if OOM.
6237
6238 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
6239
6240         [BZ #13276]
6241         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6242         return value.
6243
6244         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
6245         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6246         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6247
6248 2011-07-03  Andreas Jaeger  <aj@suse.de>
6249
6250         [BZ #10709]
6251         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6252         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6253         * math/libm-test.inc (sin_test): Add test case.
6254
6255 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
6256
6257         [BZ #13337]
6258         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6259         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6260
6261         * elf/chroot_canon.c (chroot_canon): Cleanups.
6262
6263         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6264
6265         [BZ #13335]
6266         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6267         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6268
6269         * string/test-strchr.c: Make usable for strchrnul testing.
6270         * string/test-strchrnul.c: New file.
6271         * string/Makefile (strop-tests): Add strchrnul.
6272
6273         * po/it.po: Update from translation team.
6274         * po/es.po: Likewise.
6275
6276 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
6277
6278         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6279         the three constants needed as parameters.  Drop the others.
6280         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6281         __m128i_strloadu_tolower.
6282         Create and initialize variable zero and use it in all the places
6283         where _mm_setzero_si128 was used.
6284
6285         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6286         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6287         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6288         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6289         anymore.
6290         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6291         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6292         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6293         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6294         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6295         __mpranred, __mptan.
6296         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6297         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6298         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6299         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6300         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6301         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6302         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6303         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6304         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6305
6306 2011-10-28  Andreas Schwab  <schwab@redhat.com>
6307
6308         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6309         redefine if SHARED.
6310         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6311
6312         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6313         wide char related routines to wcsmbs subdir.
6314
6315 2011-10-27  Andreas Schwab  <schwab@redhat.com>
6316
6317         [BZ #13344]
6318         * misc/sys/cdefs.h (__THROWNL): Define.
6319         * posix/unistd.h: Use __THREADNL instead of __THREAD
6320         for memory synchronization functions.
6321
6322 2011-10-26  Roland McGrath  <roland@hack.frob.com>
6323
6324         [BZ #13349]
6325         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6326         doesn't exist.
6327         * manual/stdio.texi (Obstack Streams): Node removed.
6328
6329 2011-10-26  Andreas Schwab  <schwab@redhat.com>
6330
6331         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6332         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6333         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6334
6335         * math/math_private.h (math_force_eval): Allow non-addressable
6336         arguments.
6337         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6338
6339 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6340
6341         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6342         file is not needed.
6343
6344         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6345         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6346         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6347         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6348         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6349         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6350         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6351         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6352         Add AVX variants.
6353         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6354         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6355         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6356         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6357         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6358         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6359         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6360         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6361         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6362         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6363         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6364         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6365         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6366         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6367         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6368         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6369         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6370         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6371         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6372
6373         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6374         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
6375
6376         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6377         place.  Use VEX encoding when compiling for AVX.
6378
6379 2011-10-25  Andreas Schwab  <schwab@redhat.com>
6380
6381         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6382         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6383
6384         * string/test-strchr.c (do_test): Don't generate NUL bytes.
6385
6386 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6387
6388         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
6389         useless if() expression.
6390         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6391         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6392         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6393         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6394         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6395         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6396         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6397         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6398         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6399         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6400         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6401         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6402         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6403         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6404         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6405         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6406         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6407         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6408         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6409
6410         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6411
6412 2011-10-25  Andreas Schwab  <schwab@redhat.com>
6413
6414         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6415         condition.
6416         * elf/dl-fini.c (_dl_sort_fini): Likewise.
6417
6418 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6419
6420         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6421         .text section.  Avoid duplicate constants.
6422         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6423         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6424         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6425         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6426         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6427         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6428         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6429         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6430         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6431         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6432         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6433         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6434         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6435         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6436         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6437         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6438         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6439         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6440         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6441         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6442         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6443         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6444         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6445         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6446         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6447         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6448         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6449         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6450         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6451         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6452         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6453         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6454         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6455         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6456         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6457         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6458         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6459         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6460         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6461         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6462         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6463         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6464         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6465         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6466         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6467
6468 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
6469
6470         * sysdeps/x86_64/dla.h: Move to ...
6471         * sysdeps/x86_64/fpu/dla.h: ...here.
6472         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6473         situations.  Use __builtin_fma only for gcc 4.6 and up.
6474
6475         * config.make.in: Add have-mfma4 entry.
6476         * configure.in: Substitute libc_cv_cc_fma4.
6477         * math/Makefile (dbl-only-routines): Add sincostab.
6478         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6479         Use __sincostab not sincos.
6480         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6481         name is a macro.
6482         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6483         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6484         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6485         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
6486         using __copysign.
6487         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
6488         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
6489         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6490         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6491         and __inv.
6492         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6493         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6494         __copysign.
6495         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
6496         define aliases when function name is a macro.
6497         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6498         sysdeps/ieee754/dbl-64/sincos.tbl.
6499         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6500         fma4-enabled routines.
6501         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6502         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6503         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6504         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6505         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6506         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6507         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6508         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6509         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6510         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6511         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6512         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6513         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6514         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6515         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6516         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6517         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6518         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6519         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6520         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6521         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6522         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6523         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6524         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6525         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6526         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6527         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6528         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6529         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6530         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6531
6532         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6533         rename.
6534         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6535         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6536         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6537         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6538         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6539         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6540         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6541         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6542
6543 2011-10-24  Andreas Schwab  <schwab@redhat.com>
6544
6545         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6546
6547 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6548
6549         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6550
6551         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6552         prediction.
6553         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6554
6555         * string/strnlen.c: Don't define STRNLEN, reverse logic.
6556         Remove unused variable magic_bits.
6557         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6558
6559         * string/strnlen.c: Define and use STRNLEN macro.
6560         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6561         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6562         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6563         * wcsmbs/wcslen.c: Define and use WCSLEN.
6564         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6565         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6566         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6567         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6568         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6569         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6570         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6571
6572 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6573
6574         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6575         strnlen-sse2-no-bsf.
6576         Rename strlen-no-bsf to strlen-sse2-no-bsf.
6577         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6578         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6579         Add strnlen support.
6580         (USE_AS_STRNLEN): New macro.
6581         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6582         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6583         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6584         * sysdeps/x86_64/wcslen.S: New file.
6585
6586 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
6587
6588         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6589         XMM-moves are used for copying on small sizes.
6590
6591 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6592
6593         * wcsmbs/Makefile (strop-tests): Add wcschr.
6594         * wcsmbs/test-wcschr.c: New file.
6595         * string/test-strchr.c: Update.
6596         Add wcschr support.
6597         (WIDE): New macro.
6598
6599 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6600
6601         * wcsmbs/Makefile (strop-tests): Add wcslen.
6602         * wcsmbs/test-wcslen.c: New file.
6603         * string/test-strlen.c: Update.
6604         Add wcslen support.
6605         (WIDE): New macro.
6606
6607 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6608
6609         * po/it.po: Update from translation team.
6610
6611 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6612
6613         * sysdeps/x86_64/wcscmp.S: Update.
6614         Fix wrong comparison semantics.
6615         wcscmp shall use signed comparison not unsigned.
6616         Don't use substraction to avoid overflow bug.
6617         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6618         * wcsmbc/wcscmp.c: Likewise.
6619         * string/test-strcmp.c: Likewise.
6620         Add new tests to check cases with negative values.
6621
6622 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6623
6624         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6625         * sysdeps/x86_64/dla.h: ...here.  New file.
6626         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6627         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6628         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6629         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6630         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6631         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6632         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6633         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6634         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6635
6636 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
6637
6638         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6639         __ynl_finite aliases.
6640
6641 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
6642
6643         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6644
6645         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6646         define DLA_FMA.
6647         [DLA_FMA] (EMULV): Use DLA_FMA.
6648         [DLA_FMA] (MUL12): Use EMULV.
6649         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6650         that are not needed.
6651         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6652         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6653         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6654         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6655         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6656         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6657         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6658
6659 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
6660
6661         * math/s_nan.c: Undef __nan.
6662         * math/s_nanf.c: Undef __nanf.
6663         * math/s_nanl.c: Undef __nanl.
6664         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6665         "math_private.h".
6666
6667 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
6668
6669         * math/s_catan.c: Add branch predictions.
6670         * math/s_catanf.c: Likewise.
6671         * math/s_catanh.c: Likewise.
6672         * math/s_catanhf.c: Likewise.
6673         * math/s_catanhl.c: Likewise.
6674         * math/s_catanl.c: Likewise.
6675         * math/s_cexp.c: Likewise.
6676         * math/s_cexpf.c: Likewise.
6677         * math/s_cexpl.c: Likewise.
6678         * math/s_clog.c: Likewise.
6679         * math/s_clog10.c: Likewise.
6680         * math/s_clog10f.c: Likewise.
6681         * math/s_clog10l.c: Likewise.
6682         * math/s_clogf.c: Likewise.
6683         * math/s_clogl.c: Likewise.
6684         * math/s_csqrt.c: Likewise.
6685         * math/s_csqrtf.c: Likewise.
6686         * math/s_csqrtl.c: Likewise.
6687         * math/s_ctanf.c: Likewise.
6688         * math/s_ctanh.c: Likewise.
6689         * math/s_ctanhf.c: Likewise.
6690         * math/s_ctanhl.c: Likewise.
6691         * math/s_ctanl.c: Likewise.
6692
6693         * math/math_private.h: Define __nan, __nanf, __nanl.
6694         * math/s_cacosh.c: Include <math_private.h>.
6695         * math/s_cacoshl.c: Likewise.
6696         * math/s_casinh.c: Likewise.
6697         * math/s_casinhf.c: Likewise.
6698         * math/s_casinhl.c: Likewise.
6699         * math/s_ccos.c: Rely entire on ccosh.
6700         * math/s_ccosf.c: Rely entire on ccoshf.
6701         * math/s_ccosl.c: Rely entirely on ccoshl.
6702         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
6703         Remove tests for FE_INVALID.
6704         * math/s_ccoshf.c: Likewise.
6705         * math/s_ccoshl.c: Likewise.
6706         * math/s_csin.c: Likewise.
6707         * math/s_csinf.c: Likewise.
6708         * math/s_csinh.c Likewise.
6709         * math/s_csinhf.c: Likewise.
6710         * math/s_csinhl.c: Likewise.
6711         * math/s_csinl.c: Likewise.
6712         * math/s_ctan.c: Likewise.
6713         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6714         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6715         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6716
6717 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
6718
6719         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6720         compilation problems.
6721
6722         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6723         __builtin_expect.
6724
6725 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
6726
6727         * sysdeps/i386/configure.in: Test for -mfma4 option.
6728         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6729         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6730         COMMON_CPUID_INDEX_80000001.
6731         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6732         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6733         use it if FMA3 is not supported.
6734         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6735
6736         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6737         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6738
6739 2011-10-20  Andreas Schwab  <schwab@redhat.com>
6740
6741         [BZ #12892]
6742         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6743         it would create a cycle with a link time dependency.
6744
6745 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
6746
6747         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6748         instruction.
6749         * string/Makefile (strop-tests): Add rawmemchr.
6750         * string/test-rawmemchr.c: New file.
6751
6752         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6753         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
6754         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
6755         when compiling str{,n}casecmp and when AVX is available.  Hook up
6756         new optimized code in initializers.
6757
6758 2011-10-19  Andreas Schwab  <schwab@redhat.com>
6759
6760         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6761         __feraiseexcept instead of feraiseexcept.
6762
6763 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
6764
6765         * math/math_private.h: Define defaults for libc_fetestexcept and
6766         libc_feupdateenv.
6767         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6768         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6769         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6770         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6771         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6772         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6773         libc_fetestexcept and libc_feupdateenv.
6774
6775         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6776         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6777         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6778         * sysdeps/x86_64/fpu/math_private.h: Define special version of
6779         libc_feholdexcept_setround.
6780
6781         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6782         Add s_nearbyint-c and s_nearbyintf-c.
6783         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6784         nearbyintf inlines.
6785         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6786         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6787         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6788         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6789
6790         * math/math_private.h: Define defaults for libc_fegetround,
6791         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6792         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6793         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6794         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6795         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6796         standard functions.
6797         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6798         Remove comments and hacks for old compiler versions.
6799         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6800         libc_fegetround, libc_fesetround, libc_feholdexcept, and
6801         libc_feholdexceptl.
6802
6803 2011-10-18  Andreas Schwab  <schwab@redhat.com>
6804
6805         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6806         (__feraiseexcept_renamed): Add __NTH.
6807         (feraiseexcept): Add __NTH.  Rename local variables to fix
6808         namespace violations.
6809
6810 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
6811
6812         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6813
6814         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6815
6816         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6817         recently added interfaces.
6818         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6819
6820         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6821         about macro parameter expansion.
6822
6823         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6824         __NO_MATH_INLINES is defined.  Cleanups.
6825
6826         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6827         and __floorf is target has SSE4.1.
6828         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6829         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6830         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6831         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6832
6833         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6834         name.
6835         (floorf): Likewise.
6836
6837         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6838
6839 2011-10-17  Andreas Schwab  <schwab@redhat.com>
6840
6841         * misc/sys/cdefs.h: Fix last change.
6842
6843         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6844         database lookup.
6845
6846 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
6847
6848         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6849
6850         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6851         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6852         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6853         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6854         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6855         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6856         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6857         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6858         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6859         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6860         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6861         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6862         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6863         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6864         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6865         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6866         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6867         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6868         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6869         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6870         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6871         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6872
6873         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6874         ceil, ceilf, floor, floorf.
6875
6876         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6877         Perform IRELATIVE relocations last.
6878
6879         * elf/do-rel.h: Add another parameter nrelative, replacing the
6880         local variable with the same name.  Change name of the function
6881         to end in Rel or Rela (uppercase).
6882         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6883         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
6884         elf_dynamic_do_##reloc function.
6885
6886 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
6887
6888         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6889         is sufficient, at least on modern CPUs.
6890
6891         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6892
6893         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6894         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6895
6896         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6897         __expl_finite.
6898         * math/bits/math-finite.h: Add entries for exp.
6899         * math/e_expl.c: Add __*_finite alias.
6900         * sysdeps/i386/fpu/e_exp.S: Likewise.
6901         * sysdeps/i386/fpu/e_expf.S: Likewise.
6902         * sysdeps/i386/fpu/e_expl.c: Likewise.
6903         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6904         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6905         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6906         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6907         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6908         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6909         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6910
6911         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6912         is sufficient, at least on modern CPUs.
6913
6914         * ctype/ctype-info.c (__ctype_init): Define.
6915         * include/ctype.h (__ctype_init): Declare.
6916         (__ctype_b_loc): The variable is always initialized.
6917         (__ctype_toupper_loc): Likewise.
6918         (__ctype_tolower_loc): Likewise.
6919         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6920         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6921
6922 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
6923
6924         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6925
6926         * configure.in: Also look in $cxxmachine/include for C++ system
6927         headers.
6928
6929 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6930
6931         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6932         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6933         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6934         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
6935         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6936         (USE_AS_WMEMCMP): New macro.
6937         Fixing indents.
6938         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6939         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6940         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6941         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6942         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6943         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6944         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6945         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6946         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6947         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6948         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6949         (USE_AS_WMEMCMP): New macro.
6950         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6951         * sysdeps/string/test-memcmp.c: Update.
6952         Fix simple_wmemcmp.
6953         Add new tests.
6954         * wcsmbs/wmemcmp.c: Update.
6955         (WMEMCMP): New macro.
6956         Fix overflow bug.
6957
6958 2011-10-12  Andreas Jaeger  <aj@suse.de>
6959
6960         [BZ #13268]
6961         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6962
6963 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
6964
6965         * libio/iofwide.c (do_length): Avoid warning.
6966
6967         * ctype/ctype.h (__isctype_f): Add missing __THROW.
6968
6969 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
6970
6971         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6972
6973         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6974         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6975         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6976         * sysdeps/i386/i686/fpu/e_log.S: New file.
6977         * sysdeps/i386/i686/fpu/e_logf.S: New file.
6978         * sysdeps/i386/i686/fpu/e_logl.S: New file.
6979
6980         * ctype/ctype.h: Add support for inlined isXXX functions when
6981         compiling C++ code.
6982
6983 2011-10-14  Andreas Schwab  <schwab@redhat.com>
6984
6985         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6986
6987         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6988
6989 2011-10-13  Roland McGrath  <roland@hack.frob.com>
6990
6991         [BZ #13291]
6992         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6993
6994 2011-10-13  Andreas Schwab  <schwab@redhat.com>
6995
6996         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6997         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6998         feraiseexcept.
6999
7000         * sysdeps/x86_64/memrchr.S: Check for zero size.
7001
7002         * string/stratcliff.c: Add memrchr tests.
7003
7004 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7005
7006         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7007         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7008         rawmemchr-sse2 rawmemchr-sse2-bsf.
7009         * sysdeps/i386/i686/multiarch/memchr.S: New file.
7010         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7011         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7012         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7013         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7014         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7015         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7016         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7017         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7018         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7019         * string/memrchr.c (MEMRCHR): New macro.
7020
7021 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
7022
7023         Add integration with gcc's -ffinite-math-only and optimize wrapper
7024         functions in libm.
7025         * Versions.def: Define GLIBC_2.15 version for libm.
7026         * math/Makefile (headers): Add bits/math-finite.h.
7027         * math/bits/math-finite.h: New file.
7028         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7029         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7030         * math/e_acoshl.c: Add __*_finite alias.
7031         * math/e_acosl.c: Likewise.
7032         * math/e_asinl.c: Likewise.
7033         * math/e_atan2l.c: Likewise.
7034         * math/e_atanhl.c: Likewise.
7035         * math/e_coshl.c: Likewise.
7036         * math/e_exp10.c: Likewise.
7037         * math/e_exp10f.c: Likewise.
7038         * math/e_exp10l.c: Likewise.
7039         * math/e_exp2l.c: Likewise.
7040         * math/e_fmodl.c: Likewise.
7041         * math/e_gammal_r.c: Likewise.
7042         * math/e_hypotl.c: Likewise.
7043         * math/e_j0l.c: Likewise.
7044         * math/e_j1l.c: Likewise.
7045         * math/e_jnl.c: Likewise.
7046         * math/e_lgammal_r.c: Likewise.
7047         * math/e_log10l.c: Likewise.
7048         * math/e_log2l.c: Likewise.
7049         * math/e_logl.c: Likewise.
7050         * math/e_powl.c: Likewise.
7051         * math/e_sinhl.c: Likewise.
7052         * math/e_sqrtl.c: Likewise.
7053         * math/e_scalb.c: Completely rewritten and optimized.
7054         * math/e_scalbf.c: Likewise.
7055         * math/e_scalbl.c: Likewise.
7056         * math/w_acos.c: Likewise.
7057         * math/w_acosf.c: Likewise.
7058         * math/w_acosl.c: Likewise.
7059         * math/w_acosh.c: Likewise.
7060         * math/w_acoshf.c: Likewise.
7061         * math/w_acoshl.c: Likewise.
7062         * math/w_asin.c: Likewise.
7063         * math/w_asinf.c: Likewise.
7064         * math/w_asinl.c: Likewise.
7065         * math/w_atan2.c: Likewise.
7066         * math/w_atan2f.c: Likewise.
7067         * math/w_atan2l.c: Likewise.
7068         * math/w_atanh.c: Likewise.
7069         * math/w_atanhf.c: Likewise.
7070         * math/w_atanhl.c: Likewise.
7071         * math/w_exp10.c: Likewise.
7072         * math/w_exp10f.c: Likewise.
7073         * math/w_exp10l.c: Likewise.
7074         * math/w_fmod.c: Likewise.
7075         * math/w_fmodf.c: Likewise.
7076         * math/w_fmodl.c: Likewise.
7077         * math/w_j0.c: Likewise.
7078         * math/w_j0f.c: Likewise.
7079         * math/w_j0l.c: Likewise.
7080         * math/w_j1.c: Likewise.
7081         * math/w_j1f.c: Likewise.
7082         * math/w_j1l.c: Likewise.
7083         * math/w_jn.c: Likewise.
7084         * math/w_jnf.c: Likewise.
7085         * math/w_log.c: Likewise.
7086         * math/w_logf.c: Likewise.
7087         * math/w_logl.c: Likewise.
7088         * math/w_log10.c: Likewise.
7089         * math/w_log10f.c: Likewise.
7090         * math/w_log10l.c: Likewise.
7091         * math/w_log2.c: Likewise.
7092         * math/w_log2f.c: Likewise.
7093         * math/w_log2l.c: Likewise.
7094         * math/w_pow.c: Likewise.
7095         * math/w_powf.c: Likewise.
7096         * math/w_powl.c: Likewise.
7097         * math/w_remainder.c: Likewise.
7098         * math/w_remainderf.c: Likewise.
7099         * math/w_remainderl.c: Likewise.
7100         * math/w_scalb.c: Likewise.
7101         * math/w_scalbf.c: Likewise.
7102         * math/w_scalbl.c: Likewise.
7103         * math/w_sqrt.c: Likewise.
7104         * math/w_sqrtf.c: Likewise.
7105         * math/w_sqrtl.c: Likewise.
7106         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7107         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
7108         used.
7109         * math/math_private.h: Declare __kernel_standard_f.
7110         * math/w_cosh.c: Remove cruft and optimize a bit.
7111         * math/w_coshf.c: Likewise.
7112         * math/w_coshl.c: Likewise.
7113         * math/w_exp2.c: Likewise.
7114         * math/w_exp2f.c: Likewise.
7115         * math/w_exp2l.c: Likewise.
7116         * math/w_hypot.c: Likewise.
7117         * math/w_hypotf.c: Likewise.
7118         * math/w_hypotl.c: Likewise.
7119         * math/w_lgamma.c: Likewise.
7120         * math/w_lgamma_r.c: Likewise.
7121         * math/w_lgammaf.c: Likewise.
7122         * math/w_lgammaf_r.c: Likewise.
7123         * math/w_lgammal.c: Likewise.
7124         * math/w_lgammal_r.c: Likewise.
7125         * math/w_sinh.c: Likewise.
7126         * math/w_sinhf.c: Likewise.
7127         * math/w_sinhl.c: Likewise.
7128         * math/w_tgamma.c: Likewise.
7129         * math/w_tgammaf.c: Likewise.
7130         * math/w_tgammal.c: Likewise.
7131         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7132         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7133         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7134         Minor optimizations.  Pretty printing.  Remove cruft.
7135         * sysdeps/i386/fpu/e_acosf.S: Likewise.
7136         * sysdeps/i386/fpu/e_acosh.S: Likewise.
7137         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7138         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7139         * sysdeps/i386/fpu/e_acosl.c: Likewise.
7140         * sysdeps/i386/fpu/e_asin.S: Likewise.
7141         * sysdeps/i386/fpu/e_asinf.S: Likewise.
7142         * sysdeps/i386/fpu/e_atan2.S: Likewise.
7143         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7144         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7145         * sysdeps/i386/fpu/e_atanh.S: Likewise.
7146         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7147         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7148         * sysdeps/i386/fpu/e_exp10.S: Likewise.
7149         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7150         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7151         * sysdeps/i386/fpu/e_exp2.S: Likewise.
7152         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7153         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7154         * sysdeps/i386/fpu/e_fmod.S: Likewise.
7155         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7156         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7157         * sysdeps/i386/fpu/e_hypot.S: Likewise.
7158         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7159         * sysdeps/i386/fpu/e_log.S: Likewise.
7160         * sysdeps/i386/fpu/e_log10.S: Likewise.
7161         * sysdeps/i386/fpu/e_log10f.S: Likewise.
7162         * sysdeps/i386/fpu/e_log10l.S: Likewise.
7163         * sysdeps/i386/fpu/e_log2.S: Likewise.
7164         * sysdeps/i386/fpu/e_log2f.S: Likewise.
7165         * sysdeps/i386/fpu/e_log2l.S: Likewise.
7166         * sysdeps/i386/fpu/e_logf.S: Likewise.
7167         * sysdeps/i386/fpu/e_logl.S: Likewise.
7168         * sysdeps/i386/fpu/e_pow.S: Likewise.
7169         * sysdeps/i386/fpu/e_powf.S: Likewise.
7170         * sysdeps/i386/fpu/e_powl.S: Likewise.
7171         * sysdeps/i386/fpu/e_remainder.S: Likewise.
7172         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7173         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7174         * sysdeps/i386/fpu/e_scalb.S: Likewise.
7175         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7176         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7177         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7178         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7179         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7180         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7181         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7182         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7183         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7184         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7185         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7186         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7187         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7188         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7189         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7190         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7191         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7192         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7193         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7194         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7195         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7196         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7197         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7198         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7199         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7200         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7201         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7202         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7203         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7204         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7205         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7206         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7207         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7208         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7209         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7210         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7211         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7212         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7213         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7214         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7215         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7216         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7217         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7218         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7219         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7220         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7221         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7222         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7223         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7224         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7225         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7226         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7227         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7228         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7229         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7230         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7231         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7232         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7233         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7234         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7235         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7236         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7237         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7238         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7239         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7240         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7241         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7242         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7243         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7244         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7245         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7246         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7247         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7248         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7249         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7250         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7251         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7252         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7253         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7254         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7255         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7256         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7257         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7258         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7259         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7260         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7261         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7262         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7263         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7264         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7265         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7266         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7267         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7268         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7269         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7270         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7271         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7272         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7273         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7274         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7275         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7276         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7277         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7278         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7279         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7280         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7281         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7282         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7283         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7284         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7285         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7286         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7287         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7288         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7289         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7290         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
7291         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7292         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7293         (__isnanf): Likewise.
7294         (__isinf_ns): Likewise.
7295         (__isinf_nsf): Likewise.
7296         (__finite): Likewise.
7297         (__finitef): Likewise.
7298         (__ieee754_sqrt): Define as macro.
7299         (__ieee754_sqrtf): Define as macro.
7300         (__ieee754_sqrtl): Define as macro.
7301         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7302         inlined copy.
7303         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7304         __FINITE_MATH_ONLY__ consistent.
7305         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7306
7307 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
7308
7309         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7310         of rawmemchr.
7311
7312         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7313
7314 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
7315
7316         * po/ja.po: Update from translation team.
7317
7318 2011-10-08  Roland McGrath  <roland@hack.frob.com>
7319
7320         * locale/programs/locarchive.c (prepare_address_space): New function.
7321         (create_archive, enlarge_archive, open_archive): Use it.
7322
7323         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7324         inside [SHARED], where it is used.
7325
7326         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7327
7328         * nss/getent.c (netgroup_keys): Remove unused variable.
7329         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7330
7331 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
7332
7333         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7334         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7335         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7336         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7337         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7338         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7339         * math/Makefile (libm-calls): Add s_isinf_ns.
7340         * math/divtc3.c: Use __isinf_nsl instead of isinf.
7341         * math/multc3.c: Likewise.
7342         * math/s_casin.c: Likewise.
7343         * math/s_casinf.c: Likewise.
7344         * math/s_casinl.c: Likewise.
7345         * math/s_ccos.c: Likewise.
7346         * math/s_ccosf.c: Likewise.
7347         * math/s_ccosl.c: Likewise.
7348         * math/s_ctan.c: Likewise.
7349         * math/s_ctanf.c: Likewise.
7350         * math/s_ctanh.c: Likewise.
7351         * math/s_ctanhf.c: Likewise.
7352         * math/s_ctanhl.c: Likewise.
7353         * math/s_ctanl.c: Likewise.
7354         * math/w_fmod.c: Likewise.
7355         * math/w_fmodf.c: Likewise.
7356         * math/w_fmodl.c: Likewise.
7357         * math/w_remainder.c: Likewise.
7358         * math/w_remainderf.c: Likewise.
7359         * math/w_remainderl.c: Likewise.
7360         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7361         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7362         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7363         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7364         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7365         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7366         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7367         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7368
7369         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7370         of the number.
7371         * stdio-common/printf_fphex.c: Likewise.
7372         * stdio-common/printf_size.c: Likewise.
7373
7374         * math/e_exp10.c: Include math_private.h using <...> not "...".
7375         * math/e_exp10f.c: Likewise.
7376         * math/e_exp10l.c: Likewise.
7377         * math/e_exp2l.c: Likewise.
7378         * math/e_j0l.c: Likewise.
7379         * math/e_j1l.c: Likewise.
7380         * math/e_jnl.c: Likewise.
7381         * math/e_lgammal_r.c: Likewise.
7382         * math/e_rem_pio2l.c: Likewise.
7383         * math/e_scalb.c: Likewise.
7384         * math/e_scalbf.c: Likewise.
7385         * math/e_scalbl.c: Likewise.
7386         * math/k_cosl.c: Likewise.
7387         * math/k_sinl.c: Likewise.
7388         * math/k_tanl.c: Likewise.
7389         * math/s_cacoshf.c: Likewise.
7390         * math/s_catan.c: Likewise.
7391         * math/s_catanf.c: Likewise.
7392         * math/s_catanh.c: Likewise.
7393         * math/s_catanhf.c: Likewise.
7394         * math/s_catanhl.c: Likewise.
7395         * math/s_catanl.c: Likewise.
7396         * math/s_ccosh.c: Likewise.
7397         * math/s_ccoshf.c: Likewise.
7398         * math/s_ccoshl.c: Likewise.
7399         * math/s_cexp.c: Likewise.
7400         * math/s_cexpf.c: Likewise.
7401         * math/s_cexpl.c: Likewise.
7402         * math/s_clog.c: Likewise.
7403         * math/s_clog10.c: Likewise.
7404         * math/s_clog10f.c: Likewise.
7405         * math/s_clog10l.c: Likewise.
7406         * math/s_clogf.c: Likewise.
7407         * math/s_clogl.c: Likewise.
7408         * math/s_csin.c: Likewise.
7409         * math/s_csinf.c: Likewise.
7410         * math/s_csinh.c: Likewise.
7411         * math/s_csinhf.c: Likewise.
7412         * math/s_csinhl.c: Likewise.
7413         * math/s_csinl.c: Likewise.
7414         * math/s_csqrt.c: Likewise.
7415         * math/s_csqrtf.c: Likewise.
7416         * math/s_csqrtl.c: Likewise.
7417         * math/s_ctan.c: Likewise.
7418         * math/s_ctanf.c: Likewise.
7419         * math/s_ctanh.c: Likewise.
7420         * math/s_ctanhf.c: Likewise.
7421         * math/s_ctanhl.c: Likewise.
7422         * math/s_ctanl.c: Likewise.
7423         * math/s_ldexp.c: Likewise.
7424         * math/s_ldexpf.c: Likewise.
7425         * math/s_ldexpl.c: Likewise.
7426         * math/s_significand.c: Likewise.
7427         * math/s_significandf.c: Likewise.
7428         * math/s_significandl.c: Likewise.
7429         * math/w_acos.c: Likewise.
7430         * math/w_acosf.c: Likewise.
7431         * math/w_acosh.c: Likewise.
7432         * math/w_acoshf.c: Likewise.
7433         * math/w_acoshl.c: Likewise.
7434         * math/w_acosl.c: Likewise.
7435         * math/w_asin.c: Likewise.
7436         * math/w_asinf.c: Likewise.
7437         * math/w_asinl.c: Likewise.
7438         * math/w_atan2.c: Likewise.
7439         * math/w_atan2f.c: Likewise.
7440         * math/w_atan2l.c: Likewise.
7441         * math/w_atanh.c: Likewise.
7442         * math/w_atanhf.c: Likewise.
7443         * math/w_atanhl.c: Likewise.
7444         * math/w_cosh.c: Likewise.
7445         * math/w_coshf.c: Likewise.
7446         * math/w_coshl.c: Likewise.
7447         * math/w_dremf.c: Likewise.
7448         * math/w_exp10.c: Likewise.
7449         * math/w_exp10f.c: Likewise.
7450         * math/w_exp10l.c: Likewise.
7451         * math/w_exp2.c: Likewise.
7452         * math/w_exp2f.c: Likewise.
7453         * math/w_fmod.c: Likewise.
7454         * math/w_fmodf.c: Likewise.
7455         * math/w_fmodl.c: Likewise.
7456         * math/w_hypot.c: Likewise.
7457         * math/w_hypotf.c: Likewise.
7458         * math/w_hypotl.c: Likewise.
7459         * math/w_j0.c: Likewise.
7460         * math/w_j0f.c: Likewise.
7461         * math/w_j0l.c: Likewise.
7462         * math/w_j1.c: Likewise.
7463         * math/w_j1f.c: Likewise.
7464         * math/w_j1l.c: Likewise.
7465         * math/w_jn.c: Likewise.
7466         * math/w_jnf.c: Likewise.
7467         * math/w_jnl.c: Likewise.
7468         * math/w_lgamma.c: Likewise.
7469         * math/w_lgamma_r.c: Likewise.
7470         * math/w_lgammaf.c: Likewise.
7471         * math/w_lgammaf_r.c: Likewise.
7472         * math/w_lgammal.c: Likewise.
7473         * math/w_lgammal_r.c: Likewise.
7474         * math/w_log.c: Likewise.
7475         * math/w_log10.c: Likewise.
7476         * math/w_log10f.c: Likewise.
7477         * math/w_log10l.c: Likewise.
7478         * math/w_log2.c: Likewise.
7479         * math/w_log2f.c: Likewise.
7480         * math/w_log2l.c: Likewise.
7481         * math/w_logf.c: Likewise.
7482         * math/w_logl.c: Likewise.
7483         * math/w_pow.c: Likewise.
7484         * math/w_powf.c: Likewise.
7485         * math/w_powl.c: Likewise.
7486         * math/w_remainder.c: Likewise.
7487         * math/w_remainderf.c: Likewise.
7488         * math/w_remainderl.c: Likewise.
7489         * math/w_scalb.c: Likewise.
7490         * math/w_scalbf.c: Likewise.
7491         * math/w_scalbl.c: Likewise.
7492         * math/w_sinh.c: Likewise.
7493         * math/w_sinhf.c: Likewise.
7494         * math/w_sinhl.c: Likewise.
7495         * math/w_sqrt.c: Likewise.
7496         * math/w_sqrtf.c: Likewise.
7497         * math/w_sqrtl.c: Likewise.
7498         * math/w_tgamma.c: Likewise.
7499         * math/w_tgammaf.c: Likewise.
7500         * math/w_tgammal.c: Likewise.
7501
7502         * po/ja.po: Update from translation team.
7503
7504 2011-09-29  Andreas Jaeger  <aj@suse.de>
7505
7506         [BZ #13179]
7507         * sunrpc/netname.c (netname2host): Fix logic.
7508
7509         [BZ #6779]
7510         [BZ #6783]
7511         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7512         correctly.
7513         * math/w_remainder.c (__remainder): Likewise.
7514         * math/w_remainderf.c (__remainderf): Likewise.
7515         * math/libm-test.inc (remainder_test): Add test cases.
7516
7517 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7518
7519         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
7520         sdiv_qrnnd.
7521
7522 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7523
7524         * string/test-memcmp.c: Avoid unncessary #defines.
7525         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7526
7527 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7528
7529         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7530         Use new sse2 version for core i3 - i7 as it's faster
7531         than sse42 version.
7532         (bit_Prefer_PMINUB_for_stringop): New.
7533         * sysdeps/x86_64/rawmemchr.S: Update.
7534         Replace with faster SSE2 version.
7535         * sysdeps/x86_64/memrchr.S: New file.
7536         * sysdeps/x86_64/memchr.S: Update.
7537         Replace with faster SSE2 version.
7538
7539 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
7540
7541         * elf/dl-load.c (lose): Add cast to avoid warning.
7542
7543 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7544
7545         * po/ca.po: Update from translation team.
7546
7547         * inet/getnetgrent_r.c: Hook up nscd.
7548         * nscd/Makefile (routines): Add nscd_netgroup.
7549         (nscd-modules): Add netgroupcache.
7550         (CFLAGS-netgroupcache.c): Define.
7551         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7552         (cache_search): Add const to second parameter.
7553         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7554         INNETGR.
7555         (dbs): Add netgrdb entry.
7556         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7557         (verify_persistent_db): Handle netgrdb.
7558         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7559         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7560         GETFDNETGR.
7561         (netgroup_response_header): Define.
7562         (innetgroup_response_header): Define.
7563         (datahead): Add netgroup_response_header and innetgroup_response_header
7564         elements.
7565         * nscd/nscd.conf: Add entries for netgroup cache.
7566         * nscd/nscd.h (dbtype): Add netgrdb.
7567         (_PATH_NSCD_NETGROUP_DB): Define.
7568         (netgroup_iov_disabled): Declare.
7569         (xmalloc, xcalloc, xrealloc): Move declarations here.
7570         (cache_search): Adjust prototype.
7571         Add netgroup-related prototypes.
7572         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7573         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7574         (__nscd_innetgr): Declare.
7575         * nscd/selinux.c (perms): Use access_vector_t as element type and
7576         add netgroup-related initializers.
7577         * nscd/netgroupcache.c: New file.
7578         * nscd/nscd_netgroup.c: New file.
7579         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7580         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7581         For four parameters use innetgr.
7582         * nss/nss_files/files-init.c: Add definition and callback for netgr.
7583         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7584         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7585         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7586
7587         * nscd/connections.c (register_traced_file): Don't register file
7588         for disabled databases.
7589
7590 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
7591
7592         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7593
7594         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7595         from tree and freeing node.
7596
7597 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
7598
7599         * nss/nsswitch.c (__nss_database_lookup): Handle
7600         nss_parse_service_list out of memory case.
7601
7602 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
7603
7604         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7605         out of memory case.
7606
7607 2011-10-04  Andreas Schwab  <schwab@redhat.com>
7608
7609         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7610         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7611         pass it down.
7612         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7613         elf_machine_rela, elf_machine_lazy_rel.
7614         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7615         (ELF_DYNAMIC_DO_REL): Likewise.
7616         (ELF_DYNAMIC_DO_RELA): Likewise.
7617         (ELF_DYNAMIC_RELOCATE): Likewise.
7618         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7619         to ELF_DYNAMIC_DO_REL.
7620         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7621         (dl_main): In trace mode always set __RTLD_NOIFUNC.
7622         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7623         elf_machine_rela.
7624         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7625         skip_ifunc, don't call ifunc function if non-zero.
7626         (elf_machine_rela): Likewise.
7627         (elf_machine_lazy_rel): Likewise.
7628         (elf_machine_lazy_rela): Likewise.
7629         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7630         (elf_machine_lazy_rel): Likewise.
7631         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7632         Likewise.
7633         (elf_machine_lazy_rel): Likewise.
7634         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7635         Likewise.
7636         (elf_machine_lazy_rel): Likewise.
7637         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7638         (elf_machine_lazy_rel): Likewise.
7639         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7640         (elf_machine_lazy_rel): Likewise.
7641         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7642         (elf_machine_lazy_rel): Likewise.
7643         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7644         (elf_machine_lazy_rel): Likewise.
7645         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7646         (elf_machine_lazy_rel): Likewise.
7647         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7648         (elf_machine_lazy_rel): Likewise.
7649
7650 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
7651
7652         * nss/nss_files/files-init.c (_nss_files_init): Use static
7653         initialization for all the *_traced_file variables.
7654
7655 2011-09-28  Andreas Schwab  <schwab@redhat.com>
7656
7657         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7658
7659 2011-09-27  Roland McGrath  <roland@hack.frob.com>
7660
7661         [BZ #13226]
7662         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7663
7664 2011-09-27  Andreas Schwab  <schwab@redhat.com>
7665
7666         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7667         Reread the line before reparsing it.
7668
7669 2011-09-26  Andreas Schwab  <schwab@redhat.com>
7670
7671         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7672
7673 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
7674             Maxim Kuvyrkov  <maxim@codesourcery.com>
7675             Joseph Myers  <joseph@codesourcery.com>
7676
7677         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7678         if needed for __stack_chk_guard.
7679
7680 2011-09-19  Roland McGrath  <roland@hack.frob.com>
7681
7682         * sysdeps/posix/spawni.c (script_execute): Always define it.
7683         It will be optimized away if unused.
7684         (maybe_script_execute): New function.
7685         (__spawni): Call it.
7686
7687         * Makerules: Don't include tls.make.
7688         (config-tls): Always set to thread.
7689         * tls.make.c: File removed.
7690
7691 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
7692
7693         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7694         * config.make.in (CPPFLAGS-config): New substituted variable.
7695
7696 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7697
7698         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7699
7700         [BZ #13192]
7701         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7702         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7703
7704 2011-09-15  Roland McGrath  <roland@hack.frob.com>
7705
7706         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7707         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7708         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7709         (CALL_FAIL): Likewise.
7710         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7711         (CALL_FAIL): Macro removed.
7712         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7713
7714 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
7715
7716         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7717         for __FINITE_MATH_ONLY__ == 1.
7718
7719 2011-09-15  Andreas Schwab  <schwab@redhat.com>
7720
7721         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7722         __ieee754_sqrt instead of sqrt.
7723         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7724         __ieee754_sqrtf instead of sqrtf.
7725         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7726         __floorf instead of floorf.
7727         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7728         __floorf, __truncf instead of floorf, truncf.
7729
7730 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
7731
7732         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7733
7734         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7735         __extern_always_inline.
7736         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7737         32-bit.
7738
7739 2011-09-14  Andreas Schwab  <schwab@redhat.com>
7740
7741         * elf/rtld.c (dl_main): Also relocate in dependency order when
7742         doing symbol dependency testing.
7743
7744 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
7745
7746         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7747         Always define `refsym'.
7748
7749 2011-09-13  Andreas Schwab  <schwab@redhat.com>
7750
7751         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7752         (__FD_ELT): Renamed from __FDELT.
7753         * misc/bits/select2.h (__FD_ELT): Likewise.
7754         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7755         __FD_MASK instead of __FDELT, __FDMASK.
7756         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7757         Likewise.
7758         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7759         Likewise.
7760
7761         * elf/Makefile (gen-ldd): Fix pattern.
7762
7763         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7764         (init_tls): Likewise.
7765
7766 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
7767
7768         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7769
7770 2011-09-12  Andreas Schwab  <schwab@redhat.com>
7771
7772         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7773         `struct cmsghdr *' instead of `void *'.
7774         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7775         Likewise.
7776
7777 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
7778
7779         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7780         if non-absolute.
7781         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7782         ldd_rewrite_script.
7783
7784 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
7785
7786         * configure.in: Remove --with-tls option.
7787         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7788         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7789         out in case it is missing.
7790         * sysdeps/ia64/elf/configure.in: Likewise.
7791         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7792         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7793         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7794         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7795         * sysdeps/sh/elf/configure.in: Likewise.
7796         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7797         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7798         * sysdeps/x86_64/elf/configure.in: Likewise.
7799         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7800         * sysdeps/mach/hurd/tls.h: Likewise.
7801
7802         [BZ #13067]
7803         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7804
7805         [BZ #13090]
7806         * configure.in: Fix use of AC_INIT.
7807
7808         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7809
7810 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
7811
7812         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7813         __set_errno.
7814         * malloc/hooks.c: Likewise.
7815
7816         [BZ #11929]
7817         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
7818         variables statically.
7819         (narenas): Initialize.
7820         (list_lock): Initialize.
7821         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
7822         initializtion of main_arena and list_lock.  Small cleanups.
7823         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7824         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
7825         Add initializers to main_arena and mp_.
7826         (malloc_state): Remove pagesize member.  Change all users to use
7827         GLRO(dl_pagesize).
7828
7829         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7830         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
7831         is always initialized.
7832
7833         * malloc/malloc.c: Removed unused configurations and dead code.
7834         * malloc/arena.c: Likewise.
7835         * malloc/hooks.c: Likewise.
7836         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7837
7838         * include/tls.h: Removed.  USE___THREAD must always be defined.
7839         * bits/libc-tsd.h: Don't handle !USE___THREAD.
7840         * elf/dl-libc.c: Likewise.
7841         * elf/dl-tsd.c: Likewise.
7842         * include/errno.h: Likewise.
7843         * include/netdb.h: Likewise.
7844         * include/resolv.h: Likewise.
7845         * inet/herrno-loc.c: Likewise.
7846         * inet/herrno.c: Likewise.
7847         * malloc/arena.c: Likewise.
7848         * malloc/hooks.c: Likewise.
7849         * malloc/malloc.c: Likewise.
7850         * resolv/res-state.c: Likewise.
7851         * resolv/res_libc.c: Likewise.
7852         * sysdeps/i386/dl-machine.h: Likewise.
7853         * sysdeps/ia64/dl-machine.h: Likewise.
7854         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7855         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7856         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7857         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7858         * sysdeps/sh/dl-machine.h: Likewise.
7859         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7860         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7861         * sysdeps/unix/i386/sysdep.S: Likewise.
7862         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7863         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7864         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7865         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7866         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7867         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7868         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7869         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7870         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7871         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7872         * sysdeps/unix/x86_64/sysdep.S: Likewise.
7873         * sysdeps/x86_64/dl-machine.h: Likewise.
7874         * tls.make.c: Likewise.
7875
7876         * configure.in: Remove --with-__thread option.  Make tests for
7877         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7878         tls_model attribute fail if no support is available.  Remove
7879         USE_IN_LIBIO.
7880         * Makeconfig: Adjust for dropped configure option.  All features are
7881         now mandatory.
7882         * Makerules: Likewise.
7883         * Versions.def: Likewise.
7884         * argp/argp-fmtstream.c: Likewise.
7885         * argp/argp-fmtstream.h: Likewise.
7886         * argp/argp-help.c: Likewise.
7887         * assert/assert.c: Likewise.
7888         * config.h.in: Likewise.
7889         * config.make.in: Likewise.
7890         * configure: Likewise.
7891         * configure.in: Likewise.
7892         * csu/Versions: Likewise.
7893         * csu/init.c: Likewise.
7894         * elf/tst-audit2.c: Likewise.
7895         * elf/tst-tls10.c: Likewise.
7896         * elf/tst-tls10.h: Likewise.
7897         * elf/tst-tls11.c: Likewise.
7898         * elf/tst-tls12.c: Likewise.
7899         * elf/tst-tls14.c: Likewise.
7900         * elf/tst-tlsmod11.c: Likewise.
7901         * elf/tst-tlsmod12.c: Likewise.
7902         * elf/tst-tlsmod13.c: Likewise.
7903         * elf/tst-tlsmod13a.c: Likewise.
7904         * elf/tst-tlsmod14a.c: Likewise.
7905         * elf/tst-tlsmod15b.c: Likewise.
7906         * elf/tst-tlsmod16a.c: Likewise.
7907         * elf/tst-tlsmod16b.c: Likewise.
7908         * elf/tst-tlsmod7.c: Likewise.
7909         * elf/tst-tlsmod8.c: Likewise.
7910         * elf/tst-tlsmod9.c: Likewise.
7911         * gmon/gmon.c: Likewise.
7912         * grp/fgetgrent_r.c: Likewise.
7913         * grp/putgrent.c: Likewise.
7914         * hurd/fopenport.c: Likewise.
7915         * include/libc-symbols.h: Likewise.
7916         * include/tls.h: Likewise.
7917         * intl/gettextP.h: Likewise.
7918         * intl/loadinfo.h: Likewise.
7919         * locale/global-locale.c: Likewise.
7920         * locale/localeinfo.h: Likewise.
7921         * mach/devstream.c: Likewise.
7922         * malloc/arena.c: Likewise.
7923         * malloc/set-freeres.c: Likewise.
7924         * misc/err.c: Likewise.
7925         * misc/getttyent.c: Likewise.
7926         * misc/mntent_r.c: Likewise.
7927         * posix/getopt.c: Likewise.
7928         * posix/wordexp.c: Likewise.
7929         * pwd/fgetpwent_r.c: Likewise.
7930         * resolv/Versions: Likewise.
7931         * resolv/res_hconf.c: Likewise.
7932         * shadow/fgetspent_r.c: Likewise.
7933         * shadow/putspent.c: Likewise.
7934         * stdio-common/printf_fphex.c: Likewise.
7935         * stdio-common/tmpfile.c: Likewise.
7936         * stdlib/abort.c: Likewise.
7937         * stdlib/fmtmsg.c: Likewise.
7938         * sunrpc/auth_unix.c: Likewise.
7939         * sunrpc/clnt_perr.c: Likewise.
7940         * sunrpc/clnt_tcp.c: Likewise.
7941         * sunrpc/clnt_udp.c: Likewise.
7942         * sunrpc/clnt_unix.c: Likewise.
7943         * sunrpc/openchild.c: Likewise.
7944         * sunrpc/svc_simple.c: Likewise.
7945         * sunrpc/svc_tcp.c: Likewise.
7946         * sunrpc/svc_udp.c: Likewise.
7947         * sunrpc/svc_unix.c: Likewise.
7948         * sunrpc/xdr.c: Likewise.
7949         * sunrpc/xdr_array.c: Likewise.
7950         * sunrpc/xdr_rec.c: Likewise.
7951         * sunrpc/xdr_ref.c: Likewise.
7952         * sunrpc/xdr_stdio.c: Likewise.
7953
7954 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7955
7956         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7957
7958 2011-07-03  Andreas Jaeger  <aj@suse.de>
7959
7960         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7961         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7962         regenerate with gen-libm-tests.pl.
7963
7964 2010-05-12  Petr Baudis  <pasky@suse.cz>
7965
7966         [BZ #11589]
7967         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7968         around j0() zero points by switching to j1().
7969         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7970         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7971         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7972         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7973
7974 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7975
7976         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7977         instead of 0.
7978         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7979         instead of 0.                              .
7980         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7981         Patch in part by Pavel Roskin <proski@gnu.org>.
7982
7983         [BZ #13138]
7984         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7985         realloc.
7986         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
7987         Free memory block if necessary.
7988
7989         [BZ #12847]
7990         * libio/genops.c (INTDEF): For string streams the _lock pointer can
7991         be NULL.  Don't lock in this case.
7992
7993 2011-09-09  Roland McGrath  <roland@hack.frob.com>
7994
7995         * elf/elf.h (ELFOSABI_GNU): New macro.
7996         (ELFOSABI_LINUX): Define to that.
7997
7998 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
7999
8000         * string/strncat.c (strncat): Undef the symbol in case it has been
8001         defined in bits/string.h.
8002
8003 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
8004
8005         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8006
8007         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
8008         link map.
8009
8010 2011-08-17  Andreas Jaeger  <aj@suse.de>
8011
8012         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8013
8014 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8015             Ian Lance Taylor  <iant@google.com>
8016
8017         * math/libm-test.inc (lround_test): New testcase.
8018         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8019
8020 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
8021
8022         * Makefile: Remove support for automatic cvs check-ins.
8023         * Makerules: Likewise.
8024         * config.make.in: Likewise.
8025         * configure.in: Likewise.
8026         * intl/Makefile: Likewise.
8027         * locale/Makefile: Likewise.
8028         * po/Makefile: Likewise.
8029         * posix/Makefile: Likewise.
8030         * sysdeps/gnu/Makefile: Likewise.
8031         * sysdeps/mach/hurd/Makefile: Likewise.
8032         * sysdeps/sparc/sparc32/Makefile: Likewise.
8033
8034         [BZ #13118]
8035         * posix/Makefile (bug-regex32-ENV): Define.
8036         Patch by John Stanley <jpsinthemix@verizon.net>.
8037
8038         * misc/Makefile (headers): Add bits/select2.h.
8039         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8040         * misc/bits/select2.h: New file.
8041         * include/bits/select2.h: New file.
8042         * debug/Makefile (routines): Add fdelt_chk.
8043         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8044         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8045         FD_ISSET.
8046         * debug/fdelt_chk.c: New file.
8047
8048         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
8049         * wcsmbs/test-wmemcmp.c: Likewise.
8050         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
8051         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
8052
8053 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8054
8055         * string/Makefile (strop-tests): Add memcmp.
8056         * string/test-wmemcmp.c: New file.
8057         * string/test-memcmp.c: Add wmemcmp support.
8058
8059 2011-09-08  Roland McGrath  <roland@hack.frob.com>
8060
8061         [BZ #13153]
8062         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8063         2011-07-19 change.
8064
8065         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8066         garbage value in a __mach_port_mod_refs call in the cases of the
8067         task-self and thread-self ports.
8068
8069 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8070
8071         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8072
8073 2011-09-08  Andreas Schwab  <schwab@redhat.com>
8074
8075         * elf/dl-load.c (lose): Check for non-null L.
8076
8077 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
8078
8079         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8080
8081         * elf/dl-libc.c (dlerror_run): Pass back error code from
8082         dl_catch_error.
8083
8084         [BZ #13123]
8085         * elf/dl-load.c (lose): Free l_origin if it is valid.
8086
8087         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8088         names.
8089         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8090         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8091         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8092         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8093         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8094         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8095
8096 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8097
8098         * sysdeps/powerpc/fpu/e_hypot.c: New file.
8099         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8100         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8101         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8102         * sysdeps/powerpc/fpu/k_cosf.c: New file.
8103         * sysdeps/powerpc/fpu/k_sinf.c: New file.
8104         * sysdeps/powerpc/fpu/s_cosf.c: New file.
8105         * sysdeps/powerpc/fpu/s_sinf.c: New file.
8106         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8107         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8108
8109 2011-08-15  Alan Modra  <amodra@gmail.com>
8110
8111         [BZ #13092]
8112         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8113         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8114         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
8115         ppc_mcount to static-only-routines.
8116         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8117         __mcount_internal.
8118         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8119         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
8120
8121 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
8122
8123         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8124         for finite and infinity parameters.
8125
8126 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
8127
8128         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8129         and add nop instructions for throughput optimization.
8130         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8131
8132 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
8133
8134         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8135         aligned copy for power7 with vector-scalar instructions.
8136         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8137
8138 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
8139
8140         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8141         AVX check.
8142
8143 2011-09-07  Andreas Schwab  <schwab@redhat.com>
8144
8145         [BZ #13144]
8146         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8147         last change.
8148
8149 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
8150
8151         * sysdeps/unix/sysv/linux/x86_64/init-first.c
8152         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8153         syscall wrapper around clock_gettime in __vdso_clock_gettime.
8154         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8155         clock_gettime.
8156
8157 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
8158
8159         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8160         Forgot to demangle the pointer.
8161
8162         * sysdeps/i386/sysdep.h: Define atom_text_section.
8163         * sysdeps/x86_64/sysdep.h: Likewise.
8164         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8165         section with atom_text_section.
8166         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8167         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8168         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8169         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8170         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8171
8172         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8173         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8174         already be defined.  Change to take two parameters and don't assign
8175         result to variable.  Adjust all users.
8176         Define INTERNAL_GETTIME if not already defined.
8177         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8178         call.
8179         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8180         HAVE_CLOCK_GETTIME_VSYSCALL.
8181         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8182
8183         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8184         gettimeofday vsyscall, just use time.
8185
8186 2011-09-06  Andreas Schwab  <schwab@redhat.com>
8187
8188         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8189         <errno.h>.
8190
8191 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
8192
8193         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8194         syscall on x86-64.
8195         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8196         syscall.
8197         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8198         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8199         syscall if possible.
8200
8201 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
8202
8203         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8204         e_ident.  Don't pass to find_mapsXX.
8205         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8206
8207 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8208
8209         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8210         strchr-sse2-no-bsf strrchr-sse2-no-bsf
8211         * sysdeps/x86_64/multiarch/strchr.S: Update.
8212         Check bit_slow_BSF bit.
8213         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8214         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8215         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8216
8217 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
8218
8219         [BZ #13134]
8220         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8221         before glibc 2.15.
8222         (tryshell): Define.
8223         (__spawni): Change last parameter to be flag.  Test
8224         SPAWN_XFLAGS_USE_PATH flag to use path or not.
8225         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8226         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8227         * posix/spawni.c: Likewise.
8228         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8229         * posix/spawnp.c: Likewise.  Change normal version to use
8230         SPAWN_XFLAGS_USE_PATH.
8231         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8232         SPAWN_XFLAGS_TRY_SHELL.
8233
8234         [BZ #13150]
8235         * posix/glob.h: Remove gcc 1.x support.
8236
8237         [BZ #13068]
8238         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8239
8240 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8241
8242         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8243         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8244         strrchr-sse2-bsf
8245         * sysdeps/i386/i686/multiarch/strchr.S: New file.
8246         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8247         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8248         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8249         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8250         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8251
8252 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8253
8254         * sysdeps/x86_64/wcscmp.S: New file.
8255
8256         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8257         wcscmp-c wcscmp-sse2
8258         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8259         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8260         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8261         * wcsmbs/wcscmp.c: Allow renaming.
8262
8263 2011-09-05  David S. Miller  <davem@davemloft.net>
8264
8265         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8266         stack slot, rather than the struct return pointer slot.
8267         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8268         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8270         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8271
8272 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
8273
8274         * po/ja.po: Update from translation team.
8275
8276         [BZ #13144]
8277         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8278         kernel in 64-bit binaries.
8279
8280 2011-09-01  David S. Miller  <davem@davemloft.net>
8281
8282         * elf/elf.h (HWCAP_SPARC_*): Move to..
8283         * sysdeps/sparc/sysdep.h: this new file and add new values.
8284         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8285         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8286         _DL_HWCAP_COUNT to 24.
8287         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8288         entries.
8289         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8290         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8291         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8292         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8293         instead of magic constants.
8294         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8295
8296 2011-08-31  David S. Miller  <davem@davemloft.net>
8297
8298         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8299         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8300         Reimplement to do errno handling inline.
8301         (SYSCALL_ERROR_HANDLER): New macro.
8302         (__SYSCALL_STRING): Do not do errno handling in asm.
8303         (__CLONE_SYSCALL_STRING): Delete.
8304         (__INTERNAL_SYSCALL_STRING): Delete.
8305         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8306         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8307         (PSEUDO): Reimplement to do errno handling inline.
8308         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8309         (SYSCALL_ERROR_HANDLER): New macro.
8310         (__SYSCALL_STRING): Do not do errno handling in asm.
8311         (__CLONE_SYSCALL_STRING): Delete.
8312         (__INTERNAL_SYSCALL_STRING): Delete.
8313         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8314         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8315         i386.
8316         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8317         (inline_syscall*): Add 'err' argument.
8318         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8319         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8320         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8321         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8322
8323         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8324         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8325
8326 2011-08-30  Andreas Schwab  <schwab@redhat.com>
8327
8328         * elf/rtld.c (dl_main): Relocate objects in dependency order.
8329
8330 2011-08-29  Jiri Olsa <jolsa@redhat.com>
8331
8332         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8333         directive.
8334
8335 2011-08-24  David S. Miller  <davem@davemloft.net>
8336
8337         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8338
8339 2011-08-24  Andreas Schwab  <schwab@redhat.com>
8340
8341         * elf/Makefile: Add rules to build and run unload8 test.
8342         * elf/unload8.c: New file.
8343         * elf/unload8mod1.c: New file.
8344         * elf/unload8mod1x.c: New file.
8345         * elf/unload8mod2.c: New file.
8346         * elf/unload8mod3.c: New file.
8347
8348         * elf/dl-close.c (_dl_close_worker): Reset private search list if
8349         it wasn't used.
8350
8351 2011-08-23  David S. Miller  <davem@davemloft.net>
8352
8353         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8354         subtract stack bias.
8355         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8356         %sp not %fp in calculations.
8357         (_JMPBUF_UNWINDS_ADJ): Likewise.
8358
8359         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8360         (aio_suspend): Call it to force an exception region around the
8361         AIO_MISC_WAIT() invocation.
8362
8363 2011-08-23  Andreas Schwab  <schwab@redhat.com>
8364
8365         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8366         backslash.
8367
8368 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
8369
8370         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8371         protection macro.
8372         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8373         and <dl-machine.h>.
8374         (Elf64_FuncDesc): Remove.
8375
8376 2011-08-22  David S. Miller  <davem@davemloft.net>
8377
8378         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8379         sigaltstack check, add missing cfi directives.
8380         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8381         missing cfi directives, and sigaltstack handling.
8382
8383 2011-08-16  Andreas Schwab  <schwab@redhat.com>
8384
8385         [BZ #11724]
8386         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8387         object is seen twice.
8388         * elf/dl-fini.c (_dl_sort_fini): Likewise.
8389
8390         * elf/Makefile (distribute): Add tst-initorder2.c.
8391         (tests): Add tst-initorder2.
8392         (modules-names): Add tst-initorder2a tst-initorder2b
8393         tst-initorder2c tst-initorder2d.  Add rules to build them.
8394         ($(objpfx)tst-initorder2.out): New rule.
8395         * elf/tst-initorder2.c: New file.
8396         * elf/tst-initorder2.exp: New file.
8397
8398 2011-08-22  Andreas Schwab  <schwab@redhat.com>
8399
8400         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8401
8402         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8403         dependencies back to end of function.
8404
8405         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8406         $(elfobjdir)/ld.so.
8407
8408 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
8409
8410         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8411         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8412         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8413         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8414         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8415         of __vdso_gettimeofday.
8416         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8417         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
8418         attribute_hidden.
8419         (_libc_vdso_platform_setup): Remove initialization of
8420         __vdso_gettimeofday and __vdso_time.
8421
8422 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
8423
8424         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8425         and fgetc_unlocked.
8426         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8427         getc_unlocked.
8428
8429         * elf/dl-open.c (add_to_global): Report additions to the global scope
8430         for LD_DEBUG=scopes.
8431         (dl_open_worker): Also print scope of newly loaded dependencies.
8432         (_dl_show_scope): Indicate if there is no scope.
8433
8434         [BZ #13114]
8435         * stdio-common/Makefile (tests): Add bug24.
8436         * stdio-common/bug24.c: New file.
8437
8438 2011-08-19  Andreas Jaeger  <aj@suse.de>
8439
8440         [BZ #13114]
8441         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8442         non-existant file when using close-on-exec mode.
8443
8444 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
8445
8446         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8447         the very first instruction.
8448
8449         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8450         the CFI state in the end.
8451         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8452         inclusion of dl-trampoline.h.
8453         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8454
8455 2011-08-19  Andreas Schwab  <schwab@redhat.com>
8456
8457         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8458         expectations for long double.
8459
8460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8461         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8462
8463 2011-08-14  David S. Miller  <davem@davemloft.net>
8464
8465         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8466         artificual limit depends upon the system page size.
8467
8468 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
8469
8470         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8471         * resolv/Makefile: Define CFLAGS-libresolv.
8472
8473 2011-08-17  Andreas Schwab  <schwab@redhat.com>
8474
8475         * nss/makedb.c (compute_tables): Make variables used in nested
8476         function static.
8477
8478 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
8479
8480         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8481         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8482         if buffer was too small.
8483
8484         * elf/pldd.c (main): Attach to all threads in the process.
8485         Rewrite /proc handling to use *at functions.
8486
8487 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
8488
8489         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8490         specifies first scope to show.
8491         (dl_open_worker): Update callers.  Move printing scope of new
8492         object to before the relocation.
8493         * elf/rtld.c (dl_main): Update _dl_show_scope call.
8494         * sysdeps/generic/ldsodefs.h: Update declaration.
8495
8496         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8497         string for the scope number.
8498
8499 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
8500
8501         * nscd/servicescache.c (cache_addserv): Make sure written is always
8502         initialized.
8503
8504 2011-08-14  Roland McGrath  <roland@hack.frob.com>
8505
8506         * sysdeps/i386/i486/bits/atomic.h
8507         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8508         statement expression, so as to suppress "set but not used" warning.
8509         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8510
8511         * string/strncat.c (STRNCAT): Use prototype definition.
8512
8513         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8514         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8515         -Iprograms here.
8516         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8517         (localedef-modules): Add localedef.
8518         (locale-modules): Add locale.
8519
8520         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8521         * elf/rtld.c (dl_main): Invert order of assignment in last change,
8522         to avoid a warning.
8523
8524 2011-08-14  David S. Miller  <davem@davemloft.net>
8525
8526         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8527         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8528
8529 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
8530
8531         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8532         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8533         * elf/rtld.c (dl_main): Set l_name of vDSO.
8534         Call _dl_show_scope when DL_DEBUG_SCOPES.
8535         (process_dl_debug): Recognize scopes flag and also set it for all.
8536         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8537         Declare _dl_show_scope.
8538
8539         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8540         (do_dlopen): Pass caller_dlopen to dl_open.
8541         (__libc_dlopen_mode): Initialize caller_dlopen.
8542
8543         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8544         of libc.  Make tolower call locale-independent.  Optimize a bit by
8545         using isdigit instead of isalnum.
8546         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8547
8548 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
8549
8550         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8551         was a dependency or dynamically loaded.
8552
8553 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
8554
8555         * intl/l10nflist.c: Allow architecture-specific pop function.
8556         * sysdeps/x86_64/l10nflist.c: New file.
8557
8558         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8559         classification.
8560
8561 2011-08-10  Andreas Schwab  <schwab@redhat.com>
8562
8563         * include/dirent.h: Add libc_hidden_proto for scandirat and
8564         scandirat64.  Don't declare __scandirat64.
8565         * dirent/scandirat.c: Add libc_hidden_def.
8566         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8567         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8568
8569 2011-08-10  David S. Miller  <davem@davemloft.net>
8570
8571         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8572         enum.
8573         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8574         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8575         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8576
8577 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
8578
8579         * Versions.def [libc]: Add GLIBC_2.15.
8580         * dirent/Makefile (routines): Add scandirat and scandirat64.
8581         * dirent/Versions [libc]: Export scandirat and scandirat64 for
8582         GLIBC_2.15.
8583         * dirent/dirent.h: Declare scandirat and scandirat64.
8584         * dirent/scandirat.c: New file.
8585         * dirent/scandirat64.c: New file.
8586         * sysdeps/wordsize-64/scandirat.c: New file.
8587         * sysdeps/wordsize-64/scandirat64.c: New file.
8588         * dirent/opendir.c: Define opendirat.
8589         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
8590         using scandirat.
8591         * dirent/scandir64.c: Adjust for scandir.c change.
8592         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
8593         __scandirat64, and __scandir_cancel_handler.
8594         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
8595         additional parameter and use openat instead of open (outside of ld.so).
8596         Add new __opendir as wrapper around __opendirat.
8597         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8598         here without requiring old scandirat implementation.
8599
8600 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
8601
8602         * dirent/scandir.c (cancel_handler): Renamed to
8603         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
8604         defined.  Adjust users.
8605         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8606         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8607
8608 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
8609
8610         * string/test-string.h (IMPL): Use __STRING to expand name and then
8611         stringify it.
8612
8613         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
8614         of cleanups.
8615
8616 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8617
8618         * string/Makefile: Update.
8619         (strop-tests): Append strncat.
8620         * string/test-wcscmp.c: New file.
8621         New comprehensive test for wcscmp.
8622         * string/test-strcmp.c: Update.
8623         (WIDE): New define.
8624
8625 2011-07-22  Andreas Schwab  <schwab@redhat.com>
8626
8627         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8628         line.
8629
8630 2011-07-26  Andreas Schwab  <schwab@redhat.com>
8631
8632         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8633         encoding to ACE if AI_IDN.
8634
8635 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
8636
8637         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8638         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8639
8640 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8641
8642         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8643         Fix overflow bug in strncat.
8644         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8645
8646         * string/test-strncat.c: Update.
8647         Add new tests for checking overflow bugs.
8648
8649 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8650
8651         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8652         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8653         * sysdeps/i386/i686/multiarch/strcat.S: New file.
8654         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8655         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8656         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8657         * sysdeps/i386/i686/multiarch/strncat.S: New file.
8658         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8659         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8660
8661         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8662         (USE_AS_STRCAT): Define.
8663         Add strcat and strncat support.
8664         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8665
8666 2011-07-25  Andreas Schwab  <schwab@redhat.com>
8667
8668         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8669         __n bigger than INT_MAX+1.
8670         (__strncmp_g): Likewise.
8671
8672 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
8673
8674         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8675         * libio/stido.h: Likewise.
8676
8677         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8678         (AF_NFC): Define.
8679         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8680         (AF_NFC): Define.
8681
8682         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8683         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8684         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8685         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8686         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8687
8688         [BZ #13021]
8689         * scripts/test-installation.pl: Don't expect libnss_test1 to be
8690         installed.
8691
8692         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8693         typo.
8694         (_dl_x86_64_save_sse): Likewise.
8695
8696 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
8697
8698         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8699         OSXSAVE.
8700         (_dl_x86_64_save_sse): Likewise.
8701
8702         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8703
8704         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8705
8706 2011-07-21  Andreas Schwab  <schwab@redhat.com>
8707
8708         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8709         change.
8710         (_dl_x86_64_save_sse): Use correct AVX check.
8711
8712 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8713
8714         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8715         bug in strncpy/strncat.
8716         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8717
8718 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
8719
8720         * string/tester.c (test_strcat): Add tests for different alignments
8721         of source and destination.
8722         (test_strncat): Likewise.
8723
8724 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8725
8726         [BZ #12852]
8727         * posix/glob.c (glob): Check passed in values before using them in
8728         expressions to avoid some overflows.
8729         (glob_in_dir): Likewise.
8730
8731         [BZ #13007]
8732         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8733         check for AVX enablement so that we don't crash with old kernels and
8734         new hardware.
8735         * elf/tst-audit4.c: Add same checks here.
8736         * elf/tst-audit6.c: Likewise.
8737
8738         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8739
8740 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
8741
8742         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8743
8744 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
8745
8746         * po/cs.po: Update from translation team.
8747         * po/bg.po: Likewise.
8748
8749 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
8750
8751         * misc/sys/cdefs.h: Add support for const attribute.
8752         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8753         to gnu_dev_{major,minor,makedev} functions.
8754
8755 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
8756
8757         * intl/dcigettext.c (get_output_charset): Add missing bracket.
8758
8759 2011-07-20  Andreas Schwab  <schwab@redhat.com>
8760
8761         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8762         strlen results.
8763
8764 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8765
8766         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8767         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8768         register in order to avoid conflicts with the soft frame pointer
8769         being held in r11 when necessary.
8770         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8771         (INTERNAL_VSYSCALL_NCS): Likewise.
8772
8773 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
8774
8775         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8776         * elf/dl-fini.c (_dl_fini): Adjust caller.
8777         * elf/dl-close.c (_dl_close_worker): Likewise.
8778         * sysdeps/generic/ldsodefs.h: Adjust declaration.
8779
8780 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8781
8782         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8783         "aux_cache->nlibs < 0".
8784
8785         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8786         in the reload-count case.
8787
8788 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8789
8790         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8791         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8792         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8793         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8794         * sysdeps/x86_64/multiarch/strcat.S: New file.
8795         * sysdeps/x86_64/multiarch/strncat.S: New file.
8796         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8797         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8798         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8799         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8800         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8801         (USE_AS_STRCAT): Define.
8802         Add strcat and strncat support.
8803         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8804         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8805         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8806         * string/strncat.c: Update.
8807         (USE_AS_STRNCAT): Define.
8808         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8809         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8810         and i7.
8811         * sysdeps/x86_64/multiarch/init-arch.h
8812         (bit_Prefer_PMINUB_for_stringop): New.
8813         (index_Prefer_PMINUB_for_stringop): Likewise.
8814         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8815         bit_Prefer_PMINUB_for_stringop.
8816
8817 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8818
8819         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8820         buffer64.
8821         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8822         of casting of buffer.
8823         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8824         buffer32 and buffer64.
8825         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8826         writes instead of casting of buffer.
8827         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8828         buffer32.
8829         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8830         casting of buffer.
8831
8832 2011-07-19  Andreas Schwab  <schwab@redhat.com>
8833
8834         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8835
8836 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
8837
8838         * nscd/nscd.c (termination_handler): Don't do anything for a database
8839         if it has not yet been initialized.
8840
8841 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8842
8843         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8844
8845 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
8846
8847         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8848
8849 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
8850
8851         * po/nl.po: Update from translation team.
8852         * po/sv.po: Likewise.
8853
8854 2011-07-16  Roland McGrath  <roland@hack.frob.com>
8855
8856         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8857         now disallowed by GCC.
8858
8859         * configure.in (use-default-link): Default to yes if a test -shared
8860         link meets our qualifications.
8861         * configure: Regenerated.
8862
8863         * config.make.in (output-format): New variable.
8864         * configure.in: Check for ld --print-output-format support.
8865         * configure: Regenerated.
8866         * Makerules ($(common-objpfx)format.lds)
8867         [$(output-format) != unknown]: Just use $(output-format),
8868         instead of the linker-script munging.
8869
8870 2011-07-14  Roland McGrath  <roland@hack.frob.com>
8871
8872         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8873         of $(common-objpfx)shlib.lds.
8874         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8875
8876         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8877         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8878
8879         * configure.in (-z relro check): Adjust test code to add a large
8880         writable data section after it.
8881         * configure: Regenerated.
8882
8883 2011-07-11  Roland McGrath  <roland@hack.frob.com>
8884
8885         * configure.in (-z relro check): Fix test code to make the variable
8886         truly const.
8887         * configure: Regenerated.
8888
8889 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
8890
8891         * nscd/nscd.h (struct traced_file): Define.
8892         (struct database_dyn): Remove inotify_descr, reset_res, and filename
8893         elements.  Add traced_files.
8894         (inotify_fd): Declare.
8895         (register_traced_file): Declare.
8896         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8897         (inotify_fd): Export.
8898         (resolv_conf_descr): Remove.
8899         (nscd_init): Move inotify descriptor creation to main.
8900         Don't register files for notification here.
8901         (register_traced_file): New function.
8902         (invalidate_cache): Don't use reset_res to determine whether to call
8903         res_init, go through the list of registered files.
8904         (main_loop_poll): The inotify descriptors are now stored in the
8905         structures for the traced files.
8906         (main_loop_epoll): Likewise
8907         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
8908         to __nss_disable_nscd.
8909         * nscd/cache.c (prune_cache): There is no single inotify descriptor
8910         for a database anymore.  Check the records for all the registered
8911         files instead.
8912         * nss/Makefile (libnss_files-routines): Add files-init.
8913         (libnss_db-routines): Add db-init.
8914         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8915         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8916         * nss/nss_db/db-init.c: New file.
8917         * nss/nss_files/files-init.c: New file.
8918         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
8919         __nss_lookup_function.
8920         (__nss_lookup_function): Call nss_load_library.
8921         (nss_load_all_libraries): New function.
8922         (__nss_disable_nscd): Take parameter with callback function for files
8923         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
8924         used for the cached services.
8925         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8926         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8927         options for features to all the files in nscd.
8928
8929         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8930
8931 2011-07-10  Roland McGrath  <roland@hack.frob.com>
8932
8933         * csu/elf-init.c (__libc_csu_init): Comment typo.
8934
8935 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
8936
8937         * po/pl.po: Update from translation team.
8938         * po/ja.po: Likewise.
8939         * po/ru.po: Likewise.
8940         * po/ko.po: Likewise.
8941         * po/fr.po: Likewise.
8942
8943 2011-07-09  Roland McGrath  <roland@hack.frob.com>
8944
8945         * configure.in (.ctors/.dtors header and trailer check):
8946         Use an empirical test on a built program.
8947         * configure: Regenerated.
8948
8949         * configure.in (-z relro check): Use an empirical test on a built DSO.
8950         Detect, but do not require, on ia64.
8951         * configure: Regenerated.
8952
8953         * configure.in (READELF): Find it with AC_CHECK_TOOL.
8954         Update tests that use readelf to use $READELF instead.
8955         * configure: Regenerated.
8956
8957 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
8958
8959         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8960         if the result is not used.
8961
8962 2011-07-05  Andreas Jaeger  <aj@suse.de>
8963
8964         [BZ#9696]
8965         * stdlib/tst-strtod.c: Add testcase.
8966
8967 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
8968
8969         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8970         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8971         The latter has a higher limit.  Take additional parameter to pass to
8972         the new function.
8973         (__pathconf): Pass file to __statfs_link_max.
8974         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8975         __statfs_link_max.
8976         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8977         __statfs_link_max.
8978
8979         [BZ #12868]
8980         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8981         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8982         Handle Lustre.
8983         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8984         (__statfs_filesize_max): Likewise.
8985         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8986
8987 2011-07-05  Andreas Jaeger  <aj@suse.de>
8988
8989         * resolv/res_comp.c (dn_skipname): Remove unused variable.
8990
8991 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
8992
8993         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8994         `status' variable.
8995         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8996         Likewise.
8997
8998 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
8999
9000         * Makefile (strop-tests): Add strncat.
9001         * string/test-strncat.c: New file.
9002
9003 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
9004
9005         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9006
9007 2011-06-21  Andreas Jaeger  <aj@suse.de>
9008
9009         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9010         Copy rule from iconvdata/Makefile.
9011
9012 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
9013
9014         [BZ #12922]
9015         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9016         but no long options are defined, just return 'W'.
9017
9018 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
9019
9020         [BZ #9696]
9021         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9022
9023 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
9024
9025         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9026         netgroups to read.
9027         (innetgr): Likewise.
9028
9029 2011-07-05  Roland McGrath  <roland@hack.frob.com>
9030
9031         * config.make.in (install_root): Default to $(DESTDIR).
9032
9033 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
9034
9035         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9036
9037 2011-07-02  Roland McGrath  <roland@hack.frob.com>
9038
9039         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9040
9041         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9042         containing directory rather than embedding absolute directory names.
9043
9044         * scripts/check-local-headers.sh: Rewritten using awk.
9045         Match by word, not by line.  Print error messages for matches.
9046         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9047
9048         * Makerules [shlib-lds-flags empty]:
9049         ($(common-objpfx)libc_pic.opts): New target.
9050         ($(common-objpfx)libc_pic.os.clean): New target.
9051         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9052
9053         * config.make.in (OBJCOPY): New variable.
9054         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9055         * configure: Regenerated.
9056
9057         * config.make.in (use-default-link): New variable.
9058         * configure.in (use_default_link): Grok --with-default-link to set it.
9059         * configure: Regenerated.
9060         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9061         (shlib-lds, shlib-lds-flags): Define to empty.
9062
9063         * Makerules (shlib-lds): New variable.
9064         (shlib-lds-flags): New variable.
9065         (build-shlib, build-moduile, build-module-asneeded): Use it.
9066         ($(common-objpfx)libc.so): Use $(shlib-lds).
9067         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9068         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9069
9070         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9071         DT_FLAGS/DT_FLAGS_1 with zero flags.
9072
9073         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9074         linker script munging.
9075
9076 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
9077
9078         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9079         as 128-bit value.
9080         * crypt/sha512.c (sha512_process_block): Perform total addition using
9081         128-bit if possible.
9082         (__sha512_finish_ctx): Likewise.
9083         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9084         as 64-bit value.
9085         * crypt/sha256.c (SWAP64): Define.
9086         (sha256_process_block): Perform total addition using 64-bit if
9087         possible.
9088         (__sha256_finish_ctx): Likewise.
9089
9090 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
9091
9092         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
9093         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9094         * nscd/hstcache.c (cache_addhst): Likewise.
9095         * nscd/grpcache.c (cache_addgr): Likewise.
9096         * nscd/aicache.c (addhstaiX): Likewise
9097         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9098
9099 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
9100
9101         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9102         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9103         * nscd/hstcache.c (cache_addhst): Likewise.
9104         * nscd/grpcache.c (cache_addgr): Likewise.
9105         * nscd/aicache.c (addhstaiX): Likewise
9106
9107 2011-07-01  Andreas Schwab  <schwab@redhat.com>
9108
9109         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9110         domain only when needed.
9111
9112 2011-06-30  Andreas Schwab  <schwab@redhat.com>
9113
9114         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9115         is always restored.
9116
9117 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
9118
9119         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9120         are re-adding the entry.
9121         * nscd/servicescache.c (cache_addserv): Likewise.
9122
9123 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
9124
9125         * sysdeps/generic/dl-irel.h: fix protection against multiple
9126         inclusions.
9127         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9128
9129 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
9130
9131         [BZ #12935]
9132         * malloc/memusage.sh: Fix quoting in message.
9133         * debug/xtrace.sh: Likewise.
9134
9135         * configure.in: Remove support for --experimental-malloc option, make
9136         it the default.
9137         * config.make.in: Likewise.
9138         * malloc/Makefile: Likewise.
9139
9140 2011-06-27  Andreas Schwab  <schwab@redhat.com>
9141
9142         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9143         two-byte characters.
9144
9145 2011-06-27  Roland McGrath  <roland@hack.frob.com>
9146
9147         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9148         AC_CACHE_CHECK invocation.
9149         * configure: Regenerated.
9150
9151         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9152
9153 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
9154
9155         [BZ #12350]
9156         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
9157         bit from old_res_options.
9158
9159         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9160
9161         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9162         value type for setfct.
9163
9164 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
9165
9166         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9167         __gettimeofday instead of gettimeofday.
9168
9169 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
9170
9171         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9172
9173 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9174
9175         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9176
9177         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9178         info.
9179
9180 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
9181
9182         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9183         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9184         strcpy-sse2-unaligned strncpy-sse2-unaligned
9185         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9186         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9187         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9188         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9189         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9190         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9191         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9192         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9193         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9194         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9195         (STRCPY): Support SSE2 and SSSE3 versions.
9196
9197 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
9198
9199         [BZ #12874]
9200         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9201         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9202         kernels which artificially limit size of requests.
9203
9204 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
9205
9206         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9207         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9208         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9209         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9210         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9211         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9212         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9213         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9214         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9215         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9216         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9217         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9218         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9219         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9220         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9221         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9222         Enable unaligned load optimization for Intel Core i3, i5 and i7
9223         processors.
9224         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9225         Define.
9226         (index_Fast_Unaligned_Load): Define.
9227         (HAS_FAST_UNALIGNED_LOAD): Define.
9228
9229 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
9230
9231         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9232
9233 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
9234
9235         [BZ #12907]
9236         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9237         until it is clear that the information is realy needed.
9238         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9239
9240 2011-06-22  Andreas Schwab  <schwab@redhat.com>
9241
9242         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9243
9244 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
9245
9246         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9247         /sys/devices/system/cpu/online if it is usable.
9248
9249         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9250         reading the information from the /proc filesystem to once a second.
9251
9252 2011-06-21  Andreas Jaeger  <aj@suse.de>
9253
9254         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9255         NULL after inclusion of kernel headers.
9256
9257 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
9258
9259         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9260         calls to internal_setent.
9261
9262         [BZ #12885]
9263         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9264         addresses using gethostbyname4_r ignore IPv4 addresses.
9265
9266         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9267         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
9268
9269         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9270
9271 2011-06-20  David S. Miller  <davem@davemloft.net>
9272
9273         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9274         inclusions.
9275         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9276
9277         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9278         (elf_irel): Use it.
9279         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9280         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9281         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9282         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9283         * sysdeps/x86_64/dl-irel.h: Likewise.
9284
9285         * elf/dl-runtime.c: Use elf_ifunc_invoke.
9286         * elf/dl-sym.c: Likewise.
9287
9288 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
9289
9290         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
9291         need to dereference resplen2.
9292
9293 2011-06-14  Andreas Schwab  <schwab@redhat.com>
9294
9295         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9296
9297 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
9298
9299         * Makeconfig: Define vardbdir and inst_vardbdir.
9300         * nss/Makefile: Add rules to install db-Makefile.
9301
9302         * nss/nss_db/db-XXX.c: Cleanup.
9303
9304         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9305         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9306         GLIBC_PRIVATE.
9307         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9308         * nss/makedb.c: Implement -g option to specify that value strings
9309         are generated and should not be added to table iterated over for
9310         get*ent calls.
9311         * nss/nss_db/db-initgroups.c: New file.
9312
9313         * nss/getent.c: Add support for initgroups lookups through getgrouplist
9314         interface.
9315
9316         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9317         (internal_getgrouplist): Adjust to name change.
9318         Update use_initgroups_entry if this is not the first call.
9319         * nss/databases.def: Add initgroups entry.
9320
9321         * nss/makedb.c (compute_tables): Check result of multiple hash table
9322         sizes to minimize maximum chain length.
9323
9324 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
9325
9326         * Versions.def: Add entry for libnss_db.
9327         * shlib-versions: Likewise.
9328         * nss/Makefile: Add rules to build libnss_db.
9329         * nss/Versions: Add libnss_db information.  Organize libnss_files
9330         entries better.
9331         * nss/db-Makefile: Add gshadow support.  Change rules for the new
9332         makedb progra.  Some minor improvements to generate smaller files.
9333         * nss/nss_db/nss_db.h: Move NSS database header data structures to
9334         here from...
9335         * nss/makedb.c: ...here.
9336         Improve database format to be smaller and require less memory at
9337         runtime.
9338         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
9339         db anymore.
9340         * nss/nss_db/db-netgrp.c: Likewise.
9341         * nss/nss_db/db-open.c: Likewise.
9342         * nss/nss_files/flies-XXX.x: Adjust comments.
9343         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9344         * nss/nss_files/files-grp.c: Likewise.
9345         * nss/nss_files/files-hosts.c: Likewise.
9346         * nss/nss_files/files-network.c: Likewise.
9347         * nss/nss_files/files-proto.c: Likewise.
9348         * nss/nss_files/files-pwd.c: Likewise.
9349         * nss/nss_files/files-rpc.c: Likewise.
9350         * nss/nss_files/files-service.c: Likewise.
9351         * nss/nss_files/files-sgrp.c: Likewise.
9352         * nss/nss_files/files-spwd.c: Likewise.
9353         * nss/nss_db/db-alias.c: Removed.
9354         * nss/nss_db/dummy-db.h: Removed.
9355
9356 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
9357
9358         * nss/makedb.c: Rewritten to not use database library.
9359         * nss/Makefile: Update to build new makedb program.
9360
9361 2011-06-14  Andreas Jaeger  <aj@suse.de>
9362
9363         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9364         memset declaration.
9365
9366 2011-06-10  Andreas Schwab  <schwab@redhat.com>
9367
9368         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9369         tmpbuf.
9370
9371 2011-06-10  Roland McGrath  <roland@hack.frob.com>
9372
9373         * Makerules (shlib.lds): Fail if the linker script comes out empty.
9374         * elf/Makefile ($(objpfx)ld.so): Likewise.
9375
9376         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9377         Don't list ld.so twice in dependencies.
9378
9379         * posix/bug-regex31.c: Include <stdlib.h>.
9380
9381         * nscd/hstcache.c (cache_addhst): Remove unused variable.
9382
9383         * nis/nss_compat/compat-spwd.c
9384         (getspent_next_nss_netgr): Remove unused variable.
9385         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9386
9387         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9388         nonmembers" output to use the right array.
9389
9390         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9391
9392         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9393
9394         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9395         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9396         * catgets/gencat.c (read_input_file): Likewise.
9397         * locale/programs/locarchive.c (enlarge_archive): Likewise.
9398
9399         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9400         variable definition inside #if's controlling its use.
9401
9402         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9403
9404         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9405
9406         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9407
9408         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9409         unreachable code.
9410
9411         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9412
9413         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9414         * configure: Regenerated.
9415
9416         * Makerules: Revert last change.
9417         * elf/Makefile: Likewise.
9418
9419 2011-06-09  Roland McGrath  <roland@hack.frob.com>
9420
9421         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9422         * elf/Makefile ($(objpfx)librtld.os): Likewise.
9423         (reloc-link): Likewise.
9424
9425 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
9426
9427         * elf/Makefile: Add rules to build pldd.
9428         * elf/pldd.c: New file.
9429         * elf/pldd-xx.c: New file.
9430
9431 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
9432
9433         * version.h: Update for 2.15 development version.
9434
9435 2011-06-07  David S. Miller  <davem@davemloft.net>
9436
9437         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9438         ifuncs.
9439         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9440         elf_machine_lazy_rel): Likewise.
9441         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9442         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9443         elf_machine_lazy_rel): Likewise.
9444         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9445         dl_hwcap via passed in argument.
9446         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9447         Likewise.
9448
9449 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9450
9451         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
9452
9453 2011-06-06  Roland McGrath  <roland@hack.frob.com>
9454
9455         [BZ #12849]
9456         * manual/fdl-1.1.texi: New file, verbatim from:
9457         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9458         * manual/lgpl-2.1.texi: New file, verbatim from:
9459         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9460         * manual/Makefile (licenses): New variable, list those new file names.
9461         (texis): Use it.
9462         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9463
9464         * manual/fdl.texi: File removed.
9465         * manual/lesser.texi: File removed.
9466         * manual/libc.texinfo (Copying, Documentation License):
9467         Use new @include file names, put @appendix directive before @include.
9468
9469 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
9470
9471         [BZ #12841]
9472         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9473         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9474         (mq_open): Add __NTH.
9475
9476 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
9477
9478         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9479         Assume Intel Core i3/i5/i7 processor if AVX is available.
9480
9481 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
9482
9483         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9484         typo.
9485
9486 2011-05-31  Andreas Schwab  <schwab@redhat.com>
9487
9488         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9489         memory.  Use alloca_account.  Fix memory leak when retrying.
9490
9491 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
9492
9493         * version.h (RELEASE): Bump for 2.14 release.
9494         * include/features.h (__GLIBC_MINOR__): Bump to 14.
9495
9496         * config.make.in (RANLIB): Remove entry.
9497
9498 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
9499
9500         * po/Makefile (po-sed-cmd): Add ksh to extensions.
9501         (libc.pot): Work around missing support for .ksh extension in xgettext.
9502
9503         [BZ #12684]
9504         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9505         if both request failed.
9506         (send_dg): In case of server errors clear resplen or *resplen2.
9507
9508         [BZ #12454]
9509         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9510         when there are multiple maps.
9511         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9512         (_dl_fini): Remove test here.
9513
9514         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9515
9516 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
9517
9518         [BZ #12350]
9519         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9520         bit from old_res_options.
9521         (gaih_inet): Likewise.
9522
9523         [BZ #11099]
9524         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9525         as signed.
9526
9527         * resolv/res_init.c (res_setoptions): Make the code more compact.
9528
9529         [BZ #11558]
9530         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9531         set RES_USEVC.
9532
9533         [BZ #11634]
9534         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9535
9536         * malloc/malloc.h: Mark malloc hook variables as deprecated.
9537
9538         [BZ #11781]
9539         * malloc/malloc.h: Declare malloc hook variables as volatile.
9540
9541         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9542         in last patch.
9543
9544         [BZ #11799]
9545         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9546         raise in the comment.
9547         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9548         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9549         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9550
9551 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
9552
9553         [BZ #12811]
9554         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9555         grow the buffers more if it already has to be sufficient.
9556         (build_wcs_upper_buffer): Likewise.
9557         * posix/regexec.c (check_matching): Likewise.
9558         (clean_state_log_if_needed): Likewise.
9559         (extend_buffers): Don't enlarge buffers beyond size of the input
9560         buffer.
9561         Patches mostly by Emil Wojak <emil@wojak.eu>.
9562         * posix/bug-regex32.c: New file.
9563         * posix/Makefile (tests): Add bug-regex32.
9564
9565         * locale/findlocale.c (_nl_find_locale): Return right away if
9566         _nl_explode_name failed.
9567         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9568
9569         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9570
9571         * debug/xtrace.sh: Unify messages.
9572         * malloc/memusage.sh: Likewise.
9573
9574         [BZ #12813]
9575         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9576         time symbol from vDSO.  Substitute with vsyscall if not available.
9577         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9578         __vdso_time.
9579
9580         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9581         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9582         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9583         Add sendmmsg and internal_sendmmsg.
9584         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9585         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9586         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9587
9588         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9589         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9590         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9591
9592 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
9593
9594         [BZ #12813]
9595         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9596         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
9597         available.
9598         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9599         __vdso_getcpu.
9600
9601         [BZ #12814]
9602         * iconvdata/Makefile (tests): Add bug-iconv9.
9603         * iconvdata/bug-iconv9.c: New file.
9604
9605 2011-05-27  Andreas Schwab  <schwab@redhat.com>
9606
9607         [BZ #12814]
9608         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9609
9610 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
9611
9612         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9613         (struct user_regs_struct): Change intcs field back to cs.
9614
9615 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
9616
9617         * po/ja.po: Update from translation team.
9618
9619 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
9620
9621         [BZ #12795]
9622         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9623         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9624
9625 2011-05-20  Andreas Schwab  <schwab@redhat.com>
9626
9627         * stdlib/longlong.h: Update from GCC.
9628
9629 2011-05-23  Andreas Schwab  <schwab@redhat.com>
9630
9631         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9632         parameter name.
9633         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9634         Add parameter name.
9635         (__sysconf): Pass it down.
9636
9637 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
9638
9639         [BZ #12671]
9640         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9641         some situations.
9642         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9643         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9644         add in in __libc_use_alloca calls.  Adjust callers.
9645         (glob): Use malloc in some situations.
9646
9647         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9648         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9649         pltexit.
9650
9651 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
9652
9653         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9654         and CLOCK_BOOTTIME_ALARM.
9655
9656         [BZ #12782]
9657         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9658         is returned.
9659
9660         * string/_strerror.c (__strerror_r): Print negative errors as signed
9661         numbers.
9662
9663         [BZ #12777]
9664         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9665         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9666         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9667
9668         * configure.in: Fix typo in redirection and correct removal of test
9669         files in two cases.
9670
9671         [BZ #12788]
9672         * locale/setlocale.c (new_composite_name): Fix test to check for
9673         identical name of all categories.
9674
9675         [BZ #12792]
9676         * libio/filedoalloc.c (local_isatty): New function.
9677         (_IO_file_doallocate): Use local_isatty.
9678         * stdio-common/perror.c (perror): In case a new stream is used
9679         forward the stream error.
9680         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9681         error flag.
9682
9683 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
9684
9685         [BZ #11869]
9686         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9687         alloca.
9688         * include/alloca.h (extend_alloca_account): Define.
9689
9690         [BZ #11857]
9691         * posix/regex.h: Fix comments with documentation of user-accessible
9692         fields after compilation and describe correct free'ing of pattern
9693         after re_compile_pattern.
9694         Patch by Reuben Thomas <rrt@sc3d.org>.
9695
9696 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
9697
9698         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9699         and -mno-altivec to prevent the compiler from using Altivec and/or
9700         VSX instructions when the corresponding registers are not available.
9701
9702 2011-05-19  Andreas Schwab  <schwab@redhat.com>
9703
9704         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9705
9706 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
9707
9708         * libio/freopen.c (freopen): Use __dup2, not dup2.
9709         * libio/freopen64.c (freopen64): Likewise.
9710
9711 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9712
9713         [BZ #12775]
9714         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9715         * math/Makefile (tests): Add test-powl.
9716         (CFLAGS-test-powl.c): Define.
9717         * math/test-powl.c: New file.
9718
9719 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9720
9721         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9722
9723 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
9724
9725         [BZ #11837]
9726         * iconvdata/gb18030.c: Update to GB18020-2005.
9727
9728 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
9729
9730         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9731         RE_SYNTAX_POSIX_AWK): Update to match recent development.
9732         Patch by Aharon Robbins <arnold@skeeve.com>.
9733
9734         [BZ #11892]
9735         * stdlib/putenv.c (putenv): Don't always create copy of the variable
9736         on the stack.
9737
9738         [BZ #11895]
9739         * misc/pselect.c (__pselect): Handle timeout value errors hidden
9740         through underflows.
9741
9742         [BZ #12766]
9743         * misc/error.c (error_at_line): Ensure file_name and old_file_name
9744         point to strings before performing equality test for error_one_per_line
9745         mode.
9746
9747         [BZ #11697]
9748         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9749
9750         [BZ #11820]
9751         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9752         (struct user_fpregs_struct): Avoid __uint*_t types.
9753
9754         [BZ #6420]
9755         * malloc/mtrace.c (tr_where): Add additional parameter to point to
9756         symbol info.  Use it instead of calling _dl_addr locally.
9757         (lock_and_info): New function.
9758         (tr_freehook): Call lock_and_info and pass symbol info as additional
9759         parameter to tr_where.
9760         (tr_mallochook): Likewise.
9761         (tr_reallochook): Likewise.
9762         (tr_memalignhook): Likewise.
9763
9764         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
9765         used and couldn't be at all thread-safe.
9766
9767 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
9768
9769         * libio/freopen.c (freopen): Don't close old file descriptor
9770         before the new one is opened.  Instead dup the new file descriptor
9771         to the old one after the new stream is created.
9772         * libio/freopen64.c (freopen64): Likewise.
9773         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9774         * libio/fileops.c (_IO_new_file_close_it): Handle new
9775         _IO_FLAGS2_NOCLOSE flag.
9776         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9777         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9778         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9779         _IO_FLAGS2_NOCLOSE flag.
9780         * include/unistd.h: Add hidden_proto for dup3.
9781         Define __have_dup3.
9782         * io/dup3.c: Define hidden symbol.
9783         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9784
9785         [BZ #7101]
9786         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9787         when an incomplete long option is used.
9788         * posix/tst-getopt_long1.c: New file.
9789         * posix/Makefile (tests): Add tst-getopt_long1.
9790
9791         [BZ #10138]
9792         * scripts/config.guess: Update from autoconf-2.68.
9793         * scripts/config.sub: Likewise.
9794
9795         [BZ #10157]
9796         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9797         tests into ...
9798         (has_cpuclock): ...this.  New function.
9799         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9800         macro here based on has_cpuclock code.
9801
9802         [BZ #10149]
9803         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9804         First byte (not low byte) is now always NUL.
9805         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9806
9807         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9808         Use non-cancelable interfaces.
9809
9810         [BZ #9809]
9811         * locale/iso-639.def: Add entry for Sorani.
9812
9813         [BZ #11901]
9814         * include/stdlib.h: Move include protection to the right place.
9815         Define abort_msg_s.  Declare __abort_msg with it.
9816         * stdlib/abort.c (__abort_msg): Adjust type.
9817         * assert/assert.c (__assert_fail_base): New function.  Majority
9818         of code from __assert_fail.  Allocate memory for __abort_msg with
9819         mmap.
9820         (__assert_fail): Now call __assert_fail_base.
9821         * assert/assert-perr.c: Remove bulk of implementation.  Use
9822         __assert_fail_base.
9823         * include/assert.hL Declare __assert_fail_base.
9824         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9825         mmap.
9826         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9827
9828 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
9829
9830         [BZ #11952]
9831         [BZ #12453]
9832         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9833         until all modules are registered in the DTV.
9834         * elf/Makefile: Add rules to build and run tst-tls19.
9835         * elf/tst-tls19.c: New file.
9836         * elf/tst-tls19mod1.c: New file.
9837         * elf/tst-tls19mod2.c: New file.
9838         * elf/tst-tls19mod3.c: New file.
9839         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9840
9841         [BZ #12083]
9842         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9843         correctly.
9844
9845         [BZ #12601]
9846         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9847         two-byte sequence errors.
9848         * iconvdata/Makefile (tests): Add bug-iconv8.
9849         * iconvdata/bug-iconv8.c: New file.
9850
9851         [BZ #12626]
9852         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9853         buf2 definition.
9854
9855         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9856
9857         [BZ #12432]
9858         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9859         (dummy_getcfa): New function.
9860         (init): Get _Unwind_GetCFA address, use dummy if not found.
9861         (backtrace_helper): In recursion check, also check whether CFA changes.
9862         (__backtrace): Completely initialize arg.
9863
9864         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9865         storing incomplete byte sequence in state object.  Avoid testing for
9866         guaranteed too small input if we know there is enough data available.
9867
9868 2011-05-11  Andreas Schwab  <schwab@redhat.com>
9869
9870         * Makeconfig (+link-pie): Indent.
9871         * Rules (binaries-pie): Define if $(have-fpie) and
9872         $(build-shared).
9873         (binaries-shared): Also filter out $(binaries-pie).
9874         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9875         * nscd/Makefile (others-pie): Add nscd.
9876         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9877         ($(objpfx)nscd): Remove command override.
9878         * login/Makefile (others-pie): Add pt_chown.
9879         ($(objpfx)pt_chown): Remove command override.
9880         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9881         remove command overrides.
9882
9883 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
9884
9885         * libio/tst_putwc.c: Fix error messages.
9886
9887         [BZ #12724]
9888         * libio/fileops.c (_IO_new_file_close_it): Always flush when
9889         currently writing and seek to current position when not.
9890         * libio/Makefile (tests): Add bug-fclose1.
9891         * libio/bug-fclose1.c: New file.
9892
9893 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
9894
9895         [BZ #12511]
9896         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9897         don't set DF_1_NODELETE here.
9898         (do_lookup_x): When entering new entry test for copy relocation
9899         and if necessary set DF_1_NODELETE flag.
9900         * elf/tst-unique4.cc: New file.
9901         * elf/tst-unique4.h: New file.
9902         * elf/tst-unique4lib.cc: New file.
9903         * elf/Makefile: Add rules to build and run tst-unique4.
9904         Patch by Piotr Bury <pbury@goahead.com>.
9905
9906 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
9907
9908         [BZ #12052]
9909         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9910
9911         [BZ #12625]
9912         * misc/mntent_r.c (addmntent): Flush the stream after the output
9913
9914         [BZ #12393]
9915         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9916         (is_trusted_path_normalize): Skip initial colon.  Append slash
9917         to empty buffer.  Duplicate is_trusted_path code but allow
9918         constructed patch to be prefix.
9919         (is_dst): Allow $ORIGIN followed by /.
9920         (_dl_dst_substitute): Correct clearing of check_for_trusted.
9921         Correct testing of result of is_trusted_path_normalize
9922         (decompose_rpath): Fix warning.
9923
9924 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
9925
9926         [BZ #11257]
9927         * grp/initgroups.c (internal_getgrouplist): When we found the service
9928         list through the initgroups entry in nsswitch.conf do not always
9929         continue on a successful lookup.  Don't always use the
9930         __nss_group_database value if it is set.
9931         * nss/nsswitch.conf (initgroups): Change action for successful db
9932         lookup to continue for compatibility.
9933
9934 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
9935
9936         [BZ #11532]
9937         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9938         and CP774 modules.
9939         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9940         and CP774 modules.
9941         * iconvdata/tst-tables.sh: Likewise.
9942         * iconvdata/cp770.c: New file.
9943         * iconvdata/cp771.c: New file.
9944         * iconvdata/cp772.c: New file.
9945         * iconvdata/cp773.c: New file.
9946         * iconvdata/cp774.c: New file.
9947         * iconvdata/testdata/CP770: New file.
9948         * iconvdata/testdata/CP770..UTF8: New file.
9949         * iconvdata/testdata/CP771: New file.
9950         * iconvdata/testdata/CP771..UTF8: New file.
9951         * iconvdata/testdata/CP772: New file.
9952         * iconvdata/testdata/CP772..UTF8: New file.
9953         * iconvdata/testdata/CP773: New file.
9954         * iconvdata/testdata/CP773..UTF8: New file.
9955         * iconvdata/testdata/CP774: New file.
9956         * iconvdata/testdata/CP774..UTF8: New file.
9957
9958         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9959         END CHARMAP line.
9960         * iconvdata/gen-8bit-gap.sh: Likewise.
9961         * iconvdata/gen-8bit.sh: Likewise.
9962
9963         * locale/iso-639.def: Add ary entry.
9964
9965         [BZ #11258]
9966         * locale/C-translit.h.in: Add U20A1 transliteration.
9967
9968         [BZ #12178]
9969         * locale/iso-639.def: Add wae entry.
9970         Patch by Kevin Bortis <bortis@translate-wae.ch>.
9971
9972         [BZ #12545]
9973         * locale/programs/localedef.c (construct_output_path): Use ssize_t
9974         for n.
9975
9976         [BZ #12711]
9977         * locale/C-translit.h.in: Add entry for U20B9.
9978         Patch by pravin.d.s@gmail.com.
9979
9980 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
9981
9982         [BZ #12713]
9983         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9984         ENAMETOOLONG use generic getcwd.
9985         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
9986         in rtld.  Use *stat64.
9987         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9988         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9989         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9990         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9991         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9992         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9993         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9994         __fstatat64 macros.
9995         * include/dirent.h: Add libc_hidden_proto for rewinddir.
9996         * dirent/rewinddir.c: Add libc_hidden_def.
9997         * sysdeps/mach/hurd/rewinddir.c: Likewise.
9998         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
9999
10000         * include/dirent.h (__alloc_dir): Add flags parameter.
10001         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10002         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10003         __alloc_dir.
10004         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
10005         from fdopendir if O_CLOEXEC is already set.
10006
10007 2011-03-15  Alan Modra  <amodra@gmail.com>
10008
10009         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10010         l_tls_firstbyte_offset non-zero.  Save padding offset in
10011         l_tls_firstbyte_offset for later use.
10012         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10013         freeing static tls block.
10014
10015 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
10016
10017         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10018         where #ifdef was intended.  The intent is to prevent ARG_MAX from
10019         being defined by the kernel headers.
10020
10021 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
10022
10023         [BZ #12734]
10024         * resolv/resolv.h: Define RES_NOTLDQUERY.
10025         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10026         no-tld-query and set RES_NOTLDQUERY.
10027         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10028         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10029         modern BIND to search name as TLD unless forbidden.
10030
10031 2011-05-07  Petr Baudis  <pasky@suse.cz>
10032             Ulrich Drepper  <drepper@gmail.com>
10033
10034         [BZ #12393]
10035         * elf/dl-load.c (fillin_rpath): Move trusted path check...
10036         (is_trusted_path): ...to here.
10037         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
10038         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
10039         using is_trusted_path_normalize() in setuid scripts.
10040
10041 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10042
10043         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10044         __BEGIN/__END_DECLS.
10045
10046 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
10047
10048         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10049         NSS_STATUS_NOTFOUND if no record was found.
10050
10051 2011-05-05  Andreas Schwab  <schwab@redhat.com>
10052
10053         * sunrpc/Makefile (headers): Add rpc/netdb.h.
10054         (headers-not-in-tirpc): Remove rpc/netdb.h
10055         * resolv/netdb.h: Revert last change.
10056
10057 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10058
10059         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10060         circular dependency between libgcc.a and libc.a.
10061
10062 2011-05-05  Andreas Schwab  <schwab@redhat.com>
10063
10064         * resolv/netdb.h: Don't include <rpc/netdb.h>.
10065         * nis/Makefile: Don't install rpcsvc/*.
10066         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10067         instead of <rpc/types.h>.
10068         (MAXHOSTNAMELEN): Define.
10069
10070 2011-05-03  Andreas Schwab  <schwab@redhat.com>
10071
10072         * elf/ldconfig.c (add_dir): Don't crash on empty path.
10073
10074 2011-04-28  Maciej Babinski  <mbabinski@google.com>
10075
10076         [BZ #12714]
10077         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10078         gethostbyname4_r when IPv6 results are possible.
10079
10080 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
10081
10082         [BZ #12723]
10083         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10084         _PC_PIPE_BUF handling.
10085
10086 2011-04-30  Bruno Haible  <bruno@clisp.org>
10087
10088         [BZ #12717]
10089         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10090         * resolv/netdb.h (getnameinfo): Change type of flags parameter
10091         to 'int'.
10092         * inet/getnameinfo.c (getnameinfo): Likewise.
10093
10094 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
10095
10096         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10097         to groups setting in database lookup.
10098         * nss/nsswitch.conf: Add initgroups entry.
10099
10100 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
10101
10102         [BZ #12685]
10103         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10104         mode string.
10105         Patch by Eric Blake <eblake@redhat.com>.
10106
10107 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
10108
10109         * sunrpc/Makefile (need-export-routines): Add svc_run.
10110         (routines): Remove svc_run.
10111         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10112         * sunrpc/clnt_perr.c (clnt_perrno): Export.
10113         * sunrpc/svc_run.c (svc_run): Likewise.
10114         * sunrpc/svc_udp.c (svcudp_create): Likewise.
10115
10116 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
10117
10118         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10119         problem in reallocation in last patch.
10120
10121 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
10122
10123         * sunrpc/Makefile: Move inclusion of Rules.
10124
10125 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
10126
10127         * nss/nss_files/files-initgroups.c: New file.
10128         * nss/Makefile (libnss_files-routines): Add files-initgroups.
10129         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10130         _nss_files_initgroups_dyn.
10131
10132 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
10133
10134         * elf/elf.h (R_ARM_IRELATIVE): Define.
10135
10136 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
10137
10138         * po/ru.po: Update from translation team.
10139
10140 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
10141
10142         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10143         dependencies.
10144
10145 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
10146
10147         [BZ #12653]
10148         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10149         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10150         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10151         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10152         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10153
10154 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
10155
10156         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10157         differing bytes.
10158         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10159         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10160         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10161
10162 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
10163
10164         [BZ #12420]
10165         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10166         storing it.
10167         * stdlib/bug-getcontext.c: New file.
10168         * stdlib/Makefile: Add rules to build and run bug-getcontext.
10169
10170 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10171
10172         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10173         instructions into .machine "z9-109".
10174         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10175         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10176
10177 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10178
10179         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10180         between environment variables and auxiliary vector.
10181
10182 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
10183
10184         * Makefile: Add rules to build linkobj/libc.so.
10185         * include/libc-symbols.h: Define libc_hidden_nolink.
10186         * include/rpc/auth.h: Mark functions which are to be hidden.
10187         * include/rpc/auth_des.h: Likewise.
10188         * include/rpc/auth_unix.h: Likewise.
10189         * include/rpc/clnt.h: Likewise.
10190         * include/rpc/des_crypt.h: Likewise.
10191         * include/rpc/key_prot.h: Likewise.
10192         * include/rpc/pmap_clnt.h: Likewise.
10193         * include/rpc/pmap_prot.h: Likewise.
10194         * include/rpc/pmap_rmt.h: Likewise.
10195         * include/rpc/rpc_msg.h: Likewise.
10196         * include/rpc/svc.h: Likewise.
10197         * include/rpc/svc_auth.h: Likewise.
10198         * include/rpc/xdr.h: Likewise.
10199         * nis/Makefile: Link all DSOs against linkobj/libc.so.
10200         * nss/Makefile: Likewise.
10201         * sunrpc/Makefile: Don't install headers.  Build library with normal
10202         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
10203         * sunrpc/auth_des.c: Hide exported symbols by default, export some
10204         for the compat linking library.  Remove use of INTDEF/INTUSE.
10205         * sunrpc/auth_none.c: Likewise.
10206         * sunrpc/auth_unix.c: Likewise.
10207         * sunrpc/authdes_prot.c: Likewise.
10208         * sunrpc/authuxprot.c: Likewise.
10209         * sunrpc/clnt_gen.c: Likewise.
10210         * sunrpc/clnt_perr.c: Likewise.
10211         * sunrpc/clnt_raw.c: Likewise.
10212         * sunrpc/clnt_simp.c: Likewise.
10213         * sunrpc/clnt_tcp.c: Likewise.
10214         * sunrpc/clnt_udp.c: Likewise.
10215         * sunrpc/clnt_unix.c: Likewise.
10216         * sunrpc/des_crypt.c: Likewise.
10217         * sunrpc/des_soft.c: Likewise.
10218         * sunrpc/get_myaddr.c: Likewise.
10219         * sunrpc/key_call.c: Likewise.
10220         * sunrpc/key_prot.c: Likewise.
10221         * sunrpc/netname.c: Likewise.
10222         * sunrpc/pm_getmaps.c: Likewise.
10223         * sunrpc/pm_getport.c: Likewise.
10224         * sunrpc/pmap_clnt.c: Likewise.
10225         * sunrpc/pmap_prot.c: Likewise.
10226         * sunrpc/pmap_prot2.c: Likewise.
10227         * sunrpc/pmap_rmt.c: Likewise.
10228         * sunrpc/publickey.c: Likewise.
10229         * sunrpc/rpc_cmsg.c: Likewise.
10230         * sunrpc/rpc_common.c: Likewise.
10231         * sunrpc/rpc_dtable.c: Likewise.
10232         * sunrpc/rpc_prot.c: Likewise.
10233         * sunrpc/rpc_thread.c: Likewise.
10234         * sunrpc/rtime.c: Likewise.
10235         * sunrpc/svc.c: Likewise.
10236         * sunrpc/svc_auth.c: Likewise.
10237         * sunrpc/svc_authux.c: Likewise.
10238         * sunrpc/svc_raw.c: Likewise.
10239         * sunrpc/svc_run.c: Likewise.
10240         * sunrpc/svc_simple.c: Likewise.
10241         * sunrpc/svc_tcp.c: Likewise.
10242         * sunrpc/svc_udp.c: Likewise.
10243         * sunrpc/svc_unix.c: Likewise.
10244         * sunrpc/svcauth_des.c: Likewise.
10245         * sunrpc/xcrypt.c: Likewise.
10246         * sunrpc/xdr.c: Likewise.
10247         * sunrpc/xdr_array.c: Likewise.
10248         * sunrpc/xdr_float.c: Likewise.
10249         * sunrpc/xdr_intXX_t.c: Likewise.
10250         * sunrpc/xdr_mem.c: Likewise.
10251         * sunrpc/xdr_rec.c: Likewise.
10252         * sunrpc/xdr_ref.c: Likewise.
10253         * sunrpc/xdr_sizeof.c: Likewise.
10254         * sunrpc/xdr_stdio.c: Likewise.
10255
10256 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
10257
10258         [BZ #12650]
10259         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10260         * sysdeps/ia64/dl-tls.h: Likewise.
10261         * sysdeps/powerpc/dl-tls.h: Likewise.
10262         * sysdeps/s390/dl-tls.h: Likewise.
10263         * sysdeps/sh/dl-tls.h: Likewise.
10264         * sysdeps/sparc/dl-tls.h: Likewise.
10265         * sysdeps/x86_64/dl-tls.h: Likewise.
10266         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10267
10268 2011-03-14  Andreas Schwab  <schwab@redhat.com>
10269
10270         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10271         rpath element also skip the following colon.
10272         (expand_dynamic_string_token): Add is_path parameter and pass
10273         down to DL_DST_REQUIRED and _dl_dst_substitute.
10274         (decompose_rpath): Call expand_dynamic_string_token with
10275         non-zero is_path.  Ignore empty rpaths.
10276         (_dl_map_object_from_fd): Call expand_dynamic_string_token
10277         with zero is_path.
10278
10279 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
10280
10281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10282         Make cancelable.
10283
10284 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
10285
10286         [BZ #12655]
10287         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10288         Patch by Filipe David Manana <fdmanana@apache.org>.
10289
10290 2011-04-07  Andreas Schwab  <schwab@redhat.com>
10291
10292         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10293         Maintain aligned stack.
10294         (CHECK_RSP): Remove unused macro.
10295
10296 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
10297
10298         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10299         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10300
10301 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
10302
10303         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10304
10305         * include/features.h: Mention __USE_XOPEN2K8 in comment.
10306
10307 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
10308
10309         [BZ #12518]
10310         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10311         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10312         * sysdeps/x86_64/memmove.c: New file.
10313         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10314         (memcpy): Renamed to ...
10315         (__new_memcpy): This.
10316         (memcpy): Provide GLIBC_2_14 memcpy.
10317         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10318         (memcpy): Provide GLIBC_2_2_5 memcpy.
10319
10320 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10321
10322         [BZ #12631]
10323         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10324
10325 2011-03-30  Andreas Schwab  <schwab@redhat.com>
10326
10327         * misc/syncfs.c: New file.
10328         * misc/Makefile (routines): Add syncfs.
10329         * posix/unistd.h: Declare syncfs.
10330         * sysdeps/unix/syscalls.list: Add syncfs.
10331
10332 2011-04-01  Andreas Schwab  <schwab@redhat.com>
10333
10334         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10335         open_by_handle_at.
10336         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10337         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10338         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10339         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10340         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10341         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10342         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10343
10344 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10345
10346         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10347         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10348         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10349         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10350         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10351         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10352         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10353
10354         * io/Makefile: Compile fallocate.c, fallocate64.c, and
10355         sync_file_range.c with -fexceptions.
10356         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10357         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10358         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10359         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10360         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10361         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10362         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
10363         sync_file_range as cancellation point
10364         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
10365         now a wrapper around __call_sync_file_range with cancellation handling.
10366         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10367         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
10368         function name to __call_sync_file_range.
10369         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10370         Add call_sync_file_range.
10371
10372 2011-04-01  Andreas Schwab  <schwab@redhat.com>
10373
10374         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10375         bits/timex.h.
10376
10377 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10378
10379         * iconv/iconv.h: Fix typo in comment.
10380         * io/fcntl.h: Likewise.
10381         * libio/stdio.h: Likewise.
10382         * posix/spawn.h: Likewise.
10383         * posix/unistd.h: Likewise.
10384         * stdlib/stdlib.h: Likewise.
10385         * time/time.h: Likewise.
10386         * wcsmbs/wchar.h: Likewise.
10387
10388         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10389         open_by_handle): Add.
10390         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10391         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
10392         Augment a few comments.
10393         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10394         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10395         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10396         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10397         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10398         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10399         open_by_handle.
10400
10401         * io/fcntl.h (AT_EMPTY_PATH): Define.
10402
10403 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
10404
10405         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10406         * sysdeps/unix/sysv/linux/bits/time.h: New file.
10407         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10408         to...
10409         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
10410         * Versions.def: Add GLIBC_2.14.
10411         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10412         Export.
10413
10414 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
10415
10416         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10417         round counter.
10418         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10419
10420 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
10421
10422         [BZ #12597]
10423         * string/test-strncmp.c (do_page_test): New function.
10424         (check2): Likewise.
10425         (test_main): Call check2.
10426         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10427
10428 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
10429
10430         [BZ #12587]
10431         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10432         Handle cache information in CPU leaf 4.
10433         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10434
10435 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
10436
10437         [BZ #12583]
10438         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10439         character representation.
10440         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10441
10442 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
10443
10444         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10445         END(__isnan) to END(__isnanf) to match function entry point/label
10446         EALIGN(__isnanf,...).
10447
10448 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
10449
10450         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10451
10452 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
10453
10454         [BZ #12510]
10455         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10456         copy from the symbol referenced in the relocation to initialize the
10457         used variable.
10458         Patch by Piotr Bury <pbury@goahead.com>.
10459         * elf/Makefile: Add rules to build and tst-unique3.
10460         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10461         * elf/tst-unique3.cc: New file.
10462         * elf/tst-unique3.h: New file.
10463         * elf/tst-unique3lib.cc: New file.
10464         * elf/tst-unique3lib2.cc: New file.
10465
10466         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10467
10468 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
10469
10470         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10471         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
10472         to _start.
10473
10474 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
10475
10476         * elf/dl-load.c (_dl_map_object): If we are looking for the first
10477         to-be-loaded object along a path to loader is ld.so.
10478
10479 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
10480             Ulrich Drepper  <drepper@gmail.com>
10481
10482         * sysdeps/x86_64/memset.S: After aligning destination, code
10483         branches to different locations depending on the value of
10484         misalignment, when multiarch is enabled. Fix this.
10485
10486 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
10487
10488         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10489         Set _x86_64_preferred_memory_instruction for AMD processsors.
10490         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10491         Set bit_Prefer_SSE_for_memop for AMD processors.
10492
10493 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
10494
10495         * libio/fmemopen.c (fmemopen): Optimize a bit.
10496
10497 2011-03-03  Andreas Schwab  <schwab@redhat.com>
10498
10499         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10500
10501 2011-03-03  Roland McGrath  <roland@redhat.com>
10502
10503         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10504
10505 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
10506
10507         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10508         __bzero_ultra1 instead of __memset_ultra1.
10509
10510 2011-02-23  Andreas Schwab  <schwab@redhat.com>
10511             Ulrich Drepper  <drepper@gmail.com>
10512
10513         [BZ #12509]
10514         * include/link.h (struct link_map): Add l_orig_initfini.
10515         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10516         returning unsuccessfully.
10517         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10518         close of a file loaded at startup, restore the original l_initfini
10519         list.
10520         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10521         list, store the pointer.
10522         * elf/Makefile ($(objpfx)noload-mem): New rule.
10523         (noload-ENV): Define.
10524         (tests): Add $(objpfx)noload-mem.
10525         * elf/noload.c: Include <memcheck.h>.
10526         (main): Call mtrace.  Close all opened handles.
10527
10528 2011-02-17  Andreas Schwab  <schwab@redhat.com>
10529
10530         [BZ #12454]
10531         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10532         dependencies are missing.
10533
10534 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10535
10536         Fix __if_freereq crash: Unlike the generic version which uses free,
10537         Hurd needs munmap.
10538         * sysdeps/mach/hurd/ifreq.h: New file.
10539
10540 2011-01-27  Petr Baudis  <pasky@suse.cz>
10541             Ulrich Drepper  <drepper@gmail.com>
10542
10543         [BZ 12445]#
10544         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10545         to extend_alloca().
10546         * stdio-common/bug23.c: New file.
10547         * stdio-common/Makefile (tests): Add bug23.
10548
10549 2010-09-28  Andreas Schwab  <schwab@redhat.com>
10550             Ulrich Drepper  <drepper@gmail.com>
10551
10552         [BZ #12489]
10553         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10554         before performing relro protection.  At old place add assertion
10555         to make sure nothing changed.
10556
10557 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
10558             Glauber de Oliveira Costa  <glommer@gmail.com>
10559
10560         * elf/elf.h: Add new ARM TLS relocs.
10561
10562 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
10563
10564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10565         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10566         cast from r3.
10567         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
10568         'tests' variable.
10569         * sysdeps/wordsize-64/tst-writev.c: New file.
10570
10571 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
10572
10573         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10574         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10575         insns in _dl_start to prevent a TOC reference before relocs are
10576         resolved.
10577
10578 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
10579
10580         [BZ #12469]
10581         * Makeconfig: Remove RANLIB definition.
10582         * Makerules: Don't use RANLIB.
10583         * aclocal.m4: Remove ranlib test.
10584         * configure.in: No need to check for ranlib.
10585         * elf/rtld-Rules: Don't use RANLIB.
10586
10587 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10588
10589         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10590         protection macro.
10591         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10592         inclusion protection macro.
10593
10594         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10595         SIGRTMIN and SIGRTMAX and print information in that case only when
10596         SIGRTMIN is defined.
10597
10598 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
10599
10600         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10601         arginfo fn returning -1.
10602
10603         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10604         and thousands string is zero terminated.
10605
10606 2011-02-03  Andreas Schwab  <schwab@redhat.com>
10607
10608         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10609         sysdeps/unix/sysv/linux/bits/socket.h.
10610
10611 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10612
10613         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10614         (__CPU_COUNT): Remove old macros.
10615         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10616         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10617         (__CPU_ALLOC, __CPU_FREE): Add macros.
10618         (__sched_cpualloc, __sched_cpufree): Add declarations.
10619
10620 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
10621
10622         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10623         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10624         * nscd/aicache.c (addhstaiX): Return timeout of added value.
10625         (readdhstai): Return value of addhstaiX call.
10626         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10627         (addgrbyX): Return value returned by cache_addgr.
10628         (readdgrbyname): Return value returned by addgrbyX.
10629         (readdgrbygid): Likewise.
10630         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10631         (addpwbyX): Return value returned by cache_addpw.
10632         (readdpwbyname): Return value returned by addhstbyX.
10633         (readdpwbyuid): Likewise.
10634         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10635         (addservbyX): Return value returned by cache_addserv.
10636         (readdservbyname): Return value returned by addservbyX:
10637         (readdservbyport): Likewise.
10638         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10639         (addhstbyX): Return value returned by cache_addhst.
10640         (readdhstbyname): Return value returned by addhstbyX.
10641         (readdhstbyaddr): Likewise.
10642         (readdhstbynamev6): Likewise.
10643         (readdhstbyaddrv6): Likewise.
10644         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10645         (readdinitgroups): Return value returned by addinitgroupsX.
10646         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10647         (prune_cache): Keep track of timeout value of re-added entries.
10648         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10649         * nscd/nscd.h: Adjust prototypes of readd* functions.
10650
10651 2011-02-04  Roland McGrath  <roland@redhat.com>
10652
10653         * nis/nis_server.c (nis_servstate): Use the right name for 0.
10654         (nis_stats): Likewise.
10655         * nis/nis_modify.c (nis_modify): Likewise.
10656         * nis/nis_remove.c (nis_remove): Likewise.
10657         * nis/nis_add.c (nis_add): Likewise.
10658
10659         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10660
10661         * posix/fnmatch_loop.c: Add some consts.
10662
10663         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10664
10665 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
10666
10667         [BZ #12460]
10668         * config.make.in (config-cflags-novzeroupper): Define.
10669         * configure.in: Substitute libc_cv_cc_novzeroupper.
10670         * elf/Makefile (AVX-CFLAGS): Define.
10671         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10672         (CFLAGS-tst-auditmod4a.c): Likewise.
10673         (CFLAGS-tst-auditmod4b.c): Likewise.
10674         (CFLAGS-tst-auditmod6b.c): Likewise.
10675         (CFLAGS-tst-auditmod6c.c): Likewise.
10676         (CFLAGS-tst-auditmod7b.c): Likewise.
10677         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10678
10679 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
10680
10681         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10682         function to the callback.
10683         Patch partly by Jiri Olsa <jolsa@redhat.com>.
10684
10685 2011-02-02  Andreas Schwab  <schwab@redhat.com>
10686
10687         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10688         of errno.
10689
10690 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
10691
10692         [BZ #11724]
10693         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10694         of constructors.
10695         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10696         of destructors.
10697         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10698
10699         [BZ #11724]
10700         * elf/Makefile: Add rules to build and run new test.
10701         * elf/tst-initorder.c: New file.
10702         * elf/tst-initorder.exp: New file.
10703         * elf/tst-initordera1.c: New file.
10704         * elf/tst-initordera2.c: New file.
10705         * elf/tst-initordera3.c: New file.
10706         * elf/tst-initordera4.c: New file.
10707         * elf/tst-initorderb1.c: New file.
10708         * elf/tst-initorderb2.c: New file.
10709         * elf/tst-order-a1.c: New file.
10710         * elf/tst-order-a2.c: New file.
10711         * elf/tst-order-a3.c: New file.
10712         * elf/tst-order-a4.c: New file.
10713         * elf/tst-order-b1.c: New file.
10714         * elf/tst-order-b2.c: New file.
10715         * elf/tst-order-main.c: New file.
10716         New test case by George Gensure <werkt0@gmail.com>.
10717
10718 2010-10-01  Andreas Schwab  <schwab@redhat.com>
10719
10720         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10721         decoding ACE if AI_CANONIDN.
10722
10723 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
10724
10725         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10726
10727 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
10728
10729         * version.h (RELEASE): Bump for 2.13 release.
10730         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10731
10732         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10733
10734         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10735         MADV_NOHUGEPAGE.
10736         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10737         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10738         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10739         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10740         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10741         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10742
10743         * posix/getconf.c: Update copyright year.
10744         * catgets/gencat.c: Likewise.
10745         * csu/version.c: Likewise.
10746         * debug/catchsegv.sh: Likewise.
10747         * debug/xtrace.sh: Likewise.
10748         * elf/ldconfig.c: Likewise.
10749         * elf/ldd.bash.in: Likewise.
10750         * elf/sprof.c (print_version): Likewise.
10751         * iconv/iconv_prog.c: Likewise.
10752         * iconv/iconvconfig.c: Likewise.
10753         * locale/programs/locale.c: Likewise.
10754         * locale/programs/localedef.c: Likewise.
10755         * malloc/memusage.sh: Likewise.
10756         * malloc/mtrace.pl: Likewise.
10757         * nscd/nscd.c (print_version): Likewise.
10758         * nss/getent.c: Likewise.
10759
10760         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10761         PF_CAIF, and PF_ALG.
10762         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10763
10764 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
10765
10766         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10767         (modules-names): Use them.
10768         (ifunc-test-modules, ifunc-pie-tests): Define.
10769         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10770         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10771         (test-extras): Likewise.
10772         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10773         $(compile-command.c).
10774         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10775         (all-built-dso): Define.
10776         (check-textrel.out, check-execstack.out): Depend on it.
10777
10778         * configure.in: Don't override --enable-multi-arch.
10779
10780 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
10781
10782         [BZ #6812]
10783         * nscd/hstcache.c (tryagain): Define.
10784         (cache_addhst): Return tryagain not notfound for temporary errors.
10785         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10786         failed.
10787
10788 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
10789
10790         [BZ #10563]
10791         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10792         to make the syscall.
10793         * sysdeps/unix/sysv/linux/setgroups.c: New file.
10794
10795         [BZ #12378]
10796         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10797         and fall back to matching as normal character if the string ends before
10798         the matching ']' is found.  This is what POSIX requires.
10799         * posix/testfnm.c: Adjust test result.
10800         * posix/globtest.sh: Adjust test result.  Add new test.
10801         * posix/tst-fnmatch.input: Likewise.
10802         * posix/tst-fnmatch2.c: Add new test.
10803
10804 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
10805
10806         * elf/Makefile (check-execstack): Revert last change.  Depend on
10807         check-execstack.h.
10808         (check-execstack.h): New target.
10809         (generated): Add check-execstack.h.
10810         * elf/check-execstack.c: Include "check-execstack.h".
10811         (main): Revert last change.
10812         (handle_file): Return zero if GNU_STACK is absent and
10813         DEFAULT_STACK_PERMS doesn't include PF_X.
10814
10815 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
10816
10817         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10818         in child fails because the descriptor is already closed.
10819         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10820         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10821         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10822
10823         [BZ #12397]
10824         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10825         syscall.
10826
10827         [BZ #10484]
10828         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10829         temporary buffer used to handle multi lookups locally.
10830         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10831
10832 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10833
10834         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10835         loader is ld.so.
10836
10837 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
10838
10839         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10840         alignment for SSE2.
10841
10842 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
10843
10844         [BZ #12394]
10845         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10846         characters.  When rounding increased number of integer digits recompute
10847         number of groups.
10848         * stdio-common/tst-grouping.c: New file.
10849         * stdio-common/Makefile: Add rules to build and run tst-grouping.
10850
10851 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
10852
10853         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10854         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
10855
10856         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10857         void.
10858         * bits/select.h: Likewise.
10859
10860 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
10861
10862         * po/ja.po: Update from translation team.
10863
10864 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
10865
10866         [BZ #11155]
10867         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10868         implementation just like for lxstat, fxstatat, et al.
10869
10870 2010-12-27  Jim Meyering  <meyering@redhat.com>
10871
10872         [BZ #12348]
10873         * posix/regexec.c (build_trtable): Return failure indication upon
10874         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
10875
10876 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
10877
10878         [BZ #12201]
10879         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10880         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10881         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10882         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10883
10884         [BZ #12207]
10885         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10886
10887         [BZ #12204]
10888         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10889         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10890
10891 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10892
10893         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10894         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10895         script has SORT_BY_INIT_PRIORITY.
10896         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10897         NO_CTORS_DTORS_SECTIONS is defined.
10898         * elf/soinit.c: Likewise.
10899         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10900         NO_CTORS_DTORS_SECTIONS is defined.
10901         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10902         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10903         * sysdeps/sh/init-first.c: Likewise.
10904         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10905
10906 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
10907
10908         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10909         always use the slow path.
10910
10911 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
10912
10913         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10914         similar rule which adds the sysdep directories to the header search in
10915         order to pick up the correct platform stackinfo.h.
10916         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10917         perform test if it is, otherwise return successfully without testing.
10918         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10919         DEFAULT_STACK_PERMS define in stackinfo.h.
10920         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10921         defined in stackinfo.h.
10922         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10923         DEFAULT_STACK_PERMS defined in stackinfo.h.
10924         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10925         * sysdeps/ia64/stackinfo.h: Likewise.
10926         * sysdeps/s390/stackinfo.h: Likewise.
10927         * sysdeps/sh/stackinfo.h: Likewise.
10928         * sysdeps/sparc/stackinfo.h: Likewise.
10929         * sysdeps/x86_64/stackinfo.h: Likewise.
10930         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10931         PF_X for powerpc64.  Retain PF_X for powerpc32.
10932
10933 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
10934
10935         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10936         accurately.
10937         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10938         GETDENTS_64BIT_ALIGNED.
10939
10940 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
10941
10942         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10943
10944 2010-12-10  Andreas Schwab  <schwab@redhat.com>
10945
10946         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10947         _GNU_SOURCE.
10948
10949         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10950         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10951         Remove __restrict.
10952         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10953         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10954
10955 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
10956
10957         [BZ #11655]
10958         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10959         are initialized.
10960
10961 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
10962
10963         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10964
10965 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
10966
10967         * po/it.po: Update from translation team.
10968
10969 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
10970
10971         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10972         unused codes.
10973
10974 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
10975
10976         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10977
10978 2010-11-24  Andreas Schwab  <schwab@redhat.com>
10979
10980         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10981         specially.
10982         (gaih_getanswer_slice): Likewise.
10983
10984 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
10985
10986         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10987
10988 2010-05-31  Petr Baudis  <pasky@suse.cz>
10989
10990         [BZ #11149]
10991         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10992         silently even in the chroot mode.
10993
10994 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
10995
10996         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10997         last patch a bit.  Pretty printing
10998
10999 2010-05-31  Petr Baudis <pasky@suse.cz>
11000
11001         [BZ #10085]
11002         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11003         initialization of skip_initgroups_dyn.
11004
11005 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
11006
11007         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11008         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11009
11010 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
11011
11012         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11013
11014 2010-11-11  Andreas Schwab  <schwab@redhat.com>
11015
11016         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11017         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11018         (tst-fnmatch-ENV): Set MALLOC_TRACE.
11019         ($(objpfx)tst-fnmatch-mem): New rule.
11020         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11021         * posix/tst-fnmatch.c (main): Call mtrace.
11022
11023 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
11024
11025         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11026         Support Intel processor model 6 and model 0x2c.
11027
11028 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
11029
11030         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11031           signed comparison.
11032
11033 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
11034
11035         [BZ #12205]
11036         * string/test-strncasecmp.c (check_result): New function.
11037         (do_one_test): Use it.
11038         (check1): New function.
11039         (test_main): Use it.
11040         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11041         Support strcasecmp and strncasecmp.
11042
11043 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
11044
11045         [BZ #12194]
11046         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11047         * sysdeps/x86_64/bits/byteswap.h: Likewise.
11048
11049 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11050
11051         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11052         IFUNC support.
11053         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11054         memset-x86-64.
11055         * sysdeps/x86_64/multiarch/bzero.S: New file.
11056         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11057         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11058         * sysdeps/x86_64/multiarch/memset.S: New file.
11059         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11060         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11061         Set bit_Prefer_SSE_for_memop for Intel processors.
11062         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11063         Define.
11064         (index_Prefer_SSE_for_memop): Define.
11065         (HAS_PREFER_SSE_FOR_MEMOP): Define.
11066
11067 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
11068
11069         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11070         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11071
11072 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
11073
11074         [BZ #12191]
11075         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11076         (__x86_64_raw_data_cache_size_half): Likewise.
11077         (__x86_64_raw_shared_cache_size): Likewise.
11078         (__x86_64_raw_shared_cache_size_half): Likewise.
11079
11080         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11081         (__x86_64_raw_data_cache_size_half): Likewise.
11082         (__x86_64_raw_shared_cache_size): Likewise.
11083         (__x86_64_raw_shared_cache_size_half): Likewise.
11084         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11085         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11086         and __x86_64_raw_shared_cache_size_half.  Round
11087         __x86_64_data_cache_size_half, __x86_64_data_cache_size
11088         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11089         to multiple of 256 bytes.
11090
11091 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
11092
11093         [BZ #12167]
11094         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11095         of inacessible symlinks.  Verify result of symlink before returning it.
11096         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11097         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11098
11099 2010-10-28  Erich Ritz  <erichritz@gmail.com>
11100
11101         * math/math.h (isinf): Fix typo in comment.
11102
11103 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
11104
11105         * po/da.po: Update from translation team.
11106
11107 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
11108
11109         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11110         is added to the list.
11111
11112 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11113             Ulrich Drepper  <drepper@gmail.com>
11114
11115         * elf/dl-object.c (_dl_new_object): Don't append the new object to
11116         the global list here.  Move code to...
11117         (_dl_add_to_namespace_list): ...here.  New function.
11118         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11119         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11120         * elf/dl-load.c (lose): Don't remove the element from the list.
11121         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11122         (_dl_map_object): Likewise.
11123
11124 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
11125
11126         [BZ #12159]
11127         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11128         into all bytes of SSE register.
11129         Patch by Richard Li <richardpku@gmail.com>.
11130
11131 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
11132
11133         [BZ #12140]
11134         * malloc/malloc.c (_int_free): Fill correct number of bytes when
11135         perturbing.
11136
11137 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
11138
11139         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11140         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11141         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11142         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11144         submachine.
11145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11146
11147 2010-10-22  Andreas Schwab  <schwab@redhat.com>
11148
11149         * include/dlfcn.h (__RTLD_SECURE): Define.
11150         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
11151         mode & __RTLD_SECURE instead.
11152         (open_path): Rename preloaded parameter to secure.
11153         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11154         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11155         * elf/dl-deps.c (openaux): Likewise.
11156         * elf/rtld.c (struct map_args): Remove is_preloaded.
11157         (map_doit): Don't use it.
11158         (dl_main): Likewise.
11159         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11160         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11161
11162 2010-09-09  Andreas Schwab  <schwab@redhat.com>
11163
11164         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11165         (sysd-rules-targets): Remove duplicates.
11166         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11167         rtld-%.$o dependency.
11168
11169 2010-10-18  Andreas Schwab  <schwab@redhat.com>
11170
11171         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11172         _dl_map_object do it.
11173
11174 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
11175
11176         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11177         fast fma builtins, define the macros in the C99 standard.
11178         (FP_FAST_FMAF): Likewise.
11179         (FP_FAST_FMAL): Likewise.
11180         * sysdeps/x86_64/bits/mathdef.h: Likewise.
11181
11182         * bits/mathdef.h: Update copyright year.
11183         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11184
11185 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
11186
11187         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11188         builtins, define the macros in the C99 standard.
11189         (FP_FAST_FMAF): Likewise.
11190         (FP_FAST_FMAL): Likewise.
11191         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11192         multiply/add.
11193         (FP_FAST_FMAF): Likewise.
11194
11195 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
11196
11197         [BZ #3268]
11198         * math/libm-test.inc (fma_test): Some new testcases.
11199         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11200         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11201         y and infinite z.  Do multiplication by C already in long double.
11202         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11203         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11204         y and infinite z.  Do bitwise or of inexact bit into u.d.
11205         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11206         * sysdeps/i386/fpu/s_fmaf.S: Removed.
11207         * sysdeps/i386/fpu/s_fma.S: Removed.
11208         * sysdeps/i386/fpu/s_fmal.S: Removed.
11209
11210 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
11211
11212         [BZ #3268]
11213         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11214         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11215         computation is not scheduled after fetestexcept.  Fix value
11216         of minimum denormal long double.
11217
11218 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
11219
11220         [BZ #3268]
11221         * math/libm-test.inc (fma_test): Add some more tests.
11222         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11223         correctly.
11224
11225 2010-10-15  Andreas Schwab  <schwab@redhat.com>
11226
11227         * scripts/data/localplt-s390-linux-gnu.data: New file.
11228         * scripts/data/localplt-s390x-linux-gnu.data: New file.
11229
11230 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
11231
11232         [BZ #3268]
11233         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11234         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11235         instead of dbl-64.
11236         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11237         inlines.
11238         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11239         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11240         if one of x and y is very large and the other is subnormal.
11241         * sysdeps/s390/fpu/s_fmaf.c: New file.
11242         * sysdeps/s390/fpu/s_fma.c: New file.
11243         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11244         * sysdeps/powerpc/fpu/s_fma.S: New file.
11245         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11246         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11247         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11248
11249 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
11250
11251         [BZ #3268]
11252         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11253         fma tests.
11254         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11255         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11256         * sysdeps/i386/i686/multiarch/s_fma.c: Include
11257         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11258         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11259         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11260         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11261
11262 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
11263
11264         [BZ #12078]
11265         * posix/regcomp.c (parse_branch): One more memory leak plugged.
11266         * posix/bug-regex31.input: Add test case.
11267
11268 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
11269
11270         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11271         * posix/bug-regex31.input: New file.
11272
11273         [BZ #12078]
11274         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11275         (parse_sub_exp): Fix last change, use postorder.
11276
11277         * posix/bug-regex31.c: New file.
11278         * posix/Makefile: Add rules to build and run bug-regex31.
11279
11280         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11281
11282         [BZ #12078]
11283         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11284
11285         [BZ #12108]
11286         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11287         to have entries in sys_siglist.
11288
11289         [BZ #12093]
11290         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11291         be NULL.
11292
11293 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
11294
11295         [BZ #3268]
11296         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11297         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11298         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11299         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11300         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11301         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11302         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11303         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11304         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11305         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11306         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11307         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11308         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11309         * math/ftestexcept.c (fetestexcept): Likewise.
11310         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11311         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11312         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11313         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11314         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11315         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11316         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11317
11318 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
11319
11320         [BZ #12107]
11321         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11322         newline.
11323
11324 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
11325
11326         * string/bug-strstr1.c: New file.
11327         * string/Makefile: Add rules to build and run bug-strstr1.
11328
11329 2010-10-05  Eric Blake  <eblake@redhat.com>
11330
11331         [BZ #12092]
11332         * string/str-two-way.h (two_way_long_needle): Always clear memory
11333         when skipping input due to the shift table.
11334
11335 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
11336
11337         [BZ #12005]
11338         * malloc/mcheck.c: Handle large requests.
11339
11340         [BZ #12077]
11341         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11342         for strncmp and strncasecmp.
11343         * string/stratcliff.c: Add tests for strcmp and strncmp.
11344         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11345
11346 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11347
11348         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11349         __set_fpscr.
11350
11351 2010-09-30  Andreas Jaeger  <aj@suse.de>
11352
11353         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11354         (CGROUP_SUPER_MAGIC): Define.
11355         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11356         Handle btrfs and cgroup file systems.
11357         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11358         Likewise.
11359
11360 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
11361
11362         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11363         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11364
11365 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11366
11367         [BZ #12067]
11368         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11369         trying to locate the ELF header.
11370
11371 2010-09-27  Andreas Schwab  <schwab@redhat.com>
11372
11373         [BZ #11611]
11374         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11375         Mask out sign-bit copies when constructing f_fsid.
11376
11377 2010-09-24  Petr Baudis <pasky@suse.cz>
11378
11379         * debug/stack_chk_fail_local.c: Add missing licence exception.
11380         * debug/warning-nop.c: Likewise.
11381
11382 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
11383
11384         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11385         implementing getdents64 using getdents syscall, set d_type if
11386         __ASSUME_GETDENTS32_D_TYPE.
11387
11388 2010-09-16  Andreas Schwab  <schwab@redhat.com>
11389
11390         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11391         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11392
11393 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
11394
11395         [BZ #12037]
11396         * posix/unistd.h: Undo change of feature selection for ftruncate from
11397         2010-01-11.
11398
11399 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
11400
11401         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
11402         detection.
11403
11404 2010-09-20  Andreas Schwab  <schwab@redhat.com>
11405
11406         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11407         fanotify_mark.
11408         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11409
11410 2010-09-14  Andreas Schwab  <schwab@redhat.com>
11411
11412         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11413         variables after CHECK_SP call.
11414         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11415
11416 2010-09-13  Andreas Schwab  <schwab@redhat.com>
11417             Ulrich Drepper  <drepper@redhat.com>
11418
11419         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11420         re-relocationg ld.so.
11421         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11422         _dl_init_paths call.
11423         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
11424         here anymore.
11425
11426 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
11427
11428         * resolv/res_init.c (__res_vinit): Count the default server we added.
11429
11430 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
11431             Ulrich Drepper  <drepper@redhat.com>
11432
11433         [BZ #11968]
11434         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11435         (____longjmp_chk): Use %ebx for saving value across system call.
11436         Add unwind info.
11437
11438 2010-09-06  Andreas Schwab  <schwab@redhat.com>
11439
11440         * manual/Makefile: Don't mix pattern rules with normal rules.
11441
11442 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
11443
11444         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11445         operation.
11446         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11447         * libio/iofopncook.c (_IO_cookie_init): Likewise.
11448         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11449         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11450         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11451         Likewise.
11452
11453 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
11454
11455         [BZ #11979]
11456         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11457         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11458
11459 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
11460
11461         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11462         * sysdeps/x86_64/addmul_1.S: Likewise.
11463         * sysdeps/x86_64/lshift.S: Likewise.
11464         * sysdeps/x86_64/mul_1.S: Likewise.
11465         * sysdeps/x86_64/rshift.S: Likewise.
11466         * sysdeps/x86_64/sub_n.S: Likewise.
11467         * sysdeps/x86_64/submul_1.S: Likewise.
11468
11469 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11470
11471         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11472         Define __sched_param instead of SCHED_* and sched_param when
11473         <bits/sched.h> is included with __need_schedparam defined.
11474         * bits/sched.h [__need_schedparam]
11475         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11476         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11477         (__defined_schedparam): Define to 1.
11478         (__sched_param): New structure, identical to sched_param.
11479         (__need_schedparam): Undefine.
11480
11481 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
11482
11483         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11484         (epoll_create1): Declare.
11485
11486         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11487
11488 2010-08-31  Andreas Schwab  <schwab@redhat.com>
11489
11490         [BZ #7066]
11491         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11492         shifting retval into place.
11493
11494 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
11495
11496         * nis/rpcsvc/nis.h: Update copyright notice.
11497         * nis/rpcsvc/nis.x: Likewise.
11498         * nis/rpcsvc/nis_callback.h: Likewise.
11499         * nis/rpcsvc/nis_callback.x: Likewise.
11500         * nis/rpcsvc/nis_object.x: Likewise.
11501         * nis/rpcsvc/nis_tags.h: Likewise.
11502         * nis/rpcsvc/yp.h: Likewise.
11503         * nis/rpcsvc/yp.x: Likewise.
11504         * nis/rpcsvc/ypupd.h: Likewise.
11505         * nis/yp_xdr.c: Likewise.
11506         * nis/ypupdate_xdr.c: Likewise.
11507
11508         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
11509         mainly the body of pmap_getport.  Add parameters to specify timeouts.
11510         (pmap_getport): Use __libc_rpc_getport.
11511         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11512         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11513         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11514
11515 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
11516
11517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11518         fanotify_mark.
11519
11520 2010-08-27  Roland McGrath  <roland@redhat.com>
11521
11522         * sysdeps/i386/i686/multiarch/Makefile
11523         (CFLAGS-varshift.c): New variable.
11524
11525 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
11526
11527         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11528         * sysdeps/i386/i686/multiarch/varshift.c: New file.
11529
11530         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11531
11532         * sysdeps/x86_64/strlen.S: Minimal code improvement.
11533
11534 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11535
11536         * sysdeps/x86_64/strlen.S: Unroll the loop.
11537         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11538         strlen-sse2 strlen-sse2-bsf.
11539         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11540         __strlen_no_bsf if bit_Slow_BSF is set.
11541         (__strlen_sse42): Removed.
11542         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11543         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11544
11545 2010-08-25  Roland McGrath  <roland@redhat.com>
11546
11547         * sysdeps/x86_64/multiarch/varshift.S: File removed.
11548         * sysdeps/x86_64/multiarch/varshift.c: New file.
11549         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11550         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11551         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11552         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11553
11554 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11555
11556         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11557         strlen-sse2 strlen-sse2-bsf.
11558         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11559         __strlen_sse2_bsf if bit_Slow_BSF is unset.
11560         (__strlen_sse2): Removed.
11561         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11562         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11563         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11564         bit_Slow_BSF for Atom.
11565         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11566         (index_Slow_BSF): Define.
11567         (HAS_SLOW_BSF): Define.
11568
11569 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
11570
11571         [BZ #10851]
11572         * resolv/res_init.c (__res_vinit): When no server address at all
11573         is given default to loopback.
11574
11575 2010-08-24  Roland McGrath  <roland@redhat.com>
11576
11577         * configure.in: Remove config-name.h generation.
11578         * configure: Regenerated.
11579         * config-name.in: File removed.
11580         * scripts/config-uname.sh: New file.
11581         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11582         ($(objdir)config-name.h): New target.
11583
11584         * sunrpc/rpc_parse.h: Avoid nested comment.
11585
11586 2010-08-24  Richard Henderson  <rth@redhat.com>
11587             Ulrich Drepper  <drepper@redhat.com>
11588             H.J. Lu  <hongjiu.lu@intel.com>
11589
11590         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11591         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11592         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11593         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
11594         _mm_alignr_epi8 with _mm_loadu_si128.
11595         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11596         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11597         (__m128i_shift_right): Removed.
11598         * sysdeps/i386/i686/multiarch/varshift.h: New file.
11599         * sysdeps/i386/i686/multiarch/varshift.S: New file.
11600         * sysdeps/x86_64/multiarch/varshift.h: New file.
11601         * sysdeps/x86_64/multiarch/varshift.S: New file.
11602
11603 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
11604
11605         * configure.in: Move assembler checks to before sysdep dir checking.
11606
11607 2010-08-20  Petr Baudis  <pasky@suse.cz>
11608
11609         * LICENSES: Sync the sunrpc license.
11610
11611 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
11612
11613         * sunrpc/auth_des.c: Update copyright notice once again.
11614         * sunrpc/auth_none.c: Likewise.
11615         * sunrpc/auth_unix.c: Likewise.
11616         * sunrpc/authdes_prot.c: Likewise.
11617         * sunrpc/authuxprot.c: Likewise.
11618         * sunrpc/bindrsvprt.c: Likewise.
11619         * sunrpc/clnt_gen.c: Likewise.
11620         * sunrpc/clnt_perr.c: Likewise.
11621         * sunrpc/clnt_raw.c: Likewise.
11622         * sunrpc/clnt_simp.c: Likewise.
11623         * sunrpc/clnt_tcp.c: Likewise.
11624         * sunrpc/clnt_udp.c: Likewise.
11625         * sunrpc/clnt_unix.c: Likewise.
11626         * sunrpc/des_crypt.c: Likewise.
11627         * sunrpc/des_soft.c: Likewise.
11628         * sunrpc/get_myaddr.c: Likewise.
11629         * sunrpc/getrpcport.c: Likewise.
11630         * sunrpc/key_call.c: Likewise.
11631         * sunrpc/key_prot.c: Likewise.
11632         * sunrpc/openchild.c: Likewise.
11633         * sunrpc/pm_getmaps.c: Likewise.
11634         * sunrpc/pm_getport.c: Likewise.
11635         * sunrpc/pmap_clnt.c: Likewise.
11636         * sunrpc/pmap_prot.c: Likewise.
11637         * sunrpc/pmap_prot2.c: Likewise.
11638         * sunrpc/pmap_rmt.c: Likewise.
11639         * sunrpc/rpc/auth.h: Likewise.
11640         * sunrpc/rpc/auth_unix.h: Likewise.
11641         * sunrpc/rpc/clnt.h: Likewise.
11642         * sunrpc/rpc/des_crypt.h: Likewise.
11643         * sunrpc/rpc/key_prot.h: Likewise.
11644         * sunrpc/rpc/netdb.h: Likewise.
11645         * sunrpc/rpc/pmap_clnt.h: Likewise.
11646         * sunrpc/rpc/pmap_prot.h: Likewise.
11647         * sunrpc/rpc/pmap_rmt.h: Likewise.
11648         * sunrpc/rpc/rpc.h: Likewise.
11649         * sunrpc/rpc/rpc_des.h: Likewise.
11650         * sunrpc/rpc/rpc_msg.h: Likewise.
11651         * sunrpc/rpc/svc.h: Likewise.
11652         * sunrpc/rpc/svc_auth.h: Likewise.
11653         * sunrpc/rpc/types.h: Likewise.
11654         * sunrpc/rpc/xdr.h: Likewise.
11655         * sunrpc/rpc_clntout.c: Likewise.
11656         * sunrpc/rpc_cmsg.c: Likewise.
11657         * sunrpc/rpc_common.c: Likewise.
11658         * sunrpc/rpc_cout.c: Likewise.
11659         * sunrpc/rpc_dtable.c: Likewise.
11660         * sunrpc/rpc_hout.c: Likewise.
11661         * sunrpc/rpc_main.c: Likewise.
11662         * sunrpc/rpc_parse.c: Likewise.
11663         * sunrpc/rpc_parse.h: Likewise.
11664         * sunrpc/rpc_prot.c: Likewise.
11665         * sunrpc/rpc_sample.c: Likewise.
11666         * sunrpc/rpc_scan.c: Likewise.
11667         * sunrpc/rpc_scan.h: Likewise.
11668         * sunrpc/rpc_svcout.c: Likewise.
11669         * sunrpc/rpc_tblout.c: Likewise.
11670         * sunrpc/rpc_util.c: Likewise.
11671         * sunrpc/rpc_util.h: Likewise.
11672         * sunrpc/rpcinfo.c: Likewise.
11673         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11674         * sunrpc/rpcsvc/key_prot.x: Likewise.
11675         * sunrpc/rpcsvc/klm_prot.x: Likewise.
11676         * sunrpc/rpcsvc/mount.x: Likewise.
11677         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11678         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11679         * sunrpc/rpcsvc/rex.x: Likewise.
11680         * sunrpc/rpcsvc/rstat.x: Likewise.
11681         * sunrpc/rpcsvc/rusers.x: Likewise.
11682         * sunrpc/rpcsvc/sm_inter.x: Likewise.
11683         * sunrpc/rpcsvc/spray.x: Likewise.
11684         * sunrpc/rpcsvc/yppasswd.x: Likewise.
11685         * sunrpc/rtime.c: Likewise.
11686         * sunrpc/svc.c: Likewise.
11687         * sunrpc/svc_auth.c: Likewise.
11688         * sunrpc/svc_authux.c: Likewise.
11689         * sunrpc/svc_raw.c: Likewise.
11690         * sunrpc/svc_run.c: Likewise.
11691         * sunrpc/svc_simple.c: Likewise.
11692         * sunrpc/svc_tcp.c: Likewise.
11693         * sunrpc/svc_udp.c: Likewise.
11694         * sunrpc/svc_unix.c: Likewise.
11695         * sunrpc/svcauth_des.c: Likewise.
11696         * sunrpc/xcrypt.c: Likewise.
11697         * sunrpc/xdr.c: Likewise.
11698         * sunrpc/xdr_array.c: Likewise.
11699         * sunrpc/xdr_float.c: Likewise.
11700         * sunrpc/xdr_mem.c: Likewise.
11701         * sunrpc/xdr_rec.c: Likewise.
11702         * sunrpc/xdr_ref.c: Likewise.
11703         * sunrpc/xdr_sizeof.c: Likewise.
11704         * sunrpc/xdr_stdio.c: Likewise.
11705
11706         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11707         handling.
11708
11709 2010-08-19  Andreas Schwab  <schwab@redhat.com>
11710
11711         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11712
11713 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
11714
11715         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11716         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11717         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11718         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11719         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11720         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11721         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11722         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11723         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11724         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11725         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11726         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11727         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11728         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11729
11730 2010-07-26  Anton Blanchard  <anton@samba.org>
11731
11732         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11733         * malloc/arena.c (heap_trim): Likewise.
11734
11735 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
11736
11737         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11738         here.  Not...
11739         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11740         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11741
11742 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
11743
11744         * sysdeps/i386/elf/Makefile: New file.
11745
11746 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11747
11748         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11749         from fanotify_init.
11750         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11751         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11752
11753 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
11754
11755         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11756         of strncasecmp_l.
11757         * sysdeps/multiarch/strcmp.S: Likewise.
11758
11759 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
11760
11761         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11762         strncase_l-nonascii.
11763         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11764         Add strncase_l-ssse3.
11765         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11766         * sysdeps/x86_64/strcmp.S: Likewise.
11767         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11768         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11769         * sysdeps/x86_64/strncase.S: New file.
11770         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11771         * sysdeps/x86_64/strncase_l.S: New file.
11772         * string/Makefile (strop-tests): Add strncasecmp.
11773         * string/test-strncasecmp.c: New file.
11774
11775         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11776         warning.
11777
11778         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11779         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11780
11781 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
11782
11783         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11784
11785 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
11786
11787         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11788         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11789         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11790
11791 2010-05-01  Alan Modra  <amodra@gmail.com>
11792
11793         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11794         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11795         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11796         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11797         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11798         tidying.  Don't tail-call __sigjmp_save for static lib.
11799         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11800         save location.
11801         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11802         (CALL_MCOUNT): Add eh info, and nop after bl.
11803         (TAIL_CALL_SYSCALL_ERROR): New macro.
11804         (PSEUDO_RET): Use it.
11805         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11806         Correct save location of integer regs and cr.
11807         (_dl_profile_resolve): Correct cr save location.  Delete nops
11808         after bl when SHARED.  Reduce cfi size a little by better
11809         placement of cfi directives.
11810         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11811         make a stack frame.  Instead use parm save area as a temp.
11812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11813         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
11814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11815         Don't make a stack frame for parent, use parm save area.
11816         Increase child stack frame to 112 bytes.  Don't save unused reg,
11817         and adjust reg usage.  Set up cfi on error recovery and
11818         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11820         (__makecontext): Add dummy nop after jump to exit.
11821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11822         Use correct parm save area and cr save, reduce stack frame.
11823         Correct cfi for possible PSEUDO_RET frame setup.
11824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11825         Branch to local label emitted by PSEUDO_RET rather than
11826         __syscall_error.
11827
11828 2010-08-12  Andreas Schwab  <schwab@redhat.com>
11829
11830         [BZ #11904]
11831         * locale/programs/locale.c (print_assignment): New function.
11832         (show_locale_vars): Use it.
11833
11834 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
11835
11836         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11837         field.
11838         (struct statfs64): Likewise.
11839         (_STATFS_F_FLAGS): Define.
11840         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11841         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11842         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11843         (ST_VALID): Define locally.
11844         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11845         __statvfs_getflags, use the provided value.
11846         * sysdeps/unix/sysv/linux/kernel-features.h: Define
11847         __ASSUME_STATFS_F_FLAGS.
11848
11849         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11850
11851         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11852         Add sys/fanotify.h.
11853         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11854         fanotify_mask for GLIBC_2.13.
11855         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11856         fanotify_init and fanotify_mark.
11857         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11858         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11859
11860         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11861         Add prlimit.
11862         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11863         prlimit64 for GLIBC_2.13.
11864         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11865         prlimit64.
11866         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11867         syscall.
11868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11869         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11870         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11871         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11872         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
11873         add prlimit alias.
11874         * sysdeps/unix/sysv/linux/prlimit.c: New file.
11875
11876         [BZ #11903]
11877         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11878         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11879
11880         * nss/Makefile: Add rules to build and run tst-nss-test1.
11881         * shlib-versions: Add entry for libnss_test1.
11882         * nss/nss_test1.c: New file.
11883         * nss/tst-nss-test1.c: New file.
11884
11885         * nss/nsswitch.c (__nss_database_custom): Define new variable.
11886         (__nss_configure_lookup): Set appropriate entry in
11887         __nss_configure_lookup to true.
11888         * nss/nsswitch.h: Define enum with indeces of databases in
11889         databases and __nss_database_custom arrays.  Declare
11890         __nss_database_custom.
11891         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11892         to avoid using nscd when custom rules are installed.
11893         * nss/getXXbyYY_r.c: Likewise.
11894         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11895
11896         * nss/nss_files/files-parse.c: Whitespace fixes.
11897
11898 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
11899
11900         [BZ #11883]
11901         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11902         * posix/fnmatch_loop.c: Likewise.
11903
11904 2010-07-17  Andi Kleen  <ak@linux.intel.com>
11905
11906         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11907         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11908         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11909         * Versions.def [GLIBC_2.13]: Add.
11910
11911 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
11912
11913         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11914         Also fail if tpwd after pwuid call is NULL.
11915
11916 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11917
11918         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11919         when converting to ms.
11920
11921 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11922
11923         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11924         EOPNOTSUPP errors with ENOTTY.
11925         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11926         EOPNOTSUPP errors with ENOTTY.
11927
11928 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
11929
11930         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11931         Add strcasecmp_l-ssse3.
11932         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11933         strcasecmp.
11934         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11935         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11936         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11937
11938 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
11939
11940         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11941
11942         * string/Makefile (strop-tests): Add strcasecmp.
11943         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11944         strcasecmp_l-nonascii.
11945         (gen-as-const-headers): Add locale-defines.sym.
11946         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11947         * sysdeps/x86_64/strcasecmp.S: New file.
11948         * sysdeps/x86_64/strcasecmp_l.S: New file.
11949         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11950         * sysdeps/x86_64/locale-defines.sym: New file.
11951         * string/test-strcasecmp.c: New file.
11952
11953         * string/test-strcasestr.c: Test both ends of the range of characters.
11954         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11955
11956 2010-07-29  Roland McGrath  <roland@redhat.com>
11957
11958         [BZ #11856]
11959         * manual/locale.texi (Yes-or-No Questions): Fix example code.
11960
11961 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
11962
11963         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11964         for ld.so.
11965
11966 2010-07-27  Andreas Schwab  <schwab@redhat.com>
11967
11968         * manual/memory.texi (Malloc Tunable Parameters): Document
11969         M_PERTURB.
11970
11971 2010-07-26  Roland McGrath  <roland@redhat.com>
11972
11973         [BZ #11840]
11974         * configure.in (-fgnu89-inline check): Set and substitute
11975         gnu89_inline, not libc_cv_gnu89_inline.
11976         * configure: Regenerated.
11977         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11978
11979 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
11980
11981         * string/test-strnlen.c: New file.
11982         * string/Makefile (strop-tests): Add strnlen.
11983         * string/tester.c (test_strnlen): Add a few more test cases.
11984         * string/tst-strlen.c: Better error reporting.
11985
11986         * sysdeps/x86_64/strnlen.S: New file.
11987
11988 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
11989
11990         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11991         lower-latency instructions.
11992
11993 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
11994
11995         * string/test-strcasestr.c: New file.
11996         * string/test-strstr.c: New file.
11997         * string/Makefile (strop-tests): Add strstr and strcasestr.
11998         * string/str-two-way.h: Don't undefine MAX.
11999         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12000
12001 2010-07-21  Andreas Schwab  <schwab@redhat.com>
12002
12003         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12004         strcasestr-nonascii.
12005         (CFLAGS-strcasestr-nonascii.c): Define.
12006         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12007         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12008         Remove unused attribute.
12009
12010 2010-07-20  Roland McGrath  <roland@redhat.com>
12011
12012         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12013         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
12014         ld.so.cache was broken.  With it, there is no way to disable dsocaps
12015         like LD_HWCAP_MASK can disable hwcaps.
12016
12017 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
12018
12019         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12020
12021 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
12022
12023         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12024         call in strcasestr.
12025         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12026         __strcasestr_sse42_nonascii.
12027         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12028         strcasestr-nonascii.c.
12029         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12030
12031 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
12032
12033         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12034         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12035         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12036         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12037
12038 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
12039
12040         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12041         fcntl.
12042
12043 2010-07-06  Andreas Schwab  <schwab@redhat.com>
12044
12045         [BZ #11577]
12046         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12047         dl_signal_cerror.
12048
12049 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
12050
12051         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12052         _PC_PIPE_BUF using F_GETPIPE_SZ.
12053
12054 2010-07-05  Roland McGrath  <roland@redhat.com>
12055
12056         * manual/arith.texi (Rounding Functions): Fix rint description
12057         implicit in round description.
12058
12059 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
12060
12061         * elf/Makefile: Fix linking for a few tests to make recent linker
12062         happy.
12063
12064 2010-06-30  Andreas Schwab  <schwab@redhat.com>
12065
12066         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12067         $(common-objpfx)libc_nonshared.a.
12068
12069 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
12070
12071         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12072         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12073         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12074         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12075         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12076         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12077         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12078         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12093         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12094         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12095         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12096         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12097         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12098         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12099         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12100         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12101         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12102         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12103         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12104         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12119
12120 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
12121
12122         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12123         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
12124         * string/memmove.c (memmove): Renamed to ...
12125         (MEMMOVE): ...this.  Default to memmove.
12126         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12127         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12128         (END_CHK): Define.
12129         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12130         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12131         mempcpy-ssse3-back memmove-ssse3-back.
12132         * sysdeps/x86_64/multiarch/bcopy.S: New file .
12133         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12134         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12135         * sysdeps/x86_64/multiarch/memcpy.S: New file.
12136         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12137         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12138         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12139         * sysdeps/x86_64/multiarch/memmove.c: New file.
12140         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12141         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12142         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12143         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12144         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12145         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12146         Define.
12147         (index_Fast_Copy_Backward): Define.
12148         (HAS_ARCH_FEATURE): Define.
12149         (HAS_FAST_REP_STRING): Define.
12150         (HAS_FAST_COPY_BACKWARD): Define.
12151
12152 2010-06-21  Andreas Schwab  <schwab@redhat.com>
12153
12154         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12155         Restore proper fallback handling.
12156
12157 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
12158
12159         [BZ #11701]
12160         * posix/group_member.c (__group_member): Correct checking loop.
12161
12162         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12163         OOM in getpwuid_r correctly.  Return error number when the caller
12164         should return, otherwise -1.
12165         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12166         call returning > 0 value.
12167         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12168
12169 2010-06-07  Andreas Schwab  <schwab@redhat.com>
12170
12171         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12172         libc_nonshared.a from targets in modules-names.
12173
12174 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
12175
12176         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12177         requires it.
12178
12179 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
12180
12181         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12182         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12183         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12184         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12185
12186 2010-06-02  Andreas Schwab  <schwab@redhat.com>
12187
12188         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12189
12190 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
12191
12192         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12193         and F_GETPIPE_SZ.
12194         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12195         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12196         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12197         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12198         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12199         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12200
12201 2010-06-14  Roland McGrath  <roland@redhat.com>
12202
12203         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12204
12205 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
12206
12207         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12208         __REDIRECT followed by __THROW.
12209         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12210         * posix/getopt.h (getopt): Likewise.
12211
12212 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
12213
12214         * hurd/lookup-at.c (__file_name_lookup_at): Accept
12215         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
12216         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12217         in AT_FLAGS.
12218         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12219         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12220
12221 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
12222
12223         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12224
12225 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
12226
12227         [BZ #11640]
12228         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12229         Properly check family and model.
12230
12231 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
12232
12233         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12234
12235 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
12236
12237         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12238
12239 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
12240
12241         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12242         symbol reference.
12243
12244 2010-05-19  Andreas Schwab  <schwab@redhat.com>
12245
12246         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12247         symbol reference.
12248
12249 2010-05-21  Andreas Schwab  <schwab@redhat.com>
12250
12251         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12252         and internal_recvmmsg.
12253         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12254         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12255         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12256         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12257
12258         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12259         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12260         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12261
12262 2010-05-20  Andreas Schwab  <schwab@redhat.com>
12263
12264         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12265
12266 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
12267
12268         POWER7 optimizations.
12269         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12270         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12271
12272 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
12273
12274         * version.h: Update for 2.13 development version.
12275
12276 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
12277
12278         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12279         exceptions.  Return 0.
12280
12281 2010-05-07  Roland McGrath  <roland@redhat.com>
12282
12283         * elf/ldconfig.c (main): Add a const.
12284
12285 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
12286
12287         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12288         (args_options): Add no-idn option.
12289         (ahosts_keys_int): Add idn_flags to ai_flags.
12290         (parse_option): Handle 'i' option to clear idn_flags.
12291
12292         * malloc/malloc.c (_int_free): Possible race in the most recently
12293         added check.  Only act on the data if no current modification
12294         happened.
12295
12296 See ChangeLog.17 for earlier changes.