conformtest: Support testing macro usability in #if.
[platform/upstream/glibc.git] / ChangeLog
1 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
2
3         * conform/conformtest.pl: Handle "macro-int-constant" and test for
4         usability of symbols in #if.
5
6         * conform/conformtest.pl: If macro or constant types start
7         "promoted:", expect the symbol to be of the following type
8         promoted by the integer promotions.
9
10         * conform/conformtest.pl: Parse all "constant" and "macro" lines
11         in one place.  Also handle "macro-constant".
12
13         * conform/conformtest.pl: Only accept expected macro values with
14         "==".  Parse all "macro" lines in one place.
15         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
16
17         * conform/conformtest.pl: Handle braced types on "constant" lines
18         instead of handling "typed-constant".
19         * conform/data/signal.h-data: Use "constant" instead of
20         "typed-constant".
21
22         * conform/conformtest.pl: Handle "optional-" at start of lines in
23         one place rather than duplicating several cases.  Handle each
24         format of "macro" line with initial "optional-".
25
26         * conform/conformtest.pl: Only accept expected constant or
27         optional-constant values with "==".  Parse all "constant" lines in
28         one place.  Parse all "optional-constant" lines in one place.
29         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30         * conform/data/fmtmsg.h-data: Likewise.
31         * conform/data/netinet/in.h-data: Likewise.
32         * conform/data/tar.h-data: Likewise.
33         * conform/data/limits.h-data: Use "==" form on "constant" and
34         "optional-constant" lines.
35
36         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37         Use -std=c99 for XOPEN2K.
38         (@knownproblems): Remove.
39         (newtoken): Don't check %isknown.
40
41         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42         Do not expect macro.
43         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
46         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
47         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
48         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
50         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
52         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
53         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
54         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
55         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
56         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
57         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
58         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
59         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
60         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
61         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
62         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
63         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
64         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
65         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
66         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
67         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
68         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
69         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
70         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
71         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
72         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
73         [XPG3] (acosh): Likewise.
74         [XPG3] (asinh): Likewise.
75         [XPG3] (atanh): Likewise.
76         [XPG3] (cbrt): Likewise.
77         [XPG3] (expm1): Likewise.
78         [XPG3] (ilogb): Likewise.
79         [XPG3] (log1p): Likewise.
80         [XPG3] (logb): Likewise.
81         [XPG3] (nextafter): Likewise.
82         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
83         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
84         [XPG3] (remainder): Likewise.
85         [XPG3] (rint): Likewise.
86         [XPG3 || XPG4 || UNIX98] (round): Likewise.
87         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
88         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
89         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
90         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
91         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
92         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
93         [UNIX98 || XOPEN2K] (scalb): Expect.
94         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
95         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
96         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
97         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
98         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
99         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
100         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
101         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
102         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
103         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
104         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
105         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
106         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
107         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
108         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
109         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
110         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
111         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
112         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
113         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
114         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
115         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
116         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
117         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
118         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
119         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
120         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
121         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
122         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
123         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
124         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
125         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
126         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
127         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
128         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
129         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
130         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
131         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
132         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
133         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
134         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
135         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
136         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
137         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
138         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
139         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
140         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
141         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
142         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
143         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
144         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
145         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
146         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
147         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
148         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
149         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
150         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
151         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
152         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
153         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
154         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
155         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
156         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
157         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
158         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
159         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
160         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
161         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
162         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
163         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
164         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
165         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
166         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
167         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
168         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
169         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
170         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
171         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
172         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
173         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
174         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
175         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
176         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
177         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
178         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
179         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
180         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
181         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
182         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
183         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
184         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
185         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
186         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
187         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
188         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
189         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
190         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
191         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
192         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
193         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
194         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
195         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
196         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
197         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
198         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
199         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
200         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
201         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
202         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
203         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
204         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
205         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
206         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
207         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
208         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
209         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
210         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
211         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
212         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
213         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
214         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
215         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
216         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
217         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
218         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
219         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
220         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
221         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
222         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
223         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
224         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
225         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
226         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
227         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
228         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
229         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
230         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
231
232         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
233         _XOPEN_SOURCE_EXTENDED for XPG4.
234
235         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
236
237         * Makeconfig (localtime): Remove variable.
238         (inst_localtime-file): Likewise.
239
240 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
241
242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
243         Update.
244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
245         Update.
246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
247         Update.
248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
249         Update.
250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
251         Update.
252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
253         Update.
254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
255         Update.
256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
257         Update.
258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
259         Update.
260
261 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
262
263         [BZ #2550]
264         [BZ #2570]
265         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
266         comparisons to determine direction to adjust input.
267         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
268         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
269         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
270         Likewise.
271         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
272         Likewise.
273         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
274         Likewise.
275         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
276         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
277         Likewise.
278         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
279         Likewise.
280         * math/libm-test.inc (nexttoward_test): Add more tests.
281
282 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
283
284         [BZ #14040]
285         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
286         in version GLIBC_2.1, not GLIBC_2.0.
287         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
288         Likewise.
289
290 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
291
292         [BZ #13942]
293         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
294         (1 - x) * (1 + x).
295         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
296         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
297         * math/libm-test.inc (acos_test): Add more tests.
298         (asin_test): Likewise.
299         * sysdeps/i386/fpu/libm-test-ulps: Update.
300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
301
302         [BZ #14034]
303         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
304         of square root.
305         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
306         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
307         * math/libm-test.inc (acos_test_tonearest): New function.
308         (acos_test_towardzero): Likewise.
309         (acos_test_downward): Likewise.
310         (acos_test_upward): Likewise.
311         (asin_test_tonearest): Likewise.
312         (asin_test_towardzero): Likewise.
313         (asin_test_downward): Likewise.
314         (asin_test_upward): Likewise.
315         (main): Call the new functions.
316         * sysdeps/i386/fpu/libm-test-ulps: Update.
317         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
318
319         [BZ #13884]
320         [BZ #13924]
321         * math/e_exp10.c: Include <float.h>.
322         (__ieee754_exp10): Handle underflow here rather than multiplying
323         large negative argument by M_LN10.
324         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
325         of __ieee754_expf.
326         * math/e_exp10l.c: Include <float.h>.
327         (__ieee754_exp10l): Handle underflow here rather than multiplying
328         large negative argument by M_LN10l.
329         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
330         spurious overflow exception on underflow.
331
332 2012-04-29  Marek Polacek  <polacek@redhat.com>
333
334         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
335         (__fortify_function): New macro.
336         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
337         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
338         __extern_always_inline.
339         * libio/bits/stdio2.h: Likewise.
340         * libio/bits/stdio.h: Likewise.
341         * string/string.h: Likewise.
342         * string/bits/string3.h: Likewise.
343         * include/stdio.h: Likewise.
344         * stdlib/bits/stdlib.h: Likewise.
345         * stdlib/stdlib.h: Likewise.
346         * rt/bits/mqueue2.h: Likewise.
347         * rt/mqueue.h: Likewise.
348         * posix/bits/unistd.h: Likewise.
349         * posix/unistd.h: Likewise.
350         * io/bits/poll2.h: Likewise.
351         * io/bits/fcntl2.h: Likewise.
352         * io/fcntl.h: Likewise.
353         * io/sys/poll.h: Likewise.
354         * misc/bits/syslog.h: Likewise.
355         * misc/bits/syslog-ldbl.h: Likewise.
356         * misc/sys/syslog.h: Likewise.
357         * socket/bits/socket2.h: Likewise.
358         * socket/sys/socket.h: Likewise.
359         * debug/tst-chk1.c: Likewise.
360         * wcsmbs/bits/wchar2.h: Likewise.
361         * wcsmbs/bits/wchar-ldbl.h: Likewise.
362         * wcsmbs/wchar.h: Likewise.
363
364 2012-04-29  Andreas Jaeger  <aj@suse.de>
365
366         * Makerules (tests): Remove enable-check-abi protection.
367         (check-abi-warn): Remove.
368         (check-abi-%): Remove check-abi-warn usage.
369
370         * configure.in: Remove check-abi configure option.
371         * configure: Regenerated.
372         * config.make.in (enable-check-abi): Remove.
373
374 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
375
376         [BZ #14033]
377         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
378         double functions to double *_finite functions.
379
380         [BZ #13941]
381         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
382         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
383         LDBL_MIN_EXP.
384         * stdio-common/Makefile (tests): Add tst-sprintf3.
385         * stdio-common/tst-sprintf3.c: New file.
386
387         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
388         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
389
390 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
391
392         * conform/conformtest.pl: Remove duplicate typed-constant
393         handling.
394
395 2012-04-28  David S. Miller  <davem@davemloft.net>
396
397         * Makerules (%.abilist): Add vpath on sysdep_dirs.
398         (check-abi-%): Remove AWK script prerequisite and explicit
399         abilist directory.
400         (check-abi): Rewrite to just diff the symlist with the abilist.
401         (config-tls, config-abi-config): Delete, no longer used.
402         (update-abi-%): Remove AWK script and explicit abilist directory.
403         (update-abi): Rewrite to simply compare and conditionally copy the
404         symlist and the sysdep abilist file.  Remove update-abi-config
405         checks.
406         * abilist/ld.abilist: Remove.
407         * abilist/libBrokenLocale.abilist: Remove.
408         * abilist/libanl.abilist: Remove.
409         * abilist/libcrypt.abilist: Remove.
410         * abilist/libdl.abilist: Remove.
411         * abilist/librt.abilist: Remove.
412         * abilist/libthread_db.abilist: Remove.
413         * abilist/libutil.abilist: Remove.
414         * scripts/extract-abilist.awk: Remove.
415         * scripts/merge-abilist.awk: Remove.
416         * sysdeps/generic/libcidn.abilist: New file.
417         * sysdeps/generic/libnss_compat.abilist: New file.
418         * sysdeps/generic/libnss_db.abilist: New file.
419         * sysdeps/generic/libnss_dns.abilist: New file.
420         * sysdeps/generic/libnss_files.abilist: New file.
421         * sysdeps/generic/libnss_hesiod.abilist: New file.
422         * sysdeps/generic/libnss_nis.abilist: New file.
423         * sysdeps/generic/libnss_nisplus.abilist: New file.
424         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
425         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
426         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
427         file.
428         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
429         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
430         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
431         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
432         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
433         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
434         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
435         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
436         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
437         file.
438         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
439         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
440         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
441         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
442         file.
443         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
444         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
445         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
446         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
447         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
448         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
449         file.
450         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
451         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
452         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
453         file.
454         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
455         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
456         New file.
457         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
458         New file.
459         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
460         New file.
461         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
462         New file.
463         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
464         New file.
465         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
466         New file.
467         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
468         New file.
469         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
470         New file.
471         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
472         New file.
473         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
474         New file.
475         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
476         New file.
477         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
478         New file.
479         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
480         New file.
481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
482         file.
483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
484         New file.
485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
486         New file.
487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
488         file.
489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
490         New file.
491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
492         New file.
493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
494         file.
495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
496         New file.
497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
498         New file.
499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
500         New file.
501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
502         New file.
503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
504         New file.
505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
506         New file.
507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
508         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
509         file.
510         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
511         New file.
512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
513         file.
514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
515         file.
516         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
517         file.
518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
519         file.
520         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
521         file.
522         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
523         New file.
524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
525         file.
526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
527         file.
528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
529         New file.
530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
531         file.
532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
534         file.
535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
536         New file.
537         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
538         file.
539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
540         file.
541         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
542         file.
543         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
544         file.
545         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
546         file.
547         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
548         New file.
549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
550         file.
551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
552         file.
553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
554         New file.
555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
556         file.
557         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
558         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
559         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
560         file.
561         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
562         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
563         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
564         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
565         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
566         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
567         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
568         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
569         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
570         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
571         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
572         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
573         file.
574         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
575         New file.
576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
577         file.
578         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
579         file.
580         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
581         file.
582         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
583         file.
584         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
585         file.
586         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
587         New file.
588         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
589         New file.
590         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
591         file.
592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
593         New file.
594         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
595         file.
596         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
597         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
598         file.
599         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
600         New file.
601         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
602         file.
603         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
604         file.
605         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
606         file.
607         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
608         file.
609         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
610         file.
611         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
612         New file.
613         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
614         New file.
615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
616         file.
617         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
618         New file.
619         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
620         file.
621
622 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
623
624         * conform/conformtest.pl: Fix typo in handling typed-constant from
625         allow-header.
626
627 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
628
629         * README: Cut down references to pre-2.6 Linux kernels and
630         Linuxthreads.  Update lists of configurations in libc and ports
631         and sort alphabetically.  Say "or newer" with Linux kernel version
632         requirements.
633
634         * config.h.in [IS_IN_build]: Allow compiling without optimization.
635
636 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
637
638         [BZ #887]
639         * math/libm-test.inc (logb_test_downward): New test to expose
640         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
641         rounding mode.
642
643 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
644
645         [BZ #14027]
646         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
647         to be done.
648         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
649         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
650
651 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
652
653         * sysdeps/unix/i386/brk.S: Remove file.
654         * sysdeps/unix/i386/dl-brk.S: Likewise.
655         * sysdeps/unix/i386/pipe.S: Likewise.
656         * sysdeps/unix/i386/sigreturn.S: Likewise.
657         * sysdeps/unix/i386/syscall.S: Likewise.
658         * sysdeps/unix/i386/vfork.S: Likewise.
659         * sysdeps/unix/i386/wait.S: Likewise.
660
661         * sysdeps/unix/common/tcsendbrk.c: Move to ...
662         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
663
664         * configure.in (arm*-none*): Do not allow without
665         --enable-hacker-mode.
666         (netbsd*): Remove case setting base_os.
667         (386bsd*): Likewise.
668         (freebsd*): Likewise.
669         (bsdi*): Likewise.
670         (osf*): Likewise.
671         (sunos*): Likewise.
672         (ultrix*): Likewise.
673         (newsos*): Likewise.
674         (dynix*): Likewise.
675         (*bsd*): Likewise.
676         (sysv*): Likewise.
677         (isc*): Likewise.
678         (esix*): Likewise.
679         (sco*): Likewise.
680         (minix*): Likewise.
681         (irix4*): Likewise.
682         (irix6*): Likewise.
683         (solaris[2-9]*): Likewise.
684         (none): Likewise.
685         * configure: Regenerated.
686
687 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
688
689         [BZ #11521]
690         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
691         overflow or cancellation in calculating denominator.
692         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
693         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
694         down expression to avoid unexpected rounding in newer GCCs.
695         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
696
697 2012-04-26  David S. Miller  <davem@davemloft.net>
698
699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
700         long-double compat symbols.
701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
710         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
713         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
714
715 2012-04-25  David S. Miller  <davem@davemloft.net>
716
717         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
718         HWCAP_* values only after the memory barriers have been defined.
719         (atomic_full_barrier): Define.
720         (atomic_read_barrier): Define.
721         (atomic_write_barrier): Define.
722
723 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
724
725         * shlib-versions: Add libgcc_s version information.
726         * sysdeps/generic/libgcc_s.h: Remove.
727         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
728         libgcc_s.h.
729         * sysdeps/gnu/unwind-resume.c: Likewise.
730         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
731
732 2012-04-25  David S. Miller  <davem@davemloft.net>
733
734         * sysdeps/unix/sparc/brk.S: Delete.
735         * sysdeps/unix/sparc/dl-brk.S: Delete.
736         * sysdeps/unix/sparc/pipe.S: Delete.
737         * sysdeps/unix/sparc/sysdep.S: Delete.
738         * sysdeps/unix/sparc/sysdep.h: Delete.
739         * sysdeps/unix/sparc/vfork.S: Delete.
740         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
741         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
742         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
743         ret_ERRVAL, r0, r1, MOVE): Define.
744         (JUMPTARGET): Remove.
745         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
746         sysdeps/unix/sparc/sysdep.h
747         (ENTRY, END): Remove.
748         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
749
750 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
751
752         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
753         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
754         -DIS_IN_build.
755
756         * timezone/README: Update upstream location and email address for
757         tzcode and tzdata.
758         * timezone/zdump.c: Update from tzcode 2012b.
759         * timezone/zic.c: Likewise.
760
761         * configure.in (libc_cv_as_needed): Remove test.
762         * configure: Regenerated.
763         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
764         conditional definition.
765         [$(have-as-needed) != yes] (no-as-needed): Likewise.
766         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
767         * config.make.in (have-as-needed): Remove variable.
768
769 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
770             Paul Pluzhnikov  <ppluzhnikov@google.com>
771
772         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
773         strings correctly.
774
775 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
776
777         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
778         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
779         * sysdeps/sh/strlen.S: Likewise.
780
781 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
782
783         * sysdeps/unix/fork.S: Remove file.
784         * sysdeps/unix/i386/fork.S: Likewise.
785         * sysdeps/unix/sparc/fork.S: Likewise.
786
787         * sysdeps/unix/system.c: Remove file.
788         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
789
790         * sysdeps/unix/getegid.S: Remove file.
791         * sysdeps/unix/geteuid.S: Likewise.
792
793 2012-04-24  Roland McGrath  <roland@hack.frob.com>
794
795         * scripts/check-localplt.awk: New file.
796         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
797         of diff.
798         * scripts/data/localplt-generic.data: Add a comment.
799
800         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
801         NODE when __dir_mkfile failed.
802         * sysdeps/mach/hurd/symlinkat.c: Likewise.
803         Reported by Ludovic Courtès <ludo@gnu.org>.
804
805 2012-04-24  Andreas Jaeger  <aj@suse.de>
806
807         * Makerules (common-clean): Also remove gen-as-const-headers
808         files.
809
810 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
811
812         * Makerules (native-compile): Do not change working directory for
813         build.  Use $(OUTPUT_OPTION) in command.
814         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
815
816 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
817
818         [BZ #13886]
819         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
820         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
821         * math/libm-test.inc (floor_test): Add more tests.
822         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
823
824 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
825
826         * sysdeps/unix/getdents.c: Remove file.
827         * sysdeps/unix/sysv/getdents.c: Likewise.
828         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
829
830         * sysdeps/unix/syscalls.list (madvise): Add syscall from
831         sysdeps/unix/mman/syscalls.list.
832         (mmap): Likewise.
833         (mprotect): Likewise.
834         (msync): Likewise.
835         (munmap): Likewise.
836         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
837         * sysdeps/unix/mman/syscalls.list: Remove.
838         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
839
840         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
841         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
842         * configure: Regenerated.
843         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
844         $(libgcc_s_suffix).
845         * config.make.in (libgcc_s_suffix): Remove variable.
846
847 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
848
849         * sysdeps/unix/sysv/gethostname.c: Move to ...
850         * sysdeps/posix/gethostname.c: ... here.
851
852         * sysdeps/unix/execve.S: Remove file.
853
854         * sysdeps/unix/_exit.S: Remove file.
855
856 2012-04-23  Andreas Jaeger  <aj@suse.de>
857
858         [BZ #13739]
859         * manual/Makefile: Remove make dist support, there's no
860         need for a stand-alone documentation tar ball.
861         (TEXI2DVI): Define always, it's not in Makeconfig.
862         (dist): Removed.
863         (tar-it): Removed.
864         (edition): Removed.
865         (glibc-doc-$(edition).tar): Removed
866         (%.Z): Removed.
867         (%.gz): Removed.
868         (%.uu): Removed.
869         (ETAGS): Remove, it's in Makeconfig.
870         (move-if-change): Remove, it's in Makeconfig.
871
872 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
873
874         [BZ #13970]
875         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
876         (strtod, strtof, strtold, strtol, strtoul, strtoq)
877         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
878         (strtod_l, strtof_l, strtold_l): Remove __wur.
879         It is not necessarily an error to ignore strtol's return value.
880         One can reliably look at the stored endptr to decide whether
881         the number had valid syntax.
882
883 2012-04-21  Andreas Jaeger  <aj@suse.de>
884
885         [BZ #13739]
886         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
887
888 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
889
890         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
891         * sysdeps/unix/sysv/Versions: Remove file.
892
893 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
894
895         [BZ #13927]
896         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
897
898 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
899
900         [BZ #7064]
901         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
902         version from __vm86.
903
904 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
905
906         * sysdeps/unix/common/lxstat.c: Remove file.
907         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
908
909         * sysdeps/unix/sysv/Makefile: Remove file.
910
911         * sysdeps/unix/sysv/direct.h: Remove file.
912
913         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
914         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
915         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
916         * sysdeps/unix/sysv/bits/signum.h: Likewise.
917         * sysdeps/unix/sysv/bits/stat.h: Likewise.
918         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
919         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
920
921         * sysdeps/unix/sysv/setrlimit.c: Remove file.
922
923         * sysdeps/unix/xmknod.c: Remove file.
924         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
925
926         * sysdeps/unix/sysv/settimeofday.c: Remove file.
927
928         * sysdeps/unix/sysv/i386/time.S: Remove file.
929
930         * sysdeps/unix/fxstat.c: Remove file.
931         * sysdeps/unix/xstat.c: Likewise.
932         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
933
934         * sysdeps/unix/sysv/sigaction.c: Remove file.
935
936         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
937         (sysdep_headers): Remove variable.
938         [termio.h not in sysdep_headers] (generated): Likewise.
939         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
940         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
941         * sysdeps/unix/sysv/tcdrain.c: Likewise.
942         * sysdeps/unix/sysv/tcflow.c: Likewise.
943         * sysdeps/unix/sysv/tcflush.c: Likewise.
944         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
945         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
946         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
947         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
948         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
949
950         * sysdeps/unix/siglist.c: Remove file.
951
952         * sysdeps/unix/getppid.S: Remove file.
953
954         * sysdeps/unix/mkdir.c: Remove file.
955         * sysdeps/unix/rmdir.c: Likewise.
956
957 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
958
959         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
960         ERR_MAX value.
961         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
962         errlist-compat value.
963
964 2012-04-18  David S. Miller  <davem@davemloft.net>
965
966         * sysdeps/generic/memcopy.h (reg_char): Delete.
967         * debug/strcat_chk.c: Use char, not reg_char.
968         * debug/strcpy_chk.c: Likewise.
969         * debug/strncat_chk.c: Likewise.
970         * debug/strncpy_chk.c: Likewise.
971         * string/memchr.c: Likewise.
972         * string/memrchr.c: Likewise.
973         * string/rawmemchr.c: Likewise.
974         * string/strcat.c: Likewise.
975         * string/strchr.c: Likewise.
976         * string/strchrnul.c: Likewise.
977         * string/strcmp.c: Likewise.
978         * string/strcpy.c: Likewise.
979         * string/strncat.c: Likewise.
980         * string/strncmp.c: Likewise.
981         * string/strncpy.c: Likewise.
982
983 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
984
985         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
986         __builtin_memcopy is called when src and dest ranges are known to not
987         overlap.
988
989 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
990
991         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
992         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
993         fwd_align_merge macro call.
994         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
995         bwd_align_merge macro call.
996         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
997
998 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
999
1000         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1001         bwd_align_merge macros.
1002         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1003         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1004         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1005
1006 2012-04-18  David S. Miller  <davem@davemloft.net>
1007
1008         * sysdeps/sparc/sparc64/memcopy.h: Delete.
1009
1010 2012-04-18  Andreas Jaeger  <aj@suse.de>
1011
1012         [BZ# 6794]
1013         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1014         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1015         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1016
1017         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1018         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1019         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1020
1021         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1022         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1023         Adjust for changed ldbl-128 files.
1024
1025         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1026         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1027         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1028
1029 2012-04-17  David S. Miller  <davem@davemloft.net>
1030
1031         * sysdeps/sparc/sparc32/memcopy.h: Delete.
1032
1033 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
1034
1035         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1036         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1037         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1038         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1039         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1040         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1041
1042 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1043
1044         [BZ #6794]
1045         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1046         * math/libm-test.inc: Add ilogb errno and exception tests.
1047         * math/w_ilogb.c: New file: ilogb wrapper.
1048         * math/w_ilogbf.c: New file: ilogbf wrapper.
1049         * math/w_ilogbl.c: New file: ilogbl wrapper.
1050         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1051         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1052         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1053         exception being thrown with 0.0 as argument.
1054         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1055         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1056         exception being thrown with 0.0 as argument.
1057         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1058         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1059         exception being thrown with 0.0 as argument.
1060         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1061         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1062         exception being thrown with 0.0 as argument.
1063         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1064         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
1065         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
1066         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1067         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1068         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1069         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1070         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1071         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1072
1073 2012-04-17  Petr Baudis  <pasky@ucw.cz>
1074
1075         * include/sys/uio.h: Change __vector to __iovec to avoid clash
1076         with altivec.
1077
1078 2012-04-16  Marek Polacek  <polacek@redhat.com>
1079
1080         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1081
1082 2012-04-16  Marek Polacek  <polacek@redhat.com>
1083
1084         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1085         operands of fdivp instruction.
1086
1087 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
1088
1089         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1090         * elf/tst-auditmod3b.c: Likewise.
1091         * elf/tst-auditmod4b.c: Likewise.
1092         * elf/tst-auditmod5b.c: Likewise.
1093         * elf/tst-auditmod6b.c: Likewise.
1094         * elf/tst-auditmod6c.c: Likewise.
1095         * elf/tst-auditmod7b.c: Likewise.
1096         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1097         * sysdeps/x86_64/preconfigure.in: Likewise.
1098         * sysdeps/x86_64/preconfigure: Regenerated.
1099
1100 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
1101
1102         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1103         __ILP32__.
1104
1105 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
1106
1107         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1108         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1109
1110 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
1111
1112         [BZ #13973]
1113         * locale/iso-639.def: Fix gl language name. Spotted by
1114         Yaron Shahrabani.
1115
1116 2012-04-12  Roland McGrath  <roland@hack.frob.com>
1117
1118         [BZ #2074]
1119         * libio/libio.h (__io_write_fn): Update comment.
1120
1121 2012-04-12  Petr Baudis  <pasky@ucw.cz>
1122
1123         [BZ #2074]
1124         * stdio.texi (Hook Functions): The user provided writer function
1125         is not allowed to return -1.
1126
1127 2012-04-11  David S. Miller  <davem@davemloft.net>
1128
1129         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1130
1131 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
1132
1133         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1134         Add a leading slash to rtkaio.
1135
1136 2012-04-11  Jim Meyering  <meyering@redhat.com>
1137
1138         [BZ #11959]
1139         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1140         It is not necessarily an error to ignore fwrite's return
1141         value.  One can reliably use ferror to test for errors after
1142         the fact.
1143
1144 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
1145
1146         * bits/types.h (__snseconds_t): New type.
1147         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1148
1149         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1150         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1151         (__SNSECONDS_T_TYPE): Likewise.
1152         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1153         (__SNSECONDS_T_TYPE): Likewise.
1154         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1155         (__SNSECONDS_T_TYPE): Likewise.
1156
1157 2012-04-10  Andreas Jaeger  <aj@suse.de>
1158
1159         [BZ #2636]
1160         * manual/time.texi (Processor Time): Return type of times is
1161         elapsed real time since an arbitrary point in the past.
1162         (CPU Time): Move CLK_TCK from here...
1163         (Processor Time): ...to here.  Correct description.
1164         * manual/conf.texi (Constants for Sysconf): Correct description of
1165         _SC_CLK_TCK.
1166
1167 2012-04-10  David S. Miller  <davem@davemloft.net>
1168
1169         [BZ #13967]
1170         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1171         where the is a gap between DT_REL(A) and DT_JMPREL.
1172
1173 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
1174
1175         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1176         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1177         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1178
1179 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1180
1181         * elf/dl-support.c (_dl_inhibit_cache): New variable.
1182         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1183         (dl_main): Handle --inhibit-cache.
1184         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1185         _dl_inhibit_cache.
1186         * elf/dl-load.c (_dl_map_object): Use it.
1187         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1188
1189 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
1190
1191         [BZ #13872]
1192         * sysdeps/i386/fpu/e_powl.S (p78): New object.
1193         (__ieee754_powl): Saturate large exponents rather than testing for
1194         overflow of y*log2(x).
1195         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1196         * math/libm-test.inc (pow_test): Do not permit spurious overflow
1197         exceptions.
1198
1199         [BZ #11521]
1200         * math/s_ctan.c: Include <float.h>.
1201         (__ctan): Avoid internal overflow or cancellation in calculating
1202         denominator.
1203         * math/s_ctanf.c: Likewise.
1204         * math/s_ctanl.c: Likewise.
1205         * math/s_ctanh.c: Likewise.
1206         * math/s_ctanhf.c: Likewise.
1207         * math/s_ctanhl.c: Likewise.
1208         * math/libm-test.inc (ctan_test): Add more tests.
1209         (ctanh_test): Likewise.
1210         * sysdeps/i386/fpu/libm-test-ulps: Update.
1211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1212
1213 2012-04-09  Andreas Jaeger  <aj@suse.de>
1214
1215         [BZ #6894]
1216         * manual/filesys.texi (Directory Entries): Mention that d_namlen
1217         is an optional BSD extension.
1218
1219         [BZ #10254]
1220         * manual/stdio.texi (Opening Streams): Document additional fopen
1221         parameters.
1222
1223 2012-04-09  Roland McGrath  <roland@hack.frob.com>
1224
1225         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1226         %eax without telling the compiler.
1227
1228 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
1229
1230         [BZ # 13963]
1231         * manual/install.texi: Use sourceware.org.
1232
1233 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
1234
1235         [BZ #13873]
1236         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1237         (__ieee754_pow): Generate overflow and underflow using huge*huge
1238         and tiny*tiny rather than just returning constant infinity or zero
1239         for large exponents.
1240         * math/libm-test.inc (pow_test): Require overflow exceptions for
1241         applicable cases of large exponents.
1242
1243         [BZ #706]
1244         * sysdeps/i386/fpu/e_pow.S (p10): New object.
1245         (__ieee754_pow): Use iterative multiplication algorithm only for
1246         integer exponents with absolute value below 1024.  Check for odd
1247         integer exponents when using algorithm for real exponents.
1248         * math/libm-test.inc (pow_test): Add more tests.
1249         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1250
1251 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
1252
1253         [BZ #13705]
1254         * math/libm-test.inc (exp_test): Do not allow overflow exception
1255         on underflow test.
1256
1257 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
1258
1259         [BZ #13705]
1260         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1261         instead of __kernel_standard_f.
1262
1263 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
1264
1265         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1266         * sysdeps/x86_64/memset_chk.S: Likewise.
1267
1268 2012-04-08  Andreas Jaeger  <aj@suse.de>
1269
1270         [BZ #10153]
1271         * manual/startup.texi (Environment Access): Describe return value
1272         for putenv and setenv.
1273
1274         [BZ #6895]
1275         * manual/filesys.texi (Directory Entries): Add description for
1276         DT_LNK.
1277
1278         [BZ #6890]
1279         * manual/filesys.texi (Directory Entries): Clarify that it's file
1280         system not operating system in the description of DT_UNKNOWN.
1281
1282         [BZ #6578]
1283         * manual/syslog.texi (closelog): Fix reference, it's openlog.
1284
1285 2012-04-08  Stephen Compall  <s11@member.fsf.org>
1286
1287         [BZ #6649]
1288         * manual/llio.texi (Opening and Closing Files): Add cross
1289         reference to explain mode argument.
1290
1291 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
1292
1293         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1294         * sysdeps/x86_64/memset_chk.S: Likewise.
1295
1296 2012-04-07  David S. Miller  <davem@davemloft.net>
1297
1298         * elf/elf.h (R_SPARC_WDISP10): Define.
1299         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1300         R_SPARC_SIZE32.
1301         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1302         R_SPARC_SIZE64 and R_SPARC_H34.
1303
1304 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
1305
1306         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1307         conditions and remove no longer applicable assertion.
1308
1309 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
1310
1311         * bits/byteswap.h: Include <features.h>.
1312         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1313         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1314
1315 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
1316
1317         * bits/byteswap.h (__bswap_16): Removed.
1318         Include <bits/byteswap-16.h> to get __bswap_16.
1319         * sysdeps/i386/bits/byteswap.h: Likewise.
1320         * sysdeps/s390/bits/byteswap.h: Likewise.
1321         * sysdeps/x86_64/bits/byteswap.h: Likewise.
1322         * bits/byteswap-16.h: New file.
1323         * sysdeps/i386/bits/byteswap-16.h: Likewise.
1324         * sysdeps/s390/bits/byteswap-16.h: Likewise.
1325         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1326         * string/Makefile (headers): Add bits/byteswap-16.h.
1327
1328 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1329
1330         [BZ #13895]
1331         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1332         extra indirection.
1333         * nss/Makefile (tests-static, tests): Add tst-nss-static.
1334         * nss/tst-nss-static.c: New.
1335
1336 2012-04-06  Robert Millan  <rmh@gnu.org>
1337
1338         [BZ #6486]
1339         * manual/llio.texi (File Position Primitive): lseek
1340         refers to WHENCE when it really means OFFSET.
1341
1342 2012-04-06  Andreas Jaeger  <aj@suse.de>
1343
1344         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1345         strncmp declarations.
1346
1347         * abilist/libc.abilist: Add __poll and __ppoll.
1348
1349 2012-04-05  David S. Miller  <davem@davemloft.net>
1350
1351         * scripts/check-local-headers.sh: Accept a host triplet in the
1352         path matched by the exclude regexp.
1353
1354         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1355         definition.
1356         * sysdeps/powerpc/powerpc32/dl-machine.h
1357         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1358         * sysdeps/s390/s390-32/dl-machine.h
1359         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1360         * sysdeps/sparc/sparc32/dl-machine.h
1361         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1362         * sysdeps/sparc/sparc64/dl-machine.h
1363         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1364
1365         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1366         lazy binding.
1367         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
1368         undefined symbol errors.
1369
1370         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
1371         DT_NEEDED entries.
1372
1373 2012-04-05  Michael Matz  <matz@suse.de>
1374
1375         [BZ #13592]
1376         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1377
1378 2012-04-05  Andreas Jaeger  <aj@suse.de>
1379
1380         [BZ #13908]
1381         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1382         comment.
1383
1384 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1385
1386         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1387         which ROUND is no valid rounding mode.
1388
1389 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1390
1391         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1392         read again.
1393         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1394
1395 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1396
1397         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1398         an exception using FPU order intentionally.
1399
1400 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1401
1402         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1403         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1404         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1405         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1406
1407 2012-04-05  Simon Josefsson  <simon@josefsson.org>
1408
1409         [BZ #12340]
1410         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1411         EINVAL when BUFLEN is too smal.
1412
1413 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
1414
1415         [BZ #13553]
1416         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1417         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1418
1419 2012-04-03  Andreas Jaeger  <aj@suse.de>
1420
1421         [BZ #13938]
1422         * manual/setjmp.texi (System V contexts): Fix sentence.
1423
1424         [BZ #13926]
1425         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1426         New macro for this case.
1427         [!__GNUC__] (__bswap_64): New inline function for this case.
1428         * sysdeps/x86_64/bits/byteswap.h: Likewise.
1429         * bits/byteswap.h: Likewise.
1430         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1431         ull, guard with __GLIBC_HAVE_LONG_LONG.
1432
1433         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1434         __GLIBC_HAVE_LONG_LONG.
1435
1436         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1437         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1438
1439 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1440
1441         [BZ #13691]
1442         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1443         inptr and inend, rather than using last_ch.
1444
1445 2012-04-02  David S. Miller  <davem@davemloft.net>
1446
1447         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1448         * stdio-common/printf-parse.h (read_int): Change return type to
1449         'int', return -1 on INT_MAX overflow.
1450         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1451         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
1452         overflows INT_MAX.  Check for overflow of in-format-string precision
1453         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
1454         SIZE_MAX not INT_MAX for integer overflow test.
1455         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1456         skip the construct in the format string but do not record anything.
1457         * stdio-common/bug22.c: Adjust to test both width/prevision
1458         INT_MAX overflow as well as total length INT_MAX overflow.  Check
1459         explicitly for proper errno values.
1460
1461 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
1462
1463         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1464         CHAR_MAX.
1465         * string/test-strcmp.c [! WIDE]: Likewise.
1466         * time/tst-mktime2.c: Likewise for INT_MAX.
1467         * string/test-string.h: #include <sys/param.h> for MIN.
1468
1469         * csu/init-first.c (__libc_init_first): Call __ctype_init.
1470         * sysdeps/i386/init-first.c (init): Likewise.
1471         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1472         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1473         * sysdeps/sh/init-first.c (init): Likewise.
1474
1475 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
1476
1477         * po/ru.po: Update from translation team.
1478         * po/vi.po: Likewise.
1479
1480 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1481
1482         * resolv/nss_dns/dns-host.c: Merge copyright years.
1483
1484 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1485
1486         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1487         Optimize memcpy with prefetch if
1488         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
1489         src, dst pointers have unequal 16 byte alignments.
1490
1491 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1492
1493         [BZ #13928]
1494         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1495         from a CNAME entry and return the minimum ttl for the query.
1496         (gaih_getanswer_slice): Likewise.
1497
1498 2012-03-30  Jeff Law  <law@redhat.com>
1499
1500         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1501         due to long keys.
1502         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1503         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1504
1505         * resolv/nss_dns/dns-host.c: Update copyright year.
1506
1507 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
1508
1509         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
1510         requests to save a system call.  Fix check that all bytes are sent.
1511
1512         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1513         comments for sendmmsg.
1514
1515 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1516
1517         [BZ #13691]
1518         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1519         with only 1 character between 0x0041 and 0x01b0.
1520         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1521         * wcsmbs/tst-mbsnrtowcs.c: New file.
1522
1523 2012-03-29  David S. Miller  <davem@davemloft.net>
1524
1525         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1526         small copies by hand.
1527
1528 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1529
1530         [BZ #13761]
1531         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1532         _nss_compat_initgroups_dyn): Fall back to malloc/free
1533         for large group memberships.
1534
1535 2012-03-28  David S. Miller  <davem@davemloft.net>
1536
1537         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1538         that branches into memcpy.
1539         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1540         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1541         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1542         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1543         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1544         bits.
1545         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1546         implementation too.
1547         * sysdeps/sparc/mempcpy.S: New file.
1548
1549         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1550         the IFUNC routine in the libc case.
1551         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1552
1553         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1554         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1555         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1556         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1557         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1558         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1559         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1560         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1561
1562         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1563         loop to 256 bytes instead of 64 bytes and fix test signedness.
1564
1565         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1566         * sysdeps/sparc/sparc32/Makefile: rather than here...
1567         * sysdeps/sparc/sparc64/Makefile: and here.
1568
1569 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
1570
1571         * malloc/mallocbug.c: Avoid warnings about unused variables.
1572
1573 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1574
1575         [BZ #13760]
1576         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1577         in the right place. Discard and retry query if response is
1578         larger than input buffer size.
1579
1580 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
1581
1582         [BZ #369]
1583         [BZ #2678]
1584         [BZ #3866]
1585         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1586         x for large integer exponent.
1587         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1588         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
1589         sign of result as needed afterwards.
1590         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1591         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1592         result for underflowing pow the same as for overflow.
1593         (__kernel_standard_l): Handle powl overflow and underflow here
1594         rather than calling __kernel_standard.
1595         * math/libm-test.inc (pow_test): Add more tests.
1596
1597         [BZ #3868]
1598         [BZ #13879]
1599         [BZ #13910]
1600         [BZ #13911]
1601         [BZ #13912]
1602         [BZ #13913]
1603         [BZ #13915]
1604         [BZ #13916]
1605         [BZ #13917]
1606         [BZ #13918]
1607         [BZ #13919]
1608         [BZ #13920]
1609         [BZ #13921]
1610         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1611         * sysdeps/ieee754/k_standard.c: Include <float.h>.
1612         (__kernel_standard_l): New function.
1613         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1614         __kernel_standard.
1615         * math/w_acosl.c (__acosl): Likewise.
1616         * math/w_asinl.c (__asinl): Likewise.
1617         * math/w_atan2l.c (__atan2l): Likewise.
1618         * math/w_atanhl.c (__atanhl): Likewise.
1619         * math/w_coshl.c (__coshl): Likewise.
1620         * math/w_exp10l.c (__exp10l): Likewise.
1621         * math/w_exp2l.c (__exp2l): Likewise.
1622         * math/w_fmodl.c (__fmodl): Likewise.
1623         * math/w_hypotl.c (__hypotl): Likewise.
1624         * math/w_j0l.c (__j0l, __y0l): Likewise.
1625         * math/w_j1l.c (__j1l, __y1l): Likewise.
1626         * math/w_jnl.c (__jnl, __ynl): Likewise.
1627         * math/w_lgammal.c (__lgammal): Likewise.
1628         * math/w_log10l.c (__log10l): Likewise.
1629         * math/w_log2l.c (__log2l): Likewise.
1630         * math/w_logl.c (__logl): Likewise.
1631         * math/w_powl.c (__powl): Likewise.
1632         * math/w_remainderl.c (__remainderl): Likewise.
1633         * math/w_scalbl.c (sysv_scalbl): Likewise.
1634         * math/w_sinhl.c (__sinhl): Likewise.
1635         * math/w_sqrtl.c (__sqrtl): Likewise.
1636         * math/w_tgammal.c (__tgammal): Likewise.
1637         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1638         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1639         * math/libm-test.inc (acos_test): Add more tests.
1640         (acosh_test): Likewise.
1641         (asin_test): Likewise.
1642         (atanh_test): Likewise.
1643         (exp_test): Likewise.
1644         (exp10_test): Likewise.
1645         (exp2_test): Likewise.
1646         (expm1_test): Likewise.
1647         (lgamma_test): Likewise.
1648         (log_test): Likewise.
1649         (log10_test): Likewise.
1650         (log1p_test): Likewise.
1651         (log2_test): Likewise.
1652         (pow_test): Do not allow some spurious overflow exceptions.
1653         (sqrt_test): Add more tests.
1654         (tgamma_test): Likewise.
1655         (y0_test): Likewise.
1656         (y1_test): Likewise.
1657         (yn_test): Likewise.
1658
1659 2012-03-27  Anton Blanchard  <anton@samba.org>
1660
1661         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1662         MAP_HUGETLB.
1663         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1664         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1665         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1666
1667 2012-03-27  David S. Miller  <davem@davemloft.net>
1668
1669         * conform/Makefile: Run run-conformtest.sh using $(BASH).
1670
1671         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1672         have-as-vis3 check.
1673
1674 2012-03-27  Andreas Jaeger  <aj@suse.de>
1675
1676         * sysdeps/x86_64/elf/configure.in: Moved to ...
1677         * sysdeps/x86_64/configure.in: ... here.
1678         * sysdeps/x86_64/elf/start.S: Moved to ...
1679         * sysdeps/x86_64/start.S: ... here.
1680         * sysdeps/x86_64/elf/configure: Delete.
1681
1682         * sysdeps/x86_64/configure.in: Merge contents from
1683         sysdeps/i386/configure.in (without i686 check).
1684
1685         * sysdeps/i386/elf/Versions: Merge into ...
1686         * sysdeps/i386/Versions: ... this.
1687         * sysdeps/i386/elf/Versions: Delete file.
1688         * sysdeps/i386/elf/start.S: Moved to ...
1689         * sysdeps/i386/start.S: ...here.
1690         * sysdeps/i386/elf/configure.in: Merge into...
1691         * sysdeps/i386/configure.in: ...here.
1692         * sysdeps/i386/elf/configure.in: Delete file.
1693         * sysdeps/i386/elf/configure: Delete file.
1694
1695         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1696         * debug/backtracesyms.c: ... here.
1697         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1698         * debug/backtracesymsfd.c: ... here.
1699         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1700         * sysdeps/generic/ifunc-sel.h: ... here.
1701
1702         * sysdeps/unix/i386/start.c: Delete file.
1703         * sysdeps/unix/sparc/start.c: Delete file.
1704         * sysdeps/unix/start.c: Delete file.
1705
1706         * sysdeps/sh/elf/configure.in: Moved to ...
1707         * sysdeps/sh/configure.in: ... here.
1708         * sysdeps/sh/elf/start.S: Moved to ...
1709         * sysdeps/sh/start.S: ... here.
1710         * sysdeps/sh/elf/configure: Delete file.
1711
1712         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1713         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1714         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1715         * sysdeps/powerpc/powerpc64/entry.h: ... here.
1716         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1717         * sysdeps/powerpc/powerpc64/start.S: here.
1718         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1719         * sysdeps/powerpc/powerpc64/Makefile: ... this.
1720         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1721         * sysdeps/powerpc/powerpc64/configure.in: ... this.
1722         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1723
1724         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1725         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1726         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1727         * sysdeps/powerpc/powerpc32/start.S: ... here.
1728         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1729         * sysdeps/powerpc/powerpc32/configure.in: ... this.
1730         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1731
1732         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1733         * sysdeps/powerpc/ifunc-sel.h: ... here.
1734         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1735         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1736
1737         * sysdeps/sparc/elf/configure.in: Moved to ...
1738         * sysdeps/sparc/configure.in: ... here.
1739         * sysdeps/sparc/elf/configure: Delete file.
1740         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1741         * sysdeps/sparc/sparc32/start.S: ... here.
1742         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1743         * sysdeps/sparc/sparc64/start.S: ... here.
1744         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1745         * sysdeps/sparc/sparc32/Makefile: ... this.
1746         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1747         * sysdeps/sparc/sparc64/Makefile: ... this.
1748
1749         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1750         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1751         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1752         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1753         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1754         * sysdeps/s390/s390-32/setjmp.S: ... here.
1755         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1756         * sysdeps/s390/s390-32/configure.in: ... here.
1757         * sysdeps/s390/s390-32/elf/configure: Delete file.
1758         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1759         * sysdeps/s390/s390-32/start.S: ... here.
1760
1761         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1762         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1763         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1764         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1765         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1766         * sysdeps/s390/s390-64/setjmp.S: ... here.
1767         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1768         * sysdeps/s390/s390-64/configure.in: ... here
1769         * sysdeps/s390/s390-64/elf/configure: Delete file.
1770         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1771         * sysdeps/s390/s390-64/start.S: ... here.
1772         * sysdeps/s390/s390-64/elf/configure: Delete.
1773
1774         * configure.in: Remove support for elf directories in sysdeps.
1775
1776         * configure: Regenerated.
1777         * sysdeps/i386/configure: Regenerated.
1778         * sysdeps/powerpc/powerpc32/configure: Regenerated.
1779         * sysdeps/powerpc/powerpc64/configure: Regenerated.
1780         * sysdeps/s390/s390-32/configure: Regenerated.
1781         * sysdeps/s390/s390-64/configure: Regenerated.
1782         * sysdeps/sh/configure: Regenerated.
1783         * sysdeps/sparc/configure: Regenerated.
1784         * sysdeps/x86_64/configure: Regenerated.
1785
1786 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
1787
1788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1789
1790         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1791         denormal result into account.
1792
1793 2012-03-25  Roland McGrath  <roland@hack.frob.com>
1794
1795         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1796         Reported by Allan McRae <allan@archlinux.org>.
1797
1798 2012-03-23  Jeff Law  <law@redhat.com>
1799
1800         * nss/getnssent.c (__nss_getent): Fix typo.
1801
1802 2012-03-23  David S. Miller  <davem@davemloft.net>
1803
1804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1805
1806 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
1807
1808         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1809         to pad to uint64_t for each field.
1810         (dl_tls_index): Replace unsigned long with uint64_t.
1811
1812 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
1813         Paul Pluzhnikov  <ppluzhnikov@google.com>
1814
1815         [BZ #6528]
1816         * grp/Makefile (otherlibs): Don't set it.
1817         * inet/Makefile (otherlibs): Likewise.
1818         * login/Makefile (otherlibs): Likewise.
1819         * nscd/Makefile (otherlibs): Likewise.
1820         * posix/Makefile (otherlibs): Likewise.
1821         * pwd/Makefile (otherlibs): Likewise.
1822         * rt/Makefile (otherlibs): Likewise.
1823         * sunrpc/Makefile (otherlibs): Likewise.
1824         * nss/Makefile (otherlibs): Likewise.
1825         Add libnss_files to routines and static-only-routines.
1826         ($(objpfx)getent): Remove rule.
1827         * resolv/Makefile: Add libnss_dns and libresolv to routines and
1828         static-only-routines.
1829
1830 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
1831
1832         [BZ #13892]
1833         * math/s_cexp.c: Include <float.h>.
1834         (__cexp): Handle exp result overflowing not necessarily
1835         overflowing both real and imaginary parts of result.
1836         * math/s_cexpf.c: Likewise.
1837         * math/s_cexpl.c: Likewise.
1838         * math/libm-test.inc (cexp_test): Add more tests.
1839         * sysdeps/i386/fpu/libm-test-ulps: Update.
1840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1841
1842 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1843
1844         * include/link.h (ELFW): New macro.
1845         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1846         Replace ELF64_R_TYPE with ELFW(R_TYPE).
1847
1848 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1849
1850         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1851         with uint64_t.
1852
1853 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1854
1855         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1856         declaration.
1857         (struct La_x32_retval): Likewise.
1858
1859 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1860
1861         * sysdeps/x86_64/preconfigure.in: New file.
1862         * sysdeps/x86_64/preconfigure: New generated file.
1863
1864 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
1865
1866         [BZ #13824]
1867         * math/e_exp2l.c: Include <float.h>.
1868         (__ieee754_exp2l): Handle overflow and underflow cases
1869         separately.  Only pass fractional part of argument to
1870         __ieee754_expl.
1871         * math/libm-test.inc (exp2_test): Add more tests.
1872
1873         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1874         negating x to take absolute value.
1875         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1876         Likewise.
1877         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1878         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1879         Likewise.
1880         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1881         computing low part if x was negated.
1882         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1883
1884 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1885
1886         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1887         la_x32_gnu_pltexit.
1888         (pltexit): Cast int_retval to ptrdiff_t.
1889         * elf/tst-auditmod3b.c: Likewise.
1890         * elf/tst-auditmod4b.c: Likewise.
1891         * elf/tst-auditmod5b.c: Likewise.
1892         * elf/tst-auditmod6b.c: Likewise.
1893         * elf/tst-auditmod6c.c: Likewise.
1894         * elf/tst-auditmod7b.c: Likewise.
1895
1896         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1897         and x32_gnu_pltexit.
1898
1899         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1900         __ELF_NATIVE_CLASS.
1901         (La_x32_regs): New macro.
1902         (La_x32_retval): Likewise.
1903         (la_x32_gnu_pltenter): New function prototype.
1904         (la_x32_gnu_pltexit): Likewise.
1905
1906 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
1907
1908         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1909         exponent.
1910
1911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1912
1913         * configure.in (libc_cv_cc_nofma): Check for option to disable
1914         generation of FMA instructions.
1915         * configure: Regenerate.
1916         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1917         * sysdeps/ieee754/dbl-64/Makefile: New file.
1918         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1919         Remove brandred-fma4.
1920         (CFLAGS-brandred-fma4.c): Remove.
1921         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1922         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1923         define.
1924         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1925         define.
1926
1927 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1928
1929         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1930         LLONG_MAX != LONG_MAX.
1931         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1932         (_fitoa_word): Likewise.
1933         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1934         LLONG_MAX != LONG_MAX.
1935         * stdio-common/_itowa.h: Include <_itoa.h>.
1936         (_itowa_word): Use _ITOA_WORD_TYPE on value.
1937         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
1938         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
1939         only if not defined.
1940         (_ITOA_WORD_TYPE): Likewise.
1941         (_itoa_word): Use _ITOA_WORD_TYPE on value.
1942         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1943
1944 2012-03-21  David S. Miller  <davem@davemloft.net>
1945
1946         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1947
1948 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1949
1950         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1951         of x86_64 when setting libc_cv_slibdir, libdir and
1952         libc_cv_localedir.
1953         * sysdeps/unix/sysv/linux/configure: Regenerated.
1954
1955 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1956
1957         * manual/lang.texi (Old Varargs): Remove section.
1958         (How Variadic): Update menu.
1959         (va_start): Do not mention varargs.h.
1960
1961 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1962             Joseph Myers  <joseph@codesourcery.com>
1963
1964         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1965         link test.
1966         * configure: Regenerated.
1967
1968 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
1969
1970         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1971         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1972         conformtest.pl
1973
1974 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
1975
1976         * NOTES: Remove.
1977         * Makefile (files-for-dist): Remove NOTES.
1978         (NOTES): Remove rule.
1979         * README: Don't refer to NOTES.
1980         * manual/creature.texi: Don't include macros.texi.
1981         * manual/intro.texi (creature.texi): Remove comment referring to
1982         NOTES.
1983
1984         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1985         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1986         * configure: Regenerated.
1987         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1988         LIBC_TRY_CC_OPTION.
1989         (libc_cv_as_i686): Likewise.
1990         (libc_cv_cc_avx): Likewise.
1991         (libc_cv_cc_sse2avx): Likewise.
1992         (libc_cv_cc_fma4): Likewise.
1993         (libc_cv_cc_novzeroupper): Likewise.
1994         * sysdeps/i386/configure: Regenerated.
1995
1996         [BZ #13883]
1997         * sysdeps/i386/fpu/s_cexp.S: Remove.
1998         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1999         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2000         * math/libm-test.inc (cexp_test): Add more tests.
2001         * sysdeps/i386/fpu/libm-test-ulps: Update.
2002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2003
2004 2012-03-21  Allan McRae  <allan@archlinux.org>
2005
2006         * timezone/Makefile: Do not install iso3166.tab and zone.tab
2007
2008 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
2009
2010         [BZ #13871]
2011         * math/w_exp2.c: Do not include <float.h>.
2012         (o_threshold, u_threshold): Remove.
2013         (__exp2): Calculate result before checking finiteness and calling
2014         __kernel_standard.
2015         * math/w_exp2f.c: Likewise.
2016         * math/w_exp2l.c: Likewise.
2017         * math/libm-test.inc (exp2_test): Require overflow exception for
2018         1e6 input.
2019
2020         [BZ #3866]
2021         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2022         range of signed 64-bit integers before using fistpll.  Remove
2023         checks for whether integers fit in mantissa bits.
2024         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2025         the range of signed 32-bit integers before using fistpl.  Remove
2026         checks for whether integers fit in mantissa bits.
2027         * sysdeps/i386/fpu/e_powl.S (p64): New object.
2028         (__ieee754_powl): Test for y outside the range of signed 64-bit
2029         integers before using fistpll.  Reduce 64-bit values to 63-bit
2030         ones as needed.
2031         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2032         divide-by-zero is raised for zero to large negative powers.
2033         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2034         (__ieee754_powl): Test for y outside the range of signed 64-bit
2035         integers before using fistpll.  Reduce 64-bit values to 63-bit
2036         ones as needed.
2037         * math/libm-test.inc (pow_test): Add more tests.
2038
2039 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
2040
2041         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2042         <stdio-common/_itoa.h>.
2043         * debug/segfault.c: Likewise.
2044         * elf/dl-cache.c: Likewise.
2045         * elf/dl-minimal.c: Likewise.
2046         * elf/dl-misc.c: Likewise.
2047         * elf/dl-sysdep.c: Likewise.
2048         * elf/dl-version.c: Likewise.
2049         * elf/rtld.c: Likewise.
2050         * hurd/hurdsock.c: Likewise.
2051         * hurd/lookup-retry.c: Likewise.
2052         * malloc/malloc.c: Likewise.
2053         * malloc/mtrace.c: Likewise.
2054         * nscd/nscd_getgr_r.c: Likewise.
2055         * nscd/nscd_getpw_r.c: Likewise.
2056         * nscd/nscd_getserv_r.c: Likewise.
2057         * posix/getopt_init.c: Likewise.
2058         * posix/wordexp.c: Likewise.
2059         * stdio-common/_itoa.c: Likewise.
2060         * stdio-common/printf_fphex.c: Likewise.
2061         * stdio-common/vfprintf.c: Likewise.
2062         * string/_strerror.c: Likewise.
2063         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2064         * sysdeps/i386/i686/hp-timing.h: Likewise.
2065         * sysdeps/mach/_strerror.c: Likewise.
2066         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2067         * sysdeps/mach/hurd/sethostid.c: Likewise.
2068         * sysdeps/mach/hurd/xmknodat.c: Likewise.
2069         * sysdeps/mach/xpg-strerror.c: Likewise.
2070         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2071         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2072         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2073         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2074         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2075         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2076         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2077         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2078         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2079         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2080         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2081         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2082         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2083         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2084         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2085         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2086         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2087         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2088         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2089         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2090         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2091
2092         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2093
2094         * stdio-common/_itoa.h: Moved to ...
2095         * sysdeps/generic/_itoa.h: Here.
2096
2097         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2098
2099         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2100         instead of "_itoa.h" and "_itowa.h".
2101         * stdio-common/vfprintf.: Likewise.
2102
2103 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
2104
2105         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2106         <bits/wordsize.h>.
2107         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2108         (__signbit): Likwise.
2109         (llrintf): Likwise.
2110         (llrint): Likwise.
2111
2112 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
2113
2114         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2115         __WORDSIZE != 64.
2116
2117 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
2118
2119         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2120         OVERFLOW_EXCEPTION_OK.
2121         * math/libm-test.inc ("Philosophy"): Update comment about
2122         exception testing.
2123         (OVERFLOW_EXCEPTION): Define.
2124         (OVERFLOW_EXCEPTION_OK): Likewise.
2125         (INVALID_EXCEPTION_OK): Renumber.
2126         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2127         (IGNORE_ZERO_INF_SIGN): Likewise.
2128         (test_exceptions): Handle FE_OVERFLOW.
2129         (exp10_test): Expect overflow exceptions.
2130         (exp2_test): Likewise.
2131         (expm1_test): Likewise.
2132         (nextafter_test): Likewise.
2133         (pow_test): Likewise.
2134         (scalbn_test): Likewise.
2135         (scalbln_test): Likewise.
2136
2137 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
2138
2139         * sysdeps/x86_64/bits/atomic.h
2140         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2141         64bit integer.
2142         (atomic_exchange_acq): Likewise.
2143         (__arch_exchange_and_add_body): Likewise.
2144         (__arch_add_body): Likewise.
2145         (atomic_add_negative): Likewise.
2146         (atomic_add_zero): Likewise.
2147
2148 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
2149
2150         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
2151         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2152
2153 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
2154
2155         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2156         Check __x86_64__ instead of __WORDSIZE.
2157
2158 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
2159
2160         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2161
2162 2012-03-19  David S. Miller  <davem@davemloft.net>
2163
2164         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2165
2166         * sysdeps/sparc/fpu/fenv_private.h: New file.
2167         * sysdeps/sparc/fpu/math_private.h: Use it.
2168         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2169         Remove.
2170         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2171         (libc_feholdexcept_setroundl): Remove.
2172         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2173         Remove.
2174         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2175         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2176
2177 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
2178
2179         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2180         int64_t instead of long int.
2181         (INSERT_WORDS64): Likwise.
2182
2183 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
2184
2185         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2186         _Unwind_GetCFA return to _Unwind_Ptr first.
2187
2188 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
2189
2190         [BZ #13629]
2191         * math/s_clog.c: Include <float.h>.
2192         (__clog): Scale large or subnormal inputs.
2193         * math/s_clogf.c: Likewise.
2194         * math/s_clogl.c: Likewise.
2195         * math/s_clog10.c: Include <float.h>.
2196         (M_LOG10_2): Define.
2197         (__clog10): Scale large or subnormal inputs.
2198         * math/s_clog10f.c: Likewise.
2199         * math/s_clog10l.c: Likewise.
2200         * math/libm-test.inc (clog_test): Add more tests.
2201         (clog10_test): Likewise.
2202         * sysdeps/i386/fpu/libm-test-ulps: Update.
2203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2204
2205         [BZ #11451]
2206         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2207         x and y.
2208         * math/libm-test.inc (atan2_test): Add another test.
2209
2210         * Makerules (common-objdir-compile): Remove.
2211         * sysdeps/unix/Makefile (config-generated): Do not add
2212         $(unix-generated) to variable.
2213         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2214         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2215         Remove rule.
2216         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2217         Likewise.
2218         [generic bits/local_lim.h] (before-compile): Do not append to
2219         variable.
2220         [generic bits/local_lim.h] (common-generated): Likewise.
2221         [generic sys/param.h] (before-compile): Do not append to variable.
2222         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2223         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2224         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2225         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2226         include.
2227         [generic sys/param.h] (sys/param.h-includes): Remove variable.
2228         [generic sys/param.h] (sys/param.h-includes): Remove rule.
2229         [generic sys/param.h] ($(addprefix
2230         $(common-objpfx),$(sys/param.h-includes))): Likewise.
2231         [generic sys/param.h] (common-generated): Do not append to
2232         variable.
2233         [generic sys/param.h] (sysdep_headers): Likewise.
2234         [generic bits/errno.h] (before-compile): Do not append to
2235         variable.
2236         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2237         rule.
2238         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2239         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2240         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2241         [generic bits/errno.h] (common-generated): Do not append to
2242         variable.
2243         [generic bits/ioctls.h] (before-compile): Do not append to
2244         variable.
2245         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2246         rule.
2247         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2248         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2249         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2250         rule.
2251         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2252         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2253         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2254         [generic bits/ioctls.h] (common-generated): Do not append to
2255         variable.
2256         [generic sys/syscall.h] (syscall.h): Remove variable.
2257         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2258         rule.
2259         [generic sys/syscall.h] (before-compile): Do not append to
2260         variable.
2261         [generic sys/syscall.h] (common-generated): Likewise.
2262         * sysdeps/unix/errnos-tmpl.c: Remove file.
2263         * sysdeps/unix/errnos.awk: Likewise.
2264         * sysdeps/unix/ioctls-tmpl.c: Likewise.
2265         * sysdeps/unix/ioctls.awk: Likewise.
2266         * sysdeps/unix/mk-local_lim.c: Likewise.
2267         * sysdeps/unix/snarf-ioctls: Likewise.
2268
2269 2012-03-19  Richard Henderson  <rth@twiddle.net>
2270
2271         * sysdeps/i386/fpu/fenv_private.h: New file.
2272         * sysdeps/i386/fpu/math_private.h: Use it.
2273         (math_opt_barrier, math_force_eval): Remove.
2274         (libc_feholdexcept_setround_53bit): Remove.
2275         (libc_feupdateenv_53bit): Remove.
2276         * sysdeps/x86_64/fpu/math_private.h: Likewise.
2277         (math_opt_barrier, math_force_eval): Remove.
2278         (libc_feholdexcept): Remove.
2279         (libc_feholdexcept_setround): Remove.
2280         (libc_fetestexcept, libc_fesetenv): Remove.
2281         (libc_feupdateenv_test): Remove.
2282         (libc_feupdateenv, libc_feholdsetround): Remove.
2283         (libc_feresetround): Remove.
2284
2285         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2286         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2287
2288         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2289         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2290         (libc_feupdateenv_testl): New.
2291         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2292         (libc_feupdateenv_testf): New.
2293         (libc_feupdateenv): Use libc_feupdateenv_test.
2294         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2295         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2296
2297         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2298         (libc_feholdsetroundf, libc_feholdsetroundl): New.
2299         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2300         (libc_feresetround_noex): New.
2301         (libc_feresetround_noexf): New.
2302         (libc_feresetround_noexl): New.
2303         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2304         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2305         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2306         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2307         SET_RESTORE_ROUND.
2308         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2309         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2310         (__cos): Likewise.
2311         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2312         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2313         SET_RESTORE_ROUND_NOEX.
2314         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2315         SET_RESTORE_ROUND_NOEXF.
2316         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2317         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2318         (libc_feholdsetroundf): New.
2319         (libc_feresetround, libc_feresetroundf): New.
2320
2321         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2322         (libc_feholdexcept_setround_53bit): Convert from macro to function.
2323         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
2324
2325         * sysdeps/generic/math_private.h: Include <fenv.h>.
2326         (default_libc_feholdexcept): New.
2327         (default_libc_feholdexcept_setround): New.
2328         (default_libc_fesetenv, default_libc_feupdateenv): New.
2329         (libc_feholdexcept): Only define if undefined.
2330         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2331         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2332         (libc_feholdexcept_setroundl): Likewise.
2333         (libc_feholdexcept_setround_53bit): Likewise.
2334         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2335         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2336         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2337         (libc_feupdateenv_53bit): Likewise.
2338         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2339         (libc_feholdexcept): Convert from macro to inline function.
2340         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2341         (libc_fesetenv, libc_feupdateenv): Likewise.
2342
2343         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2344         not previously defined.
2345         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2346         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2347         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2348         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2349         * sysdeps/ieee754/flt-32/math_private.h: New file.
2350         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2351         math_private.h below SET_FLOAT_WORD.
2352         (__isnan, __isinf_ns, __finite): Remove.
2353         (__isnanf, __isinf_nsf, __finitef): Remove.
2354
2355 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
2356
2357         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2358
2359 2012-03-17  David S. Miller  <davem@davemloft.net>
2360
2361         [BZ #6471]
2362         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2363         for 2.16.
2364
2365 2012-03-16  David S. Miller  <davem@davemloft.net>
2366
2367         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2368         warnings.
2369
2370         [BZ #6471]
2371         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2372         properly.
2373         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2374         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2375         sysdep_routines when subdir is sysvipc.
2376         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2377         __getshmlba helper.
2378
2379         * sysdeps/sparc/fpu/libm-test/ulps: Update.
2380
2381 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2382
2383         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2384         [__LP64__].
2385
2386 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2387
2388         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2389         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2390         (__lround): Renamed to ...
2391         (__llround): This.  Replace long int with long long int.
2392         Define lround functions as aliases of llround functions.
2393         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2394
2395 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2396
2397         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2398         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
2399         adresses to uintptr_t.  Replace "long int" and "unsigned long
2400         int" with "greg_t" on va_arg.
2401
2402 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2403
2404         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2405         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2406
2407         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2408         Move e_machine check before EI_CLASS check.  Handle x32
2409         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2410         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2411         SKIP_EM_IA_64 and include
2412         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2413
2414         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2415         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2416         (add_system_dir): New macro.
2417
2418         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2419         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2420
2421 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
2422
2423         [BZ #2551]
2424         [BZ #2552]
2425         [BZ #2553]
2426         [BZ #2554]
2427         [BZ #2562]
2428         [BZ #2563]
2429         [BZ #2565]
2430         [BZ #2566]
2431         [BZ #2576]
2432         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2433         (y0): Likewise.
2434         * math/w_j0f.c (j0f): Likewise.
2435         (y0f): Likewise.
2436         * math/w_j0l.c (__j0l): Likewise.
2437         (__y0l): Likewise.
2438         * math/w_j1.c (j1): Likewise.
2439         (y1): Likewise.
2440         * math/w_j1f.c (j1f): Likewise.
2441         (y1f): Likewise.
2442         * math/w_j1l.c (__j1l): Likewise.
2443         (__y1l): Likewise.
2444         * math/w_jn.c (jn): Likewise.
2445         (yn): Likewise.
2446         * math/w_jnf.c (jnf): Likewise.
2447         (ynf): Likewise.
2448         * math/w_jnl.c (__jnl): Likewise.
2449         (__ynl): Likewise.
2450         * math/libm-test.inc (j0_test): Add more tests.
2451         (j1_test): Likewise.
2452         (jn_test): Likewise.  Add trailing semicolon to existing test.
2453         (y0_test): Likewise.
2454         (y1_test): Likewise.
2455         * sysdeps/i386/fpu/libm-test-ulps: Update.
2456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2457
2458         [BZ #13851]
2459         [BZ #13854]
2460         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2461         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2462         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2463         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2464         (__tanl): Set errno for infinite argument.
2465         * sysdeps/i386/fpu/mptan.c: Remove.
2466         * sysdeps/i386/fpu/s_tan.S: Likewise.
2467         * sysdeps/i386/fpu/s_tanl.S: Likewise.
2468         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2469         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2470         * math/libm-test.inc (tan_test): Add more tests and enable more
2471         tests for double and long double.
2472         * sysdeps/i386/fpu/libm-test-ulps: Update.
2473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2474
2475 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
2476
2477         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2478         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2479
2480 2012-03-16  Roland McGrath  <roland@hack.frob.com>
2481
2482         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2483         * configure.in: Use it for both main tree and add-ons.
2484         * configure: Regenerated.
2485
2486 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2487
2488         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2489
2490 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
2491
2492         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2493         in comment.
2494
2495         [BZ #13851]
2496         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2497         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2498         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2499         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2500         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2501         infinite argument.
2502         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2503         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2504         != 0 for prec == 2.
2505         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2506         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2507         * sysdeps/i386/fpu/s_cosl.S: Likewise.
2508         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2509         * sysdeps/i386/fpu/s_sinl.S: Likewise.
2510         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2511         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2512         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2513         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2514         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2515         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2516         * math/libm-test.inc (cos_test): Add more tests and enable more
2517         tests for long double.
2518         (sin_test): Likewise.
2519         (sincos_test): Likewise.
2520         * sysdeps/i386/fpu/libm-test-ulps: Update.
2521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2522
2523 2012-03-16  David S. Miller  <davem@davemloft.net>
2524
2525         * sysdeps/sparc/fpu/math_private.h: New file.
2526
2527 2012-03-15  David S. Miller  <davem@davemloft.net>
2528
2529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2530         file.
2531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
2532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2533         file.
2534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2535         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2536         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2537         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2538         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2539         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2540         sysdep routines.
2541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2542
2543         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2544         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2545
2546         * sysdeps/sparc/sparc-ifunc.h: New file.
2547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2548         sparc-ifunc.h
2549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2551         Likewise.
2552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2553         Likewise.
2554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2558         Likewise.
2559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2564         Likewise.
2565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2566         Likewise.
2567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2571         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2572         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2573         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2574         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2575         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2576         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2577         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2578         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2579         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2580         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2581         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2582         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2583         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2584         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2585         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2586         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2587         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2588         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2589         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2590         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2591
2592 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
2593
2594         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2595         scaling.
2596         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2597
2598 2012-03-15  Andreas Jaeger  <aj@suse.de>
2599
2600         [BZ #13852]
2601         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2602         ieee754/flt-32 implementation for sin, cos and sincos.
2603         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2604         * sysdeps/i386/fpu/s_cosf.S: Likewise.
2605         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2606         * sysdeps/i386/fpu/s_sinf.S: Likewise.
2607         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2608         ieee754/flt-32 implementation for tan.
2609
2610         * math/libm-test.inc (cos_test): Enable some large input tests for
2611         float as well
2612         (sin_test): Likewise.
2613         (sincos_test): Likewise.
2614         (tan_test): Add tests for large input.
2615
2616         * sysdeps/i386/fpu/libm-test-ulps: Update.
2617
2618 2012-03-15  Andreas Jaeger  <aj@suse.de>
2619
2620         [BZ #13658]
2621         * math/libm-test.inc (cos_test): Add more test cases.
2622         (sin_test): Likewise.
2623         (sincos_test): Likewise.
2624
2625 2012-03-15  Andreas Jaeger  <aj@suse.de>
2626
2627         [BZ #13837]
2628         * math/libm-test.inc (cos_test): Add a test case for large input
2629         value.
2630         (sin_test): Likewise.
2631         (sincos_test): Likewise.
2632
2633 2012-03-15  Andreas Jaeger  <aj@suse.de>,
2634         Joseph Myers  <joseph@codesourcery.com>
2635
2636         [BZ #13658]
2637         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
2638         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2639         * sysdeps/i386/fpu/branred.c: Likewise.
2640         * sysdeps/i386/fpu/dosincos.c: Likewise.
2641         * sysdeps/i386/fpu/mpa.c: Likewise.
2642         * sysdeps/i386/fpu/s_cos.S: Likewise.
2643         * sysdeps/i386/fpu/s_sin.S: Likewise.
2644         * sysdeps/i386/fpu/s_sincos.S: Likewise.
2645         * sysdeps/i386/fpu/sincos32.c: Likewise.
2646
2647         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2648         Define.
2649         (libc_feupdateenv_53bit): Define.
2650         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2651         Define.
2652         (libc_feupdateenv_53bit): Define.
2653
2654         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2655         53 bit (without extend i386 double precision).
2656
2657         * math/libm-test.inc (sincos_test): Add tests for large input.
2658         (sin): Likewise.
2659         (cos): Likewise.
2660
2661         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2662
2663 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
2664
2665         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2666
2667 2012-03-15  David S. Miller  <davem@davemloft.net>
2668
2669         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2670         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2671         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2672         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2673         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2674         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2676         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2677         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2678         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2679         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2680         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2681         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2682         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2683         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
2684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2685         file.
2686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
2687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2688         file.
2689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
2690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2691         file.
2692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
2693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2694         file.
2695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2696         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2697         fmin/fmax sysdep routines.
2698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2699
2700 2012-03-14  David S. Miller  <davem@davemloft.net>
2701
2702         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2703         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2704         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2705         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2706         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2707         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2708         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2709         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2710         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2711         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2712         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2713         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2714         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2715         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2716         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2717         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2718         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2719         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2720         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2721         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2722         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2723         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2724         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2725         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2726         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2727         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2728         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2729         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
2730         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2731         routines.
2732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2733         file.
2734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
2735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2736         file.
2737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
2738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2739         file.
2740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
2741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2742         file.
2743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
2744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2745         file.
2746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
2747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2748         file.
2749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2750         file.
2751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2752         file.
2753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2754         file.
2755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2756         New file.
2757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2758         file.
2759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2760         file.
2761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
2762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2763         file.
2764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
2765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2766         file.
2767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
2768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2769         file.
2770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
2771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2772         VIS3 routines.
2773
2774         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2775         New file.
2776
2777         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2778
2779         * sysdeps/sparc/configure.in: New file.
2780         * sysdeps/sparc/configure: Generate.
2781         * configure.in (libc_cv_sparc_as_vis3): Substitute.
2782         * configure: Regenerate.
2783         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2784         * config.make.in (have-as-vis3): New.
2785         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2786         available use -Av9d instead of -Av9a.
2787         * sysdeps/sparc/sparc64/Makefile: Likewise.
2788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
2789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2790         New file.
2791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2792         file.
2793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2794         New file.
2795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2796         file.
2797         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2798         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2799         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2800         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2801         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2802
2803         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2804         fzeros/fnegs to load 0x80000000 into a float register instead of
2805         using the stack.
2806         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2807
2808 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
2809
2810         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2811         bits/syscall.h.
2812         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2813         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2814         ($(inst_includedir)/bits/syscall.h): Remove rule.
2815         ($(objpfx)bits/syscall.d): Include instead of
2816         $(objpfx)syscall-list.d.
2817         (generated): Change syscall-list.h and syscall-list.d to
2818         bits/syscall.h and bits/syscall.d.
2819
2820 2012-03-14  Roland McGrath  <roland@hack.frob.com>
2821
2822         [BZ #13846]
2823         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2824
2825 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
2826
2827         [BZ #13841]
2828         * math/s_csqrt.c: Include <float.h>.
2829         (__csqrt): Scale large or subnormal inputs.
2830         * math/s_csqrtf.c: Likewise.
2831         * math/s_csqrtl.c: Likewise.
2832         * math/libm-test.inc (csqrt_test): Add more tests.
2833         * sysdeps/i386/fpu/libm-test-ulps: Update.
2834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2835
2836         [BZ #13840]
2837         * math/libm-test.inc (hypot_test): Add more tests.
2838
2839 2012-03-13  David S. Miller  <davem@davemloft.net>
2840
2841         [BZ #13840]
2842         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2843         double-precision for the calculation instead of scaling.
2844
2845 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
2846
2847         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2848         manipulate bits before adding and subtracting TWO52[sx].
2849         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2850         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2851         Likewise.
2852         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2853
2854 2012-03-13  David S. Miller  <davem@davemloft.net>
2855
2856         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2857         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2858         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2859         rtld-global-offsets.h
2860         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2861
2862         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2863         large parameters.
2864
2865         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2866
2867         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2868         'err' in the ifdef scope in which it is actually used.
2869
2870         * nss/nss_db/db-init.c: Include string.h
2871
2872 2012-03-12  David S. Miller  <davem@davemloft.net>
2873
2874         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2875         masking out of the most significant byte of random value used.
2876         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2877         Fix coding style in previous change.
2878
2879         * sysdeps/unix/sysv/linux/kernel-features.h
2880         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2881         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2882         expression.
2883         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2884         later.
2885
2886 2012-03-11  David S. Miller  <davem@davemloft.net>
2887
2888         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2889         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2890         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2891         for 'resultvar' otherwise things get truncated on 64-bit.
2892
2893         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2894         Fix masking out of the most significant byte of random value used.
2895
2896         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2897
2898 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
2899
2900         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2901
2902 2012-03-09  David S. Miller  <davem@davemloft.net>
2903
2904         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2905         variables with appropriate CPP guards.
2906         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2907         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
2908         on resulting framesize and the management of the outregs buffer for pltexit.
2909         Preserve floating point return values across _dl_call_pltexit call.
2910         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2911         framesize and the management of the outregs buffer for pltexit.
2912         Preserve floating point return values across _dl_call_pltexit
2913         call.
2914         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2915         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2916         (print_exit): Fix format string for return register value.
2917
2918 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
2919
2920         * sunrpc/Makefile (others): Add rpcgen.
2921         ($(objpfx)rpcgen): Remove special build rule and dependency on
2922         libc.
2923         * sunrpc/rpcgen.c: New file.
2924
2925 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
2926
2927         [BZ #13673]
2928         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2929         * stdio-common/bug-vfprintf-nargs.c: Likewise.
2930         * sysdeps/i386/crti.S: Likewise.
2931         * sysdeps/i386/crtn.S: Likewise.
2932         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2933         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2934         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2935         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2936         * sysdeps/sh/crti.S: Likewise.
2937         * sysdeps/sh/crtn.S: Likewise.
2938         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2939
2940         [BZ #13673]
2941         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2942         with URL.
2943         * locale/programs/locfile-kw.gperf: Likewise.
2944         * locale/programs/charmap-kw.h: Regenerated.
2945         * locale/programs/locfile-kw.h: Likewise.
2946
2947         [BZ #13673]
2948         * intl/plural.y: Replace FSF snail mail address with URL.
2949         * intl/plural.c: Regenerated.
2950
2951 2012-03-09  Richard Henderson  <rth@twiddle.net>
2952
2953         * include/math_private.h: Remove file.
2954         * math/math_private.h: Move file ...
2955         * sysdeps/generic/math_private.h: ... here.
2956
2957         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2958         * sysdeps/powerpc/fpu/math_private.h: Likewise.
2959         * sysdeps/x86_64/fpu/math_private.h: Likewise.
2960
2961         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2962         and <math_private.h>.
2963         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2964         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2965         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2966         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2967         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2968         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2969         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2970         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2971         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2972         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2973         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2974         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2975         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2976         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2977         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2978         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2979         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2980         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2981         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2982         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2983         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2984         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2985         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2986         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2987         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2988         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2989         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2990         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2991         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2992         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2993         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2994         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2995         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2996         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2997         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2998         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2999         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3000         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3001         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3002         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3003         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3004         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3005         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3006         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3007         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3008         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3009         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3010         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3011         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3012         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3013         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3014         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3015         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3016         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3017         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3018         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3019         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3020         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3021         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3022         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3023         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3024         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3025         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3026         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3027         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3028         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3029         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3030         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3031         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3032         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3033         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3034         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3035         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3036         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3037         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3038         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3039         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3040         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3041         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3042         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3043         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3044         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3045         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3046         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3047         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3048         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3049         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3050         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3051         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3052         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3053         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3054         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3055         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3056         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3057         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3058         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3059         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3060         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3061         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3062         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3063         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3064         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3065         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3066         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3067         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3068         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3069         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3070         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3071         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3072         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3073         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3074         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3075         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3076         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3077         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3078         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3079         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3080         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3081         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3082         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3083         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3084         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3085         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3086         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3087         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3088         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3089         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3090         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3091         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3092         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3093         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3094         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3095         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3096         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3097         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3098         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3099         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3100         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3101         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3102         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3103         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3104         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3105         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3106         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3107         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3108         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3109         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3110         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3111         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3112         * sysdeps/ieee754/k_standard.c: Likewise.
3113         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3114         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3115         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3116         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3117         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3118         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3119         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3120         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3121         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3122         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3123         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3124         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3125         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3126         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3127         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3128         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3129         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3130         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3131         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3132         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3133         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3134         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3135         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3136         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3137         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3138         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3139         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3140         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3141         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3142         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3143         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3144         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3145         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3146         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3147         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3148         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3149         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3150         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3151         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3152         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3153         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3154         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3155         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3156         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3157         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3158         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3159         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3160         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3161         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3162         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3163         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3164         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3165         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3166         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3167         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3168         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3169         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3170         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3171         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3172         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3173         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3174         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3175         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3176         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3177         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3178         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3179         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3180         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3181         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3182         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3183         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3184         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3185         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3186         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3187         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3188         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3189         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3190         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3191         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3192         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3193         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3194         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3195         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3196         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3197         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3198         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3199         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3200         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3201         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3202         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3203         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3204         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3205         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3206         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3207         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3208         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3209         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3210         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3211         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3212         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3213         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3214         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3215         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3216         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3217         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3218         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3219         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3220         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3221         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3222         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3223         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3224         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3225         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3226         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3227         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3228         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3229         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3230         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3231         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3232         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3233         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3234         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3235         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3236         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3237         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3238         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3239         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3240         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3241         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3242         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3243         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3244         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3245         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3246         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3247         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3248         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3249         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3250         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3251         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3252         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3253         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3254         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3255         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3256         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3257         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3258         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3259         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3260         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3261         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3262         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3263         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3264         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3265         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3266         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3267         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3268         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3269         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3270         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3271         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3272         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3273         * sysdeps/ieee754/s_lib_version.c: Likewise.
3274         * sysdeps/ieee754/s_matherr.c: Likewise.
3275         * sysdeps/ieee754/s_signgam.c: Likewise.
3276         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3277         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3278         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3279         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3280         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3281         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3282         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3283         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3284         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3285         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3286         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3287         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3288         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3289         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3290         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3291         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3292         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3293         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3294         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3295         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3296         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3297
3298 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
3299
3300         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3301         * sunrpc/rpc_main.c: Likewise.
3302         * sunrpc/rpc_svcout.c: Likewise.
3303
3304 2012-03-09  David S. Miller  <davem@davemloft.net>
3305
3306         * include/math_private.h: New file.
3307
3308 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
3309
3310         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3311         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3312         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3313         from <bits/socket_type.h>.
3314         (enum __socket_type): Don't define here.
3315         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3316         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3317         bits/socket_type.h.
3318
3319         [BZ #13566]
3320         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3321         checking __USE_GNU.
3322
3323         * Makerules ($(inst_includedir)/%.h): New rule.
3324         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3325         (install-others): Remove variable setting.
3326         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3327
3328 2012-03-08  Richard Henderson  <rth@twiddle.net>
3329
3330         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3331         from macro to inline function; merge with the
3332         !__LIBC_INTERNAL_MATH_INLINES version.
3333         (__ieee754_sqrtf): Likewise.
3334
3335         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3336         to inline function.
3337         (__rintf, __floor, __floorf): Likewise.
3338
3339         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3340         macro to inline function.
3341         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3342
3343         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3344         not <math/math_private.h>.
3345
3346 2012-03-08  David S. Miller  <davem@davemloft.net>
3347
3348         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3349         copyright year.
3350         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3351
3352 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
3353
3354         * resolv/gai_misc.c (handle_requests): Fix struct timespec
3355         normalization.
3356         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3357         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3358
3359 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
3360
3361         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
3362         be defined individually, they must be defined as a block.  Define
3363         S for printing a string instead of hidint the different by using a
3364         macro for adding the 'l'.
3365         * stdio-common/tst-fphex-wide.c: Adjust.
3366
3367 2012-03-07  Marek Polacek  <polacek@redhat.com>
3368
3369         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3370
3371 2012-03-08  Marek Polacek  <polacek@redhat.com>
3372
3373         [BZ #13806]
3374         * stdio-common/Makefile (tests): Add tst-fphex-wide.
3375         * stdio-common/tst-fphex.c: Define a few macros to make the
3376         test reusable.  Use them.
3377         * stdio-common/tst-fphex-wide.c: New file.
3378
3379 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
3380
3381         [BZ #6911]
3382         * manual/macros.texi (gnusystems): New macro.
3383         (nongnusystems): Likewise.
3384         (gnulinuxhurdsystems): Likewise.
3385         (gnuhurdsystems): Likewise..
3386         (gnulinuxsystems): Likewise.
3387         * manual/charset.texi: Use new macros or @theglibc{} to refer to
3388         variants of the GNU system, not "GNU system".
3389         * manual/conf.texi: Likewise.
3390         * manual/errno.texi: Likewise.  Update example of errno macro
3391         expansion.
3392         * manual/filesys.texi: Likewise.
3393         (getumask): Document as specific to GNU/Hurd.
3394         * manual/install.texi: Likewise.  Reword some references to
3395         GNU/Linux.
3396         * manual/intro.texi: Likewise.
3397         * manual/io.texi: Likewise.
3398         (File Name Portability): Detail which constraints are inapplicable
3399         to all GNU systems and which are only inapplicable to GNU/Hurd.
3400         * manual/job.texi: Likewise.
3401         * manual/llio.texi: Likewise.
3402         (O_NOCTTY): Document as present on GNU/Linux.
3403         * manual/maint.texi: Likewise.
3404         * manual/memory.texi: Likewise.
3405         * manual/pattern.texi: Likewise.
3406         * manual/pipe.texi: Likewise.
3407         * manual/process.texi: Likewise.
3408         * manual/resource.texi: Likewise.
3409         (RUSAGE_CHILDREN): Remove statement about specifying a particular
3410         child on GNU/Hurd.
3411         * manual/setjmp.texi: Likewise.
3412         * manual/signal.texi: Likewise.
3413         * manual/startup.texi: Likewise.
3414         * manual/stdio.texi: Likewise.
3415         * manual/terminal.texi: Likewise.
3416         (ONLCR): Document as POSIX.
3417         (OXTABS): Document availability on GNU/Linux as XTABS.
3418         (ONOEOT): Document availability separately from other bits.
3419         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3420         * manual/time.texi: Likewise.
3421         * manual/users.texi: Likewise.
3422         * INSTALL: Regenerated.
3423         * sysdeps/gnu/errlist.c: Regenerated.
3424
3425         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3426         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3427         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
3428         puts.
3429         * configure: Regenerated.
3430
3431 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
3432
3433         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3434         default includes instead of AC_HEADER_CHECK.
3435         * sysdeps/i386/configure: Regenerated.
3436
3437         [BZ #10716]
3438         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3439         * math/s_cacoshf.c (__cacoshf): Likewise.
3440         * math/s_cacoshl.c (__cacoshl): Likewise.
3441         * math/s_casinh.c (__casinh): Set signs of result from argument.
3442         * math/s_casinhf.c (__casinhf): Likewise.
3443         * math/s_casinhl.c (__casinhl): Likewise.
3444         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3445         (casinh_test): Add more tests.
3446         * sysdeps/i386/fpu/libm-test-ulps: Update.
3447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3448
3449 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
3450
3451         * po/zh_TW.po: Update from translation team.
3452
3453         * login/Makefile (distribute): Remove variable.
3454         * catgets/Makefile: Likewise.
3455         * mach/Makefile: Likewise.
3456         * malloc/Makefile: Likewise.
3457         * misc/Makefile: Likewise.
3458         * iconv/Makefile: Likewise.
3459         * nscd/Makefile: Likewise.
3460         * hurd/Makefile: Likewise.
3461         * manual/Makefile: Likewise.
3462         * locale/Makefile: Likewise.
3463         * intl/Makefile: Likewise.
3464         * conform/Makefile: Likewise.
3465         * nss/Makefile: Likewise.
3466         * time/Makefile: Likewise.
3467         * soft-fp/Makefile: Likewise.
3468         * dirent/Makefile: Likewise.
3469         * gmon/Makefile: Likewise.
3470         * po/Makefile: Likewise.
3471         * rt/Makefile: Likewise.
3472         * socket/Makefile: Likewise.
3473         * math/Makefile: Likewise.
3474         * signal/Makefile: Likewise.
3475         * debug/Makefile: Likewise.
3476         * elf/Makefile: Likewise.
3477         * timezone/Makefile: Likewise.
3478         * stdlib/Makefile: Likewise.
3479         * iconvdata/Makefile: Likewise.
3480         * sunrpc/Makefile: Likewise.
3481         * io/Makefile: Likewise.
3482         * argp/Makefile: Likewise.
3483         * inet/Makefile: Likewise.
3484         * hesiod/Makefile: Likewise.
3485         * grp/Makefile: Likewise.
3486         * csu/Makefile: Likewise.
3487         * wctype/Makefile: Likewise.
3488         * crypt/Makefile: Likewise.
3489         * libio/Makefile: Likewise.
3490         * string/Makefile: Likewise.
3491         * nis/Makefile: Likewise.
3492         * resolv/Makefile: Likewise.
3493         * stdio-common/Makefile: Likewise.
3494         * wcsmbs/Makefile: Likewise.
3495         * dlfcn/Makefile: Likewise.
3496         * posix/Makefile: Likewise.
3497
3498         [BZ #6959]
3499         * timezone/Makefile: Don't install timezone files, just the programs
3500         and scripts.
3501
3502 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
3503
3504         * nss/databases.def: Add missing gshadow entry.
3505
3506         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
3507
3508 2012-03-06  Marek Polacek  <polacek@redhat.com>
3509
3510         [BZ #13726]
3511         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3512         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3513         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3514         * stdio-common/tst-long-dbl-fphex.c: New file.
3515
3516 2012-03-06  David S. Miller  <davem@davemloft.net>
3517
3518         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3519         (set_obp_int): New function.
3520         (get_obp_int): New function.
3521         (__get_clockfreq_via_dev_openprom): Likewise.
3522         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3523         Avoid unused variable warnings on 'val' and use builtin_expect.
3524         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3525         __builtin_expect.
3526         (INLINE_CLONE_SYSCALL): Likewise.
3527
3528 2012-03-05  David S. Miller  <davem@davemloft.net>
3529
3530         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3531
3532 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
3533
3534         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3535
3536         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3537         only for |x| >= 40.
3538         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3539
3540 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
3541
3542         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3543         Replace gettimeofday with __vdso_gettimeofday.
3544
3545         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3546         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3547         __vdso_clock_gettime and __vdso_getcpu.
3548
3549         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3550         time with __vdso_time.
3551
3552 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
3553
3554         * manual/lang.texi (size_t): Note types to which size_t may be
3555         equivalent with the GNU C Library, but do not describe when
3556         differences between them are significant.
3557
3558 2012-03-05  Andreas Jaeger  <aj@suse.de>
3559
3560         * sysdeps/i386/fpu/libm-test-ulps: Update.
3561
3562 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
3563
3564         [BZ #3976]
3565         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3566         (__ieee754_pow): Save and restore rounding mode and use
3567         round-to-nearest for main computations.
3568         * math/libm-test.inc (pow_test_tonearest): New function.
3569         (pow_test_towardzero): Likewise.
3570         (pow_test_downward): Likewise.
3571         (pow_test_upward): Likewise.
3572         (main): Call the new functions.
3573         * sysdeps/i386/fpu/libm-test-ulps: Update.
3574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3575
3576         [BZ #3976]
3577         * math/libm-test.inc (cosh_test_tonearest): New function.
3578         (cosh_test_towardzero): Likewise.
3579         (cosh_test_downward): Likewise.
3580         (cosh_test_upward): Likewise.
3581         (sinh_test_tonearest): Likewise.
3582         (sinh_test_towardzero): Likewise.
3583         (sinh_test_downward): Likewise.
3584         (sinh_test_upward): Likewise.
3585         (main): Call the new functions.
3586         * sysdeps/i386/fpu/libm-test-ulps: Update.
3587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3588
3589 2012-03-05  Tom de Vries  <tom@codesourcery.com>
3590
3591         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3592         default stack guard is set in last bytes.
3593         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3594
3595 2012-03-05  Kees Cook  <keescook@chromium.org>
3596
3597         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
3598
3599         [BZ #13656]
3600         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3601         possibly allocate from heap instead of stack.
3602         * stdio-common/bug-vfprintf-nargs.c: New file.
3603         * stdio-common/Makefile (tests): Add nargs overflow test.
3604
3605 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
3606
3607         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3608
3609 2012-03-03  Marek Polacek  <polacek@redhat.com>
3610
3611         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3612         * math/math_private.h: Likewise.
3613         * stdlib/tst-strtod.c: Likewise.
3614         * sysdeps/i386/i486/bits/atomic.h: Likewise.
3615         * sysdeps/x86_64/bits/atomic.h: Likewise.
3616
3617 2012-03-02  David S. Miller  <davem@davemloft.net>
3618
3619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3621         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3622         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3623         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3624         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3625         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3626         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3627
3628 2012-03-02  Roland McGrath  <roland@hack.frob.com>
3629
3630         [BZ #13792]
3631         * manual/examples/README: New file, says the example source files
3632         can be used under GPL>=2.
3633         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3634         line containing just "*/".
3635         * manual/examples/add.c: Add copyright header (GPL>=2).
3636         * manual/examples/argp-ex1.c: Likewise.
3637         * manual/examples/argp-ex2.c: Likewise.
3638         * manual/examples/argp-ex3.c: Likewise.
3639         * manual/examples/argp-ex4.c: Likewise.
3640         * manual/examples/atexit.c: Likewise.
3641         * manual/examples/db.c: Likewise.
3642         * manual/examples/dir.c: Likewise.
3643         * manual/examples/dir2.c: Likewise.
3644         * manual/examples/execinfo.c: Likewise.
3645         * manual/examples/filecli.c: Likewise.
3646         * manual/examples/filesrv.c: Likewise.
3647         * manual/examples/fmtmsgexpl.c: Likewise.
3648         * manual/examples/genpass.c: Likewise.
3649         * manual/examples/inetcli.c: Likewise.
3650         * manual/examples/inetsrv.c: Likewise.
3651         * manual/examples/isockad.c: Likewise.
3652         * manual/examples/longopt.c: Likewise.
3653         * manual/examples/memopen.c: Likewise.
3654         * manual/examples/memstrm.c: Likewise.
3655         * manual/examples/mkfsock.c: Likewise.
3656         * manual/examples/mkisock.c: Likewise.
3657         * manual/examples/mygetpass.c: Likewise.
3658         * manual/examples/pipe.c: Likewise.
3659         * manual/examples/popen.c: Likewise.
3660         * manual/examples/rprintf.c: Likewise.
3661         * manual/examples/search.c: Likewise.
3662         * manual/examples/select.c: Likewise.
3663         * manual/examples/setjmp.c: Likewise.
3664         * manual/examples/sigh1.c: Likewise.
3665         * manual/examples/sigusr.c: Likewise.
3666         * manual/examples/stpcpy.c: Likewise.
3667         * manual/examples/strdupa.c: Likewise.
3668         * manual/examples/strftim.c: Likewise.
3669         * manual/examples/strncat.c: Likewise.
3670         * manual/examples/subopt.c: Likewise.
3671         * manual/examples/swapcontext.c: Likewise.
3672         * manual/examples/termios.c: Likewise.
3673         * manual/examples/testopt.c: Likewise.
3674         * manual/examples/testpass.c: Likewise.
3675         * manual/examples/timeval_subtract.c: Likewise.
3676
3677         [BZ #13792]
3678         * manual/time.texi (Elapsed Time): Move timeval_subtract example
3679         function to ...
3680         * manual/timeval_subtract.c.texi: ... here, new file.
3681
3682 2012-03-02  David S. Miller  <davem@davemloft.net>
3683
3684         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3685
3686 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
3687
3688         [BZ #3976]
3689         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3690         (__sin): Save and restore rounding mode and use round-to-nearest
3691         for all computations.
3692         (__cos): Save and restore rounding mode and use round-to-nearest
3693         for all computations.
3694         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3695         <fenv.h>.
3696         (tan): Save and restore rounding mode and use round-to-nearest for
3697         all computations.
3698         * math/libm-test.inc (cos_test_tonearest): New function.
3699         (cos_test_towardzero): Likewise.
3700         (cos_test_downward): Likewise.
3701         (cos_test_upward): Likewise.
3702         (sin_test_tonearest): Likewise.
3703         (sin_test_towardzero): Likewise.
3704         (sin_test_downward): Likewise.
3705         (sin_test_upward): Likewise.
3706         (tan_test_tonearest): Likewise.
3707         (tan_test_towardzero): Likewise.
3708         (tan_test_downward): Likewise.
3709         (tan_test_upward): Likewise.
3710         (main): Call the new functions.
3711         * sysdeps/i386/fpu/libm-test-ulps: Update.
3712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3713
3714         [BZ #10135]
3715         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3716         small n, then large n, before computing and testing k+n.
3717         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3718         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3719         Likewise.
3720         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3721         Likewise.
3722         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3723         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3724         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3725         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3726         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3727         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3728         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3729         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3730         * math/libm-test.inc (scalbn_test): Add more tests.
3731         (scalbln_test): Likewise.
3732
3733         * manual/filesys.texi (mode_t): Describe constraints on size and
3734         signedness, not exact equivalence to a particular type.
3735         (ino_t): Likewise.
3736         (ino64_t): Likewise.
3737         (dev_t): Likewise.
3738         (nlink_t): Likewise.
3739         (blkcnt_t): Likewise.
3740         (blkcnt64_t): Likewise.
3741         * manual/llio.texi (off_t): Likewise.
3742
3743         [BZ #3976]
3744         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3745         (__ieee754_exp): Save and restore rounding mode and use
3746         round-to-nearest for all computations.
3747         * math/libm-test.inc (exp_test_tonearest): New function.
3748         (exp_test_towardzero): Likewise.
3749         (exp_test_downward): Likewise.
3750         (exp_test_upward): Likewise.
3751         (main): Call the new functions.
3752         * sysdeps/i386/fpu/libm-test-ulps: Update.
3753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3754
3755 2012-03-01  Chris Demetriou  <cgd@google.com>
3756
3757         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3758         have predictable order.
3759
3760 2012-03-01  David S. Miller  <davem@davemloft.net>
3761
3762         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3763
3764         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3765         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3766         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3767         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3768
3769         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3770         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3771         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3773         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3774         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3775         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3776         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3777         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3778
3779         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3780
3781         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3782         * sysdeps/sparc/fpu/libm-test-ulps: to here.
3783         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3784
3785         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3786         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3787         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3788         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3789         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3790         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3791         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3792         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3793         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3794         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3795         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3796         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3797         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3798         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3799         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3800         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3801         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3802         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3803         * sysdeps/sparc/elf/configure: Regenerated.
3804
3805 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
3806
3807         * configure.in (AS, LD): Require binutils 2.20 or later.
3808         * configure: Regenerated.
3809         * manual/install.texi (Tools for Compilation): Give binutils 2.20
3810         as required minimum version.
3811         * INSTALL: Regenerated.
3812
3813         [BZ #2541]
3814         [BZ #4108]
3815         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3816         before squaring exponent.
3817         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3818         bottom long double and 27 bits of top long double before squaring
3819         exponent.
3820         * math/libm-test.inc (erfc_test): Add more tests.
3821         * sysdeps/i386/fpu/libm-test-ulps: Update.
3822         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3824
3825 2012-03-01  Kai Tietz  <ktietz@redhat.com>
3826
3827         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3828         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3829         containing bit-fields.
3830         * soft-fp/extended.h (_FP_UNION_E): Likewise.
3831         * soft-fp/single.h (_FP_UNION_S): Likewise.
3832         * soft-fp/double.h (_FP_UNION_D): Likewise.
3833
3834 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3835
3836         [BZ #13786]
3837         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3838         not include ../strcmp.S.
3839         [USE_AS_STRNCASECMP_L]: Likewise.
3840         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3841         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3842         * sysdeps/i386/i686/multiarch/strncase_l-c.c
3843         (__strncasecmp_l_ia32): Define as alias to
3844         __strncasecmp_l_nonascii.
3845
3846         [BZ #5794]
3847         * math/libm-test.inc (expm1_test): Add test for bug 5794.
3848         * sysdeps/i386/fpu/libm-test-ulps: Update.
3849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3850
3851         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3853
3854 2012-02-29  Jeff Law  <law@redhat.com>
3855
3856         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3857         out of bounds read.
3858
3859 2012-02-29  Marek Polacek  <polacek@redhat.com>
3860
3861         [BZ #13706]
3862         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3863         * elf/Makefile: Add rules to run tst-unused-dep.out.
3864
3865 2012-02-28  David S. Miller  <davem@davemloft.net>
3866
3867         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3868         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3869         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3870         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3871         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3872         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3873
3874 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
3875
3876         * math/libm-test.inc (llround_test): Move one test from
3877         lround_test.  Use TEST_f_L in moved test.
3878         (lround_test): Move misplaced test to llround_test.  Add testcase
3879         from bug 2561.
3880
3881 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
3882
3883         * sysdeps/x86_64/fpu/e_expf.S: New file.
3884         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3885
3886 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
3887
3888         [BZ #13637]
3889         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3890         of remain_len that may cause incomplete multi-byte character and
3891         false match.
3892         * posix/bug-regex33.c: New file.
3893         * posix/Makefile (tests): Add bug-regex33.
3894
3895 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
3896
3897         * manual/macros.texi: New file.
3898         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3899         * manual/libc.texinfo: Include macros.texi.
3900         * manual/creatute.texi: Likewise.
3901         * manual/install.texi: Likewise.
3902         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3903         @glibcadj{} in references to the GNU C Library.
3904         * manual/charset.texi: Likewise.
3905         * manual/conf.texi: Likewise.
3906         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
3907         when not using those macros.
3908         * manual/creature.texi: Likewise.
3909         * manual/crypt.texi: Likewise.
3910         * manual/errno.texi: Likewise.
3911         * manual/filesys.texi: Likewise.
3912         * manual/header.texi: Likewise.
3913         * manual/install.texi: Likewise.
3914         * manual/intro.texi: Likewise.
3915         * manual/io.texi: Likewise.
3916         * manual/job.texi: Likewise.
3917         * manual/lang.texi: Likewise.
3918         * manual/libc.texiinfo: Likewise.
3919         * manual/llio.texi: Likewise.
3920         * manual/locale.texi: Likewise.
3921         * manual/maint.texi: Likewise.
3922         * manual/math.texi: Likewise.
3923         * manual/memory.texi: Likewise.
3924         * manual/message.texi: Likewise.
3925         * manual/nss.texi: Likewise.
3926         * manual/pattern.texi: Likewise.
3927         * manual/process.texi: Likewise.
3928         * manual/resource.texi: Likewise.
3929         * manual/search.texi: Likewise.
3930         * manual/setjmp.texi: Likewise.
3931         * manual/signal.texi: Likewise.
3932         * manual/socket.texi: Likewise.
3933         * manual/startup.texi: Likewise.
3934         * manual/stdio.texi: Likewise.
3935         * manual/string.texi: Likewise.
3936         * manual/sysinfo.texi: Likewise.
3937         * manual/syslog.texi: Likewise.
3938         * manual/terminal.texi: Likewise.
3939         * manual/time.texi: Likewise.
3940         * manual/users.texi: Likewise.
3941         * INSTALL: Regenerated.
3942         * NOTES: Regenerated.
3943         * sysdeps/gnu/errlist.c: Regenerated.
3944
3945 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
3946
3947         * include/dirent.h: Include <dirstream.h> before
3948         <dirent/dirent.h>.
3949
3950 2012-02-28  David S. Miller  <davem@davemloft.net>
3951
3952         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3953         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3954         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3955         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3956
3957 2012-02-27  David S. Miller  <davem@davemloft.net>
3958
3959         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3960         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3961         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3962         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3963
3964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3965         frame pointer instead of stack pointer relative arg slot.
3966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3967         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3968         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3969
3970 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
3971
3972         [BZ #3992]
3973         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3974
3975 2012-02-27  David S. Miller  <davem@davemloft.net>
3976
3977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3981         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3982         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3983         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3984         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3985
3986 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3987
3988         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3989         later.  Allow versions 5-9.
3990         * configure: Regenerated.
3991         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3992         required minimum version and 4.6 as recommended version.  Do not
3993         mention bugs in GCC 2.7 and 2.8.
3994         * INSTALL: Regenerated.
3995
3996 2012-02-27  David S. Miller  <davem@davemloft.net>
3997
3998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3999         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4000         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4002         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4003         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4004         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4005         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4006
4007         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4008         manipulate bits before adding and subtracting TWO112[sx].
4009         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4010
4011 2012-02-27  Roland McGrath  <roland@hack.frob.com>
4012
4013         [BZ #13775]
4014         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4015         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4016         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4017         being in POSIX, because they are in 1003.1-2008.
4018
4019         * rt/tst-aio.c: Include <fcntl.h>.
4020         * rt/tst-aio7.c: Likewise.
4021         * rt/tst-aio64.c: Likewise.
4022
4023         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4024
4025 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
4026
4027         * manual/install.texi (--with-headers): Describe headers as
4028         interface headers, not private headers.
4029         (Specific advice for GNU/Linux systems): Describe use of headers
4030         from "make headers_install", not private headers from older
4031         kernels.
4032         * INSTALL: Regenerated.
4033         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4034         Change to 2.6.19.
4035         * sysdeps/unix/sysv/linux/configure: Regenerated.
4036
4037         * manual/llio.texi (fclean): Remove documentation.
4038
4039         * manual/Makefile (libc-texi-generated): New variable.  Include
4040         version.texi.
4041         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4042         $(libc-texi-generated), not duplicated list of files.
4043         (version.texi, stamp-version): New rules.
4044         (realclean): Remove $(libc-texi-generated), not individual files
4045         from that list.  Do not remove dir-add.texinfo.
4046         * manual/libc.texinfo: Comment out uses of edition numbers and
4047         references to printed manual.  Remove last-updated dates.
4048         (EDITION): Comment out.
4049         (ISBN): Likewise.
4050         (VERSION, UPDATED): Remove.
4051         (version.texi): Include.
4052
4053 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
4054
4055         * sysdeps/posix/spawni.c: Include <signal.h>.
4056         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4057         * sysdeps/pthread/aio_fsync.c: Likewise.
4058
4059 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
4060
4061         * conform/Makefile (tests): Run only when not cross-compiling and
4062         when fast-check is not defined.
4063
4064         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4065         * conform/data/limits.h-data: Fixes for POSIX2008.
4066         * conform/run-conformtest.sh: Run all tests.
4067         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4068         headers.
4069         * include/bits/dlfcn.h: Likewise.
4070         * include/langinfo.h: Likewise.
4071         * include/monetary.h: Likewise.
4072         * include/sys/poll.h: Likewise.
4073
4074         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4075         for __USE_GNU.
4076         * posix/spawn.h: Define __need_sigset_t.
4077         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4078         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4079         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
4080         to get sigevent_t only.
4081         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4082         only for __USE_GNU.
4083         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4084         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4085         process_vm_writev only for __USE_GNU.
4086         * termios/termios.h: Declare tcgetsid also for POSIX2008.
4087
4088         * conform/Makefile: For now ignore errors from run-conformtest.
4089         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
4090         POSIX to avoid namespace pollution.  Don't prepend headers.
4091         * conform/data/aio.h-data: Fixes for POSIX testing.
4092         * conform/data/fcntl.h-data: Likewise.
4093         * conform/data/glob.h-data: Likewise.
4094         * conform/data/grp.h-data: Likewise.
4095         * conform/data/pthread.h-data: Likewise.
4096         * conform/data/pwd.h-data: Likewise.
4097         * conform/data/signal.h-data: Likewise.
4098         * conform/data/spawn.h-data: Likewise.
4099         * conform/data/stdio.h-data: Likewise.
4100         * conform/data/stdlib.h-data: Likewise.
4101         * conform/data/stropts.h-data: Likewise.
4102         * conform/data/sys/mman.h-data: Likewise.
4103         * conform/data/sys/stat.h-data: Likewise.
4104         * conform/data/sys/types.h-data: Likewise.
4105         * conform/data/sys/wait.h-data: Likewise.
4106         * conform/data/time.h-data: Likewise.
4107         * conform/data/unistd.h-data: Likewise.
4108         * conform/data/utime.h-data: Likewise.
4109
4110         * io/sys/stat.h: fchmod was always in POSIX.
4111         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4112         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4113         * rt/aio.h: Define __need_timespec before including <time.h>.
4114         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4115         struct.  Add forward declaration of pthread_attr_t and use it in
4116         sigevent.
4117         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4118         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4119         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4120         always remove CLK_TCK definition.
4121
4122 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
4123
4124         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4125
4126 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
4127
4128         * conform/run-conformtest.sh: New file.
4129         * conform/Makefile: Run run-conformtest for tests.
4130         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
4131         support.
4132
4133         * conform/data/uchar.h-data: New file.
4134         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4135         * conform/data/arpa/inet.h-data: Likewise.
4136         * conform/data/assert.h-data: Likewise.
4137         * conform/data/complex.h-data: Likewise.
4138         * conform/data/cpio.h-data: Likewise.
4139         * conform/data/ctype.h-data: Likewise.
4140         * conform/data/dirent.h-data: Likewise.
4141         * conform/data/dlfcn.h-data: Likewise.
4142         * conform/data/errno.h-data: Likewise.
4143         * conform/data/fcntl.h-data: Likewise.
4144         * conform/data/float.h-data: Likewise.
4145         * conform/data/fmtmsg.h-data: Likewise.
4146         * conform/data/fnmatch.h-data: Likewise.
4147         * conform/data/ftw.h-data: Likewise.
4148         * conform/data/glob.h-data: Likewise.
4149         * conform/data/grp.h-data: Likewise.
4150         * conform/data/iconv.h-data: Likewise.
4151         * conform/data/inttypes.h-data: Likewise.
4152         * conform/data/langinfo.h-data: Likewise.
4153         * conform/data/libgen.h-data: Likewise.
4154         * conform/data/limits.h-data: Likewise.
4155         * conform/data/locale.h-data: Likewise.
4156         * conform/data/math.h-data: Likewise.
4157         * conform/data/monetary.h-data: Likewise.
4158         * conform/data/mqueue.h-data: Likewise.
4159         * conform/data/ndbm.h-data: Likewise.
4160         * conform/data/net/if.h-data: Likewise.
4161         * conform/data/netdb.h-data: Likewise.
4162         * conform/data/netinet/in.h-data: Likewise.
4163         * conform/data/nl_types.h-data: Likewise.
4164         * conform/data/poll.h-data: Likewise.
4165         * conform/data/pthread.h-data: Likewise.
4166         * conform/data/pwd.h-data: Likewise.
4167         * conform/data/regex.h-data: Likewise.
4168         * conform/data/sched.h-data: Likewise.
4169         * conform/data/search.h-data: Likewise.
4170         * conform/data/semaphore.h-data: Likewise.
4171         * conform/data/setjmp.h-data: Likewise.
4172         * conform/data/signal.h-data: Likewise.
4173         * conform/data/spawn.h-data: Likewise.
4174         * conform/data/stdarg.h-data: Likewise.
4175         * conform/data/stdio.h-data: Likewise.
4176         * conform/data/stdlib.h-data: Likewise.
4177         * conform/data/string.h-data: Likewise.
4178         * conform/data/strings.h-data: Likewise.
4179         * conform/data/stropts.h-data: Likewise.
4180         * conform/data/sys/ipc.h-data: Likewise.
4181         * conform/data/sys/mman.h-data: Likewise.
4182         * conform/data/sys/msg.h-data: Likewise.
4183         * conform/data/sys/resource.h-data: Likewise.
4184         * conform/data/sys/select.h-data: Likewise.
4185         * conform/data/sys/sem.h-data: Likewise.
4186         * conform/data/sys/shm.h-data: Likewise.
4187         * conform/data/sys/socket.h-data: Likewise.
4188         * conform/data/sys/stat.h-data: Likewise.
4189         * conform/data/sys/statvfs.h-data: Likewise.
4190         * conform/data/sys/time.h-data: Likewise.
4191         * conform/data/sys/timeb.h-data: Likewise.
4192         * conform/data/sys/times.h-data: Likewise.
4193         * conform/data/sys/types.h-data: Likewise.
4194         * conform/data/sys/uio.h-data: Likewise.
4195         * conform/data/sys/un.h-data: Likewise.
4196         * conform/data/sys/utsname.h-data: Likewise.
4197         * conform/data/sys/wait.h-data: Likewise.
4198         * conform/data/syslog.h-data: Likewise.
4199         * conform/data/tar.h-data: Likewise.
4200         * conform/data/termios.h-data: Likewise.
4201         * conform/data/utime.h-data: Likewise.
4202         * conform/data/utmpx.h-data: Likewise.
4203         * conform/data/varargs.h-data: Likewise.
4204         * conform/data/wchar.h-data: Likewise.
4205         * conform/data/wctype.h-data: Likewise.
4206         * conform/data/wordexp.h-data: Likewise.
4207
4208         * include/stropts.h: New file.
4209         * include/uchar.h: New file.
4210         * include/aio.h: Changes to allow conformtest.pl to use the headers.
4211         * include/assert.h: Likewise.
4212         * include/ctype.h: Likewise.
4213         * include/dirent.h: Likewise.
4214         * include/dlfcn.h: Likewise.
4215         * include/fcntl.h: Likewise.
4216         * include/fnmatch.h: Likewise.
4217         * include/glob.h: Likewise.
4218         * include/grp.h: Likewise.
4219         * include/libio.h: Likewise.
4220         * include/locale.h: Likewise.
4221         * include/math.h: Likewise.
4222         * include/net/if.h: Likewise.
4223         * include/netdb.h: Likewise.
4224         * include/netinet/in.h: Likewise.
4225         * include/pthread.h: Likewise.
4226         * include/pwd.h: Likewise.
4227         * include/regex.h: Likewise.
4228         * include/sched.h: Likewise.
4229         * include/search.h: Likewise.
4230         * include/setjmp.h: Likewise.
4231         * include/signal.h: Likewise.
4232         * include/stdio.h: Likewise.
4233         * include/stdlib.h: Likewise.
4234         * include/string.h: Likewise.
4235         * include/sys/cdefs.h: Likewise.
4236         * include/sys/mman.h: Likewise.
4237         * include/sys/msg.h: Likewise.
4238         * include/sys/resource.h: Likewise.
4239         * include/sys/select.h: Likewise.
4240         * include/sys/socket.h: Likewise.
4241         * include/sys/stat.h: Likewise.
4242         * include/sys/statvfs.h: Likewise.
4243         * include/sys/time.h: Likewise.
4244         * include/sys/times.h: Likewise.
4245         * include/sys/uio.h: Likewise.
4246         * include/sys/utsname.h: Likewise.
4247         * include/sys/wait.h: Likewise.
4248         * include/termios.h: Likewise.
4249         * include/time.h: Likewise.
4250         * include/ulimit.h: Likewise.
4251         * include/unistd.h: Likewise.
4252         * include/utime.h: Likewise.
4253         * include/wchar.h: Likewise.
4254         * include/wctype.h: Likewise.
4255         * include/wordexp.h: Likewise.
4256
4257         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4258
4259         * time/time.h: TIME_UTC must be a macro.
4260         Make timespec_get available for ISO C11 only as well.
4261
4262 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
4263
4264         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4265         Reported by Peng Haitao <penght@cn.fujitsu.com>.
4266
4267 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
4268
4269         * configure.in: Use -o not -a in test for unsupported multi-arch.
4270
4271 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
4272
4273         * manual/texinfo.tex: Update to version 2012-01-19.16.
4274
4275 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
4276
4277         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4278
4279 2012-02-24  Roland McGrath  <roland@hack.frob.com>
4280
4281         [BZ #13738]
4282         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4283         * manual/fdl-1.3.texi: New file.
4284         * manual/fdl-1.1.texi: File removed.
4285
4286         [BZ #13738]
4287         * manual/libc.texinfo (FDL_VERSION): New @set.
4288         Use it for mention of FDL in cover text.
4289         (Documentation License): Use it in @include file name.
4290
4291 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
4292             Roland McGrath  <roland@hack.frob.com>
4293
4294         [BZ #5461]
4295         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4296         not LONG_LONG_MAX and LONG_LONG_MIN.
4297         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4298         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
4299         name.
4300         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4301
4302 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
4303
4304         [BZ #2547]
4305         [BZ #11365]
4306         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4307         manipulate bits before adding and subtracting TWO23[sx].
4308         * math/libm-test.inc (nearbyint_test): Add more tests.
4309
4310 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
4311
4312         [BZ #2548]
4313         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4314         bits before adding and subtracting TWO23[sx].
4315         * math/libm-test.inc (rint_test): Add more tests.
4316         (rint_test_tonearest): Likewise.
4317         (rint_test_towardzero): Likewise.
4318         (rint_test_downward): Likewise.
4319         (rint_test_upward: Likewise.
4320
4321 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
4322
4323         [BZ #10110]
4324         * include/stdc-predef.h: New file.  Extracted from features.h.
4325         * include/features.h: Include stdc-predef.h.
4326         * Makefile (headers): Add stdc-predef.h.
4327         * CONFORMANCE (Compiler limitations): Update.
4328
4329 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
4330
4331         * manual/libc.texinfo (VERSION, UPDATED): Revert.
4332
4333 2012-02-21  David S. Miller  <davem@davemloft.net>
4334
4335         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4336         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4337
4338 2012-02-20  David S. Miller  <davem@davemloft.net>
4339
4340         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4341         using a normal save/restore sequence, rather than allocating a
4342         dummy stack frame just to store a frame pointer and restore.
4343         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4344
4345 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
4346
4347         * manual/install.texi: Fix stray word in line-wrapped comment.
4348
4349 2012-02-20  David S. Miller  <davem@davemloft.net>
4350
4351         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4352         both binutils and gcc support GOTDATA.
4353
4354         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4355         "rd %pc" in the PIC register setup sequences.
4356
4357         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4358         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4359         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4360         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4361         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4362         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4363         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4364         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4365         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4366         (SYSCALL_ERROR_HANDLER): Likewise.
4367         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4368         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4369         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4370         (SYSCALL_ERROR_HANDLER): Likewise.
4371
4372         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4373         (HAVE_GCC_GOTDATA): New.
4374         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4375         relocation support in both binutils and gcc.
4376         * sysdeps/sparc/elf/configure: Regenerate.
4377
4378         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4379         * sysdeps/sparc/sparc32/elf/configure: Delete.
4380         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4381         * sysdeps/sparc/sparc64/elf/configure: Delete.
4382         * sysdeps/sparc/elf/configure.in: New file.
4383         * sysdeps/sparc/elf/configure: Generate.
4384
4385         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4386         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4387         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4388         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4389         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4390
4391 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
4392
4393         * manual/install.texi: Do not mention specific glibc version
4394         numbers.
4395         * manual/libc.texinfo (VERSION, UPDATED): Update.
4396         (@copying): Use @copyright{} and range of years.
4397
4398 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
4399
4400         [BZ #13695]
4401         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4402         [crti.S not in sysdirs] (generated): Do not append.
4403         [crti.S not in sysdirs] (omit-deps): Likewise.
4404         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4405         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4406         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4407         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4408         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4409         Likewise.
4410         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4411         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4412         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4413         * csu/defs.awk: Remove file.
4414         * sysdeps/generic/initfini.c: Likewise.
4415         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4416         variable.
4417         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4418         Likewise.
4419
4420 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
4421
4422         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4423         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4424         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4425         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4426         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4427         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4428         <bits/epoll.h>.
4429         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4430         (__EPOLL_PACKED): Define to empty if not defined by
4431         <bits/epoll.h>.
4432         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4433         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4434         bits/epoll.h.
4435
4436 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
4437
4438         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4439         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4440         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4441         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4442         <bits/timerfd.h>.
4443         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4444         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4445         bits/timerfd.h.
4446
4447 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
4448
4449         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4450         in C locale.
4451         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4452         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4453         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4455
4456 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
4457
4458         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4459         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4460
4461 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
4462
4463         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4464         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4465         defined.
4466         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4467         Likewise.
4468         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4469         entry for 2.16.
4470
4471 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
4472
4473         * math/w_acos.c: Use non-signaling floating-point comparisons.
4474         * math/w_acosf.c: Likewise.
4475         * math/w_acosh.c: Likewise.
4476         * math/w_acoshf.c: Likewise.
4477         * math/w_acoshl.c: Likewise.
4478         * math/w_acosl.c: Likewise.
4479         * math/w_asin.c: Likewise.
4480         * math/w_asinf.c: Likewise.
4481         * math/w_asinl.c: Likewise.
4482         * math/w_atanh.c: Likewise.
4483         * math/w_atanhf.c: Likewise.
4484         * math/w_atanhl.c: Likewise.
4485         * math/w_exp2.c: Likewise.
4486         * math/w_exp2f.c: Likewise.
4487         * math/w_exp2l.c: Likewise.
4488         * math/w_j0.c: Likewise.
4489         * math/w_j0f.c: Likewise.
4490         * math/w_j0l.c: Likewise.
4491         * math/w_j1.c: Likewise.
4492         * math/w_j1f.c: Likewise.
4493         * math/w_j1l.c: Likewise.
4494         * math/w_jn.c: Likewise.
4495         * math/w_jnf.c: Likewise.
4496         * math/w_log.c: Likewise.
4497         * math/w_log10.c: Likewise.
4498         * math/w_log10f.c: Likewise.
4499         * math/w_log10l.c: Likewise.
4500         * math/w_log2.c: Likewise.
4501         * math/w_log2f.c: Likewise.
4502         * math/w_log2l.c: Likewise.
4503         * math/w_logf.c: Likewise.
4504         * math/w_logl.c: Likewise.
4505         * math/w_sqrt.c: Likewise.
4506         * math/w_sqrtf.c: Likewise.
4507         * math/w_sqrtl.c: Likewise.
4508         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4509         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4510         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4511         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4512         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4513
4514 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
4515
4516         [BZ #9739]
4517         * manual/string.texi (strnlen): Use correct parameter name in
4518         equivalent expression.
4519
4520 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
4521
4522         [BZ #11174]
4523         * manual/users.texi (seteuid): Consistently use neweuid for
4524         argument name.
4525
4526 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
4527
4528         [BZ #13704]
4529         * manual/nss.texi (Services in the NSS configuration): Correct
4530         list of services in example configuration file.
4531
4532 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
4533
4534         [BZ #11322]
4535         * manual/arith.texi: Remove statements about negative zero
4536         behaving identically to zero.
4537
4538 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
4539
4540         [BZ #5993]
4541         * manual/install.texi: Do not document upgrading from libc5.
4542
4543 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
4544
4545         [BZ #4596]
4546         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4547
4548 2012-02-18  David S. Miller  <davem@davemloft.net>
4549
4550         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4551         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4552         %o7 across the call.
4553         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4554         instead.
4555         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4556         SETUP_PIC_REG_LEAF.
4557         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4558         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4559         * sysdeps/sparc/crtn.S: Likewise.
4560
4561 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
4562
4563         * aout/Makefile: Remove.
4564
4565 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
4566
4567         [BZ #13058]
4568         * manual/examples/argp-ex1.c (main): Format definition in GNU
4569         style.
4570         * manual/examples/argp-ex2.c (main): Likewise.
4571         * manual/examples/argp-ex3.c (main): Likewise.
4572         * manual/examples/argp-ex4.c (main): Likewise.
4573         * manual/examples/longopt.c (main): Use new-style prototype
4574         definition.
4575         * manual/examples/strncat.c (main): Specify return type and use
4576         (void) for arguments.
4577         * manual/examples/subopt.c (main): Use char **argv argument.
4578
4579 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4580
4581         [BZ #5077]
4582         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4583         rounding modes.
4584
4585 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
4586
4587         [BZ #6907]
4588         * manual/string.texi (strchr): Change when strchrnul is
4589         recommended.
4590
4591 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
4592
4593         [BZ #174]
4594         * manual/locale.texi (setlocale): Document LOCPATH.
4595
4596 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4597
4598         [BZ #10210]
4599         * manual/process.texi (execle): Move @dots{} before last argument.
4600
4601 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
4602
4603         [BZ #12047]
4604         * manual/charset.texi (Generic Charset Conversion): Fix typo
4605         (LC_TYPE -> LC_CTYPE).
4606
4607 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
4608
4609         [BZ #5805]
4610         * manual/arith.texi (scalbn): Use @var{} on parameter names.
4611         (scalbnf): Likewise.
4612         (scalbnl): Likewise.
4613         (scalbln): Likewise.
4614         (scalblnf): Likewise.
4615         (scalblnl): Likewise.
4616         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4617         (vwarnx): Likewise.
4618         (verr): Likewise.
4619         (verrx): Likewise.
4620         * manual/filesys.texi (telldir): Use braces around return type.
4621         * manual/llio.texi (mmap): Add space after comma.
4622         (mmap64): Likewise.
4623         * manual/math.texi (jn): Use @var{} on parameter names.
4624         (jnf): Likewise.
4625         (jnl): Likewise.
4626         (yn): Likewise.
4627         (ynf): Likewise.
4628         (ynl): Likewise.
4629         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4630         line.
4631         * manual/resource.texi (ulimit): Use @dots{} instead of literal
4632         "...".
4633         (sched_get_priority_min): Remove semicolon on @deftypefun line.
4634         (sched_get_priority_max): Likewise.
4635         * manual/signal.texi (sigvec): Add space after comma.
4636         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4637         names.
4638         (if_indextoname): Likewise.
4639         (if_freenameindex): Likewise.
4640         (sendto): Use ',' instead of '.' in prototype.
4641         * manual/startup.texi (syscall): Use @dots{} instead of literal
4642         "...".
4643         * manual/stdio.texi (__fpending): Separate initial words of
4644         paragraph from @deftypefun line.
4645         * manual/syslog.texi (syslog): Use @dots{} instead of literal
4646         "...".
4647         (vsyslog): Use @var{} on parameter names.
4648         * manual/terminal.texi (stty): Use @var{} on parameter names.
4649         * manual/users.texi (getutmp): Use @var{} on parameter names.
4650         (getutmpx): Likewise.
4651
4652 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4653
4654         [BZ #6884]
4655         * manual/stdio.texi (fopen): Fix typos in description of
4656         ",ccs=STRING".
4657
4658 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
4659
4660         [BZ #4026]
4661         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4662         get clock_id definition.
4663
4664 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
4665
4666         [BZ #4822]
4667         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4668         (madvise): Cast every argument to void on its own.
4669
4670 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4671
4672         [BZ #9902]
4673         * manual/startup.texi (Exit Status): Fix typo.
4674
4675 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4676
4677         [BZ #10140]
4678         * manual/examples/argp-ex1.c: Include <stdlib.h>.
4679         * manual/examples/argp-ex2.c: Likewise.
4680         * manual/examples/argp-ex3.c: Likewise.
4681
4682 2012-02-16  Richard Henderson  <rth@redhat.com>
4683
4684         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4685         * sysdeps/s390/s390-32/initfini.c: Remove.
4686         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4687         * sysdeps/s390/s390-64/initfini.c: Remove.
4688
4689 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4690
4691         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4692         compiler output for sysdeps/generic/initfini.c.
4693         * sysdeps/sh/elf/initfini.c: Remove file.
4694
4695 2012-02-16  David S. Miller  <davem@davemloft.net>
4696
4697         [BZ #11494]
4698         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4699
4700         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4701         * sysdeps/sparc/crti.S: New file.
4702         * sysdeps/sparc/crtn.S: New file.
4703         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4704         * sysdeps/sparc/sparc64/Makefile: Likewise.
4705
4706 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
4707
4708         [BZ #3335]
4709         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4710
4711 2012-02-15  Roland McGrath  <roland@hack.frob.com>
4712
4713         [BZ #4822]
4714         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4715
4716         * mach/devstream.c (cookie_io_functions_t): Macro removed.
4717         (write, read, close): Likewise.
4718         Patch by Aurelien Jarno <aurelien@aurel32.net>.
4719
4720 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
4721
4722         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4723         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4724         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4725         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4726         <bits/signalfd.h>.
4727         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4728         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4729         bits/signalfd.h.
4730
4731 2012-02-14  Marek Polacek  <polacek@redhat.com>
4732
4733         * sysdeps/x86_64/crti.S: New file.
4734         * sysdeps/x86_64/crtn.S: New file.
4735         * sysdeps/x86_64/elf/initfini.c: Remove file.
4736
4737 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
4738
4739         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4740         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4741         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4742         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4743         <bits/inotify.h>.
4744         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4745         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4746         bits/inotify.h.
4747
4748 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
4749
4750         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4751         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4752         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4753         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4754         <bits/eventfd.h>.
4755         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4756         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4757         bits/eventfd.h.
4758
4759 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
4760
4761         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4762         __feraiseexcept instead of feraiseexcept.
4763
4764         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4765         nanosleep invocations.
4766         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4767         strings, and add error checking for a nanosleep invocations.
4768
4769 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
4770
4771         Replace FSF snail mail address with URLs, as per GNU coding standards.
4772         Most of the snail mail addresses were wrong anyway, and omitting
4773         them makes the source code easier to maintain.  Almost all of the
4774         changes are to license notices and to locale LC_IDENTIFICATION
4775         addresses, except for this one:
4776         * manual/libc.texinfo: In "Published by", give the FSF's URL,
4777         not its snail mail address.
4778
4779 2012-02-09  Richard Henderson  <rth@twiddle.net>
4780
4781         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4782         of kernel-features.h.
4783
4784         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4785
4786 2012-02-08  Marek Polacek  <polacek@redhat.com>
4787
4788         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4789         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4790         * sysdeps/gnu/_G_config.h: Likewise.
4791         * sysdeps/generic/_G_config.h: Likewise.
4792
4793 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
4794
4795         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4796         tests.
4797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4798
4799         * sysdeps/powerpc/powerpc32/crti.S: New file.
4800         * sysdeps/powerpc/powerpc32/crtn.S: New file.
4801         * sysdeps/powerpc/powerpc64/crti.S: New file.
4802         * sysdeps/powerpc/powerpc64/crtn.S: New file.
4803
4804         * Makeconfig (have-initfini): Don't set.
4805         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4806         * configure.in (nopic_initfini): Don't substitute.
4807         * config.h.in (HAVE_INITFINI): Don't #undef.
4808         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4809         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4810
4811 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
4812
4813         Support crti.S and crtn.S provided directly by architectures.
4814         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4815         [crti.S in sysdirs] (omit-deps): Likewise.
4816         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4817         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4818         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4819         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4820         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4821         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4822         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4823         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4824         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4825         compiler output for sysdeps/generic/initfini.c.
4826         * sysdeps/i386/elf/Makefile: Remove file.
4827         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4828
4829 2012-02-07  Marek Polacek  <polacek@redhat.com>
4830
4831         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4832         * sysdeps/gnu/_G_config.h: Likewise.
4833         * sysdeps/mach/hurd/_G_config.h: Likewise.
4834
4835 2012-02-07  Marek Polacek  <polacek@redhat.com>
4836
4837         * math/Makefile (tests): Add tst-CMPLX2.
4838         * math/tst-CMPLX2.c: New file.
4839
4840 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
4841
4842         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4843
4844         * math/libm-test.inc (jn_test): Add missing L suffix.
4845
4846 2012-02-06  Marek Polacek  <polacek@redhat.com>
4847
4848         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4849         * sysdeps/i386/fpu/e_powf.S: Likewise.
4850         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4851         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4852         * sysdeps/i386/fpu/e_acosh.S: Likewise.
4853         * sysdeps/i386/fpu/e_pow.S: Likewise.
4854         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4855         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4856         * sysdeps/i386/fpu/s_expm1.S: Likewise.
4857         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4858         * sysdeps/i386/fpu/e_log2.S: Likewise.
4859         * sysdeps/i386/fpu/e_log2l.S: Likewise.
4860         * sysdeps/i386/fpu/e_scalb.S: Likewise.
4861         * sysdeps/i386/fpu/e_powl.S: Likewise.
4862         * sysdeps/i386/fpu/s_log1p.S: Likewise.
4863         * sysdeps/i386/fpu/e_log10f.S: Likewise.
4864         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4865         * sysdeps/i386/fpu/e_logl.S: Likewise.
4866         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4867         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4868         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4869         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4870         * sysdeps/i386/fpu/e_log2f.S: Likewise.
4871         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4872         * sysdeps/i386/fpu/e_log.S: Likewise.
4873         * sysdeps/i386/fpu/s_cexp.S: Likewise.
4874         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4875         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4876         * sysdeps/i386/fpu/e_logf.S: Likewise.
4877         * sysdeps/i386/fpu/e_log10l.S: Likewise.
4878         * sysdeps/i386/fpu/e_atanh.S: Likewise.
4879         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4880         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4881         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4882         * sysdeps/i386/fpu/e_log10.S: Likewise.
4883         * sysdeps/i386/fpu/s_frexp.S: Likewise.
4884         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4885         * sysdeps/i386/fpu/s_asinh.S: Likewise.
4886         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4887         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4888         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4889         * sysdeps/i386/asm-syntax.h: Likewise.
4890         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4891         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4892         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4893         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4894         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4895         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4896         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4897         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4898         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4899         * sysdeps/powerpc/sysdep.h: Likewise.
4900         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4901         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4902
4903 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4904
4905         [BZ #411]
4906         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4907
4908 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
4909
4910         * sysdeps/i386/sysdep.h: Include <features.h>.
4911         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4912         version.
4913
4914 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
4915
4916         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4917         Define.
4918         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4919         LOAD_PIC_REG_STR.
4920
4921 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4922
4923         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4924         (SETUP_PIC_REG): Use GET_PC_THUNK.
4925         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4926         macro.
4927
4928 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4929
4930         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4931         for non-PIC compilation.
4932         (SETUP_PIC_REG): Add .p2align directive.
4933         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4934         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4935         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4936         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4937         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4938         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4939         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4940         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4941         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4942         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4943         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4944         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4945         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4946         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4947         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4948         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4949         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4950         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4951         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4952         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4953         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4954         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4955         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4956         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4957         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4958         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4959         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4960         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4961         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4962         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4963         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4964         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4965         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4966         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4967         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4968         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4969         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4970         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4971         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4972         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4973         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4974
4975 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
4976
4977         * math/tst-CMPLX.c: Include <stdio.h>.
4978
4979 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
4980
4981         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4982         float.
4983         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4984         * sysdeps/sparc/bits/mathdef.h: Likewise.
4985
4986 2012-01-31  Marek Polacek  <polacek@redhat.com>
4987
4988         * libio/libio.h: Don't define _PARAMS.
4989         * locale/programs/config.h: Don't define PARAMS.
4990         * stdlib/strtol_l.c: Likewise.
4991         (__strtol_l): Remove PARAMS from the prototype.
4992
4993 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
4994
4995         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
4996         names.  Just use the correct names.  Remove unnecessary wrapper
4997         functions.
4998         * malloc/arena.c: Likewise.
4999         * malloc/hooks.c: Likewise.
5000
5001         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5002         ARENA_TEST says not to.  Simplify test for creation of a new arena.
5003         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5004
5005 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
5006
5007         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5008         into tail calls.
5009         (update_get_addr): New function.
5010         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5011         GET_ADDR_MODULE parameter.
5012
5013 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
5014
5015         * crypt/cert.c: Remove __STDC__ conditionals.
5016         * crypt/crypt-entry.c: Likewise.
5017         * crypt/crypt_util.c: Likewise.
5018         * libio/filedoalloc.c: Likewise.
5019         * libio/fileops.c: Likewise.
5020         * libio/genops.c: Likewise.
5021         * libio/iofclose.c: Likewise.
5022         * libio/iofdopen.c: Likewise.
5023         * libio/iofopen.c: Likewise.
5024         * libio/iofopen64.c: Likewise.
5025         * libio/iogetdelim.c: Likewise.
5026         * libio/iopopen.c: Likewise.
5027         * libio/obprintf.c: Likewise.
5028         * libio/oldfileops.c: Likewise.
5029         * libio/oldiofclose.c: Likewise.
5030         * libio/oldiofdopen.c: Likewise.
5031         * libio/oldiofopen.c: Likewise.
5032         * libio/oldiopopen.c: Likewise.
5033         * libio/wfiledoalloc.c: Likewise.
5034         * libio/wgenops.c: Likewise.
5035         * locale/programs/xmalloc.c: Likewise.
5036         * misc/syslog.c: Likewise.
5037         * stdio-common/xbug.c: Likewise.
5038         * string/memchr.c: Likewise.
5039         * string/memcmp.c: Likewise.
5040         * string/memrchr.c: Likewise.
5041         * string/rawmemchr.c: Likewise.
5042         * sysdeps/posix/getcwd.c: Likewise.
5043         * time/strftime_l.c: Likewise.
5044
5045 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
5046
5047         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
5048         * config.make.in (config-cflags-sse2avx): Define.
5049         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5050         Fix typo.
5051
5052 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
5053
5054         * scripts/config.guess: Update from upstream config git repository.
5055         * scripts/config.sub: Likewise.
5056
5057 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
5058
5059         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5060         (EM_NUM): Update.
5061         (R_TILEPRO_*, R_TILEGX_*): New macros.
5062
5063         * scripts/firstversions.awk: Fix bug in version range handling.
5064
5065         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5066
5067         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5068
5069         * include/sys/epoll.h: New file.
5070         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5071         libc_hidden_def.
5072
5073 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
5074
5075         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5076         Avoid unnecessary __WORDSIZE == 64 test.
5077         (fmaxf): Use VEX format if possible.
5078         (fmax): Likewise.
5079         (fminf): Likewise.
5080         (fmin): Likewise.
5081
5082         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5083         * math/math_private.h: Remove libc_fegetround* and
5084         libc_fesetround*.
5085         * sysdeps/i386/configure.in: Check for -msse2avx.
5086         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5087         also if SSE2AVX is defined.
5088         Remove libc_fegetround* and libc_fesetround*.
5089         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5090         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
5091         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5092         of HAS_YMM_USABLE.
5093         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5094         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5095         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5096         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5097         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5098
5099         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5100
5101 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5102
5103         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5104         size is not set.
5105         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5106
5107 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
5108
5109         [BZ #13618]
5110         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5111         relocation.
5112         * Makeconfig (libm): Define.
5113         * elf/Makefile: Add rules to build and run tst-relsort1.
5114         * elf/tst-relsort1.c: New file.
5115         * elf/tst-relsort1mod1.c: New file.
5116         * elf/tst-relsort1mod2.c: New file.
5117
5118 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
5119
5120         * math/s_ldexp.c: Remove __STDC__ conditionals.
5121         * math/s_ldexpf.c: Likewise.
5122         * math/s_ldexpl.c: Likewise.
5123         * math/s_nextafter.c: Likewise.
5124         * math/s_nexttowardf.c: Likewise.
5125         * math/s_significand.c: Likewise.
5126         * math/s_significandf.c: Likewise.
5127         * math/s_significandl.c: Likewise.
5128         * math/w_jnl.c: Likewise.
5129         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5130         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5131         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5132         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5133         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5134         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5135         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5136         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5137         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5138         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5139         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5140         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5141         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5142         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5143         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5144         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5145         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5146         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5147         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5148         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5149         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5150         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5151         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5152         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5153         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5154         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5155         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5156         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5157         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5158         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5159         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5160         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5161         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5162         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5163         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5164         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5165         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5166         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5167         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5168         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5169         * sysdeps/ieee754/k_standard.c: Likewise.
5170         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5171         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5172         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5173         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5174         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5175         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5176         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5177         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5178         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5179         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5180         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5181         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5182         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5183         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5184         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5185         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5186         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5187         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5188         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5189         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5190         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5191         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5192         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5193         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5194         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5195         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5196         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5197         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5198         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5199         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5200         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5201         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5202         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5203         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5204         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5205         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5206         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5207         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5208         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5209         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5210         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5211         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5212         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5213         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5214         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5215         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5216         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5217         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5218         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5219         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5220         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5221         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5222         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5223         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5224         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5225         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5226         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5227         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5228         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5229         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5230         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5231         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5232         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5233         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5234         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5235         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5236         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5237         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5238         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5239         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5240         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5241         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5242         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5243         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5244         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5245         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5246         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5247         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5248         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5249         * sysdeps/ieee754/s_matherr.c: Likewise.
5250         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5251         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5252         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5253         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5254
5255 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
5256
5257         * crypt/md5.h: Remove __STDC__ conditionals.
5258         * libio/libioP.h: Likewise.
5259         * locale/programs/config.h: Likewise.
5260         * sysdeps/generic/sysdep.h: Likewise.
5261         * sysdeps/i386/asm-syntax.h: Likewise.
5262         * sysdeps/s390/asm-syntax.h: Likewise.
5263         * sysdeps/unix/sysdep.h: Likewise.
5264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5266
5267 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
5268
5269         * libio/libio.h: Remove __STDC__ conditionals.
5270         * malloc/obstack.h: Likewise.
5271         * math/complex.h: Likewise.
5272         * math/math.h: Likewise.
5273         * sysdeps/generic/_G_config.h: Likewise.
5274         * sysdeps/gnu/_G_config.h: Likewise.
5275         * sysdeps/mach/hurd/_G_config.h: Likewise.
5276         * sysdeps/powerpc/bits/mathdef.h: Likewise.
5277         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5278         * sysdeps/sparc/bits/mathdef.h: Likewise.
5279
5280 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
5281
5282         [BZ #13583]
5283         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
5284         Clean up HAS_* macros.
5285         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
5286         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5287         possible.
5288         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5289         HAS_AVX.
5290         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5291         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5292         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5293         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5294         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5295
5296 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
5297
5298         * elf/tst-unique3.cc (gets): Remove declaration.
5299         * elf/tst-unique3lib.cc (gets): Likewise.
5300         * elf/tst-unique3lib2.cc (gets): Likewise.
5301         * elf/tst-unique4.cc (gets): Likewise.
5302
5303 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
5304
5305         * include/stdio.h: Add C++ protection.  Add gets declarations and
5306         definitions.
5307         * debug/tst-chk1.c: Don't declare gets here.
5308         * stdio-common/tst-gets.c: Likewise.
5309
5310 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
5311
5312         * posix/glob: Remove directory.
5313
5314 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
5315
5316         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5317
5318 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
5319
5320         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5321         of the non-standard EPFNOSUPPORT.
5322
5323 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5324
5325         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5326         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5327         ANYWHERE set to 1 only on KERN_NO_SPACE error.
5328
5329 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
5330
5331         * wcsmbs/uchar.h: Test __STDC_VERSION__.
5332
5333 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
5334
5335         * nscd/aicache.c (addhstaiX): Do not cache negative results of
5336         transient errors.
5337         * nscd/grpcache.c (cache_addgr): Likewise.
5338         * nscd/hstcache.c (cache_addhst): Likewise.
5339         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5340         * nscd/pwdcache.c (cache_addpw): Likewise.
5341         * nscd/servicescache.c (cache_addserv): Likewise.
5342
5343 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
5344
5345         * malloc/malloc.c: Various cleanups.
5346         * malloc/hooks.c: Likewise.
5347
5348         * stdlib/Makefile (tests): Add bug-fmtmsg1.
5349         * stdlib/bug-fmtmsg1.c: New file.
5350
5351         * stdlib/fmtmsg.c (init): Add missing unlock.
5352         Patch by Peng Haitao <penght@cn.fujitsu.com>.
5353
5354 2012-01-12  Marek Polacek  <polacek@redhat.com>
5355
5356         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5357         and _GNU_SOURCE.
5358
5359 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
5360
5361         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5362         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5363         macro to ensure uniqueness of label name.
5364         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5365         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5366
5367 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
5368
5369         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5370
5371         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5372         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5373         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5374         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5375
5376 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
5377
5378         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5379
5380         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5381         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5382         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5383
5384         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5385
5386         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
5387         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5388         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5389         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
5390
5391         * math/bits/math-finite.h: Add ldexp support.
5392
5393 2012-01-10  Marek Polacek  <polacek@redhat.com>
5394
5395         * locale/programs/localedef.h (show_archive_content): Add noreturn
5396         attribute.
5397
5398 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
5399
5400         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5401
5402 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
5403
5404         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5405
5406         * io/Makefile (headers): Add bits/poll2.h.
5407
5408 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
5409
5410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5411         typo #include statement.
5412
5413 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
5414
5415         * include/sys/cdefs.h: Define __attribute_alloc_size.
5416         * catgets/gencat.c: Add alloc_size attribute and apply consistently
5417         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5418         * elf/pldd.c: Likewise.
5419         * iconv/iconv_charmap.c: Likewise.
5420         * iconv/iconvconfig.c: Likewise.
5421         * iconv/strtab.c: Likewise.
5422         * locale/programs/locale.c: Likewise.
5423         * locale/programs/localedef.h: Likewise.
5424         * locale/programs/simple-hash.c: Likewise.
5425         * nscd/nscd.h: Likewise.
5426         * nss/makedb.c: Likewise.
5427         * sysdeps/generic/ldconfig.h: Likewise.
5428         * locale/programs/localedef.c: Remove xmalloc prototype.
5429         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5430
5431 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5432
5433         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5434         appropriate.
5435
5436 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
5437
5438         * math/Makefile (tests): Add tst-CMPLX.
5439         * math/tst-CMPLX.c: New file.
5440
5441         * math/complex.h (CMPLXL): Fix typo.
5442
5443         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5444         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5445         GLIBC_2.16.
5446         * debug/tst-chk1.c: Add poll and ppoll tests.
5447         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5448         * include/sys/poll.h: Add hidden proto for ppoll.
5449         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5450         * sysdeps/mach/hurd/ppoll.c: Likewise.
5451         * io/ppoll.c: Likewise.
5452         * debug/poll_chk.c: New file.
5453         * debug/ppoll_chk.c: New file.
5454         * include/bits/poll2.h: New file.
5455         * io/bits/poll2.h: New file.
5456
5457         [BZ #1350]
5458         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5459
5460         * configure.in: static is always set to yes.  Remove.
5461         * config.make.in: Don't set build-static.
5462         * Makeconfig: Remove use of build-static.
5463         * dlfcn/Makefile: Likewise.
5464         * elf/Makefile: Likewise.
5465         * math/Makefile: Likewise.
5466         * misc/Makefile: Likewise.
5467         * nptl/Makefile: Likewise.
5468         * sysdeps/mach/hurd/Makefile: Likewise.
5469
5470         * configure.in: PWD_P is not used anymore.
5471         * config.make.in: Remove PWD_P entry.
5472
5473         * configure.in: Remove last remnants of RANLIB.
5474         No need to check for signed size_t anymore.
5475         Don't set libc_commonpagesize and libc_relro_required here for Alpha
5476         and IA-64.
5477         Remove __builtin_expect test because we require at least gcc 3.4.
5478         * aclocal.m4: Likewise.
5479
5480         * wcsmbs/mbrtoc16.c: Implement using towc function.
5481         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5482         * wcsmbs/wcsmbsload.c: Likewise.
5483         * iconv/gconv_simple.c: Likewise.
5484         * iconv/gconv_int.h: Likewise.
5485         * iconv/gconv_builtin.h: Likewise.
5486         * iconv/iconv_prog.c: Remove CHAR16 handling.
5487
5488         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5489
5490         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5491
5492         * configure.in: Remove --with-elf and --enable-bounded options.
5493         Dont set base_machine for ia64.  More non-ELF conditions removed.
5494         Remove testing and setting of leading underscore information.
5495         * config.make.in (build-bounded): Set to no.
5496         * config.h.in: Remove NO_UNDERSCORES entry.
5497         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
5498         them.
5499         * csu/start.c: Remove !NO_UNDERSCORE code.
5500         * locale/localeinfo.h: Likewise.
5501         * sysdeps/generic/machine-gmon.h: Likewise.
5502         * sysdeps/generic/sysdep.h: Likewise.
5503         * sysdeps/i386/sysdep.h: Likewise.
5504         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5505         * sysdeps/mach/sysdep.h: Likewise.
5506         * sysdeps/s390/s390-32/sysdep.h: Likewise.
5507         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5508         * sysdeps/sh/sysdep.h: Likewise.
5509         * sysdeps/sparc/sparc32/alloca.S: Likewise.
5510         * sysdeps/unix/i386/sysdep.S: Likewise.
5511         * sysdeps/unix/sparc/start.c: Likewise.
5512         * sysdeps/unix/sparc/sysdep.S: Likewise.
5513         * sysdeps/unix/sparc/sysdep.h: Likewise.
5514         * sysdeps/unix/start.c: Likewise.
5515         * sysdeps/unix/x86_64/sysdep.S: Likewise.
5516         * sysdeps/x86_64/sysdep.h: Likewise.
5517
5518 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
5519
5520         [BZ #13553]
5521         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5522         for non-gcc.
5523         * argp/argp-fmtstream.h: Use const instead __const.
5524         * argp/argp.h: Likewise.
5525         * assert/assert.h: Likewise.
5526         * bits/fenv.h: Likewise.
5527         * bits/sched.h: Likewise.
5528         * bits/sigset.h: Likewise.
5529         * bits/sigthread.h: Likewise.
5530         * catgets/nl_types.h: Likewise.
5531         * conform/data/pthread.h-data: Likewise.
5532         * crypt/crypt-private.h: Likewise.
5533         * crypt/crypt.h: Likewise.
5534         * crypt/crypt_util.c: Likewise.
5535         * ctype/ctype.h: Likewise.
5536         * debug/execinfo.h: Likewise.
5537         * debug/mbsnrtowcs_chk.c: Likewise.
5538         * debug/mbsrtowcs_chk.c: Likewise.
5539         * debug/wcsnrtombs_chk.c: Likewise.
5540         * debug/wcsrtombs_chk.c: Likewise.
5541         * debug/wcstombs_chk.c: Likewise.
5542         * dirent/dirent.h: Likewise.
5543         * dlfcn/dlfcn.h: Likewise.
5544         * elf/neededtest4.c: Likewise.
5545         * grp/grp.h: Likewise.
5546         * gshadow/gshadow.h: Likewise.
5547         * iconv/gconv.h: Likewise.
5548         * iconv/gconv_int.h: Likewise.
5549         * iconv/gconv_simple.c: Likewise.
5550         * iconv/iconv.h: Likewise.
5551         * iconv/loop.c: Likewise.
5552         * iconv/skeleton.c: Likewise.
5553         * include/aio.h: Likewise.
5554         * include/aliases.h: Likewise.
5555         * include/argz.h: Likewise.
5556         * include/arpa/inet.h: Likewise.
5557         * include/assert.h: Likewise.
5558         * include/dirent.h: Likewise.
5559         * include/dlfcn.h: Likewise.
5560         * include/execinfo.h: Likewise.
5561         * include/fcntl.h: Likewise.
5562         * include/fenv.h: Likewise.
5563         * include/glob.h: Likewise.
5564         * include/grp.h: Likewise.
5565         * include/libintl.h: Likewise.
5566         * include/mntent.h: Likewise.
5567         * include/netdb.h: Likewise.
5568         * include/pwd.h: Likewise.
5569         * include/rpc/netdb.h: Likewise.
5570         * include/sched.h: Likewise.
5571         * include/search.h: Likewise.
5572         * include/shadow.h: Likewise.
5573         * include/signal.h: Likewise.
5574         * include/stdio.h: Likewise.
5575         * include/stdlib.h: Likewise.
5576         * include/string.h: Likewise.
5577         * include/sys/socket.h: Likewise.
5578         * include/sys/stat.h: Likewise.
5579         * include/sys/statfs.h: Likewise.
5580         * include/sys/statvfs.h: Likewise.
5581         * include/sys/syslog.h: Likewise.
5582         * include/sys/time.h: Likewise.
5583         * include/sys/uio.h: Likewise.
5584         * include/time.h: Likewise.
5585         * include/unistd.h: Likewise.
5586         * include/utmp.h: Likewise.
5587         * include/wchar.h: Likewise.
5588         * include/wctype.h: Likewise.
5589         * inet/aliases.h: Likewise.
5590         * inet/arpa/inet.h: Likewise.
5591         * inet/netinet/ether.h: Likewise.
5592         * inet/netinet/in.h: Likewise.
5593         * intl/libintl.h: Likewise.
5594         * io/bits/fcntl2.h: Likewise.
5595         * io/fcntl.h: Likewise.
5596         * io/ftw.h: Likewise.
5597         * io/sys/poll.h: Likewise.
5598         * io/sys/stat.h: Likewise.
5599         * io/sys/statfs.h: Likewise.
5600         * io/sys/statvfs.h: Likewise.
5601         * io/utime.h: Likewise.
5602         * libio/bits/stdio.h: Likewise.
5603         * libio/bits/stdio2.h: Likewise.
5604         * libio/libio.h: Likewise.
5605         * libio/libioP.h: Likewise.
5606         * libio/stdio.h: Likewise.
5607         * locale/lc-ctype.c: Likewise.
5608         * locale/locale.h: Likewise.
5609         * login/utmp.h: Likewise.
5610         * malloc/arena.c: Likewise.
5611         * malloc/malloc.c: Likewise.
5612         * malloc/malloc.h: Likewise.
5613         * malloc/mcheck.c: Likewise.
5614         * malloc/mtrace.c: Likewise.
5615         * math/bits/mathcalls.h: Likewise.
5616         * math/fenv.h: Likewise.
5617         * math/math_private.h: Likewise.
5618         * misc/bits/error.h: Likewise.
5619         * misc/bits/syslog.h: Likewise.
5620         * misc/err.h: Likewise.
5621         * misc/error.h: Likewise.
5622         * misc/fstab.h: Likewise.
5623         * misc/mntent.h: Likewise.
5624         * misc/regexp.h: Likewise.
5625         * misc/search.h: Likewise.
5626         * misc/sgtty.h: Likewise.
5627         * misc/sys/mman.h: Likewise.
5628         * misc/sys/syslog.h: Likewise.
5629         * misc/sys/uio.h: Likewise.
5630         * misc/sys/xattr.h: Likewise.
5631         * misc/ttyent.h: Likewise.
5632         * nis/rpcsvc/ypclnt.h: Likewise.
5633         * nss/nss.h: Likewise.
5634         * posix/bits/unistd.h: Likewise.
5635         * posix/fnmatch.h: Likewise.
5636         * posix/glob.h: Likewise.
5637         * posix/sched.h: Likewise.
5638         * posix/spawn.h: Likewise.
5639         * posix/sys/wait.h: Likewise.
5640         * posix/unistd.h: Likewise.
5641         * posix/wordexp.h: Likewise.
5642         * pwd/pwd.h: Likewise.
5643         * resolv/netdb.h: Likewise.
5644         * resource/sys/resource.h: Likewise.
5645         * rt/aio.h: Likewise.
5646         * rt/bits/mqueue2.h: Likewise.
5647         * rt/mqueue.h: Likewise.
5648         * shadow/shadow.h: Likewise.
5649         * signal/signal.h: Likewise.
5650         * socket/send.c: Likewise.
5651         * socket/sendto.c: Likewise.
5652         * socket/sys/socket.h: Likewise.
5653         * stdio-common/printf.h: Likewise.
5654         * stdlib/bits/stdlib.h: Likewise.
5655         * stdlib/fmtmsg.h: Likewise.
5656         * stdlib/monetary.h: Likewise.
5657         * stdlib/stdlib.h: Likewise.
5658         * stdlib/ucontext.h: Likewise.
5659         * streams/stropts.h: Likewise.
5660         * string/argz.h: Likewise.
5661         * string/bits/string2.h: Likewise.
5662         * string/string.h: Likewise.
5663         * string/strings.h: Likewise.
5664         * sunrpc/rpc/auth.h: Likewise.
5665         * sunrpc/rpc/auth_des.h: Likewise.
5666         * sunrpc/rpc/clnt.h: Likewise.
5667         * sunrpc/rpc/netdb.h: Likewise.
5668         * sunrpc/rpc/pmap_clnt.h: Likewise.
5669         * sunrpc/rpc/xdr.h: Likewise.
5670         * sysdeps/generic/inttypes.h: Likewise.
5671         * sysdeps/generic/net/if.h: Likewise.
5672         * sysdeps/generic/sys/swap.h: Likewise.
5673         * sysdeps/gnu/net/if.h: Likewise.
5674         * sysdeps/gnu/utmpx.h: Likewise.
5675         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5676         * sysdeps/i386/i486/bits/string.h: Likewise.
5677         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5678         * sysdeps/s390/bits/string.h: Likewise.
5679         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5680         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5681         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5682         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5683         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5684         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5685         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5686         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5687         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5688         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5689         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5690         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5691         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5692         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5693         * sysdeps/unix/sysv/linux/readv.c: Likewise.
5694         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5695         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5696         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5697         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5698         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5699         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5700         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5701         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5702         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5703         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5704         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5705         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5706         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5707         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5708         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5709         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5710         * sysvipc/sys/ipc.h: Likewise.
5711         * sysvipc/sys/msg.h: Likewise.
5712         * sysvipc/sys/sem.h: Likewise.
5713         * sysvipc/sys/shm.h: Likewise.
5714         * termios/termios.h: Likewise.
5715         * time/sys/time.h: Likewise.
5716         * time/time.h: Likewise.
5717         * wcsmbs/bits/wchar2.h: Likewise.
5718         * wcsmbs/uchar.h: Likewise.
5719         * wcsmbs/wchar.h: Likewise.
5720         * wctype/wctype.h: Likewise.
5721
5722         [BZ #13551]
5723         * Makeconfig: Remove all but ELF support including AIX support.
5724         * Makerules: Likewise.
5725         * config.h.in: Likewise.
5726         * config.make.in: Likewise.
5727         * configure: Likewise.
5728         * configure.in: Likewise.
5729         * csu/Makefile: Likewise.
5730         * csu/version.c: Likewise.
5731         * debug/Makefile: Likewise.
5732         * dlfcn/Makefile: Likewise.
5733         * elf/Makefile: Likewise.
5734         * extra-lib.mk: Likewise.
5735         * iconv/Makefile: Likewise.
5736         * include/libc-symbols.h: Likewise.
5737         * include/shlib-compat.h: Likewise.
5738         * resolv/Makefile: Likewise.
5739         * resolv/res_libc.c: Likewise.
5740         * rt/Makefile: Likewise.
5741         * sysdeps/i386/asm-syntax.h: Likewise.
5742         * sysdeps/i386/sysdep.h: Likewise.
5743         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5744         * sysdeps/mach/sysdep.h: Likewise.
5745         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5746         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5747         * sysdeps/s390/asm-syntax.h: Likewise.
5748         * sysdeps/s390/s390-32/sysdep.h: Likewise.
5749         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5750         * sysdeps/sh/sysdep.h: Likewise.
5751         * sysdeps/unix/sparc/sysdep.h: Likewise.
5752         * sysdeps/wordsize-32/divdi3.c: Likewise.
5753         * sysdeps/x86_64/sysdep.h: Likewise.
5754
5755         * argp/Versions: Remove _argp_unlock_xxx.
5756
5757         [BZ #13559]
5758         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
5759         * abilist/libBrokenLocale.abilist: Likewise.
5760         * abilist/libanl.abilist: Likewise.
5761         * abilist/libc.abilist: Likewise.
5762         * abilist/libcrypt.abilist: Likewise.
5763         * abilist/libdl.abilist: Likewise.
5764         * abilist/libm.abilist: Likewise.
5765         * abilist/libnsl.abilist: Likewise.
5766         * abilist/libpthread.abilist: Likewise.
5767         * abilist/libresolv.abilist: Likewise.
5768         * abilist/librt.abilist: Likewise.
5769         * abilist/libthread_db.abilist: Likewise.
5770         * abilist/libutil.abilist: Likewise.
5771         * abilist/libnss_db.abilist: New file.
5772
5773         * scripts/abilist.awk: Add support for indirect functions.
5774
5775         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5776
5777         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5778
5779         * shlib-versions: Remove entries for ports architectures.
5780
5781         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
5782         files in ports.
5783         * elf/stackguard-macros.h: Remove support for IA-64.
5784         * elf/tst-auditmod1.c: Likewise.
5785         * sysdeps/generic/ldsodefs.h: Likewise.
5786
5787         * sysdeps/unix/sysv/linux/configure.in: Ports should define
5788         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5789         configure files.
5790
5791         [BZ #13552]
5792         * configure.in: Remove --enable-omitfp support.
5793         * FAQ.in: Adjust.
5794         * config.make.in: Likewise.
5795         * Makeconfig: Likewise.
5796         * manual/install.texi: Likewise.
5797
5798         In case anyone cares, the IA-64 architecture could move to ports.
5799         * sysdeps/ia64/*: Removed.
5800         * sysdeps/unix/sysv/linux/ia64/*: Removed.
5801         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
5802
5803         [BZ #13555]
5804         * configure.in: Remove entries for unsupported architectures.
5805
5806         [BZ #13533]
5807         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5808         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
5809         routines.
5810         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5811         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5812         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
5813         fall back to using wcrtomb.
5814         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5815         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
5816         renaming.
5817         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5818         * wcsmbs/tst-c16c32-1.c: New file.
5819
5820         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5821         local variable.
5822
5823         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5824
5825         * elf/tst-unique3.cc: Add explicit declaration of gets.
5826         * elf/tst-unique3lib.cc: Likewise.
5827         * elf/tst-unique3lib2.cc: Likewise.
5828         * elf/tst-unique4.cc: Likewise.
5829
5830         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5831
5832 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
5833
5834         [BZ #13566]
5835         * assert/assert.h (static_assert): Don't define for C++.
5836         * libio/stdio.h (gets): Do declare for C++ <= C++11.
5837         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5838
5839 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
5840
5841         * iconv/loop.c (single loop): Fix assertion in storing of
5842         remaining bytes.
5843
5844         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5845
5846 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
5847
5848         * posix/getconf.c: Update copyright year.
5849         * nss/getent.c: Likewise.
5850         * nss/makedb.c: Likewise.
5851         * iconv/iconvconfig.c: Likewise.
5852         * iconv/iconv_prog.c: Likewise.
5853         * elf/ldconfig.c: Likewise.
5854         * elf/pldd.c: Likewise.
5855         * elf/sotruss.ksh: Likewise.
5856         * catgets/gencat.c: Likewise.
5857         * csu/version.c: Likewise.
5858         * elf/ldd.bash.in: Likewise.
5859         * elf/sprof.c (print_version): Likewise.
5860         * locale/programs/locale.c: Likewise.
5861         * locale/programs/localedef.c: Likewise.
5862         * login/programs/pt_chown.c: Likewise.
5863         * nscd/nscd.c (print_version): Likewise.
5864         * debug/xtrace.sh: Likewise.
5865         * malloc/memusage.sh: Likewise.
5866         * malloc/mtrace.pl: Likewise.
5867         * debug/catchsegv.sh: Likewise.
5868
5869 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
5870
5871         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5872         pure attribute.
5873
5874 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
5875
5876         [BZ #13533]
5877         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5878         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5879         transformations.
5880         * iconv/gconv_int.h: Likewise.
5881         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5882         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5883         from libc for GLIBC_2.16.
5884         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5885         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5886         * wcsmbs/uchar.h: Really define mbstate_t.
5887         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5888         * wcsmbs/c16rtomb.c: New file.
5889         * wcsmbs/mbrtoc16.c: New file.
5890         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5891         for C/POSIX locale.
5892         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5893         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5894
5895         * wcsmbs/wchar.h: Add missing __restrict.
5896
5897 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5898
5899         [BZ #13532]
5900         * time/Makefile (routines): Add timespec_get.
5901         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5902         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
5903         timespec for ISO C11.
5904         * time/timespec_get.c: New file.
5905         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5906         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5907
5908         [BZ #13531]
5909         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5910         * stdlib/stdlib.h: Declare aligned_alloc.
5911         * Versions.def: Add GLIBC_2.16 for libc.
5912         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5913
5914         [BZ 13527]
5915         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5916         ISO C11.
5917
5918         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5919         code.
5920
5921         [BZ #13528]
5922         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5923
5924         [BZ #13529]
5925         * assert/assert.h (static_assert): Define.
5926
5927         * version.h: Update for 2.16 development version.
5928
5929         [BZ #13526]
5930         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5931         _ISOC11_SOURCE.
5932
5933         * version.h (RELEASE): Bump for 2.15 release.
5934         * include/features.h (__GLIBC_MINOR__): Bump to 15.
5935
5936         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5937         Patch by Marek Polacek <mpolacek@redhat.com>.
5938
5939         * bits/byteswap.h: Protect long long constants with __extension__.
5940         * sysdeps/i386/bits/byteswap.h: Likewise.
5941         * sysdeps/ia64/bits/byteswap.h: Likewise.
5942         * sysdeps/s390/bits/byteswap.h: Likewise.
5943         * sysdeps/x86_64/bits/byteswap.h: Likewise.
5944
5945 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5946
5947         [BZ #13540]
5948         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5949         destination buffer.
5950         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5951
5952 2011-12-23  Marek Polacek  <polacek@redhat.com>
5953
5954         * elf/dl-addr.c (determine_info): Add inline keyword.
5955         * elf/tst-auditmod4b.c (check_avx): Likewise.
5956         * elf/tst-auditmod6b.c (check_avx): Likewise.
5957         * elf/tst-auditmod6c.c (check_avx): Likewise.
5958         * elf/tst-auditmod7b.c (check_avx): Likewise.
5959
5960 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
5961
5962         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5963         !__SSE_MATH__.
5964
5965 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5966
5967         [BZ #13540]
5968         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5969         processing for last bytes.
5970
5971 2011-08-06  Bruno Haible  <bruno@clisp.org>
5972
5973         [BZ #13061]
5974         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5975         U+0385, not to U+1FEE.
5976
5977         [BZ #13062]
5978         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5979         entry for U+00A5 U+0301.
5980
5981 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
5982
5983         [BZ #13166]
5984         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5985         buffer for the output is too small.
5986
5987         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5988         optimization.
5989
5990         [BZ #13185]
5991         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5992         SSE flags if possible.
5993
5994 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5995
5996         [BZ #13540]
5997         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5998         processing for last bytes.
5999
6000 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
6001
6002         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6003         (syscall-list-default-options, syscall-list-default-condition)
6004         (syscall-list-includes): Define.
6005         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6006         list of ABIs and options and #if conditions for each ABI.  Do not
6007         handle common syscalls between ABIs specially.
6008         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6009         Remove.
6010         (syscall-list-variants, syscall-list-32bit-options)
6011         (syscall-list-32bit-condition, syscall-list-64bit-options)
6012         (syscall-list-64bit-condition): Define.
6013         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6014         (syscall-list-variants, syscall-list-32bit-options)
6015         (syscall-list-32bit-condition, syscall-list-64bit-options)
6016         (syscall-list-64bit-condition): Define.
6017         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6018         Remove.
6019         (syscall-list-variants, syscall-list-32bit-options)
6020         (syscall-list-32bit-condition, syscall-list-64bit-options)
6021         (syscall-list-64bit-condition): Define.
6022         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6023         Remove.
6024         (syscall-list-variants, syscall-list-32bit-options)
6025         (syscall-list-32bit-condition, syscall-list-64bit-options)
6026         (syscall-list-64bit-condition): Define.
6027
6028 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
6029
6030         * locale/iso-639.def: Add brx entry.
6031
6032         [BZ #13328]
6033         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6034         Proposed by Mariusz_Cukr <marcukr@op.pl>.
6035
6036         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6037         __feraiseexcept_renamed.
6038
6039 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
6040
6041         [BZ #13538]
6042         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6043         EPOLLET with unsigned values.
6044         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6045         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6046
6047         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6048         to large cancellation.
6049         * math/s_cacoshf.c: Likewise.
6050         * math/s_cacoshl.c: Likewise.
6051
6052 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
6053
6054         [BZ #13305]
6055         [BZ #12786]
6056         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6057         * math/s_cacoshf.c: Likewise.
6058         * math/s_cacoshl.c: Likewise.
6059
6060 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
6061
6062         [BZ #13439]
6063         * iconv/gconv.h: Define __GCONV_SWAP.
6064         * iconvdata/unicode.c: The swap bit must be stored in __flags.
6065         * iconvdata/utf-16.c: Likewise.
6066         * iconvdata/utf-32.c: Likewise.
6067
6068 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
6069
6070         [BZ #13524]
6071         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6072         numerator after shifting it by one limb.
6073
6074 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
6075
6076         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6077         under [__USE_EXTERN_INLINES].
6078
6079 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
6080
6081         [BZ #13446]
6082         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6083
6084 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6085
6086         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6087         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6088         optimized code.
6089         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6090         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6091         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6092         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6093         for strncasecmp/strncasecmp_l compilation.
6094         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6095         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6096
6097 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
6098
6099         [BZ #13484]
6100         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6101         of __asm__.
6102
6103 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
6104
6105         [BZ #13506]
6106         * time/tzfile.c (__tzfile_read): Check values from file header.
6107
6108 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
6109
6110         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6111         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6112         * powerpc/powerpc32/dl-start.S: Likewise.
6113         * powerpc/powerpc32/elf/start.S: Likewise.
6114         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6115         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6116         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6117         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6118         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6119         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6120         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6121         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6122         * powerpc/powerpc32/fpu/s_round.S: Likewise.
6123         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6124         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6125         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6126         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6127         * powerpc/powerpc32/memset.S: Likewise.
6128         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6129         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6130         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6131         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6132         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6133         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6134         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6135         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6136         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6137         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6138         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6139         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6140         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6141
6142 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6143
6144         * math/libm-test.inc: Added more nearbyint tests.
6145         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6146         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6147         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6148         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6149
6150 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
6151
6152         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6153         FD_CLOEXEC.
6154
6155 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6156
6157         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6158         Add wcscpy-ssse3 wcscpy-c.
6159         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6160         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6161         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6162         * sysdeps/x86_64/wcschr.S: New file.
6163         * sysdeps/x86_64/wcsrchr.S: New file.
6164         * string/test-strcmp.c: Remove checking of wcscmp function for
6165         wrong alignments.
6166         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6167         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6168         wcsrchr-sse2 wcsrchr-c.
6169         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6170         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6171         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6172         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6173         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6174         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6175         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6176         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6177         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6178         * wcsmbc/wcschr.c (WCSCHR): New macro.
6179
6180 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6181
6182         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6183         * wcsmbs/test-wcsrchr.c: New file.
6184         * string/test-strrchr.c: Add wcsrchr support.
6185         (WIDE): New macro.
6186         * wcsmbs/test-wcscpy.c: New file.
6187         * string/test-strcpy.c: Add wcscpy support.
6188         (WIDE): New macro.
6189
6190 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
6191
6192         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6193         the inner loop.
6194
6195 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
6196
6197         [BZ #13472]
6198         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6199
6200 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
6201
6202         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
6203         Minor optimizations.
6204
6205         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6206         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6207         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6208
6209 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
6210
6211         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6212         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6213         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6214         for gcc to avoid warnings.
6215         * inet/Makefile (tests): Add tst-checks.
6216         * inet/tst-checks.c: New file.
6217
6218         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6219         warning.
6220
6221         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6222         __wmemcmp_sse2.
6223
6224         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6225         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6226
6227         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6228
6229 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
6230
6231         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6232         problem.
6233
6234         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6235
6236 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
6237
6238         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6239         conditional on GCC version.
6240         (__arch_compare_and_exchange_val_8_acq)
6241         (__arch_compare_and_exchange_val_16_acq)
6242         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6243         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6244         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6245
6246 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
6247
6248         * sysdeps/sh/backtrace.c: New file.
6249
6250 2011-12-02  Andreas Schwab  <schwab@redhat.com>
6251
6252         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
6253         parenthesis.
6254
6255 2011-12-01  Andreas Schwab  <schwab@redhat.com>
6256
6257         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6258         falling back to utime.
6259
6260 2011-11-30  Andreas Schwab  <schwab@redhat.com>
6261
6262         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6263         expectations for float.
6264
6265 2011-11-29  Andreas Schwab  <schwab@redhat.com>
6266
6267         * locale/weight.h (findidx): Add parameter len.
6268         * locale/weightwc.h (findidx): Likewise.
6269         * posix/fnmatch_loop.c (FCT): Adjust caller.
6270         * posix/regcomp.c (build_equiv_class): Likewise.
6271         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6272         * posix/regexec.c (check_node_accept_bytes): Likewise.
6273         * string/strcoll_l.c (STRCOLL): Likewise.
6274         * string/strxfrm_l.c (STRXFRM): Likewise.
6275
6276 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
6277
6278         * Makefile.in: Remove CVSOPT handling.
6279         * configure.in: Remove use of AC_REVISION.
6280         * iconvdata/Makefile (distribute): No need to filter out CVS.
6281         * scripts/list-sources.sh: Remove CVS, subversion and monotone
6282         handling.
6283
6284 2011-11-16  Andreas Schwab  <schwab@redhat.com>
6285
6286         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6287         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6288         [USE_AS_STRNCASECMP_L]: Likewise.
6289         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6290         NO_TLS_DIRECT_SEG_REFS.
6291         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6292         Fix argument offsets for non-PIC.
6293         [USE_AS_STRNCASECMP_L]: Likewise.
6294         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6295         NO_TLS_DIRECT_SEG_REFS.
6296
6297 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
6298
6299         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
6300         O_CLOEXEC.
6301         * locale/loadlocale.c (_nl_load_locale): Likewise.
6302
6303 2011-11-15  Andreas Schwab  <schwab@redhat.com>
6304
6305         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6306         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6307         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6308         (SYSCALL_GETTIME): Set errno on error.
6309
6310         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6311         count references to noai6ai_cached.
6312
6313 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
6314
6315         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6316
6317         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6318         FD_CLOEXEC for /proc/self/maps.
6319
6320         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6321         FD_CLOEXEC for /proc/meminfo.
6322
6323         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6324         gai.conf.
6325
6326         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
6327         FD_CLOEXEC for given file.
6328
6329         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6330
6331         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6332         FD_CLOEXEC for /etc/hosts.
6333         (_gethtent): Likewise.
6334
6335         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6336
6337         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6338         cancellation and set FD_CLOEXEC for /etc/netgroup.
6339
6340         * nss/nss_files/files-key.c (search): Don't allow cancellation when
6341         reading /etc/publickey.
6342
6343         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6344         allow cancellation when reading /etc/group.
6345
6346         * nss/nss_files/files-alias.c (internal_setent): Don't allow
6347         cancellation.
6348         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
6349
6350         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6351         when using data file.
6352
6353         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6354
6355         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6356         (write_nis_obj): Use "c" and "e" in fopen.
6357
6358         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6359
6360         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6361
6362         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6363
6364         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6365
6366         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6367         locale.alias.
6368
6369         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6370
6371         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6372
6373         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6374
6375         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6376         file parsing and set FD_CLOEXEC.
6377
6378 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
6379
6380         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6381
6382 2011-11-14  Andreas Schwab  <schwab@redhat.com>
6383
6384         * malloc/arena.c (arena_get2): Don't call reused_arena when
6385         _int_new_arena failed.
6386
6387 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
6388
6389         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6390         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6391         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6392         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6393         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6394         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6395         to compile strcasecmp and strncasecmp.
6396         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6397         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6398
6399         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6400
6401 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
6402
6403         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6404         locale-defines.sym to gen-as-const-headers.
6405         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6406         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6407         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6408         to compile strcasecmp and strncasecmp.
6409         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6410         strcasecmp_l and strncasecmp_l.
6411         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6412         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6413         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6414         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6415         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6416         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6417         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6418         * sysdeps/i386/i686/multiarch/strncase.S: New file.
6419         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6420         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6421         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6422
6423 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
6424
6425         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6426         result of SYSDEP_GETTIME_CPU to retval.
6427         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6428         parameter list to macro.  Remove trailing semicolon.  Adjust users.
6429
6430         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6431         variable.
6432
6433         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6434         mantissa words.
6435         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6436
6437         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6438         from unused variable.
6439
6440         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6441         DWARF definitions.
6442         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6443         for assembling.
6444
6445         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6446         over namespaces.
6447
6448         * sunrpc/rpc_prot.c (rejected): Fix case value.
6449
6450         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6451         unsigned long long int to avoid warnings in shift.
6452
6453         * posix/regex_internal.c (re_string_reconstruct): Actually use result
6454         of use of trans.
6455         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6456         variable tmp.
6457
6458         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6459         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6460         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6461
6462         * nis/nis_table.c (nis_list): Use variable of correct type for
6463         result of __follow_path call.
6464
6465 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6466
6467         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6468         of math functions ceil, trunc, floor, round, and sqrt, when
6469         avaliable on the platform.
6470         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6471         name clash.
6472         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6473         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6474         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6475
6476 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
6477
6478         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6479         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6480
6481 2011-11-11  Roland McGrath  <roland@hack.frob.com>
6482
6483         * include/unistd.h: Fix __readlink return type.
6484         Reported by Chris Metcalf <cmetcalf@tilera.com>.
6485
6486 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
6487
6488         * stdlib/ucontext.h: Undo last change for makecontext.
6489
6490 2011-11-11  Andreas Schwab  <schwab@redhat.com>
6491
6492         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6493
6494         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6495         * setjmp/setjmp.h: Mark functions as non-leaf.
6496         * setjmp/bits/setjmp2.h: Likewise.
6497         * stdlib/ucontext.h: Likewise.
6498
6499 2011-11-10  Andreas Schwab  <schwab@redhat.com>
6500
6501         * malloc/arena.c (_int_new_arena): Don't increment narenas.
6502         (reused_arena): Don't check arena limit.
6503         (arena_get2): Atomically check arena limit.
6504
6505 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
6506
6507         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6508         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6509
6510         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6511         instructions.
6512
6513 2011-11-07  Andreas Schwab  <schwab@redhat.com>
6514
6515         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6516         handler when locking.
6517
6518         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6519         Fix size of allocated buffer.
6520
6521 2011-11-04  Andreas Schwab  <schwab@redhat.com>
6522
6523         [BZ #10103]
6524         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6525         declarations for long double functions.
6526         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6527
6528         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6529
6530 2011-11-03  Andreas Schwab  <schwab@redhat.com>
6531
6532         * nscd/nscd.c (main): Don't start AVC thread until credentials are
6533         installed.
6534
6535         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6536         is disabled.
6537
6538 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6539
6540         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6541
6542 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6543
6544         * include/alloca.h (stackinfo_alloca_round): Define.
6545         (extend_alloca): Use it.
6546         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6547         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6548         here.
6549
6550         * scripts/check-local-headers.sh: Ignore libaudit.h.
6551
6552         * nscd/Makefile (extra-objs): Make recursively expanded.
6553
6554 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
6555
6556         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6557         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6558
6559         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6560         * posix/tst-rfc3484-2.c: Likewise.
6561         * posix/tst-rfc3484-3.c: Likewise.
6562
6563         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6564         process_vm_writev.
6565         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6566         process_vm_writev.
6567         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6568         process_vm_writev from libc using GLIBC_2.15 version.
6569
6570         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6571
6572 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
6573
6574         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6575         stack usage.
6576
6577 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
6578
6579         [BZ #13367]
6580         * nss/getent.c (initgroups_keys): Show error message in case no group
6581         names are given.
6582
6583         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6584         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6585         __bump_nl_timestamp.
6586         * nscd/connections (nscd_init): When host database is served open
6587         netlink socket and request notification about configuration changes.
6588         (main_loop_poll): Track netlink file descriptor and bump timestamp
6589         in case data becomes available.
6590         (main_loop_epoll): Likewise.
6591         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6592         (database_pers_head): Add extra_data fileds.
6593         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6594         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6595         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6596         Adjust caller.
6597         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6598         in6ai data, call __free_in6ai.
6599         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6600         Add -DHAVE_NETLINK.
6601         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
6602         interface information.  Reuse previous data if netlink timestamp
6603         is not changed.
6604         (__bump_nl_timestamp): New function.
6605         (__free_in6ai): New function.
6606
6607 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
6608
6609         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6610         close_not_cancel_no_status here.
6611         (__check_pf): Reorganize code a bit to not call close twice if OOM.
6612
6613 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
6614
6615         [BZ #13276]
6616         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6617         return value.
6618
6619         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
6620         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6621         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6622
6623 2011-07-03  Andreas Jaeger  <aj@suse.de>
6624
6625         [BZ #10709]
6626         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6627         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6628         * math/libm-test.inc (sin_test): Add test case.
6629
6630 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
6631
6632         [BZ #13337]
6633         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6634         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6635
6636         * elf/chroot_canon.c (chroot_canon): Cleanups.
6637
6638         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6639
6640         [BZ #13335]
6641         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6642         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6643
6644         * string/test-strchr.c: Make usable for strchrnul testing.
6645         * string/test-strchrnul.c: New file.
6646         * string/Makefile (strop-tests): Add strchrnul.
6647
6648         * po/it.po: Update from translation team.
6649         * po/es.po: Likewise.
6650
6651 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
6652
6653         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6654         the three constants needed as parameters.  Drop the others.
6655         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6656         __m128i_strloadu_tolower.
6657         Create and initialize variable zero and use it in all the places
6658         where _mm_setzero_si128 was used.
6659
6660         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6661         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6662         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6663         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6664         anymore.
6665         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6666         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6667         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6668         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6669         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6670         __mpranred, __mptan.
6671         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6672         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6673         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6674         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6675         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6676         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6677         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6678         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6679         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6680
6681 2011-10-28  Andreas Schwab  <schwab@redhat.com>
6682
6683         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6684         redefine if SHARED.
6685         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6686
6687         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6688         wide char related routines to wcsmbs subdir.
6689
6690 2011-10-27  Andreas Schwab  <schwab@redhat.com>
6691
6692         [BZ #13344]
6693         * misc/sys/cdefs.h (__THROWNL): Define.
6694         * posix/unistd.h: Use __THREADNL instead of __THREAD
6695         for memory synchronization functions.
6696
6697 2011-10-26  Roland McGrath  <roland@hack.frob.com>
6698
6699         [BZ #13349]
6700         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6701         doesn't exist.
6702         * manual/stdio.texi (Obstack Streams): Node removed.
6703
6704 2011-10-26  Andreas Schwab  <schwab@redhat.com>
6705
6706         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6707         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6708         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6709
6710         * math/math_private.h (math_force_eval): Allow non-addressable
6711         arguments.
6712         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6713
6714 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6715
6716         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6717         file is not needed.
6718
6719         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6720         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6721         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6722         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6723         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6724         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6725         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6726         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6727         Add AVX variants.
6728         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6729         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6730         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6731         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6732         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6733         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6734         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6735         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6736         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6737         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6738         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6739         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6740         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6741         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6742         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6743         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6744         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6745         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6746         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6747
6748         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6749         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
6750
6751         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6752         place.  Use VEX encoding when compiling for AVX.
6753
6754 2011-10-25  Andreas Schwab  <schwab@redhat.com>
6755
6756         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6757         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6758
6759         * string/test-strchr.c (do_test): Don't generate NUL bytes.
6760
6761 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6762
6763         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
6764         useless if() expression.
6765         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6766         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6767         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6768         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6769         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6770         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6771         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6772         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6773         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6774         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6775         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6776         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6777         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6778         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6779         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6780         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6781         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6782         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6783         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6784
6785         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6786
6787 2011-10-25  Andreas Schwab  <schwab@redhat.com>
6788
6789         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6790         condition.
6791         * elf/dl-fini.c (_dl_sort_fini): Likewise.
6792
6793 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6794
6795         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6796         .text section.  Avoid duplicate constants.
6797         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6798         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6799         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6800         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6801         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6802         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6803         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6804         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6805         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6806         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6807         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6808         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6809         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6810         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6811         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6812         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6813         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6814         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6815         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6816         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6817         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6818         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6819         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6820         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6821         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6822         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6823         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6824         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6825         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6826         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6827         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6828         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6829         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6830         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6831         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6832         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6833         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6834         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6835         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6836         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6837         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6838         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6839         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6840         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6841         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6842
6843 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
6844
6845         * sysdeps/x86_64/dla.h: Move to ...
6846         * sysdeps/x86_64/fpu/dla.h: ...here.
6847         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6848         situations.  Use __builtin_fma only for gcc 4.6 and up.
6849
6850         * config.make.in: Add have-mfma4 entry.
6851         * configure.in: Substitute libc_cv_cc_fma4.
6852         * math/Makefile (dbl-only-routines): Add sincostab.
6853         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6854         Use __sincostab not sincos.
6855         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6856         name is a macro.
6857         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6858         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6859         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6860         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
6861         using __copysign.
6862         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
6863         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
6864         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6865         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6866         and __inv.
6867         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6868         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6869         __copysign.
6870         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
6871         define aliases when function name is a macro.
6872         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6873         sysdeps/ieee754/dbl-64/sincos.tbl.
6874         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6875         fma4-enabled routines.
6876         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6877         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6878         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6879         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6880         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6881         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6882         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6883         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6884         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6885         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6886         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6887         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6888         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6889         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6890         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6891         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6892         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6893         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6894         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6895         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6896         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6897         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6898         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6899         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6900         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6901         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6902         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6903         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6904         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6905         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6906
6907         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6908         rename.
6909         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6910         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6911         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6912         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6913         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6914         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6915         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6916         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6917
6918 2011-10-24  Andreas Schwab  <schwab@redhat.com>
6919
6920         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6921
6922 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6923
6924         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6925
6926         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6927         prediction.
6928         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6929
6930         * string/strnlen.c: Don't define STRNLEN, reverse logic.
6931         Remove unused variable magic_bits.
6932         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6933
6934         * string/strnlen.c: Define and use STRNLEN macro.
6935         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6936         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6937         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6938         * wcsmbs/wcslen.c: Define and use WCSLEN.
6939         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6940         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6941         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6942         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6943         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6944         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6945         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6946
6947 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6948
6949         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6950         strnlen-sse2-no-bsf.
6951         Rename strlen-no-bsf to strlen-sse2-no-bsf.
6952         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6953         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6954         Add strnlen support.
6955         (USE_AS_STRNLEN): New macro.
6956         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6957         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6958         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6959         * sysdeps/x86_64/wcslen.S: New file.
6960
6961 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
6962
6963         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6964         XMM-moves are used for copying on small sizes.
6965
6966 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6967
6968         * wcsmbs/Makefile (strop-tests): Add wcschr.
6969         * wcsmbs/test-wcschr.c: New file.
6970         * string/test-strchr.c: Update.
6971         Add wcschr support.
6972         (WIDE): New macro.
6973
6974 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6975
6976         * wcsmbs/Makefile (strop-tests): Add wcslen.
6977         * wcsmbs/test-wcslen.c: New file.
6978         * string/test-strlen.c: Update.
6979         Add wcslen support.
6980         (WIDE): New macro.
6981
6982 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6983
6984         * po/it.po: Update from translation team.
6985
6986 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6987
6988         * sysdeps/x86_64/wcscmp.S: Update.
6989         Fix wrong comparison semantics.
6990         wcscmp shall use signed comparison not unsigned.
6991         Don't use substraction to avoid overflow bug.
6992         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6993         * wcsmbc/wcscmp.c: Likewise.
6994         * string/test-strcmp.c: Likewise.
6995         Add new tests to check cases with negative values.
6996
6997 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
6998
6999         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7000         * sysdeps/x86_64/dla.h: ...here.  New file.
7001         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7002         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7003         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7004         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7005         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7006         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7007         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7008         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7009         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7010
7011 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
7012
7013         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7014         __ynl_finite aliases.
7015
7016 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
7017
7018         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7019
7020         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7021         define DLA_FMA.
7022         [DLA_FMA] (EMULV): Use DLA_FMA.
7023         [DLA_FMA] (MUL12): Use EMULV.
7024         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7025         that are not needed.
7026         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7027         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7028         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7029         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7030         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7031         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7032         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7033
7034 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
7035
7036         * math/s_nan.c: Undef __nan.
7037         * math/s_nanf.c: Undef __nanf.
7038         * math/s_nanl.c: Undef __nanl.
7039         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7040         "math_private.h".
7041
7042 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
7043
7044         * math/s_catan.c: Add branch predictions.
7045         * math/s_catanf.c: Likewise.
7046         * math/s_catanh.c: Likewise.
7047         * math/s_catanhf.c: Likewise.
7048         * math/s_catanhl.c: Likewise.
7049         * math/s_catanl.c: Likewise.
7050         * math/s_cexp.c: Likewise.
7051         * math/s_cexpf.c: Likewise.
7052         * math/s_cexpl.c: Likewise.
7053         * math/s_clog.c: Likewise.
7054         * math/s_clog10.c: Likewise.
7055         * math/s_clog10f.c: Likewise.
7056         * math/s_clog10l.c: Likewise.
7057         * math/s_clogf.c: Likewise.
7058         * math/s_clogl.c: Likewise.
7059         * math/s_csqrt.c: Likewise.
7060         * math/s_csqrtf.c: Likewise.
7061         * math/s_csqrtl.c: Likewise.
7062         * math/s_ctanf.c: Likewise.
7063         * math/s_ctanh.c: Likewise.
7064         * math/s_ctanhf.c: Likewise.
7065         * math/s_ctanhl.c: Likewise.
7066         * math/s_ctanl.c: Likewise.
7067
7068         * math/math_private.h: Define __nan, __nanf, __nanl.
7069         * math/s_cacosh.c: Include <math_private.h>.
7070         * math/s_cacoshl.c: Likewise.
7071         * math/s_casinh.c: Likewise.
7072         * math/s_casinhf.c: Likewise.
7073         * math/s_casinhl.c: Likewise.
7074         * math/s_ccos.c: Rely entire on ccosh.
7075         * math/s_ccosf.c: Rely entire on ccoshf.
7076         * math/s_ccosl.c: Rely entirely on ccoshl.
7077         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
7078         Remove tests for FE_INVALID.
7079         * math/s_ccoshf.c: Likewise.
7080         * math/s_ccoshl.c: Likewise.
7081         * math/s_csin.c: Likewise.
7082         * math/s_csinf.c: Likewise.
7083         * math/s_csinh.c Likewise.
7084         * math/s_csinhf.c: Likewise.
7085         * math/s_csinhl.c: Likewise.
7086         * math/s_csinl.c: Likewise.
7087         * math/s_ctan.c: Likewise.
7088         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7089         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7090         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7091
7092 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
7093
7094         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7095         compilation problems.
7096
7097         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7098         __builtin_expect.
7099
7100 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
7101
7102         * sysdeps/i386/configure.in: Test for -mfma4 option.
7103         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7104         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7105         COMMON_CPUID_INDEX_80000001.
7106         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7107         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7108         use it if FMA3 is not supported.
7109         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7110
7111         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7112         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7113
7114 2011-10-20  Andreas Schwab  <schwab@redhat.com>
7115
7116         [BZ #12892]
7117         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7118         it would create a cycle with a link time dependency.
7119
7120 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
7121
7122         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7123         instruction.
7124         * string/Makefile (strop-tests): Add rawmemchr.
7125         * string/test-rawmemchr.c: New file.
7126
7127         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7128         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
7129         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
7130         when compiling str{,n}casecmp and when AVX is available.  Hook up
7131         new optimized code in initializers.
7132
7133 2011-10-19  Andreas Schwab  <schwab@redhat.com>
7134
7135         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7136         __feraiseexcept instead of feraiseexcept.
7137
7138 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
7139
7140         * math/math_private.h: Define defaults for libc_fetestexcept and
7141         libc_feupdateenv.
7142         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7143         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7144         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7145         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7146         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7147         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7148         libc_fetestexcept and libc_feupdateenv.
7149
7150         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7151         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7152         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7153         * sysdeps/x86_64/fpu/math_private.h: Define special version of
7154         libc_feholdexcept_setround.
7155
7156         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7157         Add s_nearbyint-c and s_nearbyintf-c.
7158         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7159         nearbyintf inlines.
7160         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7161         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7162         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7163         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7164
7165         * math/math_private.h: Define defaults for libc_fegetround,
7166         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7167         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7168         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7169         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7170         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7171         standard functions.
7172         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7173         Remove comments and hacks for old compiler versions.
7174         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7175         libc_fegetround, libc_fesetround, libc_feholdexcept, and
7176         libc_feholdexceptl.
7177
7178 2011-10-18  Andreas Schwab  <schwab@redhat.com>
7179
7180         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
7181         (__feraiseexcept_renamed): Add __NTH.
7182         (feraiseexcept): Add __NTH.  Rename local variables to fix
7183         namespace violations.
7184
7185 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
7186
7187         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7188
7189         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7190
7191         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7192         recently added interfaces.
7193         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7194
7195         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7196         about macro parameter expansion.
7197
7198         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7199         __NO_MATH_INLINES is defined.  Cleanups.
7200
7201         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7202         and __floorf is target has SSE4.1.
7203         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7204         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7205         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7206         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7207
7208         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7209         name.
7210         (floorf): Likewise.
7211
7212         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7213
7214 2011-10-17  Andreas Schwab  <schwab@redhat.com>
7215
7216         * misc/sys/cdefs.h: Fix last change.
7217
7218         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7219         database lookup.
7220
7221 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
7222
7223         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7224
7225         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7226         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7227         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7228         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7229         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7230         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7231         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7232         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7233         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7234         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7235         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7236         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7237         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7238         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7239         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7240         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7241         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7242         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7243         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7244         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7245         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7246         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7247
7248         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7249         ceil, ceilf, floor, floorf.
7250
7251         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7252         Perform IRELATIVE relocations last.
7253
7254         * elf/do-rel.h: Add another parameter nrelative, replacing the
7255         local variable with the same name.  Change name of the function
7256         to end in Rel or Rela (uppercase).
7257         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7258         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
7259         elf_dynamic_do_##reloc function.
7260
7261 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
7262
7263         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7264         is sufficient, at least on modern CPUs.
7265
7266         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7267
7268         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7269         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7270
7271         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7272         __expl_finite.
7273         * math/bits/math-finite.h: Add entries for exp.
7274         * math/e_expl.c: Add __*_finite alias.
7275         * sysdeps/i386/fpu/e_exp.S: Likewise.
7276         * sysdeps/i386/fpu/e_expf.S: Likewise.
7277         * sysdeps/i386/fpu/e_expl.c: Likewise.
7278         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7279         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7280         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7281         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7282         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7283         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7284         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7285
7286         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7287         is sufficient, at least on modern CPUs.
7288
7289         * ctype/ctype-info.c (__ctype_init): Define.
7290         * include/ctype.h (__ctype_init): Declare.
7291         (__ctype_b_loc): The variable is always initialized.
7292         (__ctype_toupper_loc): Likewise.
7293         (__ctype_tolower_loc): Likewise.
7294         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7295         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7296
7297 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
7298
7299         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7300
7301         * configure.in: Also look in $cxxmachine/include for C++ system
7302         headers.
7303
7304 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7305
7306         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7307         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7308         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7309         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
7310         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7311         (USE_AS_WMEMCMP): New macro.
7312         Fixing indents.
7313         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7314         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7315         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7316         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7317         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7318         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7319         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7320         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7321         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7322         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7323         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7324         (USE_AS_WMEMCMP): New macro.
7325         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7326         * sysdeps/string/test-memcmp.c: Update.
7327         Fix simple_wmemcmp.
7328         Add new tests.
7329         * wcsmbs/wmemcmp.c: Update.
7330         (WMEMCMP): New macro.
7331         Fix overflow bug.
7332
7333 2011-10-12  Andreas Jaeger  <aj@suse.de>
7334
7335         [BZ #13268]
7336         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7337
7338 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
7339
7340         * libio/iofwide.c (do_length): Avoid warning.
7341
7342         * ctype/ctype.h (__isctype_f): Add missing __THROW.
7343
7344 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
7345
7346         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7347
7348         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7349         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7350         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7351         * sysdeps/i386/i686/fpu/e_log.S: New file.
7352         * sysdeps/i386/i686/fpu/e_logf.S: New file.
7353         * sysdeps/i386/i686/fpu/e_logl.S: New file.
7354
7355         * ctype/ctype.h: Add support for inlined isXXX functions when
7356         compiling C++ code.
7357
7358 2011-10-14  Andreas Schwab  <schwab@redhat.com>
7359
7360         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7361
7362         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7363
7364 2011-10-13  Roland McGrath  <roland@hack.frob.com>
7365
7366         [BZ #13291]
7367         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7368
7369 2011-10-13  Andreas Schwab  <schwab@redhat.com>
7370
7371         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7372         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7373         feraiseexcept.
7374
7375         * sysdeps/x86_64/memrchr.S: Check for zero size.
7376
7377         * string/stratcliff.c: Add memrchr tests.
7378
7379 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7380
7381         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7382         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7383         rawmemchr-sse2 rawmemchr-sse2-bsf.
7384         * sysdeps/i386/i686/multiarch/memchr.S: New file.
7385         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7386         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7387         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7388         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7389         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7390         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7391         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7392         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7393         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7394         * string/memrchr.c (MEMRCHR): New macro.
7395
7396 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
7397
7398         Add integration with gcc's -ffinite-math-only and optimize wrapper
7399         functions in libm.
7400         * Versions.def: Define GLIBC_2.15 version for libm.
7401         * math/Makefile (headers): Add bits/math-finite.h.
7402         * math/bits/math-finite.h: New file.
7403         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7404         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7405         * math/e_acoshl.c: Add __*_finite alias.
7406         * math/e_acosl.c: Likewise.
7407         * math/e_asinl.c: Likewise.
7408         * math/e_atan2l.c: Likewise.
7409         * math/e_atanhl.c: Likewise.
7410         * math/e_coshl.c: Likewise.
7411         * math/e_exp10.c: Likewise.
7412         * math/e_exp10f.c: Likewise.
7413         * math/e_exp10l.c: Likewise.
7414         * math/e_exp2l.c: Likewise.
7415         * math/e_fmodl.c: Likewise.
7416         * math/e_gammal_r.c: Likewise.
7417         * math/e_hypotl.c: Likewise.
7418         * math/e_j0l.c: Likewise.
7419         * math/e_j1l.c: Likewise.
7420         * math/e_jnl.c: Likewise.
7421         * math/e_lgammal_r.c: Likewise.
7422         * math/e_log10l.c: Likewise.
7423         * math/e_log2l.c: Likewise.
7424         * math/e_logl.c: Likewise.
7425         * math/e_powl.c: Likewise.
7426         * math/e_sinhl.c: Likewise.
7427         * math/e_sqrtl.c: Likewise.
7428         * math/e_scalb.c: Completely rewritten and optimized.
7429         * math/e_scalbf.c: Likewise.
7430         * math/e_scalbl.c: Likewise.
7431         * math/w_acos.c: Likewise.
7432         * math/w_acosf.c: Likewise.
7433         * math/w_acosl.c: Likewise.
7434         * math/w_acosh.c: Likewise.
7435         * math/w_acoshf.c: Likewise.
7436         * math/w_acoshl.c: Likewise.
7437         * math/w_asin.c: Likewise.
7438         * math/w_asinf.c: Likewise.
7439         * math/w_asinl.c: Likewise.
7440         * math/w_atan2.c: Likewise.
7441         * math/w_atan2f.c: Likewise.
7442         * math/w_atan2l.c: Likewise.
7443         * math/w_atanh.c: Likewise.
7444         * math/w_atanhf.c: Likewise.
7445         * math/w_atanhl.c: Likewise.
7446         * math/w_exp10.c: Likewise.
7447         * math/w_exp10f.c: Likewise.
7448         * math/w_exp10l.c: Likewise.
7449         * math/w_fmod.c: Likewise.
7450         * math/w_fmodf.c: Likewise.
7451         * math/w_fmodl.c: Likewise.
7452         * math/w_j0.c: Likewise.
7453         * math/w_j0f.c: Likewise.
7454         * math/w_j0l.c: Likewise.
7455         * math/w_j1.c: Likewise.
7456         * math/w_j1f.c: Likewise.
7457         * math/w_j1l.c: Likewise.
7458         * math/w_jn.c: Likewise.
7459         * math/w_jnf.c: Likewise.
7460         * math/w_log.c: Likewise.
7461         * math/w_logf.c: Likewise.
7462         * math/w_logl.c: Likewise.
7463         * math/w_log10.c: Likewise.
7464         * math/w_log10f.c: Likewise.
7465         * math/w_log10l.c: Likewise.
7466         * math/w_log2.c: Likewise.
7467         * math/w_log2f.c: Likewise.
7468         * math/w_log2l.c: Likewise.
7469         * math/w_pow.c: Likewise.
7470         * math/w_powf.c: Likewise.
7471         * math/w_powl.c: Likewise.
7472         * math/w_remainder.c: Likewise.
7473         * math/w_remainderf.c: Likewise.
7474         * math/w_remainderl.c: Likewise.
7475         * math/w_scalb.c: Likewise.
7476         * math/w_scalbf.c: Likewise.
7477         * math/w_scalbl.c: Likewise.
7478         * math/w_sqrt.c: Likewise.
7479         * math/w_sqrtf.c: Likewise.
7480         * math/w_sqrtl.c: Likewise.
7481         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7482         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
7483         used.
7484         * math/math_private.h: Declare __kernel_standard_f.
7485         * math/w_cosh.c: Remove cruft and optimize a bit.
7486         * math/w_coshf.c: Likewise.
7487         * math/w_coshl.c: Likewise.
7488         * math/w_exp2.c: Likewise.
7489         * math/w_exp2f.c: Likewise.
7490         * math/w_exp2l.c: Likewise.
7491         * math/w_hypot.c: Likewise.
7492         * math/w_hypotf.c: Likewise.
7493         * math/w_hypotl.c: Likewise.
7494         * math/w_lgamma.c: Likewise.
7495         * math/w_lgamma_r.c: Likewise.
7496         * math/w_lgammaf.c: Likewise.
7497         * math/w_lgammaf_r.c: Likewise.
7498         * math/w_lgammal.c: Likewise.
7499         * math/w_lgammal_r.c: Likewise.
7500         * math/w_sinh.c: Likewise.
7501         * math/w_sinhf.c: Likewise.
7502         * math/w_sinhl.c: Likewise.
7503         * math/w_tgamma.c: Likewise.
7504         * math/w_tgammaf.c: Likewise.
7505         * math/w_tgammal.c: Likewise.
7506         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7507         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7508         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7509         Minor optimizations.  Pretty printing.  Remove cruft.
7510         * sysdeps/i386/fpu/e_acosf.S: Likewise.
7511         * sysdeps/i386/fpu/e_acosh.S: Likewise.
7512         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7513         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7514         * sysdeps/i386/fpu/e_acosl.c: Likewise.
7515         * sysdeps/i386/fpu/e_asin.S: Likewise.
7516         * sysdeps/i386/fpu/e_asinf.S: Likewise.
7517         * sysdeps/i386/fpu/e_atan2.S: Likewise.
7518         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7519         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7520         * sysdeps/i386/fpu/e_atanh.S: Likewise.
7521         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7522         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7523         * sysdeps/i386/fpu/e_exp10.S: Likewise.
7524         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7525         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7526         * sysdeps/i386/fpu/e_exp2.S: Likewise.
7527         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7528         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7529         * sysdeps/i386/fpu/e_fmod.S: Likewise.
7530         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7531         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7532         * sysdeps/i386/fpu/e_hypot.S: Likewise.
7533         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7534         * sysdeps/i386/fpu/e_log.S: Likewise.
7535         * sysdeps/i386/fpu/e_log10.S: Likewise.
7536         * sysdeps/i386/fpu/e_log10f.S: Likewise.
7537         * sysdeps/i386/fpu/e_log10l.S: Likewise.
7538         * sysdeps/i386/fpu/e_log2.S: Likewise.
7539         * sysdeps/i386/fpu/e_log2f.S: Likewise.
7540         * sysdeps/i386/fpu/e_log2l.S: Likewise.
7541         * sysdeps/i386/fpu/e_logf.S: Likewise.
7542         * sysdeps/i386/fpu/e_logl.S: Likewise.
7543         * sysdeps/i386/fpu/e_pow.S: Likewise.
7544         * sysdeps/i386/fpu/e_powf.S: Likewise.
7545         * sysdeps/i386/fpu/e_powl.S: Likewise.
7546         * sysdeps/i386/fpu/e_remainder.S: Likewise.
7547         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7548         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7549         * sysdeps/i386/fpu/e_scalb.S: Likewise.
7550         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7551         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7552         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7553         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7554         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7555         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7556         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7557         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7558         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7559         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7560         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7561         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7562         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7563         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7564         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7565         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7566         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7567         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7568         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7569         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7570         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7571         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7572         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7573         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7574         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7575         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7576         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7577         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7578         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7579         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7580         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7581         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7582         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7583         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7584         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7585         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7586         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7587         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7588         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7589         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7590         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7591         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7592         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7593         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7594         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7595         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7596         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7597         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7598         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7599         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7600         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7601         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7602         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7603         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7604         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7605         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7606         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7607         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7608         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7609         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7610         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7611         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7612         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7613         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7614         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7615         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7616         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7617         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7618         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7619         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7620         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7621         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7622         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7623         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7624         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7625         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7626         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7627         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7628         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7629         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7630         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7631         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7632         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7633         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7634         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7635         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7636         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7637         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7638         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7639         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7640         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7641         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7642         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7643         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7644         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7645         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7646         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7647         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7648         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7649         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7650         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7651         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7652         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7653         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7654         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7655         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7656         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7657         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7658         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7659         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7660         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7661         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7662         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7663         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7664         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7665         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
7666         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7667         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7668         (__isnanf): Likewise.
7669         (__isinf_ns): Likewise.
7670         (__isinf_nsf): Likewise.
7671         (__finite): Likewise.
7672         (__finitef): Likewise.
7673         (__ieee754_sqrt): Define as macro.
7674         (__ieee754_sqrtf): Define as macro.
7675         (__ieee754_sqrtl): Define as macro.
7676         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7677         inlined copy.
7678         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7679         __FINITE_MATH_ONLY__ consistent.
7680         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7681
7682 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
7683
7684         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7685         of rawmemchr.
7686
7687         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7688
7689 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
7690
7691         * po/ja.po: Update from translation team.
7692
7693 2011-10-08  Roland McGrath  <roland@hack.frob.com>
7694
7695         * locale/programs/locarchive.c (prepare_address_space): New function.
7696         (create_archive, enlarge_archive, open_archive): Use it.
7697
7698         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7699         inside [SHARED], where it is used.
7700
7701         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7702
7703         * nss/getent.c (netgroup_keys): Remove unused variable.
7704         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7705
7706 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
7707
7708         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7709         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7710         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7711         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7712         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7713         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7714         * math/Makefile (libm-calls): Add s_isinf_ns.
7715         * math/divtc3.c: Use __isinf_nsl instead of isinf.
7716         * math/multc3.c: Likewise.
7717         * math/s_casin.c: Likewise.
7718         * math/s_casinf.c: Likewise.
7719         * math/s_casinl.c: Likewise.
7720         * math/s_ccos.c: Likewise.
7721         * math/s_ccosf.c: Likewise.
7722         * math/s_ccosl.c: Likewise.
7723         * math/s_ctan.c: Likewise.
7724         * math/s_ctanf.c: Likewise.
7725         * math/s_ctanh.c: Likewise.
7726         * math/s_ctanhf.c: Likewise.
7727         * math/s_ctanhl.c: Likewise.
7728         * math/s_ctanl.c: Likewise.
7729         * math/w_fmod.c: Likewise.
7730         * math/w_fmodf.c: Likewise.
7731         * math/w_fmodl.c: Likewise.
7732         * math/w_remainder.c: Likewise.
7733         * math/w_remainderf.c: Likewise.
7734         * math/w_remainderl.c: Likewise.
7735         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7736         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7737         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7738         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7739         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7740         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7741         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7742         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7743
7744         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7745         of the number.
7746         * stdio-common/printf_fphex.c: Likewise.
7747         * stdio-common/printf_size.c: Likewise.
7748
7749         * math/e_exp10.c: Include math_private.h using <...> not "...".
7750         * math/e_exp10f.c: Likewise.
7751         * math/e_exp10l.c: Likewise.
7752         * math/e_exp2l.c: Likewise.
7753         * math/e_j0l.c: Likewise.
7754         * math/e_j1l.c: Likewise.
7755         * math/e_jnl.c: Likewise.
7756         * math/e_lgammal_r.c: Likewise.
7757         * math/e_rem_pio2l.c: Likewise.
7758         * math/e_scalb.c: Likewise.
7759         * math/e_scalbf.c: Likewise.
7760         * math/e_scalbl.c: Likewise.
7761         * math/k_cosl.c: Likewise.
7762         * math/k_sinl.c: Likewise.
7763         * math/k_tanl.c: Likewise.
7764         * math/s_cacoshf.c: Likewise.
7765         * math/s_catan.c: Likewise.
7766         * math/s_catanf.c: Likewise.
7767         * math/s_catanh.c: Likewise.
7768         * math/s_catanhf.c: Likewise.
7769         * math/s_catanhl.c: Likewise.
7770         * math/s_catanl.c: Likewise.
7771         * math/s_ccosh.c: Likewise.
7772         * math/s_ccoshf.c: Likewise.
7773         * math/s_ccoshl.c: Likewise.
7774         * math/s_cexp.c: Likewise.
7775         * math/s_cexpf.c: Likewise.
7776         * math/s_cexpl.c: Likewise.
7777         * math/s_clog.c: Likewise.
7778         * math/s_clog10.c: Likewise.
7779         * math/s_clog10f.c: Likewise.
7780         * math/s_clog10l.c: Likewise.
7781         * math/s_clogf.c: Likewise.
7782         * math/s_clogl.c: Likewise.
7783         * math/s_csin.c: Likewise.
7784         * math/s_csinf.c: Likewise.
7785         * math/s_csinh.c: Likewise.
7786         * math/s_csinhf.c: Likewise.
7787         * math/s_csinhl.c: Likewise.
7788         * math/s_csinl.c: Likewise.
7789         * math/s_csqrt.c: Likewise.
7790         * math/s_csqrtf.c: Likewise.
7791         * math/s_csqrtl.c: Likewise.
7792         * math/s_ctan.c: Likewise.
7793         * math/s_ctanf.c: Likewise.
7794         * math/s_ctanh.c: Likewise.
7795         * math/s_ctanhf.c: Likewise.
7796         * math/s_ctanhl.c: Likewise.
7797         * math/s_ctanl.c: Likewise.
7798         * math/s_ldexp.c: Likewise.
7799         * math/s_ldexpf.c: Likewise.
7800         * math/s_ldexpl.c: Likewise.
7801         * math/s_significand.c: Likewise.
7802         * math/s_significandf.c: Likewise.
7803         * math/s_significandl.c: Likewise.
7804         * math/w_acos.c: Likewise.
7805         * math/w_acosf.c: Likewise.
7806         * math/w_acosh.c: Likewise.
7807         * math/w_acoshf.c: Likewise.
7808         * math/w_acoshl.c: Likewise.
7809         * math/w_acosl.c: Likewise.
7810         * math/w_asin.c: Likewise.
7811         * math/w_asinf.c: Likewise.
7812         * math/w_asinl.c: Likewise.
7813         * math/w_atan2.c: Likewise.
7814         * math/w_atan2f.c: Likewise.
7815         * math/w_atan2l.c: Likewise.
7816         * math/w_atanh.c: Likewise.
7817         * math/w_atanhf.c: Likewise.
7818         * math/w_atanhl.c: Likewise.
7819         * math/w_cosh.c: Likewise.
7820         * math/w_coshf.c: Likewise.
7821         * math/w_coshl.c: Likewise.
7822         * math/w_dremf.c: Likewise.
7823         * math/w_exp10.c: Likewise.
7824         * math/w_exp10f.c: Likewise.
7825         * math/w_exp10l.c: Likewise.
7826         * math/w_exp2.c: Likewise.
7827         * math/w_exp2f.c: Likewise.
7828         * math/w_fmod.c: Likewise.
7829         * math/w_fmodf.c: Likewise.
7830         * math/w_fmodl.c: Likewise.
7831         * math/w_hypot.c: Likewise.
7832         * math/w_hypotf.c: Likewise.
7833         * math/w_hypotl.c: Likewise.
7834         * math/w_j0.c: Likewise.
7835         * math/w_j0f.c: Likewise.
7836         * math/w_j0l.c: Likewise.
7837         * math/w_j1.c: Likewise.
7838         * math/w_j1f.c: Likewise.
7839         * math/w_j1l.c: Likewise.
7840         * math/w_jn.c: Likewise.
7841         * math/w_jnf.c: Likewise.
7842         * math/w_jnl.c: Likewise.
7843         * math/w_lgamma.c: Likewise.
7844         * math/w_lgamma_r.c: Likewise.
7845         * math/w_lgammaf.c: Likewise.
7846         * math/w_lgammaf_r.c: Likewise.
7847         * math/w_lgammal.c: Likewise.
7848         * math/w_lgammal_r.c: Likewise.
7849         * math/w_log.c: Likewise.
7850         * math/w_log10.c: Likewise.
7851         * math/w_log10f.c: Likewise.
7852         * math/w_log10l.c: Likewise.
7853         * math/w_log2.c: Likewise.
7854         * math/w_log2f.c: Likewise.
7855         * math/w_log2l.c: Likewise.
7856         * math/w_logf.c: Likewise.
7857         * math/w_logl.c: Likewise.
7858         * math/w_pow.c: Likewise.
7859         * math/w_powf.c: Likewise.
7860         * math/w_powl.c: Likewise.
7861         * math/w_remainder.c: Likewise.
7862         * math/w_remainderf.c: Likewise.
7863         * math/w_remainderl.c: Likewise.
7864         * math/w_scalb.c: Likewise.
7865         * math/w_scalbf.c: Likewise.
7866         * math/w_scalbl.c: Likewise.
7867         * math/w_sinh.c: Likewise.
7868         * math/w_sinhf.c: Likewise.
7869         * math/w_sinhl.c: Likewise.
7870         * math/w_sqrt.c: Likewise.
7871         * math/w_sqrtf.c: Likewise.
7872         * math/w_sqrtl.c: Likewise.
7873         * math/w_tgamma.c: Likewise.
7874         * math/w_tgammaf.c: Likewise.
7875         * math/w_tgammal.c: Likewise.
7876
7877         * po/ja.po: Update from translation team.
7878
7879 2011-09-29  Andreas Jaeger  <aj@suse.de>
7880
7881         [BZ #13179]
7882         * sunrpc/netname.c (netname2host): Fix logic.
7883
7884         [BZ #6779]
7885         [BZ #6783]
7886         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7887         correctly.
7888         * math/w_remainder.c (__remainder): Likewise.
7889         * math/w_remainderf.c (__remainderf): Likewise.
7890         * math/libm-test.inc (remainder_test): Add test cases.
7891
7892 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7893
7894         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
7895         sdiv_qrnnd.
7896
7897 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7898
7899         * string/test-memcmp.c: Avoid unncessary #defines.
7900         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7901
7902 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7903
7904         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7905         Use new sse2 version for core i3 - i7 as it's faster
7906         than sse42 version.
7907         (bit_Prefer_PMINUB_for_stringop): New.
7908         * sysdeps/x86_64/rawmemchr.S: Update.
7909         Replace with faster SSE2 version.
7910         * sysdeps/x86_64/memrchr.S: New file.
7911         * sysdeps/x86_64/memchr.S: Update.
7912         Replace with faster SSE2 version.
7913
7914 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
7915
7916         * elf/dl-load.c (lose): Add cast to avoid warning.
7917
7918 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
7919
7920         * po/ca.po: Update from translation team.
7921
7922         * inet/getnetgrent_r.c: Hook up nscd.
7923         * nscd/Makefile (routines): Add nscd_netgroup.
7924         (nscd-modules): Add netgroupcache.
7925         (CFLAGS-netgroupcache.c): Define.
7926         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7927         (cache_search): Add const to second parameter.
7928         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7929         INNETGR.
7930         (dbs): Add netgrdb entry.
7931         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7932         (verify_persistent_db): Handle netgrdb.
7933         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7934         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7935         GETFDNETGR.
7936         (netgroup_response_header): Define.
7937         (innetgroup_response_header): Define.
7938         (datahead): Add netgroup_response_header and innetgroup_response_header
7939         elements.
7940         * nscd/nscd.conf: Add entries for netgroup cache.
7941         * nscd/nscd.h (dbtype): Add netgrdb.
7942         (_PATH_NSCD_NETGROUP_DB): Define.
7943         (netgroup_iov_disabled): Declare.
7944         (xmalloc, xcalloc, xrealloc): Move declarations here.
7945         (cache_search): Adjust prototype.
7946         Add netgroup-related prototypes.
7947         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7948         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7949         (__nscd_innetgr): Declare.
7950         * nscd/selinux.c (perms): Use access_vector_t as element type and
7951         add netgroup-related initializers.
7952         * nscd/netgroupcache.c: New file.
7953         * nscd/nscd_netgroup.c: New file.
7954         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7955         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7956         For four parameters use innetgr.
7957         * nss/nss_files/files-init.c: Add definition and callback for netgr.
7958         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7959         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7960         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7961
7962         * nscd/connections.c (register_traced_file): Don't register file
7963         for disabled databases.
7964
7965 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
7966
7967         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7968
7969         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7970         from tree and freeing node.
7971
7972 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
7973
7974         * nss/nsswitch.c (__nss_database_lookup): Handle
7975         nss_parse_service_list out of memory case.
7976
7977 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
7978
7979         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7980         out of memory case.
7981
7982 2011-10-04  Andreas Schwab  <schwab@redhat.com>
7983
7984         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7985         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7986         pass it down.
7987         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7988         elf_machine_rela, elf_machine_lazy_rel.
7989         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7990         (ELF_DYNAMIC_DO_REL): Likewise.
7991         (ELF_DYNAMIC_DO_RELA): Likewise.
7992         (ELF_DYNAMIC_RELOCATE): Likewise.
7993         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7994         to ELF_DYNAMIC_DO_REL.
7995         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7996         (dl_main): In trace mode always set __RTLD_NOIFUNC.
7997         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7998         elf_machine_rela.
7999         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8000         skip_ifunc, don't call ifunc function if non-zero.
8001         (elf_machine_rela): Likewise.
8002         (elf_machine_lazy_rel): Likewise.
8003         (elf_machine_lazy_rela): Likewise.
8004         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8005         (elf_machine_lazy_rel): Likewise.
8006         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8007         Likewise.
8008         (elf_machine_lazy_rel): Likewise.
8009         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8010         Likewise.
8011         (elf_machine_lazy_rel): Likewise.
8012         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8013         (elf_machine_lazy_rel): Likewise.
8014         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8015         (elf_machine_lazy_rel): Likewise.
8016         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8017         (elf_machine_lazy_rel): Likewise.
8018         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8019         (elf_machine_lazy_rel): Likewise.
8020         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8021         (elf_machine_lazy_rel): Likewise.
8022         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8023         (elf_machine_lazy_rel): Likewise.
8024
8025 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
8026
8027         * nss/nss_files/files-init.c (_nss_files_init): Use static
8028         initialization for all the *_traced_file variables.
8029
8030 2011-09-28  Andreas Schwab  <schwab@redhat.com>
8031
8032         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8033
8034 2011-09-27  Roland McGrath  <roland@hack.frob.com>
8035
8036         [BZ #13226]
8037         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8038
8039 2011-09-27  Andreas Schwab  <schwab@redhat.com>
8040
8041         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8042         Reread the line before reparsing it.
8043
8044 2011-09-26  Andreas Schwab  <schwab@redhat.com>
8045
8046         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8047
8048 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
8049             Maxim Kuvyrkov  <maxim@codesourcery.com>
8050             Joseph Myers  <joseph@codesourcery.com>
8051
8052         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8053         if needed for __stack_chk_guard.
8054
8055 2011-09-19  Roland McGrath  <roland@hack.frob.com>
8056
8057         * sysdeps/posix/spawni.c (script_execute): Always define it.
8058         It will be optimized away if unused.
8059         (maybe_script_execute): New function.
8060         (__spawni): Call it.
8061
8062         * Makerules: Don't include tls.make.
8063         (config-tls): Always set to thread.
8064         * tls.make.c: File removed.
8065
8066 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
8067
8068         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8069         * config.make.in (CPPFLAGS-config): New substituted variable.
8070
8071 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
8072
8073         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8074
8075         [BZ #13192]
8076         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8077         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8078
8079 2011-09-15  Roland McGrath  <roland@hack.frob.com>
8080
8081         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8082         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8083         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8084         (CALL_FAIL): Likewise.
8085         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8086         (CALL_FAIL): Macro removed.
8087         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8088
8089 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
8090
8091         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8092         for __FINITE_MATH_ONLY__ == 1.
8093
8094 2011-09-15  Andreas Schwab  <schwab@redhat.com>
8095
8096         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8097         __ieee754_sqrt instead of sqrt.
8098         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8099         __ieee754_sqrtf instead of sqrtf.
8100         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8101         __floorf instead of floorf.
8102         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8103         __floorf, __truncf instead of floorf, truncf.
8104
8105 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
8106
8107         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8108
8109         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8110         __extern_always_inline.
8111         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8112         32-bit.
8113
8114 2011-09-14  Andreas Schwab  <schwab@redhat.com>
8115
8116         * elf/rtld.c (dl_main): Also relocate in dependency order when
8117         doing symbol dependency testing.
8118
8119 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
8120
8121         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8122         Always define `refsym'.
8123
8124 2011-09-13  Andreas Schwab  <schwab@redhat.com>
8125
8126         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8127         (__FD_ELT): Renamed from __FDELT.
8128         * misc/bits/select2.h (__FD_ELT): Likewise.
8129         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8130         __FD_MASK instead of __FDELT, __FDMASK.
8131         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8132         Likewise.
8133         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8134         Likewise.
8135
8136         * elf/Makefile (gen-ldd): Fix pattern.
8137
8138         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8139         (init_tls): Likewise.
8140
8141 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
8142
8143         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8144
8145 2011-09-12  Andreas Schwab  <schwab@redhat.com>
8146
8147         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8148         `struct cmsghdr *' instead of `void *'.
8149         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8150         Likewise.
8151
8152 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
8153
8154         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8155         if non-absolute.
8156         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8157         ldd_rewrite_script.
8158
8159 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
8160
8161         * configure.in: Remove --with-tls option.
8162         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8163         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8164         out in case it is missing.
8165         * sysdeps/ia64/elf/configure.in: Likewise.
8166         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8167         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8168         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8169         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8170         * sysdeps/sh/elf/configure.in: Likewise.
8171         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8172         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8173         * sysdeps/x86_64/elf/configure.in: Likewise.
8174         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8175         * sysdeps/mach/hurd/tls.h: Likewise.
8176
8177         [BZ #13067]
8178         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8179
8180         [BZ #13090]
8181         * configure.in: Fix use of AC_INIT.
8182
8183         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8184
8185 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
8186
8187         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8188         __set_errno.
8189         * malloc/hooks.c: Likewise.
8190
8191         [BZ #11929]
8192         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
8193         variables statically.
8194         (narenas): Initialize.
8195         (list_lock): Initialize.
8196         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
8197         initializtion of main_arena and list_lock.  Small cleanups.
8198         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8199         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
8200         Add initializers to main_arena and mp_.
8201         (malloc_state): Remove pagesize member.  Change all users to use
8202         GLRO(dl_pagesize).
8203
8204         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8205         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
8206         is always initialized.
8207
8208         * malloc/malloc.c: Removed unused configurations and dead code.
8209         * malloc/arena.c: Likewise.
8210         * malloc/hooks.c: Likewise.
8211         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
8212
8213         * include/tls.h: Removed.  USE___THREAD must always be defined.
8214         * bits/libc-tsd.h: Don't handle !USE___THREAD.
8215         * elf/dl-libc.c: Likewise.
8216         * elf/dl-tsd.c: Likewise.
8217         * include/errno.h: Likewise.
8218         * include/netdb.h: Likewise.
8219         * include/resolv.h: Likewise.
8220         * inet/herrno-loc.c: Likewise.
8221         * inet/herrno.c: Likewise.
8222         * malloc/arena.c: Likewise.
8223         * malloc/hooks.c: Likewise.
8224         * malloc/malloc.c: Likewise.
8225         * resolv/res-state.c: Likewise.
8226         * resolv/res_libc.c: Likewise.
8227         * sysdeps/i386/dl-machine.h: Likewise.
8228         * sysdeps/ia64/dl-machine.h: Likewise.
8229         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8230         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8231         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8232         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8233         * sysdeps/sh/dl-machine.h: Likewise.
8234         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8235         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8236         * sysdeps/unix/i386/sysdep.S: Likewise.
8237         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8238         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8239         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8240         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8241         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8242         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8243         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8244         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8245         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8246         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8247         * sysdeps/unix/x86_64/sysdep.S: Likewise.
8248         * sysdeps/x86_64/dl-machine.h: Likewise.
8249         * tls.make.c: Likewise.
8250
8251         * configure.in: Remove --with-__thread option.  Make tests for
8252         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8253         tls_model attribute fail if no support is available.  Remove
8254         USE_IN_LIBIO.
8255         * Makeconfig: Adjust for dropped configure option.  All features are
8256         now mandatory.
8257         * Makerules: Likewise.
8258         * Versions.def: Likewise.
8259         * argp/argp-fmtstream.c: Likewise.
8260         * argp/argp-fmtstream.h: Likewise.
8261         * argp/argp-help.c: Likewise.
8262         * assert/assert.c: Likewise.
8263         * config.h.in: Likewise.
8264         * config.make.in: Likewise.
8265         * configure: Likewise.
8266         * configure.in: Likewise.
8267         * csu/Versions: Likewise.
8268         * csu/init.c: Likewise.
8269         * elf/tst-audit2.c: Likewise.
8270         * elf/tst-tls10.c: Likewise.
8271         * elf/tst-tls10.h: Likewise.
8272         * elf/tst-tls11.c: Likewise.
8273         * elf/tst-tls12.c: Likewise.
8274         * elf/tst-tls14.c: Likewise.
8275         * elf/tst-tlsmod11.c: Likewise.
8276         * elf/tst-tlsmod12.c: Likewise.
8277         * elf/tst-tlsmod13.c: Likewise.
8278         * elf/tst-tlsmod13a.c: Likewise.
8279         * elf/tst-tlsmod14a.c: Likewise.
8280         * elf/tst-tlsmod15b.c: Likewise.
8281         * elf/tst-tlsmod16a.c: Likewise.
8282         * elf/tst-tlsmod16b.c: Likewise.
8283         * elf/tst-tlsmod7.c: Likewise.
8284         * elf/tst-tlsmod8.c: Likewise.
8285         * elf/tst-tlsmod9.c: Likewise.
8286         * gmon/gmon.c: Likewise.
8287         * grp/fgetgrent_r.c: Likewise.
8288         * grp/putgrent.c: Likewise.
8289         * hurd/fopenport.c: Likewise.
8290         * include/libc-symbols.h: Likewise.
8291         * include/tls.h: Likewise.
8292         * intl/gettextP.h: Likewise.
8293         * intl/loadinfo.h: Likewise.
8294         * locale/global-locale.c: Likewise.
8295         * locale/localeinfo.h: Likewise.
8296         * mach/devstream.c: Likewise.
8297         * malloc/arena.c: Likewise.
8298         * malloc/set-freeres.c: Likewise.
8299         * misc/err.c: Likewise.
8300         * misc/getttyent.c: Likewise.
8301         * misc/mntent_r.c: Likewise.
8302         * posix/getopt.c: Likewise.
8303         * posix/wordexp.c: Likewise.
8304         * pwd/fgetpwent_r.c: Likewise.
8305         * resolv/Versions: Likewise.
8306         * resolv/res_hconf.c: Likewise.
8307         * shadow/fgetspent_r.c: Likewise.
8308         * shadow/putspent.c: Likewise.
8309         * stdio-common/printf_fphex.c: Likewise.
8310         * stdio-common/tmpfile.c: Likewise.
8311         * stdlib/abort.c: Likewise.
8312         * stdlib/fmtmsg.c: Likewise.
8313         * sunrpc/auth_unix.c: Likewise.
8314         * sunrpc/clnt_perr.c: Likewise.
8315         * sunrpc/clnt_tcp.c: Likewise.
8316         * sunrpc/clnt_udp.c: Likewise.
8317         * sunrpc/clnt_unix.c: Likewise.
8318         * sunrpc/openchild.c: Likewise.
8319         * sunrpc/svc_simple.c: Likewise.
8320         * sunrpc/svc_tcp.c: Likewise.
8321         * sunrpc/svc_udp.c: Likewise.
8322         * sunrpc/svc_unix.c: Likewise.
8323         * sunrpc/xdr.c: Likewise.
8324         * sunrpc/xdr_array.c: Likewise.
8325         * sunrpc/xdr_rec.c: Likewise.
8326         * sunrpc/xdr_ref.c: Likewise.
8327         * sunrpc/xdr_stdio.c: Likewise.
8328
8329 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
8330
8331         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8332
8333 2011-07-03  Andreas Jaeger  <aj@suse.de>
8334
8335         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8336         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8337         regenerate with gen-libm-tests.pl.
8338
8339 2010-05-12  Petr Baudis  <pasky@suse.cz>
8340
8341         [BZ #11589]
8342         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8343         around j0() zero points by switching to j1().
8344         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8345         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8346         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8347         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8348
8349 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
8350
8351         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8352         instead of 0.
8353         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8354         instead of 0.                              .
8355         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8356         Patch in part by Pavel Roskin <proski@gnu.org>.
8357
8358         [BZ #13138]
8359         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8360         realloc.
8361         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
8362         Free memory block if necessary.
8363
8364         [BZ #12847]
8365         * libio/genops.c (INTDEF): For string streams the _lock pointer can
8366         be NULL.  Don't lock in this case.
8367
8368 2011-09-09  Roland McGrath  <roland@hack.frob.com>
8369
8370         * elf/elf.h (ELFOSABI_GNU): New macro.
8371         (ELFOSABI_LINUX): Define to that.
8372
8373 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
8374
8375         * string/strncat.c (strncat): Undef the symbol in case it has been
8376         defined in bits/string.h.
8377
8378 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
8379
8380         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8381
8382         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
8383         link map.
8384
8385 2011-08-17  Andreas Jaeger  <aj@suse.de>
8386
8387         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8388
8389 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8390             Ian Lance Taylor  <iant@google.com>
8391
8392         * math/libm-test.inc (lround_test): New testcase.
8393         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8394
8395 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
8396
8397         * Makefile: Remove support for automatic cvs check-ins.
8398         * Makerules: Likewise.
8399         * config.make.in: Likewise.
8400         * configure.in: Likewise.
8401         * intl/Makefile: Likewise.
8402         * locale/Makefile: Likewise.
8403         * po/Makefile: Likewise.
8404         * posix/Makefile: Likewise.
8405         * sysdeps/gnu/Makefile: Likewise.
8406         * sysdeps/mach/hurd/Makefile: Likewise.
8407         * sysdeps/sparc/sparc32/Makefile: Likewise.
8408
8409         [BZ #13118]
8410         * posix/Makefile (bug-regex32-ENV): Define.
8411         Patch by John Stanley <jpsinthemix@verizon.net>.
8412
8413         * misc/Makefile (headers): Add bits/select2.h.
8414         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8415         * misc/bits/select2.h: New file.
8416         * include/bits/select2.h: New file.
8417         * debug/Makefile (routines): Add fdelt_chk.
8418         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8419         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8420         FD_ISSET.
8421         * debug/fdelt_chk.c: New file.
8422
8423         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
8424         * wcsmbs/test-wmemcmp.c: Likewise.
8425         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
8426         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
8427
8428 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8429
8430         * string/Makefile (strop-tests): Add memcmp.
8431         * string/test-wmemcmp.c: New file.
8432         * string/test-memcmp.c: Add wmemcmp support.
8433
8434 2011-09-08  Roland McGrath  <roland@hack.frob.com>
8435
8436         [BZ #13153]
8437         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8438         2011-07-19 change.
8439
8440         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8441         garbage value in a __mach_port_mod_refs call in the cases of the
8442         task-self and thread-self ports.
8443
8444 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8445
8446         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8447
8448 2011-09-08  Andreas Schwab  <schwab@redhat.com>
8449
8450         * elf/dl-load.c (lose): Check for non-null L.
8451
8452 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
8453
8454         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8455
8456         * elf/dl-libc.c (dlerror_run): Pass back error code from
8457         dl_catch_error.
8458
8459         [BZ #13123]
8460         * elf/dl-load.c (lose): Free l_origin if it is valid.
8461
8462         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8463         names.
8464         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8465         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8466         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8467         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8468         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8469         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8470
8471 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8472
8473         * sysdeps/powerpc/fpu/e_hypot.c: New file.
8474         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8475         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8476         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8477         * sysdeps/powerpc/fpu/k_cosf.c: New file.
8478         * sysdeps/powerpc/fpu/k_sinf.c: New file.
8479         * sysdeps/powerpc/fpu/s_cosf.c: New file.
8480         * sysdeps/powerpc/fpu/s_sinf.c: New file.
8481         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8482         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8483
8484 2011-08-15  Alan Modra  <amodra@gmail.com>
8485
8486         [BZ #13092]
8487         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8488         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8489         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
8490         ppc_mcount to static-only-routines.
8491         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8492         __mcount_internal.
8493         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8494         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
8495
8496 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
8497
8498         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8499         for finite and infinity parameters.
8500
8501 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
8502
8503         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8504         and add nop instructions for throughput optimization.
8505         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8506
8507 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
8508
8509         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8510         aligned copy for power7 with vector-scalar instructions.
8511         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8512
8513 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
8514
8515         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8516         AVX check.
8517
8518 2011-09-07  Andreas Schwab  <schwab@redhat.com>
8519
8520         [BZ #13144]
8521         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8522         last change.
8523
8524 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
8525
8526         * sysdeps/unix/sysv/linux/x86_64/init-first.c
8527         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8528         syscall wrapper around clock_gettime in __vdso_clock_gettime.
8529         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8530         clock_gettime.
8531
8532 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
8533
8534         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8535         Forgot to demangle the pointer.
8536
8537         * sysdeps/i386/sysdep.h: Define atom_text_section.
8538         * sysdeps/x86_64/sysdep.h: Likewise.
8539         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8540         section with atom_text_section.
8541         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8542         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8543         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8544         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8545         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8546
8547         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8548         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8549         already be defined.  Change to take two parameters and don't assign
8550         result to variable.  Adjust all users.
8551         Define INTERNAL_GETTIME if not already defined.
8552         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8553         call.
8554         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8555         HAVE_CLOCK_GETTIME_VSYSCALL.
8556         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8557
8558         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8559         gettimeofday vsyscall, just use time.
8560
8561 2011-09-06  Andreas Schwab  <schwab@redhat.com>
8562
8563         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8564         <errno.h>.
8565
8566 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
8567
8568         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8569         syscall on x86-64.
8570         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8571         syscall.
8572         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8573         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8574         syscall if possible.
8575
8576 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
8577
8578         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8579         e_ident.  Don't pass to find_mapsXX.
8580         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8581
8582 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8583
8584         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8585         strchr-sse2-no-bsf strrchr-sse2-no-bsf
8586         * sysdeps/x86_64/multiarch/strchr.S: Update.
8587         Check bit_slow_BSF bit.
8588         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8589         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8590         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8591
8592 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
8593
8594         [BZ #13134]
8595         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8596         before glibc 2.15.
8597         (tryshell): Define.
8598         (__spawni): Change last parameter to be flag.  Test
8599         SPAWN_XFLAGS_USE_PATH flag to use path or not.
8600         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8601         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8602         * posix/spawni.c: Likewise.
8603         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8604         * posix/spawnp.c: Likewise.  Change normal version to use
8605         SPAWN_XFLAGS_USE_PATH.
8606         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8607         SPAWN_XFLAGS_TRY_SHELL.
8608
8609         [BZ #13150]
8610         * posix/glob.h: Remove gcc 1.x support.
8611
8612         [BZ #13068]
8613         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8614
8615 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8616
8617         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8618         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8619         strrchr-sse2-bsf
8620         * sysdeps/i386/i686/multiarch/strchr.S: New file.
8621         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8622         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8623         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8624         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8625         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8626
8627 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8628
8629         * sysdeps/x86_64/wcscmp.S: New file.
8630
8631         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8632         wcscmp-c wcscmp-sse2
8633         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8634         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8635         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8636         * wcsmbs/wcscmp.c: Allow renaming.
8637
8638 2011-09-05  David S. Miller  <davem@davemloft.net>
8639
8640         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8641         stack slot, rather than the struct return pointer slot.
8642         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8643         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8645         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8646
8647 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
8648
8649         * po/ja.po: Update from translation team.
8650
8651         [BZ #13144]
8652         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8653         kernel in 64-bit binaries.
8654
8655 2011-09-01  David S. Miller  <davem@davemloft.net>
8656
8657         * elf/elf.h (HWCAP_SPARC_*): Move to..
8658         * sysdeps/sparc/sysdep.h: this new file and add new values.
8659         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8660         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8661         _DL_HWCAP_COUNT to 24.
8662         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8663         entries.
8664         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8665         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8666         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8667         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8668         instead of magic constants.
8669         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8670
8671 2011-08-31  David S. Miller  <davem@davemloft.net>
8672
8673         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8674         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8675         Reimplement to do errno handling inline.
8676         (SYSCALL_ERROR_HANDLER): New macro.
8677         (__SYSCALL_STRING): Do not do errno handling in asm.
8678         (__CLONE_SYSCALL_STRING): Delete.
8679         (__INTERNAL_SYSCALL_STRING): Delete.
8680         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8681         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8682         (PSEUDO): Reimplement to do errno handling inline.
8683         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8684         (SYSCALL_ERROR_HANDLER): New macro.
8685         (__SYSCALL_STRING): Do not do errno handling in asm.
8686         (__CLONE_SYSCALL_STRING): Delete.
8687         (__INTERNAL_SYSCALL_STRING): Delete.
8688         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8689         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8690         i386.
8691         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8692         (inline_syscall*): Add 'err' argument.
8693         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8694         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8695         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8696         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8697
8698         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8699         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8700
8701 2011-08-30  Andreas Schwab  <schwab@redhat.com>
8702
8703         * elf/rtld.c (dl_main): Relocate objects in dependency order.
8704
8705 2011-08-29  Jiri Olsa <jolsa@redhat.com>
8706
8707         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8708         directive.
8709
8710 2011-08-24  David S. Miller  <davem@davemloft.net>
8711
8712         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8713
8714 2011-08-24  Andreas Schwab  <schwab@redhat.com>
8715
8716         * elf/Makefile: Add rules to build and run unload8 test.
8717         * elf/unload8.c: New file.
8718         * elf/unload8mod1.c: New file.
8719         * elf/unload8mod1x.c: New file.
8720         * elf/unload8mod2.c: New file.
8721         * elf/unload8mod3.c: New file.
8722
8723         * elf/dl-close.c (_dl_close_worker): Reset private search list if
8724         it wasn't used.
8725
8726 2011-08-23  David S. Miller  <davem@davemloft.net>
8727
8728         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8729         subtract stack bias.
8730         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8731         %sp not %fp in calculations.
8732         (_JMPBUF_UNWINDS_ADJ): Likewise.
8733
8734         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8735         (aio_suspend): Call it to force an exception region around the
8736         AIO_MISC_WAIT() invocation.
8737
8738 2011-08-23  Andreas Schwab  <schwab@redhat.com>
8739
8740         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8741         backslash.
8742
8743 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
8744
8745         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8746         protection macro.
8747         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8748         and <dl-machine.h>.
8749         (Elf64_FuncDesc): Remove.
8750
8751 2011-08-22  David S. Miller  <davem@davemloft.net>
8752
8753         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8754         sigaltstack check, add missing cfi directives.
8755         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8756         missing cfi directives, and sigaltstack handling.
8757
8758 2011-08-16  Andreas Schwab  <schwab@redhat.com>
8759
8760         [BZ #11724]
8761         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8762         object is seen twice.
8763         * elf/dl-fini.c (_dl_sort_fini): Likewise.
8764
8765         * elf/Makefile (distribute): Add tst-initorder2.c.
8766         (tests): Add tst-initorder2.
8767         (modules-names): Add tst-initorder2a tst-initorder2b
8768         tst-initorder2c tst-initorder2d.  Add rules to build them.
8769         ($(objpfx)tst-initorder2.out): New rule.
8770         * elf/tst-initorder2.c: New file.
8771         * elf/tst-initorder2.exp: New file.
8772
8773 2011-08-22  Andreas Schwab  <schwab@redhat.com>
8774
8775         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8776
8777         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8778         dependencies back to end of function.
8779
8780         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8781         $(elfobjdir)/ld.so.
8782
8783 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
8784
8785         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8786         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8787         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8788         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8789         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8790         of __vdso_gettimeofday.
8791         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8792         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
8793         attribute_hidden.
8794         (_libc_vdso_platform_setup): Remove initialization of
8795         __vdso_gettimeofday and __vdso_time.
8796
8797 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
8798
8799         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8800         and fgetc_unlocked.
8801         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8802         getc_unlocked.
8803
8804         * elf/dl-open.c (add_to_global): Report additions to the global scope
8805         for LD_DEBUG=scopes.
8806         (dl_open_worker): Also print scope of newly loaded dependencies.
8807         (_dl_show_scope): Indicate if there is no scope.
8808
8809         [BZ #13114]
8810         * stdio-common/Makefile (tests): Add bug24.
8811         * stdio-common/bug24.c: New file.
8812
8813 2011-08-19  Andreas Jaeger  <aj@suse.de>
8814
8815         [BZ #13114]
8816         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8817         non-existant file when using close-on-exec mode.
8818
8819 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
8820
8821         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8822         the very first instruction.
8823
8824         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8825         the CFI state in the end.
8826         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8827         inclusion of dl-trampoline.h.
8828         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8829
8830 2011-08-19  Andreas Schwab  <schwab@redhat.com>
8831
8832         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8833         expectations for long double.
8834
8835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8836         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8837
8838 2011-08-14  David S. Miller  <davem@davemloft.net>
8839
8840         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8841         artificual limit depends upon the system page size.
8842
8843 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
8844
8845         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8846         * resolv/Makefile: Define CFLAGS-libresolv.
8847
8848 2011-08-17  Andreas Schwab  <schwab@redhat.com>
8849
8850         * nss/makedb.c (compute_tables): Make variables used in nested
8851         function static.
8852
8853 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
8854
8855         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8856         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8857         if buffer was too small.
8858
8859         * elf/pldd.c (main): Attach to all threads in the process.
8860         Rewrite /proc handling to use *at functions.
8861
8862 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
8863
8864         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8865         specifies first scope to show.
8866         (dl_open_worker): Update callers.  Move printing scope of new
8867         object to before the relocation.
8868         * elf/rtld.c (dl_main): Update _dl_show_scope call.
8869         * sysdeps/generic/ldsodefs.h: Update declaration.
8870
8871         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8872         string for the scope number.
8873
8874 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
8875
8876         * nscd/servicescache.c (cache_addserv): Make sure written is always
8877         initialized.
8878
8879 2011-08-14  Roland McGrath  <roland@hack.frob.com>
8880
8881         * sysdeps/i386/i486/bits/atomic.h
8882         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8883         statement expression, so as to suppress "set but not used" warning.
8884         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8885
8886         * string/strncat.c (STRNCAT): Use prototype definition.
8887
8888         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8889         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8890         -Iprograms here.
8891         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8892         (localedef-modules): Add localedef.
8893         (locale-modules): Add locale.
8894
8895         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8896         * elf/rtld.c (dl_main): Invert order of assignment in last change,
8897         to avoid a warning.
8898
8899 2011-08-14  David S. Miller  <davem@davemloft.net>
8900
8901         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8902         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8903
8904 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
8905
8906         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8907         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8908         * elf/rtld.c (dl_main): Set l_name of vDSO.
8909         Call _dl_show_scope when DL_DEBUG_SCOPES.
8910         (process_dl_debug): Recognize scopes flag and also set it for all.
8911         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8912         Declare _dl_show_scope.
8913
8914         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8915         (do_dlopen): Pass caller_dlopen to dl_open.
8916         (__libc_dlopen_mode): Initialize caller_dlopen.
8917
8918         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8919         of libc.  Make tolower call locale-independent.  Optimize a bit by
8920         using isdigit instead of isalnum.
8921         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8922
8923 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
8924
8925         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8926         was a dependency or dynamically loaded.
8927
8928 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
8929
8930         * intl/l10nflist.c: Allow architecture-specific pop function.
8931         * sysdeps/x86_64/l10nflist.c: New file.
8932
8933         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8934         classification.
8935
8936 2011-08-10  Andreas Schwab  <schwab@redhat.com>
8937
8938         * include/dirent.h: Add libc_hidden_proto for scandirat and
8939         scandirat64.  Don't declare __scandirat64.
8940         * dirent/scandirat.c: Add libc_hidden_def.
8941         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8942         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8943
8944 2011-08-10  David S. Miller  <davem@davemloft.net>
8945
8946         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8947         enum.
8948         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8949         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8950         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8951
8952 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
8953
8954         * Versions.def [libc]: Add GLIBC_2.15.
8955         * dirent/Makefile (routines): Add scandirat and scandirat64.
8956         * dirent/Versions [libc]: Export scandirat and scandirat64 for
8957         GLIBC_2.15.
8958         * dirent/dirent.h: Declare scandirat and scandirat64.
8959         * dirent/scandirat.c: New file.
8960         * dirent/scandirat64.c: New file.
8961         * sysdeps/wordsize-64/scandirat.c: New file.
8962         * sysdeps/wordsize-64/scandirat64.c: New file.
8963         * dirent/opendir.c: Define opendirat.
8964         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
8965         using scandirat.
8966         * dirent/scandir64.c: Adjust for scandir.c change.
8967         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
8968         __scandirat64, and __scandir_cancel_handler.
8969         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
8970         additional parameter and use openat instead of open (outside of ld.so).
8971         Add new __opendir as wrapper around __opendirat.
8972         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8973         here without requiring old scandirat implementation.
8974
8975 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
8976
8977         * dirent/scandir.c (cancel_handler): Renamed to
8978         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
8979         defined.  Adjust users.
8980         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8981         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8982
8983 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
8984
8985         * string/test-string.h (IMPL): Use __STRING to expand name and then
8986         stringify it.
8987
8988         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
8989         of cleanups.
8990
8991 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8992
8993         * string/Makefile: Update.
8994         (strop-tests): Append strncat.
8995         * string/test-wcscmp.c: New file.
8996         New comprehensive test for wcscmp.
8997         * string/test-strcmp.c: Update.
8998         (WIDE): New define.
8999
9000 2011-07-22  Andreas Schwab  <schwab@redhat.com>
9001
9002         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9003         line.
9004
9005 2011-07-26  Andreas Schwab  <schwab@redhat.com>
9006
9007         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9008         encoding to ACE if AI_IDN.
9009
9010 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
9011
9012         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9013         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9014
9015 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9016
9017         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9018         Fix overflow bug in strncat.
9019         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9020
9021         * string/test-strncat.c: Update.
9022         Add new tests for checking overflow bugs.
9023
9024 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9025
9026         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9027         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9028         * sysdeps/i386/i686/multiarch/strcat.S: New file.
9029         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9030         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9031         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9032         * sysdeps/i386/i686/multiarch/strncat.S: New file.
9033         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9034         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9035
9036         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9037         (USE_AS_STRCAT): Define.
9038         Add strcat and strncat support.
9039         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9040
9041 2011-07-25  Andreas Schwab  <schwab@redhat.com>
9042
9043         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9044         __n bigger than INT_MAX+1.
9045         (__strncmp_g): Likewise.
9046
9047 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
9048
9049         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9050         * libio/stido.h: Likewise.
9051
9052         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9053         (AF_NFC): Define.
9054         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9055         (AF_NFC): Define.
9056
9057         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9058         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9059         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9060         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9061         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9062
9063         [BZ #13021]
9064         * scripts/test-installation.pl: Don't expect libnss_test1 to be
9065         installed.
9066
9067         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9068         typo.
9069         (_dl_x86_64_save_sse): Likewise.
9070
9071 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
9072
9073         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9074         OSXSAVE.
9075         (_dl_x86_64_save_sse): Likewise.
9076
9077         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9078
9079         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9080
9081 2011-07-21  Andreas Schwab  <schwab@redhat.com>
9082
9083         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9084         change.
9085         (_dl_x86_64_save_sse): Use correct AVX check.
9086
9087 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9088
9089         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9090         bug in strncpy/strncat.
9091         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9092
9093 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
9094
9095         * string/tester.c (test_strcat): Add tests for different alignments
9096         of source and destination.
9097         (test_strncat): Likewise.
9098
9099 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
9100
9101         [BZ #12852]
9102         * posix/glob.c (glob): Check passed in values before using them in
9103         expressions to avoid some overflows.
9104         (glob_in_dir): Likewise.
9105
9106         [BZ #13007]
9107         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9108         check for AVX enablement so that we don't crash with old kernels and
9109         new hardware.
9110         * elf/tst-audit4.c: Add same checks here.
9111         * elf/tst-audit6.c: Likewise.
9112
9113         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
9114
9115 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
9116
9117         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9118
9119 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
9120
9121         * po/cs.po: Update from translation team.
9122         * po/bg.po: Likewise.
9123
9124 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
9125
9126         * misc/sys/cdefs.h: Add support for const attribute.
9127         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9128         to gnu_dev_{major,minor,makedev} functions.
9129
9130 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
9131
9132         * intl/dcigettext.c (get_output_charset): Add missing bracket.
9133
9134 2011-07-20  Andreas Schwab  <schwab@redhat.com>
9135
9136         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9137         strlen results.
9138
9139 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9140
9141         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9142         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9143         register in order to avoid conflicts with the soft frame pointer
9144         being held in r11 when necessary.
9145         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9146         (INTERNAL_VSYSCALL_NCS): Likewise.
9147
9148 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
9149
9150         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9151         * elf/dl-fini.c (_dl_fini): Adjust caller.
9152         * elf/dl-close.c (_dl_close_worker): Likewise.
9153         * sysdeps/generic/ldsodefs.h: Adjust declaration.
9154
9155 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
9156
9157         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9158         "aux_cache->nlibs < 0".
9159
9160         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9161         in the reload-count case.
9162
9163 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9164
9165         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9166         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9167         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9168         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9169         * sysdeps/x86_64/multiarch/strcat.S: New file.
9170         * sysdeps/x86_64/multiarch/strncat.S: New file.
9171         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9172         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9173         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9174         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9175         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9176         (USE_AS_STRCAT): Define.
9177         Add strcat and strncat support.
9178         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9179         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9180         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9181         * string/strncat.c: Update.
9182         (USE_AS_STRNCAT): Define.
9183         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9184         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9185         and i7.
9186         * sysdeps/x86_64/multiarch/init-arch.h
9187         (bit_Prefer_PMINUB_for_stringop): New.
9188         (index_Prefer_PMINUB_for_stringop): Likewise.
9189         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9190         bit_Prefer_PMINUB_for_stringop.
9191
9192 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
9193
9194         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9195         buffer64.
9196         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9197         of casting of buffer.
9198         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9199         buffer32 and buffer64.
9200         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9201         writes instead of casting of buffer.
9202         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9203         buffer32.
9204         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9205         casting of buffer.
9206
9207 2011-07-19  Andreas Schwab  <schwab@redhat.com>
9208
9209         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9210
9211 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
9212
9213         * nscd/nscd.c (termination_handler): Don't do anything for a database
9214         if it has not yet been initialized.
9215
9216 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
9217
9218         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9219
9220 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
9221
9222         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9223
9224 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
9225
9226         * po/nl.po: Update from translation team.
9227         * po/sv.po: Likewise.
9228
9229 2011-07-16  Roland McGrath  <roland@hack.frob.com>
9230
9231         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9232         now disallowed by GCC.
9233
9234         * configure.in (use-default-link): Default to yes if a test -shared
9235         link meets our qualifications.
9236         * configure: Regenerated.
9237
9238         * config.make.in (output-format): New variable.
9239         * configure.in: Check for ld --print-output-format support.
9240         * configure: Regenerated.
9241         * Makerules ($(common-objpfx)format.lds)
9242         [$(output-format) != unknown]: Just use $(output-format),
9243         instead of the linker-script munging.
9244
9245 2011-07-14  Roland McGrath  <roland@hack.frob.com>
9246
9247         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9248         of $(common-objpfx)shlib.lds.
9249         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9250
9251         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9252         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9253
9254         * configure.in (-z relro check): Adjust test code to add a large
9255         writable data section after it.
9256         * configure: Regenerated.
9257
9258 2011-07-11  Roland McGrath  <roland@hack.frob.com>
9259
9260         * configure.in (-z relro check): Fix test code to make the variable
9261         truly const.
9262         * configure: Regenerated.
9263
9264 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
9265
9266         * nscd/nscd.h (struct traced_file): Define.
9267         (struct database_dyn): Remove inotify_descr, reset_res, and filename
9268         elements.  Add traced_files.
9269         (inotify_fd): Declare.
9270         (register_traced_file): Declare.
9271         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9272         (inotify_fd): Export.
9273         (resolv_conf_descr): Remove.
9274         (nscd_init): Move inotify descriptor creation to main.
9275         Don't register files for notification here.
9276         (register_traced_file): New function.
9277         (invalidate_cache): Don't use reset_res to determine whether to call
9278         res_init, go through the list of registered files.
9279         (main_loop_poll): The inotify descriptors are now stored in the
9280         structures for the traced files.
9281         (main_loop_epoll): Likewise
9282         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
9283         to __nss_disable_nscd.
9284         * nscd/cache.c (prune_cache): There is no single inotify descriptor
9285         for a database anymore.  Check the records for all the registered
9286         files instead.
9287         * nss/Makefile (libnss_files-routines): Add files-init.
9288         (libnss_db-routines): Add db-init.
9289         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9290         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9291         * nss/nss_db/db-init.c: New file.
9292         * nss/nss_files/files-init.c: New file.
9293         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
9294         __nss_lookup_function.
9295         (__nss_lookup_function): Call nss_load_library.
9296         (nss_load_all_libraries): New function.
9297         (__nss_disable_nscd): Take parameter with callback function for files
9298         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
9299         used for the cached services.
9300         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9301         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9302         options for features to all the files in nscd.
9303
9304         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9305
9306 2011-07-10  Roland McGrath  <roland@hack.frob.com>
9307
9308         * csu/elf-init.c (__libc_csu_init): Comment typo.
9309
9310 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
9311
9312         * po/pl.po: Update from translation team.
9313         * po/ja.po: Likewise.
9314         * po/ru.po: Likewise.
9315         * po/ko.po: Likewise.
9316         * po/fr.po: Likewise.
9317
9318 2011-07-09  Roland McGrath  <roland@hack.frob.com>
9319
9320         * configure.in (.ctors/.dtors header and trailer check):
9321         Use an empirical test on a built program.
9322         * configure: Regenerated.
9323
9324         * configure.in (-z relro check): Use an empirical test on a built DSO.
9325         Detect, but do not require, on ia64.
9326         * configure: Regenerated.
9327
9328         * configure.in (READELF): Find it with AC_CHECK_TOOL.
9329         Update tests that use readelf to use $READELF instead.
9330         * configure: Regenerated.
9331
9332 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
9333
9334         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9335         if the result is not used.
9336
9337 2011-07-05  Andreas Jaeger  <aj@suse.de>
9338
9339         [BZ#9696]
9340         * stdlib/tst-strtod.c: Add testcase.
9341
9342 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
9343
9344         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
9345         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
9346         The latter has a higher limit.  Take additional parameter to pass to
9347         the new function.
9348         (__pathconf): Pass file to __statfs_link_max.
9349         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9350         __statfs_link_max.
9351         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9352         __statfs_link_max.
9353
9354         [BZ #12868]
9355         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9356         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9357         Handle Lustre.
9358         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9359         (__statfs_filesize_max): Likewise.
9360         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9361
9362 2011-07-05  Andreas Jaeger  <aj@suse.de>
9363
9364         * resolv/res_comp.c (dn_skipname): Remove unused variable.
9365
9366 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
9367
9368         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9369         `status' variable.
9370         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9371         Likewise.
9372
9373 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
9374
9375         * Makefile (strop-tests): Add strncat.
9376         * string/test-strncat.c: New file.
9377
9378 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
9379
9380         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9381
9382 2011-06-21  Andreas Jaeger  <aj@suse.de>
9383
9384         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9385         Copy rule from iconvdata/Makefile.
9386
9387 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
9388
9389         [BZ #12922]
9390         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9391         but no long options are defined, just return 'W'.
9392
9393 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
9394
9395         [BZ #9696]
9396         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9397
9398 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
9399
9400         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9401         netgroups to read.
9402         (innetgr): Likewise.
9403
9404 2011-07-05  Roland McGrath  <roland@hack.frob.com>
9405
9406         * config.make.in (install_root): Default to $(DESTDIR).
9407
9408 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
9409
9410         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9411
9412 2011-07-02  Roland McGrath  <roland@hack.frob.com>
9413
9414         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9415
9416         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9417         containing directory rather than embedding absolute directory names.
9418
9419         * scripts/check-local-headers.sh: Rewritten using awk.
9420         Match by word, not by line.  Print error messages for matches.
9421         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9422
9423         * Makerules [shlib-lds-flags empty]:
9424         ($(common-objpfx)libc_pic.opts): New target.
9425         ($(common-objpfx)libc_pic.os.clean): New target.
9426         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9427
9428         * config.make.in (OBJCOPY): New variable.
9429         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9430         * configure: Regenerated.
9431
9432         * config.make.in (use-default-link): New variable.
9433         * configure.in (use_default_link): Grok --with-default-link to set it.
9434         * configure: Regenerated.
9435         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9436         (shlib-lds, shlib-lds-flags): Define to empty.
9437
9438         * Makerules (shlib-lds): New variable.
9439         (shlib-lds-flags): New variable.
9440         (build-shlib, build-moduile, build-module-asneeded): Use it.
9441         ($(common-objpfx)libc.so): Use $(shlib-lds).
9442         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9443         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9444
9445         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9446         DT_FLAGS/DT_FLAGS_1 with zero flags.
9447
9448         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9449         linker script munging.
9450
9451 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
9452
9453         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9454         as 128-bit value.
9455         * crypt/sha512.c (sha512_process_block): Perform total addition using
9456         128-bit if possible.
9457         (__sha512_finish_ctx): Likewise.
9458         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9459         as 64-bit value.
9460         * crypt/sha256.c (SWAP64): Define.
9461         (sha256_process_block): Perform total addition using 64-bit if
9462         possible.
9463         (__sha256_finish_ctx): Likewise.
9464
9465 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
9466
9467         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
9468         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9469         * nscd/hstcache.c (cache_addhst): Likewise.
9470         * nscd/grpcache.c (cache_addgr): Likewise.
9471         * nscd/aicache.c (addhstaiX): Likewise
9472         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9473
9474 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
9475
9476         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9477         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9478         * nscd/hstcache.c (cache_addhst): Likewise.
9479         * nscd/grpcache.c (cache_addgr): Likewise.
9480         * nscd/aicache.c (addhstaiX): Likewise
9481
9482 2011-07-01  Andreas Schwab  <schwab@redhat.com>
9483
9484         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9485         domain only when needed.
9486
9487 2011-06-30  Andreas Schwab  <schwab@redhat.com>
9488
9489         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9490         is always restored.
9491
9492 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
9493
9494         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9495         are re-adding the entry.
9496         * nscd/servicescache.c (cache_addserv): Likewise.
9497
9498 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
9499
9500         * sysdeps/generic/dl-irel.h: fix protection against multiple
9501         inclusions.
9502         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9503
9504 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
9505
9506         [BZ #12935]
9507         * malloc/memusage.sh: Fix quoting in message.
9508         * debug/xtrace.sh: Likewise.
9509
9510         * configure.in: Remove support for --experimental-malloc option, make
9511         it the default.
9512         * config.make.in: Likewise.
9513         * malloc/Makefile: Likewise.
9514
9515 2011-06-27  Andreas Schwab  <schwab@redhat.com>
9516
9517         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9518         two-byte characters.
9519
9520 2011-06-27  Roland McGrath  <roland@hack.frob.com>
9521
9522         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9523         AC_CACHE_CHECK invocation.
9524         * configure: Regenerated.
9525
9526         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9527
9528 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
9529
9530         [BZ #12350]
9531         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
9532         bit from old_res_options.
9533
9534         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9535
9536         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9537         value type for setfct.
9538
9539 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
9540
9541         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9542         __gettimeofday instead of gettimeofday.
9543
9544 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
9545
9546         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9547
9548 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9549
9550         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9551
9552         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9553         info.
9554
9555 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
9556
9557         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9558         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9559         strcpy-sse2-unaligned strncpy-sse2-unaligned
9560         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9561         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9562         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9563         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9564         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9565         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9566         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9567         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9568         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9569         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9570         (STRCPY): Support SSE2 and SSSE3 versions.
9571
9572 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
9573
9574         [BZ #12874]
9575         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9576         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9577         kernels which artificially limit size of requests.
9578
9579 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
9580
9581         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9582         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9583         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9584         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9585         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9586         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9587         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9588         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9589         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9590         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9591         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9592         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9593         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9594         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9595         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9596         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9597         Enable unaligned load optimization for Intel Core i3, i5 and i7
9598         processors.
9599         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9600         Define.
9601         (index_Fast_Unaligned_Load): Define.
9602         (HAS_FAST_UNALIGNED_LOAD): Define.
9603
9604 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
9605
9606         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9607
9608 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
9609
9610         [BZ #12907]
9611         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9612         until it is clear that the information is realy needed.
9613         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9614
9615 2011-06-22  Andreas Schwab  <schwab@redhat.com>
9616
9617         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9618
9619 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
9620
9621         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9622         /sys/devices/system/cpu/online if it is usable.
9623
9624         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9625         reading the information from the /proc filesystem to once a second.
9626
9627 2011-06-21  Andreas Jaeger  <aj@suse.de>
9628
9629         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9630         NULL after inclusion of kernel headers.
9631
9632 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
9633
9634         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9635         calls to internal_setent.
9636
9637         [BZ #12885]
9638         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9639         addresses using gethostbyname4_r ignore IPv4 addresses.
9640
9641         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9642         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
9643
9644         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9645
9646 2011-06-20  David S. Miller  <davem@davemloft.net>
9647
9648         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9649         inclusions.
9650         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9651
9652         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9653         (elf_irel): Use it.
9654         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9655         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9656         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9657         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9658         * sysdeps/x86_64/dl-irel.h: Likewise.
9659
9660         * elf/dl-runtime.c: Use elf_ifunc_invoke.
9661         * elf/dl-sym.c: Likewise.
9662
9663 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
9664
9665         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
9666         need to dereference resplen2.
9667
9668 2011-06-14  Andreas Schwab  <schwab@redhat.com>
9669
9670         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9671
9672 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
9673
9674         * Makeconfig: Define vardbdir and inst_vardbdir.
9675         * nss/Makefile: Add rules to install db-Makefile.
9676
9677         * nss/nss_db/db-XXX.c: Cleanup.
9678
9679         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9680         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9681         GLIBC_PRIVATE.
9682         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9683         * nss/makedb.c: Implement -g option to specify that value strings
9684         are generated and should not be added to table iterated over for
9685         get*ent calls.
9686         * nss/nss_db/db-initgroups.c: New file.
9687
9688         * nss/getent.c: Add support for initgroups lookups through getgrouplist
9689         interface.
9690
9691         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9692         (internal_getgrouplist): Adjust to name change.
9693         Update use_initgroups_entry if this is not the first call.
9694         * nss/databases.def: Add initgroups entry.
9695
9696         * nss/makedb.c (compute_tables): Check result of multiple hash table
9697         sizes to minimize maximum chain length.
9698
9699 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
9700
9701         * Versions.def: Add entry for libnss_db.
9702         * shlib-versions: Likewise.
9703         * nss/Makefile: Add rules to build libnss_db.
9704         * nss/Versions: Add libnss_db information.  Organize libnss_files
9705         entries better.
9706         * nss/db-Makefile: Add gshadow support.  Change rules for the new
9707         makedb progra.  Some minor improvements to generate smaller files.
9708         * nss/nss_db/nss_db.h: Move NSS database header data structures to
9709         here from...
9710         * nss/makedb.c: ...here.
9711         Improve database format to be smaller and require less memory at
9712         runtime.
9713         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
9714         db anymore.
9715         * nss/nss_db/db-netgrp.c: Likewise.
9716         * nss/nss_db/db-open.c: Likewise.
9717         * nss/nss_files/flies-XXX.x: Adjust comments.
9718         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9719         * nss/nss_files/files-grp.c: Likewise.
9720         * nss/nss_files/files-hosts.c: Likewise.
9721         * nss/nss_files/files-network.c: Likewise.
9722         * nss/nss_files/files-proto.c: Likewise.
9723         * nss/nss_files/files-pwd.c: Likewise.
9724         * nss/nss_files/files-rpc.c: Likewise.
9725         * nss/nss_files/files-service.c: Likewise.
9726         * nss/nss_files/files-sgrp.c: Likewise.
9727         * nss/nss_files/files-spwd.c: Likewise.
9728         * nss/nss_db/db-alias.c: Removed.
9729         * nss/nss_db/dummy-db.h: Removed.
9730
9731 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
9732
9733         * nss/makedb.c: Rewritten to not use database library.
9734         * nss/Makefile: Update to build new makedb program.
9735
9736 2011-06-14  Andreas Jaeger  <aj@suse.de>
9737
9738         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9739         memset declaration.
9740
9741 2011-06-10  Andreas Schwab  <schwab@redhat.com>
9742
9743         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9744         tmpbuf.
9745
9746 2011-06-10  Roland McGrath  <roland@hack.frob.com>
9747
9748         * Makerules (shlib.lds): Fail if the linker script comes out empty.
9749         * elf/Makefile ($(objpfx)ld.so): Likewise.
9750
9751         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9752         Don't list ld.so twice in dependencies.
9753
9754         * posix/bug-regex31.c: Include <stdlib.h>.
9755
9756         * nscd/hstcache.c (cache_addhst): Remove unused variable.
9757
9758         * nis/nss_compat/compat-spwd.c
9759         (getspent_next_nss_netgr): Remove unused variable.
9760         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9761
9762         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9763         nonmembers" output to use the right array.
9764
9765         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9766
9767         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9768
9769         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9770         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9771         * catgets/gencat.c (read_input_file): Likewise.
9772         * locale/programs/locarchive.c (enlarge_archive): Likewise.
9773
9774         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9775         variable definition inside #if's controlling its use.
9776
9777         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9778
9779         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9780
9781         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9782
9783         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9784         unreachable code.
9785
9786         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9787
9788         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9789         * configure: Regenerated.
9790
9791         * Makerules: Revert last change.
9792         * elf/Makefile: Likewise.
9793
9794 2011-06-09  Roland McGrath  <roland@hack.frob.com>
9795
9796         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9797         * elf/Makefile ($(objpfx)librtld.os): Likewise.
9798         (reloc-link): Likewise.
9799
9800 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
9801
9802         * elf/Makefile: Add rules to build pldd.
9803         * elf/pldd.c: New file.
9804         * elf/pldd-xx.c: New file.
9805
9806 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
9807
9808         * version.h: Update for 2.15 development version.
9809
9810 2011-06-07  David S. Miller  <davem@davemloft.net>
9811
9812         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9813         ifuncs.
9814         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9815         elf_machine_lazy_rel): Likewise.
9816         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9817         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9818         elf_machine_lazy_rel): Likewise.
9819         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9820         dl_hwcap via passed in argument.
9821         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9822         Likewise.
9823
9824 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9825
9826         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
9827
9828 2011-06-06  Roland McGrath  <roland@hack.frob.com>
9829
9830         [BZ #12849]
9831         * manual/fdl-1.1.texi: New file, verbatim from:
9832         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9833         * manual/lgpl-2.1.texi: New file, verbatim from:
9834         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9835         * manual/Makefile (licenses): New variable, list those new file names.
9836         (texis): Use it.
9837         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9838
9839         * manual/fdl.texi: File removed.
9840         * manual/lesser.texi: File removed.
9841         * manual/libc.texinfo (Copying, Documentation License):
9842         Use new @include file names, put @appendix directive before @include.
9843
9844 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
9845
9846         [BZ #12841]
9847         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9848         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9849         (mq_open): Add __NTH.
9850
9851 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
9852
9853         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9854         Assume Intel Core i3/i5/i7 processor if AVX is available.
9855
9856 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
9857
9858         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9859         typo.
9860
9861 2011-05-31  Andreas Schwab  <schwab@redhat.com>
9862
9863         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9864         memory.  Use alloca_account.  Fix memory leak when retrying.
9865
9866 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
9867
9868         * version.h (RELEASE): Bump for 2.14 release.
9869         * include/features.h (__GLIBC_MINOR__): Bump to 14.
9870
9871         * config.make.in (RANLIB): Remove entry.
9872
9873 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
9874
9875         * po/Makefile (po-sed-cmd): Add ksh to extensions.
9876         (libc.pot): Work around missing support for .ksh extension in xgettext.
9877
9878         [BZ #12684]
9879         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9880         if both request failed.
9881         (send_dg): In case of server errors clear resplen or *resplen2.
9882
9883         [BZ #12454]
9884         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9885         when there are multiple maps.
9886         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9887         (_dl_fini): Remove test here.
9888
9889         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9890
9891 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
9892
9893         [BZ #12350]
9894         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9895         bit from old_res_options.
9896         (gaih_inet): Likewise.
9897
9898         [BZ #11099]
9899         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9900         as signed.
9901
9902         * resolv/res_init.c (res_setoptions): Make the code more compact.
9903
9904         [BZ #11558]
9905         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9906         set RES_USEVC.
9907
9908         [BZ #11634]
9909         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9910
9911         * malloc/malloc.h: Mark malloc hook variables as deprecated.
9912
9913         [BZ #11781]
9914         * malloc/malloc.h: Declare malloc hook variables as volatile.
9915
9916         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9917         in last patch.
9918
9919         [BZ #11799]
9920         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9921         raise in the comment.
9922         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9923         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9924         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9925
9926 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
9927
9928         [BZ #12811]
9929         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9930         grow the buffers more if it already has to be sufficient.
9931         (build_wcs_upper_buffer): Likewise.
9932         * posix/regexec.c (check_matching): Likewise.
9933         (clean_state_log_if_needed): Likewise.
9934         (extend_buffers): Don't enlarge buffers beyond size of the input
9935         buffer.
9936         Patches mostly by Emil Wojak <emil@wojak.eu>.
9937         * posix/bug-regex32.c: New file.
9938         * posix/Makefile (tests): Add bug-regex32.
9939
9940         * locale/findlocale.c (_nl_find_locale): Return right away if
9941         _nl_explode_name failed.
9942         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9943
9944         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9945
9946         * debug/xtrace.sh: Unify messages.
9947         * malloc/memusage.sh: Likewise.
9948
9949         [BZ #12813]
9950         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9951         time symbol from vDSO.  Substitute with vsyscall if not available.
9952         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9953         __vdso_time.
9954
9955         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9956         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9957         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9958         Add sendmmsg and internal_sendmmsg.
9959         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9960         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9961         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9962
9963         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9964         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9965         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9966
9967 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
9968
9969         [BZ #12813]
9970         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9971         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
9972         available.
9973         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9974         __vdso_getcpu.
9975
9976         [BZ #12814]
9977         * iconvdata/Makefile (tests): Add bug-iconv9.
9978         * iconvdata/bug-iconv9.c: New file.
9979
9980 2011-05-27  Andreas Schwab  <schwab@redhat.com>
9981
9982         [BZ #12814]
9983         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9984
9985 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
9986
9987         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9988         (struct user_regs_struct): Change intcs field back to cs.
9989
9990 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
9991
9992         * po/ja.po: Update from translation team.
9993
9994 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
9995
9996         [BZ #12795]
9997         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9998         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9999
10000 2011-05-20  Andreas Schwab  <schwab@redhat.com>
10001
10002         * stdlib/longlong.h: Update from GCC.
10003
10004 2011-05-23  Andreas Schwab  <schwab@redhat.com>
10005
10006         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10007         parameter name.
10008         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10009         Add parameter name.
10010         (__sysconf): Pass it down.
10011
10012 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
10013
10014         [BZ #12671]
10015         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10016         some situations.
10017         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10018         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10019         add in in __libc_use_alloca calls.  Adjust callers.
10020         (glob): Use malloc in some situations.
10021
10022         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10023         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10024         pltexit.
10025
10026 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
10027
10028         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10029         and CLOCK_BOOTTIME_ALARM.
10030
10031         [BZ #12782]
10032         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10033         is returned.
10034
10035         * string/_strerror.c (__strerror_r): Print negative errors as signed
10036         numbers.
10037
10038         [BZ #12777]
10039         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10040         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10041         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10042
10043         * configure.in: Fix typo in redirection and correct removal of test
10044         files in two cases.
10045
10046         [BZ #12788]
10047         * locale/setlocale.c (new_composite_name): Fix test to check for
10048         identical name of all categories.
10049
10050         [BZ #12792]
10051         * libio/filedoalloc.c (local_isatty): New function.
10052         (_IO_file_doallocate): Use local_isatty.
10053         * stdio-common/perror.c (perror): In case a new stream is used
10054         forward the stream error.
10055         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10056         error flag.
10057
10058 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
10059
10060         [BZ #11869]
10061         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10062         alloca.
10063         * include/alloca.h (extend_alloca_account): Define.
10064
10065         [BZ #11857]
10066         * posix/regex.h: Fix comments with documentation of user-accessible
10067         fields after compilation and describe correct free'ing of pattern
10068         after re_compile_pattern.
10069         Patch by Reuben Thomas <rrt@sc3d.org>.
10070
10071 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
10072
10073         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10074         and -mno-altivec to prevent the compiler from using Altivec and/or
10075         VSX instructions when the corresponding registers are not available.
10076
10077 2011-05-19  Andreas Schwab  <schwab@redhat.com>
10078
10079         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10080
10081 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
10082
10083         * libio/freopen.c (freopen): Use __dup2, not dup2.
10084         * libio/freopen64.c (freopen64): Likewise.
10085
10086 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
10087
10088         [BZ #12775]
10089         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10090         * math/Makefile (tests): Add test-powl.
10091         (CFLAGS-test-powl.c): Define.
10092         * math/test-powl.c: New file.
10093
10094 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
10095
10096         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10097
10098 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
10099
10100         [BZ #11837]
10101         * iconvdata/gb18030.c: Update to GB18020-2005.
10102
10103 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
10104
10105         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10106         RE_SYNTAX_POSIX_AWK): Update to match recent development.
10107         Patch by Aharon Robbins <arnold@skeeve.com>.
10108
10109         [BZ #11892]
10110         * stdlib/putenv.c (putenv): Don't always create copy of the variable
10111         on the stack.
10112
10113         [BZ #11895]
10114         * misc/pselect.c (__pselect): Handle timeout value errors hidden
10115         through underflows.
10116
10117         [BZ #12766]
10118         * misc/error.c (error_at_line): Ensure file_name and old_file_name
10119         point to strings before performing equality test for error_one_per_line
10120         mode.
10121
10122         [BZ #11697]
10123         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10124
10125         [BZ #11820]
10126         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10127         (struct user_fpregs_struct): Avoid __uint*_t types.
10128
10129         [BZ #6420]
10130         * malloc/mtrace.c (tr_where): Add additional parameter to point to
10131         symbol info.  Use it instead of calling _dl_addr locally.
10132         (lock_and_info): New function.
10133         (tr_freehook): Call lock_and_info and pass symbol info as additional
10134         parameter to tr_where.
10135         (tr_mallochook): Likewise.
10136         (tr_reallochook): Likewise.
10137         (tr_memalignhook): Likewise.
10138
10139         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
10140         used and couldn't be at all thread-safe.
10141
10142 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
10143
10144         * libio/freopen.c (freopen): Don't close old file descriptor
10145         before the new one is opened.  Instead dup the new file descriptor
10146         to the old one after the new stream is created.
10147         * libio/freopen64.c (freopen64): Likewise.
10148         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10149         * libio/fileops.c (_IO_new_file_close_it): Handle new
10150         _IO_FLAGS2_NOCLOSE flag.
10151         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10152         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10153         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10154         _IO_FLAGS2_NOCLOSE flag.
10155         * include/unistd.h: Add hidden_proto for dup3.
10156         Define __have_dup3.
10157         * io/dup3.c: Define hidden symbol.
10158         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10159
10160         [BZ #7101]
10161         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10162         when an incomplete long option is used.
10163         * posix/tst-getopt_long1.c: New file.
10164         * posix/Makefile (tests): Add tst-getopt_long1.
10165
10166         [BZ #10138]
10167         * scripts/config.guess: Update from autoconf-2.68.
10168         * scripts/config.sub: Likewise.
10169
10170         [BZ #10157]
10171         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10172         tests into ...
10173         (has_cpuclock): ...this.  New function.
10174         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10175         macro here based on has_cpuclock code.
10176
10177         [BZ #10149]
10178         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10179         First byte (not low byte) is now always NUL.
10180         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10181
10182         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10183         Use non-cancelable interfaces.
10184
10185         [BZ #9809]
10186         * locale/iso-639.def: Add entry for Sorani.
10187
10188         [BZ #11901]
10189         * include/stdlib.h: Move include protection to the right place.
10190         Define abort_msg_s.  Declare __abort_msg with it.
10191         * stdlib/abort.c (__abort_msg): Adjust type.
10192         * assert/assert.c (__assert_fail_base): New function.  Majority
10193         of code from __assert_fail.  Allocate memory for __abort_msg with
10194         mmap.
10195         (__assert_fail): Now call __assert_fail_base.
10196         * assert/assert-perr.c: Remove bulk of implementation.  Use
10197         __assert_fail_base.
10198         * include/assert.hL Declare __assert_fail_base.
10199         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10200         mmap.
10201         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10202
10203 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
10204
10205         [BZ #11952]
10206         [BZ #12453]
10207         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10208         until all modules are registered in the DTV.
10209         * elf/Makefile: Add rules to build and run tst-tls19.
10210         * elf/tst-tls19.c: New file.
10211         * elf/tst-tls19mod1.c: New file.
10212         * elf/tst-tls19mod2.c: New file.
10213         * elf/tst-tls19mod3.c: New file.
10214         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10215
10216         [BZ #12083]
10217         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10218         correctly.
10219
10220         [BZ #12601]
10221         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10222         two-byte sequence errors.
10223         * iconvdata/Makefile (tests): Add bug-iconv8.
10224         * iconvdata/bug-iconv8.c: New file.
10225
10226         [BZ #12626]
10227         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10228         buf2 definition.
10229
10230         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10231
10232         [BZ #12432]
10233         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10234         (dummy_getcfa): New function.
10235         (init): Get _Unwind_GetCFA address, use dummy if not found.
10236         (backtrace_helper): In recursion check, also check whether CFA changes.
10237         (__backtrace): Completely initialize arg.
10238
10239         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
10240         storing incomplete byte sequence in state object.  Avoid testing for
10241         guaranteed too small input if we know there is enough data available.
10242
10243 2011-05-11  Andreas Schwab  <schwab@redhat.com>
10244
10245         * Makeconfig (+link-pie): Indent.
10246         * Rules (binaries-pie): Define if $(have-fpie) and
10247         $(build-shared).
10248         (binaries-shared): Also filter out $(binaries-pie).
10249         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10250         * nscd/Makefile (others-pie): Add nscd.
10251         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10252         ($(objpfx)nscd): Remove command override.
10253         * login/Makefile (others-pie): Add pt_chown.
10254         ($(objpfx)pt_chown): Remove command override.
10255         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10256         remove command overrides.
10257
10258 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
10259
10260         * libio/tst_putwc.c: Fix error messages.
10261
10262         [BZ #12724]
10263         * libio/fileops.c (_IO_new_file_close_it): Always flush when
10264         currently writing and seek to current position when not.
10265         * libio/Makefile (tests): Add bug-fclose1.
10266         * libio/bug-fclose1.c: New file.
10267
10268 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
10269
10270         [BZ #12511]
10271         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10272         don't set DF_1_NODELETE here.
10273         (do_lookup_x): When entering new entry test for copy relocation
10274         and if necessary set DF_1_NODELETE flag.
10275         * elf/tst-unique4.cc: New file.
10276         * elf/tst-unique4.h: New file.
10277         * elf/tst-unique4lib.cc: New file.
10278         * elf/Makefile: Add rules to build and run tst-unique4.
10279         Patch by Piotr Bury <pbury@goahead.com>.
10280
10281 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
10282
10283         [BZ #12052]
10284         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10285
10286         [BZ #12625]
10287         * misc/mntent_r.c (addmntent): Flush the stream after the output
10288
10289         [BZ #12393]
10290         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10291         (is_trusted_path_normalize): Skip initial colon.  Append slash
10292         to empty buffer.  Duplicate is_trusted_path code but allow
10293         constructed patch to be prefix.
10294         (is_dst): Allow $ORIGIN followed by /.
10295         (_dl_dst_substitute): Correct clearing of check_for_trusted.
10296         Correct testing of result of is_trusted_path_normalize
10297         (decompose_rpath): Fix warning.
10298
10299 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
10300
10301         [BZ #11257]
10302         * grp/initgroups.c (internal_getgrouplist): When we found the service
10303         list through the initgroups entry in nsswitch.conf do not always
10304         continue on a successful lookup.  Don't always use the
10305         __nss_group_database value if it is set.
10306         * nss/nsswitch.conf (initgroups): Change action for successful db
10307         lookup to continue for compatibility.
10308
10309 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
10310
10311         [BZ #11532]
10312         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10313         and CP774 modules.
10314         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10315         and CP774 modules.
10316         * iconvdata/tst-tables.sh: Likewise.
10317         * iconvdata/cp770.c: New file.
10318         * iconvdata/cp771.c: New file.
10319         * iconvdata/cp772.c: New file.
10320         * iconvdata/cp773.c: New file.
10321         * iconvdata/cp774.c: New file.
10322         * iconvdata/testdata/CP770: New file.
10323         * iconvdata/testdata/CP770..UTF8: New file.
10324         * iconvdata/testdata/CP771: New file.
10325         * iconvdata/testdata/CP771..UTF8: New file.
10326         * iconvdata/testdata/CP772: New file.
10327         * iconvdata/testdata/CP772..UTF8: New file.
10328         * iconvdata/testdata/CP773: New file.
10329         * iconvdata/testdata/CP773..UTF8: New file.
10330         * iconvdata/testdata/CP774: New file.
10331         * iconvdata/testdata/CP774..UTF8: New file.
10332
10333         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10334         END CHARMAP line.
10335         * iconvdata/gen-8bit-gap.sh: Likewise.
10336         * iconvdata/gen-8bit.sh: Likewise.
10337
10338         * locale/iso-639.def: Add ary entry.
10339
10340         [BZ #11258]
10341         * locale/C-translit.h.in: Add U20A1 transliteration.
10342
10343         [BZ #12178]
10344         * locale/iso-639.def: Add wae entry.
10345         Patch by Kevin Bortis <bortis@translate-wae.ch>.
10346
10347         [BZ #12545]
10348         * locale/programs/localedef.c (construct_output_path): Use ssize_t
10349         for n.
10350
10351         [BZ #12711]
10352         * locale/C-translit.h.in: Add entry for U20B9.
10353         Patch by pravin.d.s@gmail.com.
10354
10355 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
10356
10357         [BZ #12713]
10358         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10359         ENAMETOOLONG use generic getcwd.
10360         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
10361         in rtld.  Use *stat64.
10362         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
10363         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
10364         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
10365         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10366         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10367         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10368         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10369         __fstatat64 macros.
10370         * include/dirent.h: Add libc_hidden_proto for rewinddir.
10371         * dirent/rewinddir.c: Add libc_hidden_def.
10372         * sysdeps/mach/hurd/rewinddir.c: Likewise.
10373         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
10374
10375         * include/dirent.h (__alloc_dir): Add flags parameter.
10376         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10377         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10378         __alloc_dir.
10379         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
10380         from fdopendir if O_CLOEXEC is already set.
10381
10382 2011-03-15  Alan Modra  <amodra@gmail.com>
10383
10384         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10385         l_tls_firstbyte_offset non-zero.  Save padding offset in
10386         l_tls_firstbyte_offset for later use.
10387         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10388         freeing static tls block.
10389
10390 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
10391
10392         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10393         where #ifdef was intended.  The intent is to prevent ARG_MAX from
10394         being defined by the kernel headers.
10395
10396 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
10397
10398         [BZ #12734]
10399         * resolv/resolv.h: Define RES_NOTLDQUERY.
10400         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10401         no-tld-query and set RES_NOTLDQUERY.
10402         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10403         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10404         modern BIND to search name as TLD unless forbidden.
10405
10406 2011-05-07  Petr Baudis  <pasky@suse.cz>
10407             Ulrich Drepper  <drepper@gmail.com>
10408
10409         [BZ #12393]
10410         * elf/dl-load.c (fillin_rpath): Move trusted path check...
10411         (is_trusted_path): ...to here.
10412         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
10413         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
10414         using is_trusted_path_normalize() in setuid scripts.
10415
10416 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10417
10418         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10419         __BEGIN/__END_DECLS.
10420
10421 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
10422
10423         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10424         NSS_STATUS_NOTFOUND if no record was found.
10425
10426 2011-05-05  Andreas Schwab  <schwab@redhat.com>
10427
10428         * sunrpc/Makefile (headers): Add rpc/netdb.h.
10429         (headers-not-in-tirpc): Remove rpc/netdb.h
10430         * resolv/netdb.h: Revert last change.
10431
10432 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10433
10434         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10435         circular dependency between libgcc.a and libc.a.
10436
10437 2011-05-05  Andreas Schwab  <schwab@redhat.com>
10438
10439         * resolv/netdb.h: Don't include <rpc/netdb.h>.
10440         * nis/Makefile: Don't install rpcsvc/*.
10441         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10442         instead of <rpc/types.h>.
10443         (MAXHOSTNAMELEN): Define.
10444
10445 2011-05-03  Andreas Schwab  <schwab@redhat.com>
10446
10447         * elf/ldconfig.c (add_dir): Don't crash on empty path.
10448
10449 2011-04-28  Maciej Babinski  <mbabinski@google.com>
10450
10451         [BZ #12714]
10452         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10453         gethostbyname4_r when IPv6 results are possible.
10454
10455 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
10456
10457         [BZ #12723]
10458         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10459         _PC_PIPE_BUF handling.
10460
10461 2011-04-30  Bruno Haible  <bruno@clisp.org>
10462
10463         [BZ #12717]
10464         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10465         * resolv/netdb.h (getnameinfo): Change type of flags parameter
10466         to 'int'.
10467         * inet/getnameinfo.c (getnameinfo): Likewise.
10468
10469 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
10470
10471         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10472         to groups setting in database lookup.
10473         * nss/nsswitch.conf: Add initgroups entry.
10474
10475 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
10476
10477         [BZ #12685]
10478         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10479         mode string.
10480         Patch by Eric Blake <eblake@redhat.com>.
10481
10482 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
10483
10484         * sunrpc/Makefile (need-export-routines): Add svc_run.
10485         (routines): Remove svc_run.
10486         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10487         * sunrpc/clnt_perr.c (clnt_perrno): Export.
10488         * sunrpc/svc_run.c (svc_run): Likewise.
10489         * sunrpc/svc_udp.c (svcudp_create): Likewise.
10490
10491 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
10492
10493         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10494         problem in reallocation in last patch.
10495
10496 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
10497
10498         * sunrpc/Makefile: Move inclusion of Rules.
10499
10500 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
10501
10502         * nss/nss_files/files-initgroups.c: New file.
10503         * nss/Makefile (libnss_files-routines): Add files-initgroups.
10504         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10505         _nss_files_initgroups_dyn.
10506
10507 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
10508
10509         * elf/elf.h (R_ARM_IRELATIVE): Define.
10510
10511 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
10512
10513         * po/ru.po: Update from translation team.
10514
10515 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
10516
10517         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10518         dependencies.
10519
10520 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
10521
10522         [BZ #12653]
10523         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10524         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10525         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10526         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10527         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10528
10529 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
10530
10531         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10532         differing bytes.
10533         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10534         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10535         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10536
10537 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
10538
10539         [BZ #12420]
10540         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10541         storing it.
10542         * stdlib/bug-getcontext.c: New file.
10543         * stdlib/Makefile: Add rules to build and run bug-getcontext.
10544
10545 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10546
10547         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10548         instructions into .machine "z9-109".
10549         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10550         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10551
10552 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10553
10554         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10555         between environment variables and auxiliary vector.
10556
10557 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
10558
10559         * Makefile: Add rules to build linkobj/libc.so.
10560         * include/libc-symbols.h: Define libc_hidden_nolink.
10561         * include/rpc/auth.h: Mark functions which are to be hidden.
10562         * include/rpc/auth_des.h: Likewise.
10563         * include/rpc/auth_unix.h: Likewise.
10564         * include/rpc/clnt.h: Likewise.
10565         * include/rpc/des_crypt.h: Likewise.
10566         * include/rpc/key_prot.h: Likewise.
10567         * include/rpc/pmap_clnt.h: Likewise.
10568         * include/rpc/pmap_prot.h: Likewise.
10569         * include/rpc/pmap_rmt.h: Likewise.
10570         * include/rpc/rpc_msg.h: Likewise.
10571         * include/rpc/svc.h: Likewise.
10572         * include/rpc/svc_auth.h: Likewise.
10573         * include/rpc/xdr.h: Likewise.
10574         * nis/Makefile: Link all DSOs against linkobj/libc.so.
10575         * nss/Makefile: Likewise.
10576         * sunrpc/Makefile: Don't install headers.  Build library with normal
10577         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
10578         * sunrpc/auth_des.c: Hide exported symbols by default, export some
10579         for the compat linking library.  Remove use of INTDEF/INTUSE.
10580         * sunrpc/auth_none.c: Likewise.
10581         * sunrpc/auth_unix.c: Likewise.
10582         * sunrpc/authdes_prot.c: Likewise.
10583         * sunrpc/authuxprot.c: Likewise.
10584         * sunrpc/clnt_gen.c: Likewise.
10585         * sunrpc/clnt_perr.c: Likewise.
10586         * sunrpc/clnt_raw.c: Likewise.
10587         * sunrpc/clnt_simp.c: Likewise.
10588         * sunrpc/clnt_tcp.c: Likewise.
10589         * sunrpc/clnt_udp.c: Likewise.
10590         * sunrpc/clnt_unix.c: Likewise.
10591         * sunrpc/des_crypt.c: Likewise.
10592         * sunrpc/des_soft.c: Likewise.
10593         * sunrpc/get_myaddr.c: Likewise.
10594         * sunrpc/key_call.c: Likewise.
10595         * sunrpc/key_prot.c: Likewise.
10596         * sunrpc/netname.c: Likewise.
10597         * sunrpc/pm_getmaps.c: Likewise.
10598         * sunrpc/pm_getport.c: Likewise.
10599         * sunrpc/pmap_clnt.c: Likewise.
10600         * sunrpc/pmap_prot.c: Likewise.
10601         * sunrpc/pmap_prot2.c: Likewise.
10602         * sunrpc/pmap_rmt.c: Likewise.
10603         * sunrpc/publickey.c: Likewise.
10604         * sunrpc/rpc_cmsg.c: Likewise.
10605         * sunrpc/rpc_common.c: Likewise.
10606         * sunrpc/rpc_dtable.c: Likewise.
10607         * sunrpc/rpc_prot.c: Likewise.
10608         * sunrpc/rpc_thread.c: Likewise.
10609         * sunrpc/rtime.c: Likewise.
10610         * sunrpc/svc.c: Likewise.
10611         * sunrpc/svc_auth.c: Likewise.
10612         * sunrpc/svc_authux.c: Likewise.
10613         * sunrpc/svc_raw.c: Likewise.
10614         * sunrpc/svc_run.c: Likewise.
10615         * sunrpc/svc_simple.c: Likewise.
10616         * sunrpc/svc_tcp.c: Likewise.
10617         * sunrpc/svc_udp.c: Likewise.
10618         * sunrpc/svc_unix.c: Likewise.
10619         * sunrpc/svcauth_des.c: Likewise.
10620         * sunrpc/xcrypt.c: Likewise.
10621         * sunrpc/xdr.c: Likewise.
10622         * sunrpc/xdr_array.c: Likewise.
10623         * sunrpc/xdr_float.c: Likewise.
10624         * sunrpc/xdr_intXX_t.c: Likewise.
10625         * sunrpc/xdr_mem.c: Likewise.
10626         * sunrpc/xdr_rec.c: Likewise.
10627         * sunrpc/xdr_ref.c: Likewise.
10628         * sunrpc/xdr_sizeof.c: Likewise.
10629         * sunrpc/xdr_stdio.c: Likewise.
10630
10631 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
10632
10633         [BZ #12650]
10634         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10635         * sysdeps/ia64/dl-tls.h: Likewise.
10636         * sysdeps/powerpc/dl-tls.h: Likewise.
10637         * sysdeps/s390/dl-tls.h: Likewise.
10638         * sysdeps/sh/dl-tls.h: Likewise.
10639         * sysdeps/sparc/dl-tls.h: Likewise.
10640         * sysdeps/x86_64/dl-tls.h: Likewise.
10641         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10642
10643 2011-03-14  Andreas Schwab  <schwab@redhat.com>
10644
10645         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10646         rpath element also skip the following colon.
10647         (expand_dynamic_string_token): Add is_path parameter and pass
10648         down to DL_DST_REQUIRED and _dl_dst_substitute.
10649         (decompose_rpath): Call expand_dynamic_string_token with
10650         non-zero is_path.  Ignore empty rpaths.
10651         (_dl_map_object_from_fd): Call expand_dynamic_string_token
10652         with zero is_path.
10653
10654 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
10655
10656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10657         Make cancelable.
10658
10659 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
10660
10661         [BZ #12655]
10662         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10663         Patch by Filipe David Manana <fdmanana@apache.org>.
10664
10665 2011-04-07  Andreas Schwab  <schwab@redhat.com>
10666
10667         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10668         Maintain aligned stack.
10669         (CHECK_RSP): Remove unused macro.
10670
10671 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
10672
10673         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10674         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10675
10676 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
10677
10678         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10679
10680         * include/features.h: Mention __USE_XOPEN2K8 in comment.
10681
10682 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
10683
10684         [BZ #12518]
10685         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10686         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10687         * sysdeps/x86_64/memmove.c: New file.
10688         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10689         (memcpy): Renamed to ...
10690         (__new_memcpy): This.
10691         (memcpy): Provide GLIBC_2_14 memcpy.
10692         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10693         (memcpy): Provide GLIBC_2_2_5 memcpy.
10694
10695 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10696
10697         [BZ #12631]
10698         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10699
10700 2011-03-30  Andreas Schwab  <schwab@redhat.com>
10701
10702         * misc/syncfs.c: New file.
10703         * misc/Makefile (routines): Add syncfs.
10704         * posix/unistd.h: Declare syncfs.
10705         * sysdeps/unix/syscalls.list: Add syncfs.
10706
10707 2011-04-01  Andreas Schwab  <schwab@redhat.com>
10708
10709         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10710         open_by_handle_at.
10711         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10712         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10713         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10714         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10715         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10716         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10717         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10718
10719 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10720
10721         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10722         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10723         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10724         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10725         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10726         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10727         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10728
10729         * io/Makefile: Compile fallocate.c, fallocate64.c, and
10730         sync_file_range.c with -fexceptions.
10731         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10732         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10733         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10734         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10735         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10736         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10737         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
10738         sync_file_range as cancellation point
10739         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
10740         now a wrapper around __call_sync_file_range with cancellation handling.
10741         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10742         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
10743         function name to __call_sync_file_range.
10744         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10745         Add call_sync_file_range.
10746
10747 2011-04-01  Andreas Schwab  <schwab@redhat.com>
10748
10749         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10750         bits/timex.h.
10751
10752 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10753
10754         * iconv/iconv.h: Fix typo in comment.
10755         * io/fcntl.h: Likewise.
10756         * libio/stdio.h: Likewise.
10757         * posix/spawn.h: Likewise.
10758         * posix/unistd.h: Likewise.
10759         * stdlib/stdlib.h: Likewise.
10760         * time/time.h: Likewise.
10761         * wcsmbs/wchar.h: Likewise.
10762
10763         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10764         open_by_handle): Add.
10765         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10766         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
10767         Augment a few comments.
10768         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10769         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10770         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10771         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10772         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10773         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10774         open_by_handle.
10775
10776         * io/fcntl.h (AT_EMPTY_PATH): Define.
10777
10778 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
10779
10780         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10781         * sysdeps/unix/sysv/linux/bits/time.h: New file.
10782         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10783         to...
10784         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
10785         * Versions.def: Add GLIBC_2.14.
10786         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10787         Export.
10788
10789 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
10790
10791         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10792         round counter.
10793         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10794
10795 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
10796
10797         [BZ #12597]
10798         * string/test-strncmp.c (do_page_test): New function.
10799         (check2): Likewise.
10800         (test_main): Call check2.
10801         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10802
10803 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
10804
10805         [BZ #12587]
10806         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10807         Handle cache information in CPU leaf 4.
10808         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10809
10810 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
10811
10812         [BZ #12583]
10813         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10814         character representation.
10815         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10816
10817 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
10818
10819         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10820         END(__isnan) to END(__isnanf) to match function entry point/label
10821         EALIGN(__isnanf,...).
10822
10823 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
10824
10825         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10826
10827 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
10828
10829         [BZ #12510]
10830         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10831         copy from the symbol referenced in the relocation to initialize the
10832         used variable.
10833         Patch by Piotr Bury <pbury@goahead.com>.
10834         * elf/Makefile: Add rules to build and tst-unique3.
10835         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10836         * elf/tst-unique3.cc: New file.
10837         * elf/tst-unique3.h: New file.
10838         * elf/tst-unique3lib.cc: New file.
10839         * elf/tst-unique3lib2.cc: New file.
10840
10841         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10842
10843 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
10844
10845         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10846         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
10847         to _start.
10848
10849 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
10850
10851         * elf/dl-load.c (_dl_map_object): If we are looking for the first
10852         to-be-loaded object along a path to loader is ld.so.
10853
10854 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
10855             Ulrich Drepper  <drepper@gmail.com>
10856
10857         * sysdeps/x86_64/memset.S: After aligning destination, code
10858         branches to different locations depending on the value of
10859         misalignment, when multiarch is enabled. Fix this.
10860
10861 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
10862
10863         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10864         Set _x86_64_preferred_memory_instruction for AMD processsors.
10865         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10866         Set bit_Prefer_SSE_for_memop for AMD processors.
10867
10868 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
10869
10870         * libio/fmemopen.c (fmemopen): Optimize a bit.
10871
10872 2011-03-03  Andreas Schwab  <schwab@redhat.com>
10873
10874         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10875
10876 2011-03-03  Roland McGrath  <roland@redhat.com>
10877
10878         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10879
10880 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
10881
10882         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10883         __bzero_ultra1 instead of __memset_ultra1.
10884
10885 2011-02-23  Andreas Schwab  <schwab@redhat.com>
10886             Ulrich Drepper  <drepper@gmail.com>
10887
10888         [BZ #12509]
10889         * include/link.h (struct link_map): Add l_orig_initfini.
10890         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10891         returning unsuccessfully.
10892         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10893         close of a file loaded at startup, restore the original l_initfini
10894         list.
10895         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10896         list, store the pointer.
10897         * elf/Makefile ($(objpfx)noload-mem): New rule.
10898         (noload-ENV): Define.
10899         (tests): Add $(objpfx)noload-mem.
10900         * elf/noload.c: Include <memcheck.h>.
10901         (main): Call mtrace.  Close all opened handles.
10902
10903 2011-02-17  Andreas Schwab  <schwab@redhat.com>
10904
10905         [BZ #12454]
10906         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10907         dependencies are missing.
10908
10909 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10910
10911         Fix __if_freereq crash: Unlike the generic version which uses free,
10912         Hurd needs munmap.
10913         * sysdeps/mach/hurd/ifreq.h: New file.
10914
10915 2011-01-27  Petr Baudis  <pasky@suse.cz>
10916             Ulrich Drepper  <drepper@gmail.com>
10917
10918         [BZ 12445]#
10919         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10920         to extend_alloca().
10921         * stdio-common/bug23.c: New file.
10922         * stdio-common/Makefile (tests): Add bug23.
10923
10924 2010-09-28  Andreas Schwab  <schwab@redhat.com>
10925             Ulrich Drepper  <drepper@gmail.com>
10926
10927         [BZ #12489]
10928         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10929         before performing relro protection.  At old place add assertion
10930         to make sure nothing changed.
10931
10932 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
10933             Glauber de Oliveira Costa  <glommer@gmail.com>
10934
10935         * elf/elf.h: Add new ARM TLS relocs.
10936
10937 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
10938
10939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10940         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10941         cast from r3.
10942         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
10943         'tests' variable.
10944         * sysdeps/wordsize-64/tst-writev.c: New file.
10945
10946 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
10947
10948         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10949         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10950         insns in _dl_start to prevent a TOC reference before relocs are
10951         resolved.
10952
10953 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
10954
10955         [BZ #12469]
10956         * Makeconfig: Remove RANLIB definition.
10957         * Makerules: Don't use RANLIB.
10958         * aclocal.m4: Remove ranlib test.
10959         * configure.in: No need to check for ranlib.
10960         * elf/rtld-Rules: Don't use RANLIB.
10961
10962 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10963
10964         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10965         protection macro.
10966         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10967         inclusion protection macro.
10968
10969         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10970         SIGRTMIN and SIGRTMAX and print information in that case only when
10971         SIGRTMIN is defined.
10972
10973 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
10974
10975         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10976         arginfo fn returning -1.
10977
10978         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10979         and thousands string is zero terminated.
10980
10981 2011-02-03  Andreas Schwab  <schwab@redhat.com>
10982
10983         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10984         sysdeps/unix/sysv/linux/bits/socket.h.
10985
10986 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10987
10988         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10989         (__CPU_COUNT): Remove old macros.
10990         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10991         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10992         (__CPU_ALLOC, __CPU_FREE): Add macros.
10993         (__sched_cpualloc, __sched_cpufree): Add declarations.
10994
10995 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
10996
10997         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10998         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10999         * nscd/aicache.c (addhstaiX): Return timeout of added value.
11000         (readdhstai): Return value of addhstaiX call.
11001         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11002         (addgrbyX): Return value returned by cache_addgr.
11003         (readdgrbyname): Return value returned by addgrbyX.
11004         (readdgrbygid): Likewise.
11005         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11006         (addpwbyX): Return value returned by cache_addpw.
11007         (readdpwbyname): Return value returned by addhstbyX.
11008         (readdpwbyuid): Likewise.
11009         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11010         (addservbyX): Return value returned by cache_addserv.
11011         (readdservbyname): Return value returned by addservbyX:
11012         (readdservbyport): Likewise.
11013         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11014         (addhstbyX): Return value returned by cache_addhst.
11015         (readdhstbyname): Return value returned by addhstbyX.
11016         (readdhstbyaddr): Likewise.
11017         (readdhstbynamev6): Likewise.
11018         (readdhstbyaddrv6): Likewise.
11019         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11020         (readdinitgroups): Return value returned by addinitgroupsX.
11021         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11022         (prune_cache): Keep track of timeout value of re-added entries.
11023         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11024         * nscd/nscd.h: Adjust prototypes of readd* functions.
11025
11026 2011-02-04  Roland McGrath  <roland@redhat.com>
11027
11028         * nis/nis_server.c (nis_servstate): Use the right name for 0.
11029         (nis_stats): Likewise.
11030         * nis/nis_modify.c (nis_modify): Likewise.
11031         * nis/nis_remove.c (nis_remove): Likewise.
11032         * nis/nis_add.c (nis_add): Likewise.
11033
11034         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11035
11036         * posix/fnmatch_loop.c: Add some consts.
11037
11038         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11039
11040 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
11041
11042         [BZ #12460]
11043         * config.make.in (config-cflags-novzeroupper): Define.
11044         * configure.in: Substitute libc_cv_cc_novzeroupper.
11045         * elf/Makefile (AVX-CFLAGS): Define.
11046         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11047         (CFLAGS-tst-auditmod4a.c): Likewise.
11048         (CFLAGS-tst-auditmod4b.c): Likewise.
11049         (CFLAGS-tst-auditmod6b.c): Likewise.
11050         (CFLAGS-tst-auditmod6c.c): Likewise.
11051         (CFLAGS-tst-auditmod7b.c): Likewise.
11052         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11053
11054 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
11055
11056         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11057         function to the callback.
11058         Patch partly by Jiri Olsa <jolsa@redhat.com>.
11059
11060 2011-02-02  Andreas Schwab  <schwab@redhat.com>
11061
11062         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11063         of errno.
11064
11065 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
11066
11067         [BZ #11724]
11068         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11069         of constructors.
11070         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11071         of destructors.
11072         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11073
11074         [BZ #11724]
11075         * elf/Makefile: Add rules to build and run new test.
11076         * elf/tst-initorder.c: New file.
11077         * elf/tst-initorder.exp: New file.
11078         * elf/tst-initordera1.c: New file.
11079         * elf/tst-initordera2.c: New file.
11080         * elf/tst-initordera3.c: New file.
11081         * elf/tst-initordera4.c: New file.
11082         * elf/tst-initorderb1.c: New file.
11083         * elf/tst-initorderb2.c: New file.
11084         * elf/tst-order-a1.c: New file.
11085         * elf/tst-order-a2.c: New file.
11086         * elf/tst-order-a3.c: New file.
11087         * elf/tst-order-a4.c: New file.
11088         * elf/tst-order-b1.c: New file.
11089         * elf/tst-order-b2.c: New file.
11090         * elf/tst-order-main.c: New file.
11091         New test case by George Gensure <werkt0@gmail.com>.
11092
11093 2010-10-01  Andreas Schwab  <schwab@redhat.com>
11094
11095         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11096         decoding ACE if AI_CANONIDN.
11097
11098 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
11099
11100         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11101
11102 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
11103
11104         * version.h (RELEASE): Bump for 2.13 release.
11105         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11106
11107         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11108
11109         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11110         MADV_NOHUGEPAGE.
11111         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11112         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11113         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11114         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11115         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11116         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11117
11118         * posix/getconf.c: Update copyright year.
11119         * catgets/gencat.c: Likewise.
11120         * csu/version.c: Likewise.
11121         * debug/catchsegv.sh: Likewise.
11122         * debug/xtrace.sh: Likewise.
11123         * elf/ldconfig.c: Likewise.
11124         * elf/ldd.bash.in: Likewise.
11125         * elf/sprof.c (print_version): Likewise.
11126         * iconv/iconv_prog.c: Likewise.
11127         * iconv/iconvconfig.c: Likewise.
11128         * locale/programs/locale.c: Likewise.
11129         * locale/programs/localedef.c: Likewise.
11130         * malloc/memusage.sh: Likewise.
11131         * malloc/mtrace.pl: Likewise.
11132         * nscd/nscd.c (print_version): Likewise.
11133         * nss/getent.c: Likewise.
11134
11135         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11136         PF_CAIF, and PF_ALG.
11137         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11138
11139 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
11140
11141         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11142         (modules-names): Use them.
11143         (ifunc-test-modules, ifunc-pie-tests): Define.
11144         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11145         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11146         (test-extras): Likewise.
11147         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11148         $(compile-command.c).
11149         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11150         (all-built-dso): Define.
11151         (check-textrel.out, check-execstack.out): Depend on it.
11152
11153         * configure.in: Don't override --enable-multi-arch.
11154
11155 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
11156
11157         [BZ #6812]
11158         * nscd/hstcache.c (tryagain): Define.
11159         (cache_addhst): Return tryagain not notfound for temporary errors.
11160         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11161         failed.
11162
11163 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
11164
11165         [BZ #10563]
11166         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11167         to make the syscall.
11168         * sysdeps/unix/sysv/linux/setgroups.c: New file.
11169
11170         [BZ #12378]
11171         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11172         and fall back to matching as normal character if the string ends before
11173         the matching ']' is found.  This is what POSIX requires.
11174         * posix/testfnm.c: Adjust test result.
11175         * posix/globtest.sh: Adjust test result.  Add new test.
11176         * posix/tst-fnmatch.input: Likewise.
11177         * posix/tst-fnmatch2.c: Add new test.
11178
11179 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
11180
11181         * elf/Makefile (check-execstack): Revert last change.  Depend on
11182         check-execstack.h.
11183         (check-execstack.h): New target.
11184         (generated): Add check-execstack.h.
11185         * elf/check-execstack.c: Include "check-execstack.h".
11186         (main): Revert last change.
11187         (handle_file): Return zero if GNU_STACK is absent and
11188         DEFAULT_STACK_PERMS doesn't include PF_X.
11189
11190 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
11191
11192         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11193         in child fails because the descriptor is already closed.
11194         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11195         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11196         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11197
11198         [BZ #12397]
11199         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11200         syscall.
11201
11202         [BZ #10484]
11203         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11204         temporary buffer used to handle multi lookups locally.
11205         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
11206
11207 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
11208
11209         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11210         loader is ld.so.
11211
11212 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
11213
11214         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11215         alignment for SSE2.
11216
11217 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
11218
11219         [BZ #12394]
11220         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11221         characters.  When rounding increased number of integer digits recompute
11222         number of groups.
11223         * stdio-common/tst-grouping.c: New file.
11224         * stdio-common/Makefile: Add rules to build and run tst-grouping.
11225
11226 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
11227
11228         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11229         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
11230
11231         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11232         void.
11233         * bits/select.h: Likewise.
11234
11235 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
11236
11237         * po/ja.po: Update from translation team.
11238
11239 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
11240
11241         [BZ #11155]
11242         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11243         implementation just like for lxstat, fxstatat, et al.
11244
11245 2010-12-27  Jim Meyering  <meyering@redhat.com>
11246
11247         [BZ #12348]
11248         * posix/regexec.c (build_trtable): Return failure indication upon
11249         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
11250
11251 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
11252
11253         [BZ #12201]
11254         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11255         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11256         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11257         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11258
11259         [BZ #12207]
11260         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11261
11262         [BZ #12204]
11263         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11264         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11265
11266 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
11267
11268         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11269         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11270         script has SORT_BY_INIT_PRIORITY.
11271         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11272         NO_CTORS_DTORS_SECTIONS is defined.
11273         * elf/soinit.c: Likewise.
11274         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11275         NO_CTORS_DTORS_SECTIONS is defined.
11276         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11277         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11278         * sysdeps/sh/init-first.c: Likewise.
11279         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11280
11281 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
11282
11283         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11284         always use the slow path.
11285
11286 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
11287
11288         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11289         similar rule which adds the sysdep directories to the header search in
11290         order to pick up the correct platform stackinfo.h.
11291         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11292         perform test if it is, otherwise return successfully without testing.
11293         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11294         DEFAULT_STACK_PERMS define in stackinfo.h.
11295         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11296         defined in stackinfo.h.
11297         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11298         DEFAULT_STACK_PERMS defined in stackinfo.h.
11299         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11300         * sysdeps/ia64/stackinfo.h: Likewise.
11301         * sysdeps/s390/stackinfo.h: Likewise.
11302         * sysdeps/sh/stackinfo.h: Likewise.
11303         * sysdeps/sparc/stackinfo.h: Likewise.
11304         * sysdeps/x86_64/stackinfo.h: Likewise.
11305         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11306         PF_X for powerpc64.  Retain PF_X for powerpc32.
11307
11308 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
11309
11310         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11311         accurately.
11312         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11313         GETDENTS_64BIT_ALIGNED.
11314
11315 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
11316
11317         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
11318
11319 2010-12-10  Andreas Schwab  <schwab@redhat.com>
11320
11321         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11322         _GNU_SOURCE.
11323
11324         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11325         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11326         Remove __restrict.
11327         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11328         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11329
11330 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
11331
11332         [BZ #11655]
11333         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11334         are initialized.
11335
11336 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
11337
11338         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11339
11340 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
11341
11342         * po/it.po: Update from translation team.
11343
11344 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
11345
11346         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11347         unused codes.
11348
11349 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
11350
11351         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11352
11353 2010-11-24  Andreas Schwab  <schwab@redhat.com>
11354
11355         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11356         specially.
11357         (gaih_getanswer_slice): Likewise.
11358
11359 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
11360
11361         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11362
11363 2010-05-31  Petr Baudis  <pasky@suse.cz>
11364
11365         [BZ #11149]
11366         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11367         silently even in the chroot mode.
11368
11369 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
11370
11371         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11372         last patch a bit.  Pretty printing
11373
11374 2010-05-31  Petr Baudis <pasky@suse.cz>
11375
11376         [BZ #10085]
11377         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11378         initialization of skip_initgroups_dyn.
11379
11380 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
11381
11382         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11383         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11384
11385 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
11386
11387         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11388
11389 2010-11-11  Andreas Schwab  <schwab@redhat.com>
11390
11391         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11392         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11393         (tst-fnmatch-ENV): Set MALLOC_TRACE.
11394         ($(objpfx)tst-fnmatch-mem): New rule.
11395         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11396         * posix/tst-fnmatch.c (main): Call mtrace.
11397
11398 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
11399
11400         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11401         Support Intel processor model 6 and model 0x2c.
11402
11403 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
11404
11405         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11406           signed comparison.
11407
11408 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
11409
11410         [BZ #12205]
11411         * string/test-strncasecmp.c (check_result): New function.
11412         (do_one_test): Use it.
11413         (check1): New function.
11414         (test_main): Use it.
11415         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11416         Support strcasecmp and strncasecmp.
11417
11418 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
11419
11420         [BZ #12194]
11421         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11422         * sysdeps/x86_64/bits/byteswap.h: Likewise.
11423
11424 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11425
11426         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11427         IFUNC support.
11428         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11429         memset-x86-64.
11430         * sysdeps/x86_64/multiarch/bzero.S: New file.
11431         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11432         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11433         * sysdeps/x86_64/multiarch/memset.S: New file.
11434         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11435         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11436         Set bit_Prefer_SSE_for_memop for Intel processors.
11437         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11438         Define.
11439         (index_Prefer_SSE_for_memop): Define.
11440         (HAS_PREFER_SSE_FOR_MEMOP): Define.
11441
11442 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
11443
11444         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11445         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11446
11447 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
11448
11449         [BZ #12191]
11450         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11451         (__x86_64_raw_data_cache_size_half): Likewise.
11452         (__x86_64_raw_shared_cache_size): Likewise.
11453         (__x86_64_raw_shared_cache_size_half): Likewise.
11454
11455         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11456         (__x86_64_raw_data_cache_size_half): Likewise.
11457         (__x86_64_raw_shared_cache_size): Likewise.
11458         (__x86_64_raw_shared_cache_size_half): Likewise.
11459         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11460         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11461         and __x86_64_raw_shared_cache_size_half.  Round
11462         __x86_64_data_cache_size_half, __x86_64_data_cache_size
11463         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11464         to multiple of 256 bytes.
11465
11466 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
11467
11468         [BZ #12167]
11469         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11470         of inacessible symlinks.  Verify result of symlink before returning it.
11471         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11472         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11473
11474 2010-10-28  Erich Ritz  <erichritz@gmail.com>
11475
11476         * math/math.h (isinf): Fix typo in comment.
11477
11478 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
11479
11480         * po/da.po: Update from translation team.
11481
11482 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
11483
11484         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11485         is added to the list.
11486
11487 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11488             Ulrich Drepper  <drepper@gmail.com>
11489
11490         * elf/dl-object.c (_dl_new_object): Don't append the new object to
11491         the global list here.  Move code to...
11492         (_dl_add_to_namespace_list): ...here.  New function.
11493         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11494         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11495         * elf/dl-load.c (lose): Don't remove the element from the list.
11496         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11497         (_dl_map_object): Likewise.
11498
11499 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
11500
11501         [BZ #12159]
11502         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11503         into all bytes of SSE register.
11504         Patch by Richard Li <richardpku@gmail.com>.
11505
11506 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
11507
11508         [BZ #12140]
11509         * malloc/malloc.c (_int_free): Fill correct number of bytes when
11510         perturbing.
11511
11512 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
11513
11514         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11515         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11516         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11517         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11519         submachine.
11520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11521
11522 2010-10-22  Andreas Schwab  <schwab@redhat.com>
11523
11524         * include/dlfcn.h (__RTLD_SECURE): Define.
11525         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
11526         mode & __RTLD_SECURE instead.
11527         (open_path): Rename preloaded parameter to secure.
11528         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11529         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11530         * elf/dl-deps.c (openaux): Likewise.
11531         * elf/rtld.c (struct map_args): Remove is_preloaded.
11532         (map_doit): Don't use it.
11533         (dl_main): Likewise.
11534         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11535         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11536
11537 2010-09-09  Andreas Schwab  <schwab@redhat.com>
11538
11539         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11540         (sysd-rules-targets): Remove duplicates.
11541         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11542         rtld-%.$o dependency.
11543
11544 2010-10-18  Andreas Schwab  <schwab@redhat.com>
11545
11546         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11547         _dl_map_object do it.
11548
11549 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
11550
11551         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11552         fast fma builtins, define the macros in the C99 standard.
11553         (FP_FAST_FMAF): Likewise.
11554         (FP_FAST_FMAL): Likewise.
11555         * sysdeps/x86_64/bits/mathdef.h: Likewise.
11556
11557         * bits/mathdef.h: Update copyright year.
11558         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11559
11560 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
11561
11562         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11563         builtins, define the macros in the C99 standard.
11564         (FP_FAST_FMAF): Likewise.
11565         (FP_FAST_FMAL): Likewise.
11566         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11567         multiply/add.
11568         (FP_FAST_FMAF): Likewise.
11569
11570 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
11571
11572         [BZ #3268]
11573         * math/libm-test.inc (fma_test): Some new testcases.
11574         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11575         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11576         y and infinite z.  Do multiplication by C already in long double.
11577         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11578         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11579         y and infinite z.  Do bitwise or of inexact bit into u.d.
11580         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11581         * sysdeps/i386/fpu/s_fmaf.S: Removed.
11582         * sysdeps/i386/fpu/s_fma.S: Removed.
11583         * sysdeps/i386/fpu/s_fmal.S: Removed.
11584
11585 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
11586
11587         [BZ #3268]
11588         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11589         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11590         computation is not scheduled after fetestexcept.  Fix value
11591         of minimum denormal long double.
11592
11593 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
11594
11595         [BZ #3268]
11596         * math/libm-test.inc (fma_test): Add some more tests.
11597         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11598         correctly.
11599
11600 2010-10-15  Andreas Schwab  <schwab@redhat.com>
11601
11602         * scripts/data/localplt-s390-linux-gnu.data: New file.
11603         * scripts/data/localplt-s390x-linux-gnu.data: New file.
11604
11605 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
11606
11607         [BZ #3268]
11608         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11609         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11610         instead of dbl-64.
11611         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11612         inlines.
11613         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11614         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11615         if one of x and y is very large and the other is subnormal.
11616         * sysdeps/s390/fpu/s_fmaf.c: New file.
11617         * sysdeps/s390/fpu/s_fma.c: New file.
11618         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11619         * sysdeps/powerpc/fpu/s_fma.S: New file.
11620         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11621         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11622         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11623
11624 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
11625
11626         [BZ #3268]
11627         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11628         fma tests.
11629         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11630         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11631         * sysdeps/i386/i686/multiarch/s_fma.c: Include
11632         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11633         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11634         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11635         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11636
11637 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
11638
11639         [BZ #12078]
11640         * posix/regcomp.c (parse_branch): One more memory leak plugged.
11641         * posix/bug-regex31.input: Add test case.
11642
11643 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
11644
11645         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11646         * posix/bug-regex31.input: New file.
11647
11648         [BZ #12078]
11649         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11650         (parse_sub_exp): Fix last change, use postorder.
11651
11652         * posix/bug-regex31.c: New file.
11653         * posix/Makefile: Add rules to build and run bug-regex31.
11654
11655         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11656
11657         [BZ #12078]
11658         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11659
11660         [BZ #12108]
11661         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11662         to have entries in sys_siglist.
11663
11664         [BZ #12093]
11665         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11666         be NULL.
11667
11668 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
11669
11670         [BZ #3268]
11671         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11672         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11673         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11674         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11675         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11676         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11677         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11678         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11679         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11680         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11681         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11682         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11683         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11684         * math/ftestexcept.c (fetestexcept): Likewise.
11685         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11686         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11687         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11688         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11689         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11690         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11691         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11692
11693 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
11694
11695         [BZ #12107]
11696         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11697         newline.
11698
11699 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
11700
11701         * string/bug-strstr1.c: New file.
11702         * string/Makefile: Add rules to build and run bug-strstr1.
11703
11704 2010-10-05  Eric Blake  <eblake@redhat.com>
11705
11706         [BZ #12092]
11707         * string/str-two-way.h (two_way_long_needle): Always clear memory
11708         when skipping input due to the shift table.
11709
11710 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
11711
11712         [BZ #12005]
11713         * malloc/mcheck.c: Handle large requests.
11714
11715         [BZ #12077]
11716         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11717         for strncmp and strncasecmp.
11718         * string/stratcliff.c: Add tests for strcmp and strncmp.
11719         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11720
11721 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11722
11723         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11724         __set_fpscr.
11725
11726 2010-09-30  Andreas Jaeger  <aj@suse.de>
11727
11728         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11729         (CGROUP_SUPER_MAGIC): Define.
11730         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11731         Handle btrfs and cgroup file systems.
11732         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11733         Likewise.
11734
11735 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
11736
11737         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11738         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11739
11740 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11741
11742         [BZ #12067]
11743         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11744         trying to locate the ELF header.
11745
11746 2010-09-27  Andreas Schwab  <schwab@redhat.com>
11747
11748         [BZ #11611]
11749         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11750         Mask out sign-bit copies when constructing f_fsid.
11751
11752 2010-09-24  Petr Baudis <pasky@suse.cz>
11753
11754         * debug/stack_chk_fail_local.c: Add missing licence exception.
11755         * debug/warning-nop.c: Likewise.
11756
11757 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
11758
11759         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11760         implementing getdents64 using getdents syscall, set d_type if
11761         __ASSUME_GETDENTS32_D_TYPE.
11762
11763 2010-09-16  Andreas Schwab  <schwab@redhat.com>
11764
11765         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11766         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11767
11768 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
11769
11770         [BZ #12037]
11771         * posix/unistd.h: Undo change of feature selection for ftruncate from
11772         2010-01-11.
11773
11774 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
11775
11776         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
11777         detection.
11778
11779 2010-09-20  Andreas Schwab  <schwab@redhat.com>
11780
11781         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11782         fanotify_mark.
11783         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11784
11785 2010-09-14  Andreas Schwab  <schwab@redhat.com>
11786
11787         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11788         variables after CHECK_SP call.
11789         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11790
11791 2010-09-13  Andreas Schwab  <schwab@redhat.com>
11792             Ulrich Drepper  <drepper@redhat.com>
11793
11794         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11795         re-relocationg ld.so.
11796         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11797         _dl_init_paths call.
11798         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
11799         here anymore.
11800
11801 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
11802
11803         * resolv/res_init.c (__res_vinit): Count the default server we added.
11804
11805 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
11806             Ulrich Drepper  <drepper@redhat.com>
11807
11808         [BZ #11968]
11809         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11810         (____longjmp_chk): Use %ebx for saving value across system call.
11811         Add unwind info.
11812
11813 2010-09-06  Andreas Schwab  <schwab@redhat.com>
11814
11815         * manual/Makefile: Don't mix pattern rules with normal rules.
11816
11817 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
11818
11819         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11820         operation.
11821         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11822         * libio/iofopncook.c (_IO_cookie_init): Likewise.
11823         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11824         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11825         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11826         Likewise.
11827
11828 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
11829
11830         [BZ #11979]
11831         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11832         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11833
11834 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
11835
11836         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11837         * sysdeps/x86_64/addmul_1.S: Likewise.
11838         * sysdeps/x86_64/lshift.S: Likewise.
11839         * sysdeps/x86_64/mul_1.S: Likewise.
11840         * sysdeps/x86_64/rshift.S: Likewise.
11841         * sysdeps/x86_64/sub_n.S: Likewise.
11842         * sysdeps/x86_64/submul_1.S: Likewise.
11843
11844 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11845
11846         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11847         Define __sched_param instead of SCHED_* and sched_param when
11848         <bits/sched.h> is included with __need_schedparam defined.
11849         * bits/sched.h [__need_schedparam]
11850         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11851         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11852         (__defined_schedparam): Define to 1.
11853         (__sched_param): New structure, identical to sched_param.
11854         (__need_schedparam): Undefine.
11855
11856 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
11857
11858         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11859         (epoll_create1): Declare.
11860
11861         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11862
11863 2010-08-31  Andreas Schwab  <schwab@redhat.com>
11864
11865         [BZ #7066]
11866         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11867         shifting retval into place.
11868
11869 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
11870
11871         * nis/rpcsvc/nis.h: Update copyright notice.
11872         * nis/rpcsvc/nis.x: Likewise.
11873         * nis/rpcsvc/nis_callback.h: Likewise.
11874         * nis/rpcsvc/nis_callback.x: Likewise.
11875         * nis/rpcsvc/nis_object.x: Likewise.
11876         * nis/rpcsvc/nis_tags.h: Likewise.
11877         * nis/rpcsvc/yp.h: Likewise.
11878         * nis/rpcsvc/yp.x: Likewise.
11879         * nis/rpcsvc/ypupd.h: Likewise.
11880         * nis/yp_xdr.c: Likewise.
11881         * nis/ypupdate_xdr.c: Likewise.
11882
11883         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
11884         mainly the body of pmap_getport.  Add parameters to specify timeouts.
11885         (pmap_getport): Use __libc_rpc_getport.
11886         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11887         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11888         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11889
11890 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
11891
11892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11893         fanotify_mark.
11894
11895 2010-08-27  Roland McGrath  <roland@redhat.com>
11896
11897         * sysdeps/i386/i686/multiarch/Makefile
11898         (CFLAGS-varshift.c): New variable.
11899
11900 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
11901
11902         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11903         * sysdeps/i386/i686/multiarch/varshift.c: New file.
11904
11905         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11906
11907         * sysdeps/x86_64/strlen.S: Minimal code improvement.
11908
11909 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11910
11911         * sysdeps/x86_64/strlen.S: Unroll the loop.
11912         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11913         strlen-sse2 strlen-sse2-bsf.
11914         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11915         __strlen_no_bsf if bit_Slow_BSF is set.
11916         (__strlen_sse42): Removed.
11917         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11918         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11919
11920 2010-08-25  Roland McGrath  <roland@redhat.com>
11921
11922         * sysdeps/x86_64/multiarch/varshift.S: File removed.
11923         * sysdeps/x86_64/multiarch/varshift.c: New file.
11924         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11925         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11926         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11927         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11928
11929 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11930
11931         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11932         strlen-sse2 strlen-sse2-bsf.
11933         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11934         __strlen_sse2_bsf if bit_Slow_BSF is unset.
11935         (__strlen_sse2): Removed.
11936         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11937         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11938         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11939         bit_Slow_BSF for Atom.
11940         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11941         (index_Slow_BSF): Define.
11942         (HAS_SLOW_BSF): Define.
11943
11944 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
11945
11946         [BZ #10851]
11947         * resolv/res_init.c (__res_vinit): When no server address at all
11948         is given default to loopback.
11949
11950 2010-08-24  Roland McGrath  <roland@redhat.com>
11951
11952         * configure.in: Remove config-name.h generation.
11953         * configure: Regenerated.
11954         * config-name.in: File removed.
11955         * scripts/config-uname.sh: New file.
11956         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11957         ($(objdir)config-name.h): New target.
11958
11959         * sunrpc/rpc_parse.h: Avoid nested comment.
11960
11961 2010-08-24  Richard Henderson  <rth@redhat.com>
11962             Ulrich Drepper  <drepper@redhat.com>
11963             H.J. Lu  <hongjiu.lu@intel.com>
11964
11965         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11966         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11967         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11968         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
11969         _mm_alignr_epi8 with _mm_loadu_si128.
11970         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11971         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11972         (__m128i_shift_right): Removed.
11973         * sysdeps/i386/i686/multiarch/varshift.h: New file.
11974         * sysdeps/i386/i686/multiarch/varshift.S: New file.
11975         * sysdeps/x86_64/multiarch/varshift.h: New file.
11976         * sysdeps/x86_64/multiarch/varshift.S: New file.
11977
11978 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
11979
11980         * configure.in: Move assembler checks to before sysdep dir checking.
11981
11982 2010-08-20  Petr Baudis  <pasky@suse.cz>
11983
11984         * LICENSES: Sync the sunrpc license.
11985
11986 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
11987
11988         * sunrpc/auth_des.c: Update copyright notice once again.
11989         * sunrpc/auth_none.c: Likewise.
11990         * sunrpc/auth_unix.c: Likewise.
11991         * sunrpc/authdes_prot.c: Likewise.
11992         * sunrpc/authuxprot.c: Likewise.
11993         * sunrpc/bindrsvprt.c: Likewise.
11994         * sunrpc/clnt_gen.c: Likewise.
11995         * sunrpc/clnt_perr.c: Likewise.
11996         * sunrpc/clnt_raw.c: Likewise.
11997         * sunrpc/clnt_simp.c: Likewise.
11998         * sunrpc/clnt_tcp.c: Likewise.
11999         * sunrpc/clnt_udp.c: Likewise.
12000         * sunrpc/clnt_unix.c: Likewise.
12001         * sunrpc/des_crypt.c: Likewise.
12002         * sunrpc/des_soft.c: Likewise.
12003         * sunrpc/get_myaddr.c: Likewise.
12004         * sunrpc/getrpcport.c: Likewise.
12005         * sunrpc/key_call.c: Likewise.
12006         * sunrpc/key_prot.c: Likewise.
12007         * sunrpc/openchild.c: Likewise.
12008         * sunrpc/pm_getmaps.c: Likewise.
12009         * sunrpc/pm_getport.c: Likewise.
12010         * sunrpc/pmap_clnt.c: Likewise.
12011         * sunrpc/pmap_prot.c: Likewise.
12012         * sunrpc/pmap_prot2.c: Likewise.
12013         * sunrpc/pmap_rmt.c: Likewise.
12014         * sunrpc/rpc/auth.h: Likewise.
12015         * sunrpc/rpc/auth_unix.h: Likewise.
12016         * sunrpc/rpc/clnt.h: Likewise.
12017         * sunrpc/rpc/des_crypt.h: Likewise.
12018         * sunrpc/rpc/key_prot.h: Likewise.
12019         * sunrpc/rpc/netdb.h: Likewise.
12020         * sunrpc/rpc/pmap_clnt.h: Likewise.
12021         * sunrpc/rpc/pmap_prot.h: Likewise.
12022         * sunrpc/rpc/pmap_rmt.h: Likewise.
12023         * sunrpc/rpc/rpc.h: Likewise.
12024         * sunrpc/rpc/rpc_des.h: Likewise.
12025         * sunrpc/rpc/rpc_msg.h: Likewise.
12026         * sunrpc/rpc/svc.h: Likewise.
12027         * sunrpc/rpc/svc_auth.h: Likewise.
12028         * sunrpc/rpc/types.h: Likewise.
12029         * sunrpc/rpc/xdr.h: Likewise.
12030         * sunrpc/rpc_clntout.c: Likewise.
12031         * sunrpc/rpc_cmsg.c: Likewise.
12032         * sunrpc/rpc_common.c: Likewise.
12033         * sunrpc/rpc_cout.c: Likewise.
12034         * sunrpc/rpc_dtable.c: Likewise.
12035         * sunrpc/rpc_hout.c: Likewise.
12036         * sunrpc/rpc_main.c: Likewise.
12037         * sunrpc/rpc_parse.c: Likewise.
12038         * sunrpc/rpc_parse.h: Likewise.
12039         * sunrpc/rpc_prot.c: Likewise.
12040         * sunrpc/rpc_sample.c: Likewise.
12041         * sunrpc/rpc_scan.c: Likewise.
12042         * sunrpc/rpc_scan.h: Likewise.
12043         * sunrpc/rpc_svcout.c: Likewise.
12044         * sunrpc/rpc_tblout.c: Likewise.
12045         * sunrpc/rpc_util.c: Likewise.
12046         * sunrpc/rpc_util.h: Likewise.
12047         * sunrpc/rpcinfo.c: Likewise.
12048         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12049         * sunrpc/rpcsvc/key_prot.x: Likewise.
12050         * sunrpc/rpcsvc/klm_prot.x: Likewise.
12051         * sunrpc/rpcsvc/mount.x: Likewise.
12052         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12053         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12054         * sunrpc/rpcsvc/rex.x: Likewise.
12055         * sunrpc/rpcsvc/rstat.x: Likewise.
12056         * sunrpc/rpcsvc/rusers.x: Likewise.
12057         * sunrpc/rpcsvc/sm_inter.x: Likewise.
12058         * sunrpc/rpcsvc/spray.x: Likewise.
12059         * sunrpc/rpcsvc/yppasswd.x: Likewise.
12060         * sunrpc/rtime.c: Likewise.
12061         * sunrpc/svc.c: Likewise.
12062         * sunrpc/svc_auth.c: Likewise.
12063         * sunrpc/svc_authux.c: Likewise.
12064         * sunrpc/svc_raw.c: Likewise.
12065         * sunrpc/svc_run.c: Likewise.
12066         * sunrpc/svc_simple.c: Likewise.
12067         * sunrpc/svc_tcp.c: Likewise.
12068         * sunrpc/svc_udp.c: Likewise.
12069         * sunrpc/svc_unix.c: Likewise.
12070         * sunrpc/svcauth_des.c: Likewise.
12071         * sunrpc/xcrypt.c: Likewise.
12072         * sunrpc/xdr.c: Likewise.
12073         * sunrpc/xdr_array.c: Likewise.
12074         * sunrpc/xdr_float.c: Likewise.
12075         * sunrpc/xdr_mem.c: Likewise.
12076         * sunrpc/xdr_rec.c: Likewise.
12077         * sunrpc/xdr_ref.c: Likewise.
12078         * sunrpc/xdr_sizeof.c: Likewise.
12079         * sunrpc/xdr_stdio.c: Likewise.
12080
12081         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12082         handling.
12083
12084 2010-08-19  Andreas Schwab  <schwab@redhat.com>
12085
12086         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12087
12088 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
12089
12090         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12091         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12092         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12093         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12094         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12095         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12096         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12097         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12098         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12099         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12100         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12101         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12102         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12103         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12104
12105 2010-07-26  Anton Blanchard  <anton@samba.org>
12106
12107         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12108         * malloc/arena.c (heap_trim): Likewise.
12109
12110 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
12111
12112         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12113         here.  Not...
12114         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12115         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12116
12117 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
12118
12119         * sysdeps/i386/elf/Makefile: New file.
12120
12121 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
12122
12123         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12124         from fanotify_init.
12125         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12126         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12127
12128 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
12129
12130         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12131         of strncasecmp_l.
12132         * sysdeps/multiarch/strcmp.S: Likewise.
12133
12134 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
12135
12136         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12137         strncase_l-nonascii.
12138         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12139         Add strncase_l-ssse3.
12140         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12141         * sysdeps/x86_64/strcmp.S: Likewise.
12142         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12143         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12144         * sysdeps/x86_64/strncase.S: New file.
12145         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12146         * sysdeps/x86_64/strncase_l.S: New file.
12147         * string/Makefile (strop-tests): Add strncasecmp.
12148         * string/test-strncasecmp.c: New file.
12149
12150         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12151         warning.
12152
12153         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12154         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12155
12156 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
12157
12158         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12159
12160 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
12161
12162         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12163         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12164         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12165
12166 2010-05-01  Alan Modra  <amodra@gmail.com>
12167
12168         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12169         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12170         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12171         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12172         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12173         tidying.  Don't tail-call __sigjmp_save for static lib.
12174         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12175         save location.
12176         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12177         (CALL_MCOUNT): Add eh info, and nop after bl.
12178         (TAIL_CALL_SYSCALL_ERROR): New macro.
12179         (PSEUDO_RET): Use it.
12180         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12181         Correct save location of integer regs and cr.
12182         (_dl_profile_resolve): Correct cr save location.  Delete nops
12183         after bl when SHARED.  Reduce cfi size a little by better
12184         placement of cfi directives.
12185         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12186         make a stack frame.  Instead use parm save area as a temp.
12187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12188         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
12189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12190         Don't make a stack frame for parent, use parm save area.
12191         Increase child stack frame to 112 bytes.  Don't save unused reg,
12192         and adjust reg usage.  Set up cfi on error recovery and
12193         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12195         (__makecontext): Add dummy nop after jump to exit.
12196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12197         Use correct parm save area and cr save, reduce stack frame.
12198         Correct cfi for possible PSEUDO_RET frame setup.
12199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12200         Branch to local label emitted by PSEUDO_RET rather than
12201         __syscall_error.
12202
12203 2010-08-12  Andreas Schwab  <schwab@redhat.com>
12204
12205         [BZ #11904]
12206         * locale/programs/locale.c (print_assignment): New function.
12207         (show_locale_vars): Use it.
12208
12209 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
12210
12211         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12212         field.
12213         (struct statfs64): Likewise.
12214         (_STATFS_F_FLAGS): Define.
12215         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12216         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12217         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12218         (ST_VALID): Define locally.
12219         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12220         __statvfs_getflags, use the provided value.
12221         * sysdeps/unix/sysv/linux/kernel-features.h: Define
12222         __ASSUME_STATFS_F_FLAGS.
12223
12224         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12225
12226         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12227         Add sys/fanotify.h.
12228         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12229         fanotify_mask for GLIBC_2.13.
12230         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12231         fanotify_init and fanotify_mark.
12232         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12233         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12234
12235         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12236         Add prlimit.
12237         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12238         prlimit64 for GLIBC_2.13.
12239         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12240         prlimit64.
12241         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12242         syscall.
12243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12244         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12245         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12246         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12247         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
12248         add prlimit alias.
12249         * sysdeps/unix/sysv/linux/prlimit.c: New file.
12250
12251         [BZ #11903]
12252         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12253         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12254
12255         * nss/Makefile: Add rules to build and run tst-nss-test1.
12256         * shlib-versions: Add entry for libnss_test1.
12257         * nss/nss_test1.c: New file.
12258         * nss/tst-nss-test1.c: New file.
12259
12260         * nss/nsswitch.c (__nss_database_custom): Define new variable.
12261         (__nss_configure_lookup): Set appropriate entry in
12262         __nss_configure_lookup to true.
12263         * nss/nsswitch.h: Define enum with indeces of databases in
12264         databases and __nss_database_custom arrays.  Declare
12265         __nss_database_custom.
12266         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12267         to avoid using nscd when custom rules are installed.
12268         * nss/getXXbyYY_r.c: Likewise.
12269         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12270
12271         * nss/nss_files/files-parse.c: Whitespace fixes.
12272
12273 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
12274
12275         [BZ #11883]
12276         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12277         * posix/fnmatch_loop.c: Likewise.
12278
12279 2010-07-17  Andi Kleen  <ak@linux.intel.com>
12280
12281         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12282         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12283         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12284         * Versions.def [GLIBC_2.13]: Add.
12285
12286 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
12287
12288         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12289         Also fail if tpwd after pwuid call is NULL.
12290
12291 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12292
12293         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12294         when converting to ms.
12295
12296 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12297
12298         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12299         EOPNOTSUPP errors with ENOTTY.
12300         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12301         EOPNOTSUPP errors with ENOTTY.
12302
12303 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
12304
12305         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12306         Add strcasecmp_l-ssse3.
12307         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12308         strcasecmp.
12309         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12310         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12311         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12312
12313 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
12314
12315         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12316
12317         * string/Makefile (strop-tests): Add strcasecmp.
12318         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12319         strcasecmp_l-nonascii.
12320         (gen-as-const-headers): Add locale-defines.sym.
12321         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12322         * sysdeps/x86_64/strcasecmp.S: New file.
12323         * sysdeps/x86_64/strcasecmp_l.S: New file.
12324         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12325         * sysdeps/x86_64/locale-defines.sym: New file.
12326         * string/test-strcasecmp.c: New file.
12327
12328         * string/test-strcasestr.c: Test both ends of the range of characters.
12329         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12330
12331 2010-07-29  Roland McGrath  <roland@redhat.com>
12332
12333         [BZ #11856]
12334         * manual/locale.texi (Yes-or-No Questions): Fix example code.
12335
12336 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
12337
12338         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12339         for ld.so.
12340
12341 2010-07-27  Andreas Schwab  <schwab@redhat.com>
12342
12343         * manual/memory.texi (Malloc Tunable Parameters): Document
12344         M_PERTURB.
12345
12346 2010-07-26  Roland McGrath  <roland@redhat.com>
12347
12348         [BZ #11840]
12349         * configure.in (-fgnu89-inline check): Set and substitute
12350         gnu89_inline, not libc_cv_gnu89_inline.
12351         * configure: Regenerated.
12352         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12353
12354 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
12355
12356         * string/test-strnlen.c: New file.
12357         * string/Makefile (strop-tests): Add strnlen.
12358         * string/tester.c (test_strnlen): Add a few more test cases.
12359         * string/tst-strlen.c: Better error reporting.
12360
12361         * sysdeps/x86_64/strnlen.S: New file.
12362
12363 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
12364
12365         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12366         lower-latency instructions.
12367
12368 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
12369
12370         * string/test-strcasestr.c: New file.
12371         * string/test-strstr.c: New file.
12372         * string/Makefile (strop-tests): Add strstr and strcasestr.
12373         * string/str-two-way.h: Don't undefine MAX.
12374         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12375
12376 2010-07-21  Andreas Schwab  <schwab@redhat.com>
12377
12378         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12379         strcasestr-nonascii.
12380         (CFLAGS-strcasestr-nonascii.c): Define.
12381         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12382         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12383         Remove unused attribute.
12384
12385 2010-07-20  Roland McGrath  <roland@redhat.com>
12386
12387         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12388         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
12389         ld.so.cache was broken.  With it, there is no way to disable dsocaps
12390         like LD_HWCAP_MASK can disable hwcaps.
12391
12392 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
12393
12394         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12395
12396 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
12397
12398         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12399         call in strcasestr.
12400         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12401         __strcasestr_sse42_nonascii.
12402         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12403         strcasestr-nonascii.c.
12404         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12405
12406 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
12407
12408         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12409         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12410         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12411         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12412
12413 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
12414
12415         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12416         fcntl.
12417
12418 2010-07-06  Andreas Schwab  <schwab@redhat.com>
12419
12420         [BZ #11577]
12421         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12422         dl_signal_cerror.
12423
12424 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
12425
12426         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12427         _PC_PIPE_BUF using F_GETPIPE_SZ.
12428
12429 2010-07-05  Roland McGrath  <roland@redhat.com>
12430
12431         * manual/arith.texi (Rounding Functions): Fix rint description
12432         implicit in round description.
12433
12434 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
12435
12436         * elf/Makefile: Fix linking for a few tests to make recent linker
12437         happy.
12438
12439 2010-06-30  Andreas Schwab  <schwab@redhat.com>
12440
12441         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12442         $(common-objpfx)libc_nonshared.a.
12443
12444 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
12445
12446         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12447         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12448         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12449         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12450         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12451         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12452         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12453         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12468         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12469         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12470         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12471         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12472         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12473         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12474         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12475         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12476         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12477         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12478         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12479         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12494
12495 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
12496
12497         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12498         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
12499         * string/memmove.c (memmove): Renamed to ...
12500         (MEMMOVE): ...this.  Default to memmove.
12501         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12502         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12503         (END_CHK): Define.
12504         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12505         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12506         mempcpy-ssse3-back memmove-ssse3-back.
12507         * sysdeps/x86_64/multiarch/bcopy.S: New file .
12508         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12509         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12510         * sysdeps/x86_64/multiarch/memcpy.S: New file.
12511         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12512         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12513         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12514         * sysdeps/x86_64/multiarch/memmove.c: New file.
12515         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12516         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12517         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12518         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12519         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12520         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12521         Define.
12522         (index_Fast_Copy_Backward): Define.
12523         (HAS_ARCH_FEATURE): Define.
12524         (HAS_FAST_REP_STRING): Define.
12525         (HAS_FAST_COPY_BACKWARD): Define.
12526
12527 2010-06-21  Andreas Schwab  <schwab@redhat.com>
12528
12529         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12530         Restore proper fallback handling.
12531
12532 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
12533
12534         [BZ #11701]
12535         * posix/group_member.c (__group_member): Correct checking loop.
12536
12537         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12538         OOM in getpwuid_r correctly.  Return error number when the caller
12539         should return, otherwise -1.
12540         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12541         call returning > 0 value.
12542         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12543
12544 2010-06-07  Andreas Schwab  <schwab@redhat.com>
12545
12546         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12547         libc_nonshared.a from targets in modules-names.
12548
12549 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
12550
12551         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12552         requires it.
12553
12554 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
12555
12556         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12557         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12558         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12559         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12560
12561 2010-06-02  Andreas Schwab  <schwab@redhat.com>
12562
12563         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12564
12565 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
12566
12567         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12568         and F_GETPIPE_SZ.
12569         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12570         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12571         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12572         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12573         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12574         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12575
12576 2010-06-14  Roland McGrath  <roland@redhat.com>
12577
12578         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12579
12580 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
12581
12582         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12583         __REDIRECT followed by __THROW.
12584         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12585         * posix/getopt.h (getopt): Likewise.
12586
12587 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
12588
12589         * hurd/lookup-at.c (__file_name_lookup_at): Accept
12590         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
12591         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12592         in AT_FLAGS.
12593         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12594         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12595
12596 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
12597
12598         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12599
12600 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
12601
12602         [BZ #11640]
12603         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12604         Properly check family and model.
12605
12606 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
12607
12608         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12609
12610 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
12611
12612         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12613
12614 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
12615
12616         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12617         symbol reference.
12618
12619 2010-05-19  Andreas Schwab  <schwab@redhat.com>
12620
12621         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12622         symbol reference.
12623
12624 2010-05-21  Andreas Schwab  <schwab@redhat.com>
12625
12626         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12627         and internal_recvmmsg.
12628         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12629         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12630         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12631         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12632
12633         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12634         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12635         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12636
12637 2010-05-20  Andreas Schwab  <schwab@redhat.com>
12638
12639         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12640
12641 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
12642
12643         POWER7 optimizations.
12644         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12645         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12646
12647 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
12648
12649         * version.h: Update for 2.13 development version.
12650
12651 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
12652
12653         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12654         exceptions.  Return 0.
12655
12656 2010-05-07  Roland McGrath  <roland@redhat.com>
12657
12658         * elf/ldconfig.c (main): Add a const.
12659
12660 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
12661
12662         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12663         (args_options): Add no-idn option.
12664         (ahosts_keys_int): Add idn_flags to ai_flags.
12665         (parse_option): Handle 'i' option to clear idn_flags.
12666
12667         * malloc/malloc.c (_int_free): Possible race in the most recently
12668         added check.  Only act on the data if no current modification
12669         happened.
12670
12671 See ChangeLog.17 for earlier changes.