Update sysdeps/i386/fpu/libm-test-ulps
[platform/upstream/glibc.git] / ChangeLog
1 2012-05-03  Andreas Jaeger  <aj@suse.de>
2
3         * sysdeps/i386/fpu/libm-test-ulps: Update.
4
5         * FAQ: Removed.
6         * FAQ.in: Likewise.
7         * scripts/gen-FAQ.pl: Likewise.
8         * manual/install.texi (Installation): Point to online location of
9         FAQ.
10         * Makefile (files-for-dist): Remove FAQ.
11         (FAQ): Remove.
12
13 2012-05-02  Allan McRae  <allan@archlinux.org>
14
15         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
16         (LDFLAGS-reldepmod5.so): Likewise.
17         (LDFLAGS-reldep6mod1.so): Likewise.
18         (LDFLAGS-reldep6mod4.so): Likewise.
19         (LDFLAGS-reldep8mod3.so): Likewise.
20         (LDFLAGS-unload4mod1.so): Likewise.
21         (LDFLAGS-unload4mod2.so): Likewise.
22         (LDFLAGS-tst-initorder): Likewise.
23         (LDFLAGS-tst-initordera2.so): Likewise.
24         (LDFLAGS-tst-initordera3.so): Likewise.
25         (LDFLAGS-tst-initordera4.so): Likewise.
26         (LDFLAGS-tst-initorderb2.so): Likewise.
27         (LDFLAGS-noload): Likewise.
28         (LDFLAGS-next): Likewise.
29         (LDFLAGS-order2mod1.so): Likewise.
30         (LDFLAGS-order2mod2.so): Likewise.
31         (LDFLAGS-tst-initorder2): Likewise.
32         (LDFLAGS-tst-initorder2a.so): Likewise.
33         (LDFLAGS-tst-initorder2b.so): Likewise.
34         (LDFLAGS-tst-initorder2c.so): Likewise.
35         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36
37 2012-05-02  David S. Miller  <davem@davemloft.net>
38
39         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40
41 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
42
43         [BZ #14055]
44         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45
46 2012-05-02  Andreas Jaeger  <aj@suse.de>
47
48         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49         since we manipulate rounding mode.
50         (CPPFLAGS-test-idouble.c): Likewise.
51         (CPPFLAGS-test-ifloat.c): Likewise.
52         (CFLAGS-test-ldouble.c): Likewise.
53         (CFLAGS-test-double.c): Likewise.
54         (CFLAGS-test-float.c): Likewise.
55         (CFLAGS-test-misc.c): Likewise.
56         (CFLAGS-test-test-fenv.c): Likewise.
57
58 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59
60         [BZ #2550]
61         [BZ #2570]
62         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
63         comparisons to determine direction to adjust input.
64
65 2012-05-01  Roland McGrath  <roland@hack.frob.com>
66
67         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
68         output to the target.
69
70         * scripts/localplt.awk: New file.
71         * elf/Makefile ($(objpfx)check-localplt): Target removed.
72         (check-localplt-CFLAGS): Variable removed.
73         ($(all-built-dso:=.jmprel)): New static pattern rule.
74         (generated): Add those targets.
75         (localplt-built-dso): New variable.
76         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
77
78         * elf/check-localplt.c: File removed.
79
80         * scripts/check-execstack.awk: New file.
81         * elf/Makefile ($(objpfx)check-execstack): Target removed.
82         (check-execstack-CFLAGS): Variable removed.
83         ($(objpfx)check-execstack.h): Target removed.
84         ($(objpfx)execstack-default): New target.
85         (generated): Add that instead of check-execstack.h.
86         ($(all-built-dso:=.phdr)): New static pattern rule.
87         (generated): Add those targets.
88         * elf/check-execstack.c: File removed.
89
90         * scripts/check-textrel.awk: New file.
91         * elf/Makefile ($(objpfx)check-textrel): Target removed.
92         (check-textrel-CFLAGS): Variable removed.
93         (all-built-dso): Use := to define.o
94         ($(all-built-dso:=.dyn)): New static pattern rule.
95         (generated): Add those targets.
96         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
97         * config.make.in (READELF): New substituted variable.
98         * elf/check-textrel.c: File removed.
99
100 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
101
102         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
103         allow.
104         * conform/data/ctype.h-data [C99-based standards] (isblank):
105         Expect function.
106         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
107         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
108         [ISO || ISO99 || ISO11] (*_t): Do not allow.
109         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
110         Specify type.  Require positive value.
111         (EILSEQ): Likewise.
112         (ERANGE): Likewise.
113         [ISO || POSIX] (EILSEQ): Do not expect.
114         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
115         Specify type.  Require positive value.
116         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
117         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
118         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
119         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
120         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
121         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
122         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
123         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
124         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
125         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
126         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
127         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
128         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
129         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
130         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
131         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
132         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
133         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
134         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
135         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
136         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
137         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
138         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
139         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
140         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
141         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
142         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
143         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
144         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
145         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
146         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
147         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
148         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
149         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
150         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
151         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
152         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
153         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
154         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
155         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
156         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
157         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
158         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
159         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
160         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
161         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
162         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
163         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
164         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
165         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
166         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
167         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
168         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
169         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
170         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
171         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
172         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
173         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
174         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
175         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
176         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
177         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
178         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
179         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
180         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
181         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
182         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
183         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
184         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
185         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
186         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
187         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
188         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
189         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
190         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
191         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
192         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
193         Require >= 2.
194         (FLT_ROUNDS): Expect as macro, not constant.
195         (FLT_MANT_DIG): Use macro-int-constant.
196         (DBL_MANT_DIG): Likewise.
197         (LDBL_MANT_DIG): Likewise.
198         (FLT_DIG): Likewise.
199         (DBL_DIG): Likewise.
200         (LDBL_DIG): Likewise.
201         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
202         (DBL_MIN_EXP): Likewise.
203         (LDBL_MIN_EXP): Likewise.
204         (FLT_MAX_EXP): Use macro-int-constant.
205         (DBL_MAX_EXP): Likewise.
206         (LDBL_MAX_EXP): Likewise.
207         (FLT_MAX_10_EXP): Likewise.
208         (DBL_MAX_10_EXP): Likewise.
209         (LDBL_MAX_10_EXP): Likewise.
210         (FLT_MAX): Use macro-constant.
211         (DBL_MAX): Likewise.
212         (LDBL_MAX): Likewise.
213         (FLT_EPSILON): Use macro-constant.  Give upper bound.
214         (DBL_EPSILON): Likewise.
215         (LDBL_EPSILON): Likewise.
216         (FLT_MIN): Likewise.
217         (DBL_MIN): Likewise.
218         (LDBL_MIN): Likewise.
219         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
220         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
221         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
222         [ISO11] (FLT_HAS_SUBNORM): Likewise.
223         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
224         [ISO11] (DBL_DECIMAL_DIG): Likewise.
225         [ISO11] (FLT_DECIMAL_DIG): Likewise.
226         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
227         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
228         [ISO11] (FLT_TRUE_MIN): Likewise.
229         [ISO11] (LDBL_TRUE_MIN): Likewise.
230         [ISO || ISO99 || ISO11] (*_t): Do not allow.
231         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
232         (SCHAR_MIN): Use macro-int-constant.  Specify type.
233         (SCHAR_MAX): Likewise.
234         (UCHAR_MAX): Likewise.
235         (CHAR_MIN): Likewise.
236         (CHAR_MAX): Likewise.
237         (MB_LEN_MAX): Use macro-int-constant.
238         (SHRT_MIN): Use macro-int-constant.  Specify type.
239         (SHRT_MAX): Likewise.
240         (USHRT_MAX): Likewise.
241         (INT_MAX): Likewise.
242         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
243         bound negative.
244         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
245         bound with "U".
246         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
247         bound with "L".
248         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
249         bound negative.  Suffix upper bound with "L".
250         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
251         bound with "UL".
252         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
253         Specify type.
254         [C99-based standards] (LLONG_MAX): Likewise.
255         [C99-based standards] (ULLONG_MAX): Likewise.
256         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
257         == 0.
258         [ISO11] (max_align_t): Require type.
259         [ISO || ISO99 || ISO11] (*_t): Do not allow.
260
261         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
262         from $CFLAGS, without defining away __attribute__ calls.
263         (checknamespace): Use $CFLAGS_namespace.
264
265         * conform/conformtest.pl (@keywords): Only include C99 keywords
266         for standards based on C99 or C11.
267
268         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
269         Disable tests.
270         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
271         UNIX98]: Likewise.
272
273         * conform/conformtest.pl: Handle "macro-int-constant" and test for
274         usability of symbols in #if.
275
276         * conform/conformtest.pl: If macro or constant types start
277         "promoted:", expect the symbol to be of the following type
278         promoted by the integer promotions.
279
280         * conform/conformtest.pl: Parse all "constant" and "macro" lines
281         in one place.  Also handle "macro-constant".
282
283         * conform/conformtest.pl: Only accept expected macro values with
284         "==".  Parse all "macro" lines in one place.
285         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
286
287         * conform/conformtest.pl: Handle braced types on "constant" lines
288         instead of handling "typed-constant".
289         * conform/data/signal.h-data: Use "constant" instead of
290         "typed-constant".
291
292         * conform/conformtest.pl: Handle "optional-" at start of lines in
293         one place rather than duplicating several cases.  Handle each
294         format of "macro" line with initial "optional-".
295
296         * conform/conformtest.pl: Only accept expected constant or
297         optional-constant values with "==".  Parse all "constant" lines in
298         one place.  Parse all "optional-constant" lines in one place.
299         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
300         * conform/data/fmtmsg.h-data: Likewise.
301         * conform/data/netinet/in.h-data: Likewise.
302         * conform/data/tar.h-data: Likewise.
303         * conform/data/limits.h-data: Use "==" form on "constant" and
304         "optional-constant" lines.
305
306         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
307         Use -std=c99 for XOPEN2K.
308         (@knownproblems): Remove.
309         (newtoken): Don't check %isknown.
310
311         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
312         Do not expect macro.
313         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
314         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
315         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
316         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
317         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
318         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
319         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
320         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
321         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
322         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
323         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
324         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
325         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
326         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
327         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
328         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
329         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
330         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
331         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
332         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
333         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
334         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
335         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
336         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
337         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
338         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
339         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
340         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
341         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
342         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
343         [XPG3] (acosh): Likewise.
344         [XPG3] (asinh): Likewise.
345         [XPG3] (atanh): Likewise.
346         [XPG3] (cbrt): Likewise.
347         [XPG3] (expm1): Likewise.
348         [XPG3] (ilogb): Likewise.
349         [XPG3] (log1p): Likewise.
350         [XPG3] (logb): Likewise.
351         [XPG3] (nextafter): Likewise.
352         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
353         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
354         [XPG3] (remainder): Likewise.
355         [XPG3] (rint): Likewise.
356         [XPG3 || XPG4 || UNIX98] (round): Likewise.
357         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
358         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
359         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
360         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
361         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
362         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
363         [UNIX98 || XOPEN2K] (scalb): Expect.
364         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
365         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
366         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
367         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
368         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
369         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
370         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
371         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
372         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
373         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
374         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
375         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
376         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
377         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
378         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
379         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
380         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
381         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
382         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
383         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
384         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
385         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
386         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
387         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
388         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
389         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
390         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
391         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
392         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
393         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
394         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
395         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
396         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
397         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
398         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
399         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
400         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
401         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
402         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
403         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
404         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
405         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
406         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
407         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
408         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
409         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
410         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
411         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
412         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
413         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
414         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
415         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
416         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
417         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
418         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
419         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
420         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
421         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
422         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
423         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
424         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
425         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
426         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
427         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
428         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
429         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
430         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
431         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
432         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
433         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
434         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
435         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
436         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
437         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
438         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
439         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
440         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
441         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
442         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
443         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
444         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
445         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
446         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
447         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
448         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
449         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
450         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
451         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
452         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
453         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
454         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
455         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
456         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
457         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
458         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
459         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
460         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
461         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
462         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
463         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
464         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
465         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
466         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
467         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
468         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
469         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
470         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
471         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
472         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
473         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
474         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
475         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
476         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
477         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
478         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
479         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
480         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
481         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
482         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
483         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
484         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
485         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
486         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
487         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
488         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
489         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
490         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
491         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
492         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
493         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
494         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
495         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
496         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
497         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
498         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
499         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
500         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
501
502         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
503         _XOPEN_SOURCE_EXTENDED for XPG4.
504
505         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
506
507         * Makeconfig (localtime): Remove variable.
508         (inst_localtime-file): Likewise.
509
510 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
511
512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
513         Update.
514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
515         Update.
516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
517         Update.
518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
519         Update.
520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
521         Update.
522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
523         Update.
524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
525         Update.
526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
527         Update.
528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
529         Update.
530
531 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
532
533         [BZ #2550]
534         [BZ #2570]
535         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
536         comparisons to determine direction to adjust input.
537         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
538         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
539         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
540         Likewise.
541         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
542         Likewise.
543         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
544         Likewise.
545         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
546         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
547         Likewise.
548         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
549         Likewise.
550         * math/libm-test.inc (nexttoward_test): Add more tests.
551
552 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
553
554         [BZ #14040]
555         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
556         in version GLIBC_2.1, not GLIBC_2.0.
557         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
558         Likewise.
559
560 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
561
562         [BZ #13942]
563         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
564         (1 - x) * (1 + x).
565         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
566         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
567         * math/libm-test.inc (acos_test): Add more tests.
568         (asin_test): Likewise.
569         * sysdeps/i386/fpu/libm-test-ulps: Update.
570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
571
572         [BZ #14034]
573         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
574         of square root.
575         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
576         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
577         * math/libm-test.inc (acos_test_tonearest): New function.
578         (acos_test_towardzero): Likewise.
579         (acos_test_downward): Likewise.
580         (acos_test_upward): Likewise.
581         (asin_test_tonearest): Likewise.
582         (asin_test_towardzero): Likewise.
583         (asin_test_downward): Likewise.
584         (asin_test_upward): Likewise.
585         (main): Call the new functions.
586         * sysdeps/i386/fpu/libm-test-ulps: Update.
587         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
588
589         [BZ #13884]
590         [BZ #13924]
591         * math/e_exp10.c: Include <float.h>.
592         (__ieee754_exp10): Handle underflow here rather than multiplying
593         large negative argument by M_LN10.
594         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
595         of __ieee754_expf.
596         * math/e_exp10l.c: Include <float.h>.
597         (__ieee754_exp10l): Handle underflow here rather than multiplying
598         large negative argument by M_LN10l.
599         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
600         spurious overflow exception on underflow.
601
602 2012-04-29  Marek Polacek  <polacek@redhat.com>
603
604         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
605         (__fortify_function): New macro.
606         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
607         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
608         __extern_always_inline.
609         * libio/bits/stdio2.h: Likewise.
610         * libio/bits/stdio.h: Likewise.
611         * string/string.h: Likewise.
612         * string/bits/string3.h: Likewise.
613         * include/stdio.h: Likewise.
614         * stdlib/bits/stdlib.h: Likewise.
615         * stdlib/stdlib.h: Likewise.
616         * rt/bits/mqueue2.h: Likewise.
617         * rt/mqueue.h: Likewise.
618         * posix/bits/unistd.h: Likewise.
619         * posix/unistd.h: Likewise.
620         * io/bits/poll2.h: Likewise.
621         * io/bits/fcntl2.h: Likewise.
622         * io/fcntl.h: Likewise.
623         * io/sys/poll.h: Likewise.
624         * misc/bits/syslog.h: Likewise.
625         * misc/bits/syslog-ldbl.h: Likewise.
626         * misc/sys/syslog.h: Likewise.
627         * socket/bits/socket2.h: Likewise.
628         * socket/sys/socket.h: Likewise.
629         * debug/tst-chk1.c: Likewise.
630         * wcsmbs/bits/wchar2.h: Likewise.
631         * wcsmbs/bits/wchar-ldbl.h: Likewise.
632         * wcsmbs/wchar.h: Likewise.
633
634 2012-04-29  Andreas Jaeger  <aj@suse.de>
635
636         * Makerules (tests): Remove enable-check-abi protection.
637         (check-abi-warn): Remove.
638         (check-abi-%): Remove check-abi-warn usage.
639
640         * configure.in: Remove check-abi configure option.
641         * configure: Regenerated.
642         * config.make.in (enable-check-abi): Remove.
643
644 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
645
646         [BZ #14033]
647         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
648         double functions to double *_finite functions.
649
650         [BZ #13941]
651         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
652         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
653         LDBL_MIN_EXP.
654         * stdio-common/Makefile (tests): Add tst-sprintf3.
655         * stdio-common/tst-sprintf3.c: New file.
656
657         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
658         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
659
660 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
661
662         * conform/conformtest.pl: Remove duplicate typed-constant
663         handling.
664
665 2012-04-28  David S. Miller  <davem@davemloft.net>
666
667         * Makerules (%.abilist): Add vpath on sysdep_dirs.
668         (check-abi-%): Remove AWK script prerequisite and explicit
669         abilist directory.
670         (check-abi): Rewrite to just diff the symlist with the abilist.
671         (config-tls, config-abi-config): Delete, no longer used.
672         (update-abi-%): Remove AWK script and explicit abilist directory.
673         (update-abi): Rewrite to simply compare and conditionally copy the
674         symlist and the sysdep abilist file.  Remove update-abi-config
675         checks.
676         * abilist/ld.abilist: Remove.
677         * abilist/libBrokenLocale.abilist: Remove.
678         * abilist/libanl.abilist: Remove.
679         * abilist/libcrypt.abilist: Remove.
680         * abilist/libdl.abilist: Remove.
681         * abilist/librt.abilist: Remove.
682         * abilist/libthread_db.abilist: Remove.
683         * abilist/libutil.abilist: Remove.
684         * scripts/extract-abilist.awk: Remove.
685         * scripts/merge-abilist.awk: Remove.
686         * sysdeps/generic/libcidn.abilist: New file.
687         * sysdeps/generic/libnss_compat.abilist: New file.
688         * sysdeps/generic/libnss_db.abilist: New file.
689         * sysdeps/generic/libnss_dns.abilist: New file.
690         * sysdeps/generic/libnss_files.abilist: New file.
691         * sysdeps/generic/libnss_hesiod.abilist: New file.
692         * sysdeps/generic/libnss_nis.abilist: New file.
693         * sysdeps/generic/libnss_nisplus.abilist: New file.
694         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
695         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
696         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
697         file.
698         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
699         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
700         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
701         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
702         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
703         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
704         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
705         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
706         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
707         file.
708         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
709         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
710         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
711         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
712         file.
713         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
714         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
715         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
716         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
717         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
718         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
719         file.
720         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
721         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
722         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
723         file.
724         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
725         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
726         New file.
727         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
728         New file.
729         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
730         New file.
731         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
732         New file.
733         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
734         New file.
735         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
736         New file.
737         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
738         New file.
739         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
740         New file.
741         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
742         New file.
743         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
744         New file.
745         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
746         New file.
747         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
748         New file.
749         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
750         New file.
751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
752         file.
753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
754         New file.
755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
756         New file.
757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
758         file.
759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
760         New file.
761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
762         New file.
763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
764         file.
765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
766         New file.
767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
768         New file.
769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
770         New file.
771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
772         New file.
773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
774         New file.
775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
776         New file.
777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
778         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
779         file.
780         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
781         New file.
782         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
783         file.
784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
785         file.
786         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
787         file.
788         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
789         file.
790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
791         file.
792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
793         New file.
794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
795         file.
796         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
797         file.
798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
799         New file.
800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
801         file.
802         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
803         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
804         file.
805         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
806         New file.
807         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
808         file.
809         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
810         file.
811         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
812         file.
813         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
814         file.
815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
816         file.
817         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
818         New file.
819         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
820         file.
821         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
822         file.
823         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
824         New file.
825         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
826         file.
827         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
828         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
829         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
830         file.
831         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
832         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
833         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
834         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
835         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
836         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
837         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
838         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
839         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
840         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
841         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
842         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
843         file.
844         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
845         New file.
846         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
847         file.
848         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
849         file.
850         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
851         file.
852         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
853         file.
854         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
855         file.
856         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
857         New file.
858         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
859         New file.
860         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
861         file.
862         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
863         New file.
864         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
865         file.
866         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
867         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
868         file.
869         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
870         New file.
871         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
872         file.
873         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
874         file.
875         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
876         file.
877         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
878         file.
879         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
880         file.
881         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
882         New file.
883         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
884         New file.
885         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
886         file.
887         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
888         New file.
889         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
890         file.
891
892 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
893
894         * conform/conformtest.pl: Fix typo in handling typed-constant from
895         allow-header.
896
897 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
898
899         * README: Cut down references to pre-2.6 Linux kernels and
900         Linuxthreads.  Update lists of configurations in libc and ports
901         and sort alphabetically.  Say "or newer" with Linux kernel version
902         requirements.
903
904         * config.h.in [IS_IN_build]: Allow compiling without optimization.
905
906 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
907
908         [BZ #887]
909         * math/libm-test.inc (logb_test_downward): New test to expose
910         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
911         rounding mode.
912
913 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
914
915         [BZ #14027]
916         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
917         to be done.
918         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
919         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
920
921 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
922
923         * sysdeps/unix/i386/brk.S: Remove file.
924         * sysdeps/unix/i386/dl-brk.S: Likewise.
925         * sysdeps/unix/i386/pipe.S: Likewise.
926         * sysdeps/unix/i386/sigreturn.S: Likewise.
927         * sysdeps/unix/i386/syscall.S: Likewise.
928         * sysdeps/unix/i386/vfork.S: Likewise.
929         * sysdeps/unix/i386/wait.S: Likewise.
930
931         * sysdeps/unix/common/tcsendbrk.c: Move to ...
932         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
933
934         * configure.in (arm*-none*): Do not allow without
935         --enable-hacker-mode.
936         (netbsd*): Remove case setting base_os.
937         (386bsd*): Likewise.
938         (freebsd*): Likewise.
939         (bsdi*): Likewise.
940         (osf*): Likewise.
941         (sunos*): Likewise.
942         (ultrix*): Likewise.
943         (newsos*): Likewise.
944         (dynix*): Likewise.
945         (*bsd*): Likewise.
946         (sysv*): Likewise.
947         (isc*): Likewise.
948         (esix*): Likewise.
949         (sco*): Likewise.
950         (minix*): Likewise.
951         (irix4*): Likewise.
952         (irix6*): Likewise.
953         (solaris[2-9]*): Likewise.
954         (none): Likewise.
955         * configure: Regenerated.
956
957 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
958
959         [BZ #11521]
960         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
961         overflow or cancellation in calculating denominator.
962         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
963         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
964         down expression to avoid unexpected rounding in newer GCCs.
965         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
966
967 2012-04-26  David S. Miller  <davem@davemloft.net>
968
969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
970         long-double compat symbols.
971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
976         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
982         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
983         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
984
985 2012-04-25  David S. Miller  <davem@davemloft.net>
986
987         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
988         HWCAP_* values only after the memory barriers have been defined.
989         (atomic_full_barrier): Define.
990         (atomic_read_barrier): Define.
991         (atomic_write_barrier): Define.
992
993 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
994
995         * shlib-versions: Add libgcc_s version information.
996         * sysdeps/generic/libgcc_s.h: Remove.
997         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
998         libgcc_s.h.
999         * sysdeps/gnu/unwind-resume.c: Likewise.
1000         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1001
1002 2012-04-25  David S. Miller  <davem@davemloft.net>
1003
1004         * sysdeps/unix/sparc/brk.S: Delete.
1005         * sysdeps/unix/sparc/dl-brk.S: Delete.
1006         * sysdeps/unix/sparc/pipe.S: Delete.
1007         * sysdeps/unix/sparc/sysdep.S: Delete.
1008         * sysdeps/unix/sparc/sysdep.h: Delete.
1009         * sysdeps/unix/sparc/vfork.S: Delete.
1010         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1011         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1012         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1013         ret_ERRVAL, r0, r1, MOVE): Define.
1014         (JUMPTARGET): Remove.
1015         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1016         sysdeps/unix/sparc/sysdep.h
1017         (ENTRY, END): Remove.
1018         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1019
1020 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
1021
1022         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1023         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1024         -DIS_IN_build.
1025
1026         * timezone/README: Update upstream location and email address for
1027         tzcode and tzdata.
1028         * timezone/zdump.c: Update from tzcode 2012b.
1029         * timezone/zic.c: Likewise.
1030
1031         * configure.in (libc_cv_as_needed): Remove test.
1032         * configure: Regenerated.
1033         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1034         conditional definition.
1035         [$(have-as-needed) != yes] (no-as-needed): Likewise.
1036         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1037         * config.make.in (have-as-needed): Remove variable.
1038
1039 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1040             Paul Pluzhnikov  <ppluzhnikov@google.com>
1041
1042         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1043         strings correctly.
1044
1045 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
1046
1047         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1048         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1049         * sysdeps/sh/strlen.S: Likewise.
1050
1051 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
1052
1053         * sysdeps/unix/fork.S: Remove file.
1054         * sysdeps/unix/i386/fork.S: Likewise.
1055         * sysdeps/unix/sparc/fork.S: Likewise.
1056
1057         * sysdeps/unix/system.c: Remove file.
1058         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1059
1060         * sysdeps/unix/getegid.S: Remove file.
1061         * sysdeps/unix/geteuid.S: Likewise.
1062
1063 2012-04-24  Roland McGrath  <roland@hack.frob.com>
1064
1065         * scripts/check-localplt.awk: New file.
1066         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1067         of diff.
1068         * scripts/data/localplt-generic.data: Add a comment.
1069
1070         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1071         NODE when __dir_mkfile failed.
1072         * sysdeps/mach/hurd/symlinkat.c: Likewise.
1073         Reported by Ludovic Courtès <ludo@gnu.org>.
1074
1075 2012-04-24  Andreas Jaeger  <aj@suse.de>
1076
1077         * Makerules (common-clean): Also remove gen-as-const-headers
1078         files.
1079
1080 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
1081
1082         * Makerules (native-compile): Do not change working directory for
1083         build.  Use $(OUTPUT_OPTION) in command.
1084         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1085
1086 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1087
1088         [BZ #13886]
1089         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1090         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1091         * math/libm-test.inc (floor_test): Add more tests.
1092         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1093
1094 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
1095
1096         * sysdeps/unix/getdents.c: Remove file.
1097         * sysdeps/unix/sysv/getdents.c: Likewise.
1098         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1099
1100         * sysdeps/unix/syscalls.list (madvise): Add syscall from
1101         sysdeps/unix/mman/syscalls.list.
1102         (mmap): Likewise.
1103         (mprotect): Likewise.
1104         (msync): Likewise.
1105         (munmap): Likewise.
1106         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1107         * sysdeps/unix/mman/syscalls.list: Remove.
1108         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1109
1110         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1111         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1112         * configure: Regenerated.
1113         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1114         $(libgcc_s_suffix).
1115         * config.make.in (libgcc_s_suffix): Remove variable.
1116
1117 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
1118
1119         * sysdeps/unix/sysv/gethostname.c: Move to ...
1120         * sysdeps/posix/gethostname.c: ... here.
1121
1122         * sysdeps/unix/execve.S: Remove file.
1123
1124         * sysdeps/unix/_exit.S: Remove file.
1125
1126 2012-04-23  Andreas Jaeger  <aj@suse.de>
1127
1128         [BZ #13739]
1129         * manual/Makefile: Remove make dist support, there's no
1130         need for a stand-alone documentation tar ball.
1131         (TEXI2DVI): Define always, it's not in Makeconfig.
1132         (dist): Removed.
1133         (tar-it): Removed.
1134         (edition): Removed.
1135         (glibc-doc-$(edition).tar): Removed
1136         (%.Z): Removed.
1137         (%.gz): Removed.
1138         (%.uu): Removed.
1139         (ETAGS): Remove, it's in Makeconfig.
1140         (move-if-change): Remove, it's in Makeconfig.
1141
1142 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
1143
1144         [BZ #13970]
1145         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1146         (strtod, strtof, strtold, strtol, strtoul, strtoq)
1147         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1148         (strtod_l, strtof_l, strtold_l): Remove __wur.
1149         It is not necessarily an error to ignore strtol's return value.
1150         One can reliably look at the stored endptr to decide whether
1151         the number had valid syntax.
1152
1153 2012-04-21  Andreas Jaeger  <aj@suse.de>
1154
1155         [BZ #13739]
1156         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1157
1158 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
1159
1160         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1161         * sysdeps/unix/sysv/Versions: Remove file.
1162
1163 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
1164
1165         [BZ #13927]
1166         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1167
1168 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
1169
1170         [BZ #7064]
1171         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1172         version from __vm86.
1173
1174 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
1175
1176         * sysdeps/unix/common/lxstat.c: Remove file.
1177         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1178
1179         * sysdeps/unix/sysv/Makefile: Remove file.
1180
1181         * sysdeps/unix/sysv/direct.h: Remove file.
1182
1183         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1184         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1185         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1186         * sysdeps/unix/sysv/bits/signum.h: Likewise.
1187         * sysdeps/unix/sysv/bits/stat.h: Likewise.
1188         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1189         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1190
1191         * sysdeps/unix/sysv/setrlimit.c: Remove file.
1192
1193         * sysdeps/unix/xmknod.c: Remove file.
1194         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1195
1196         * sysdeps/unix/sysv/settimeofday.c: Remove file.
1197
1198         * sysdeps/unix/sysv/i386/time.S: Remove file.
1199
1200         * sysdeps/unix/fxstat.c: Remove file.
1201         * sysdeps/unix/xstat.c: Likewise.
1202         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1203
1204         * sysdeps/unix/sysv/sigaction.c: Remove file.
1205
1206         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1207         (sysdep_headers): Remove variable.
1208         [termio.h not in sysdep_headers] (generated): Likewise.
1209         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1210         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1211         * sysdeps/unix/sysv/tcdrain.c: Likewise.
1212         * sysdeps/unix/sysv/tcflow.c: Likewise.
1213         * sysdeps/unix/sysv/tcflush.c: Likewise.
1214         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1215         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1216         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1217         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1218         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1219
1220         * sysdeps/unix/siglist.c: Remove file.
1221
1222         * sysdeps/unix/getppid.S: Remove file.
1223
1224         * sysdeps/unix/mkdir.c: Remove file.
1225         * sysdeps/unix/rmdir.c: Likewise.
1226
1227 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
1228
1229         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1230         ERR_MAX value.
1231         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1232         errlist-compat value.
1233
1234 2012-04-18  David S. Miller  <davem@davemloft.net>
1235
1236         * sysdeps/generic/memcopy.h (reg_char): Delete.
1237         * debug/strcat_chk.c: Use char, not reg_char.
1238         * debug/strcpy_chk.c: Likewise.
1239         * debug/strncat_chk.c: Likewise.
1240         * debug/strncpy_chk.c: Likewise.
1241         * string/memchr.c: Likewise.
1242         * string/memrchr.c: Likewise.
1243         * string/rawmemchr.c: Likewise.
1244         * string/strcat.c: Likewise.
1245         * string/strchr.c: Likewise.
1246         * string/strchrnul.c: Likewise.
1247         * string/strcmp.c: Likewise.
1248         * string/strcpy.c: Likewise.
1249         * string/strncat.c: Likewise.
1250         * string/strncmp.c: Likewise.
1251         * string/strncpy.c: Likewise.
1252
1253 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
1254
1255         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1256         __builtin_memcopy is called when src and dest ranges are known to not
1257         overlap.
1258
1259 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
1260
1261         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1262         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1263         fwd_align_merge macro call.
1264         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1265         bwd_align_merge macro call.
1266         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1267
1268 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
1269
1270         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1271         bwd_align_merge macros.
1272         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1273         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1274         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1275
1276 2012-04-18  David S. Miller  <davem@davemloft.net>
1277
1278         * sysdeps/sparc/sparc64/memcopy.h: Delete.
1279
1280 2012-04-18  Andreas Jaeger  <aj@suse.de>
1281
1282         [BZ# 6794]
1283         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1284         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1285         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1286
1287         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1288         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1289         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1290
1291         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1292         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1293         Adjust for changed ldbl-128 files.
1294
1295         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1296         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1297         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1298
1299 2012-04-17  David S. Miller  <davem@davemloft.net>
1300
1301         * sysdeps/sparc/sparc32/memcopy.h: Delete.
1302
1303 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
1304
1305         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1306         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1307         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1308         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1309         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1310         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1311
1312 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1313
1314         [BZ #6794]
1315         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1316         * math/libm-test.inc: Add ilogb errno and exception tests.
1317         * math/w_ilogb.c: New file: ilogb wrapper.
1318         * math/w_ilogbf.c: New file: ilogbf wrapper.
1319         * math/w_ilogbl.c: New file: ilogbl wrapper.
1320         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1321         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1322         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1323         exception being thrown with 0.0 as argument.
1324         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1325         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1326         exception being thrown with 0.0 as argument.
1327         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1328         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1329         exception being thrown with 0.0 as argument.
1330         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1331         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1332         exception being thrown with 0.0 as argument.
1333         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1334         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
1335         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
1336         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1337         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1338         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1339         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1340         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1341         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1342
1343 2012-04-17  Petr Baudis  <pasky@ucw.cz>
1344
1345         * include/sys/uio.h: Change __vector to __iovec to avoid clash
1346         with altivec.
1347
1348 2012-04-16  Marek Polacek  <polacek@redhat.com>
1349
1350         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1351
1352 2012-04-16  Marek Polacek  <polacek@redhat.com>
1353
1354         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1355         operands of fdivp instruction.
1356
1357 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
1358
1359         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1360         * elf/tst-auditmod3b.c: Likewise.
1361         * elf/tst-auditmod4b.c: Likewise.
1362         * elf/tst-auditmod5b.c: Likewise.
1363         * elf/tst-auditmod6b.c: Likewise.
1364         * elf/tst-auditmod6c.c: Likewise.
1365         * elf/tst-auditmod7b.c: Likewise.
1366         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1367         * sysdeps/x86_64/preconfigure.in: Likewise.
1368         * sysdeps/x86_64/preconfigure: Regenerated.
1369
1370 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
1371
1372         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1373         __ILP32__.
1374
1375 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
1376
1377         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1378         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1379
1380 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
1381
1382         [BZ #13973]
1383         * locale/iso-639.def: Fix gl language name. Spotted by
1384         Yaron Shahrabani.
1385
1386 2012-04-12  Roland McGrath  <roland@hack.frob.com>
1387
1388         [BZ #2074]
1389         * libio/libio.h (__io_write_fn): Update comment.
1390
1391 2012-04-12  Petr Baudis  <pasky@ucw.cz>
1392
1393         [BZ #2074]
1394         * stdio.texi (Hook Functions): The user provided writer function
1395         is not allowed to return -1.
1396
1397 2012-04-11  David S. Miller  <davem@davemloft.net>
1398
1399         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1400
1401 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
1402
1403         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1404         Add a leading slash to rtkaio.
1405
1406 2012-04-11  Jim Meyering  <meyering@redhat.com>
1407
1408         [BZ #11959]
1409         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1410         It is not necessarily an error to ignore fwrite's return
1411         value.  One can reliably use ferror to test for errors after
1412         the fact.
1413
1414 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
1415
1416         * bits/types.h (__snseconds_t): New type.
1417         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1418
1419         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1420         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1421         (__SNSECONDS_T_TYPE): Likewise.
1422         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1423         (__SNSECONDS_T_TYPE): Likewise.
1424         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1425         (__SNSECONDS_T_TYPE): Likewise.
1426
1427 2012-04-10  Andreas Jaeger  <aj@suse.de>
1428
1429         [BZ #2636]
1430         * manual/time.texi (Processor Time): Return type of times is
1431         elapsed real time since an arbitrary point in the past.
1432         (CPU Time): Move CLK_TCK from here...
1433         (Processor Time): ...to here.  Correct description.
1434         * manual/conf.texi (Constants for Sysconf): Correct description of
1435         _SC_CLK_TCK.
1436
1437 2012-04-10  David S. Miller  <davem@davemloft.net>
1438
1439         [BZ #13967]
1440         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1441         where the is a gap between DT_REL(A) and DT_JMPREL.
1442
1443 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
1444
1445         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1446         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1447         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1448
1449 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1450
1451         * elf/dl-support.c (_dl_inhibit_cache): New variable.
1452         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1453         (dl_main): Handle --inhibit-cache.
1454         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1455         _dl_inhibit_cache.
1456         * elf/dl-load.c (_dl_map_object): Use it.
1457         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1458
1459 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
1460
1461         [BZ #13872]
1462         * sysdeps/i386/fpu/e_powl.S (p78): New object.
1463         (__ieee754_powl): Saturate large exponents rather than testing for
1464         overflow of y*log2(x).
1465         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1466         * math/libm-test.inc (pow_test): Do not permit spurious overflow
1467         exceptions.
1468
1469         [BZ #11521]
1470         * math/s_ctan.c: Include <float.h>.
1471         (__ctan): Avoid internal overflow or cancellation in calculating
1472         denominator.
1473         * math/s_ctanf.c: Likewise.
1474         * math/s_ctanl.c: Likewise.
1475         * math/s_ctanh.c: Likewise.
1476         * math/s_ctanhf.c: Likewise.
1477         * math/s_ctanhl.c: Likewise.
1478         * math/libm-test.inc (ctan_test): Add more tests.
1479         (ctanh_test): Likewise.
1480         * sysdeps/i386/fpu/libm-test-ulps: Update.
1481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1482
1483 2012-04-09  Andreas Jaeger  <aj@suse.de>
1484
1485         [BZ #6894]
1486         * manual/filesys.texi (Directory Entries): Mention that d_namlen
1487         is an optional BSD extension.
1488
1489         [BZ #10254]
1490         * manual/stdio.texi (Opening Streams): Document additional fopen
1491         parameters.
1492
1493 2012-04-09  Roland McGrath  <roland@hack.frob.com>
1494
1495         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1496         %eax without telling the compiler.
1497
1498 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
1499
1500         [BZ # 13963]
1501         * manual/install.texi: Use sourceware.org.
1502
1503 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
1504
1505         [BZ #13873]
1506         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1507         (__ieee754_pow): Generate overflow and underflow using huge*huge
1508         and tiny*tiny rather than just returning constant infinity or zero
1509         for large exponents.
1510         * math/libm-test.inc (pow_test): Require overflow exceptions for
1511         applicable cases of large exponents.
1512
1513         [BZ #706]
1514         * sysdeps/i386/fpu/e_pow.S (p10): New object.
1515         (__ieee754_pow): Use iterative multiplication algorithm only for
1516         integer exponents with absolute value below 1024.  Check for odd
1517         integer exponents when using algorithm for real exponents.
1518         * math/libm-test.inc (pow_test): Add more tests.
1519         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1520
1521 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
1522
1523         [BZ #13705]
1524         * math/libm-test.inc (exp_test): Do not allow overflow exception
1525         on underflow test.
1526
1527 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
1528
1529         [BZ #13705]
1530         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1531         instead of __kernel_standard_f.
1532
1533 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
1534
1535         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1536         * sysdeps/x86_64/memset_chk.S: Likewise.
1537
1538 2012-04-08  Andreas Jaeger  <aj@suse.de>
1539
1540         [BZ #10153]
1541         * manual/startup.texi (Environment Access): Describe return value
1542         for putenv and setenv.
1543
1544         [BZ #6895]
1545         * manual/filesys.texi (Directory Entries): Add description for
1546         DT_LNK.
1547
1548         [BZ #6890]
1549         * manual/filesys.texi (Directory Entries): Clarify that it's file
1550         system not operating system in the description of DT_UNKNOWN.
1551
1552         [BZ #6578]
1553         * manual/syslog.texi (closelog): Fix reference, it's openlog.
1554
1555 2012-04-08  Stephen Compall  <s11@member.fsf.org>
1556
1557         [BZ #6649]
1558         * manual/llio.texi (Opening and Closing Files): Add cross
1559         reference to explain mode argument.
1560
1561 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
1562
1563         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1564         * sysdeps/x86_64/memset_chk.S: Likewise.
1565
1566 2012-04-07  David S. Miller  <davem@davemloft.net>
1567
1568         * elf/elf.h (R_SPARC_WDISP10): Define.
1569         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1570         R_SPARC_SIZE32.
1571         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1572         R_SPARC_SIZE64 and R_SPARC_H34.
1573
1574 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
1575
1576         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1577         conditions and remove no longer applicable assertion.
1578
1579 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
1580
1581         * bits/byteswap.h: Include <features.h>.
1582         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1583         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1584
1585 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
1586
1587         * bits/byteswap.h (__bswap_16): Removed.
1588         Include <bits/byteswap-16.h> to get __bswap_16.
1589         * sysdeps/i386/bits/byteswap.h: Likewise.
1590         * sysdeps/s390/bits/byteswap.h: Likewise.
1591         * sysdeps/x86_64/bits/byteswap.h: Likewise.
1592         * bits/byteswap-16.h: New file.
1593         * sysdeps/i386/bits/byteswap-16.h: Likewise.
1594         * sysdeps/s390/bits/byteswap-16.h: Likewise.
1595         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1596         * string/Makefile (headers): Add bits/byteswap-16.h.
1597
1598 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1599
1600         [BZ #13895]
1601         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1602         extra indirection.
1603         * nss/Makefile (tests-static, tests): Add tst-nss-static.
1604         * nss/tst-nss-static.c: New.
1605
1606 2012-04-06  Robert Millan  <rmh@gnu.org>
1607
1608         [BZ #6486]
1609         * manual/llio.texi (File Position Primitive): lseek
1610         refers to WHENCE when it really means OFFSET.
1611
1612 2012-04-06  Andreas Jaeger  <aj@suse.de>
1613
1614         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1615         strncmp declarations.
1616
1617         * abilist/libc.abilist: Add __poll and __ppoll.
1618
1619 2012-04-05  David S. Miller  <davem@davemloft.net>
1620
1621         * scripts/check-local-headers.sh: Accept a host triplet in the
1622         path matched by the exclude regexp.
1623
1624         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1625         definition.
1626         * sysdeps/powerpc/powerpc32/dl-machine.h
1627         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1628         * sysdeps/s390/s390-32/dl-machine.h
1629         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1630         * sysdeps/sparc/sparc32/dl-machine.h
1631         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1632         * sysdeps/sparc/sparc64/dl-machine.h
1633         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1634
1635         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1636         lazy binding.
1637         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
1638         undefined symbol errors.
1639
1640         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
1641         DT_NEEDED entries.
1642
1643 2012-04-05  Michael Matz  <matz@suse.de>
1644
1645         [BZ #13592]
1646         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1647
1648 2012-04-05  Andreas Jaeger  <aj@suse.de>
1649
1650         [BZ #13908]
1651         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1652         comment.
1653
1654 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1655
1656         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1657         which ROUND is no valid rounding mode.
1658
1659 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1660
1661         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1662         read again.
1663         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1664
1665 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1666
1667         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1668         an exception using FPU order intentionally.
1669
1670 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1671
1672         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1673         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1674         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1675         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1676
1677 2012-04-05  Simon Josefsson  <simon@josefsson.org>
1678
1679         [BZ #12340]
1680         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1681         EINVAL when BUFLEN is too smal.
1682
1683 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
1684
1685         [BZ #13553]
1686         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1687         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1688
1689 2012-04-03  Andreas Jaeger  <aj@suse.de>
1690
1691         [BZ #13938]
1692         * manual/setjmp.texi (System V contexts): Fix sentence.
1693
1694         [BZ #13926]
1695         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1696         New macro for this case.
1697         [!__GNUC__] (__bswap_64): New inline function for this case.
1698         * sysdeps/x86_64/bits/byteswap.h: Likewise.
1699         * bits/byteswap.h: Likewise.
1700         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1701         ull, guard with __GLIBC_HAVE_LONG_LONG.
1702
1703         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1704         __GLIBC_HAVE_LONG_LONG.
1705
1706         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1707         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1708
1709 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1710
1711         [BZ #13691]
1712         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1713         inptr and inend, rather than using last_ch.
1714
1715 2012-04-02  David S. Miller  <davem@davemloft.net>
1716
1717         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1718         * stdio-common/printf-parse.h (read_int): Change return type to
1719         'int', return -1 on INT_MAX overflow.
1720         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1721         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
1722         overflows INT_MAX.  Check for overflow of in-format-string precision
1723         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
1724         SIZE_MAX not INT_MAX for integer overflow test.
1725         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1726         skip the construct in the format string but do not record anything.
1727         * stdio-common/bug22.c: Adjust to test both width/prevision
1728         INT_MAX overflow as well as total length INT_MAX overflow.  Check
1729         explicitly for proper errno values.
1730
1731 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
1732
1733         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1734         CHAR_MAX.
1735         * string/test-strcmp.c [! WIDE]: Likewise.
1736         * time/tst-mktime2.c: Likewise for INT_MAX.
1737         * string/test-string.h: #include <sys/param.h> for MIN.
1738
1739         * csu/init-first.c (__libc_init_first): Call __ctype_init.
1740         * sysdeps/i386/init-first.c (init): Likewise.
1741         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1742         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1743         * sysdeps/sh/init-first.c (init): Likewise.
1744
1745 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
1746
1747         * po/ru.po: Update from translation team.
1748         * po/vi.po: Likewise.
1749
1750 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1751
1752         * resolv/nss_dns/dns-host.c: Merge copyright years.
1753
1754 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1755
1756         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1757         Optimize memcpy with prefetch if
1758         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
1759         src, dst pointers have unequal 16 byte alignments.
1760
1761 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1762
1763         [BZ #13928]
1764         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1765         from a CNAME entry and return the minimum ttl for the query.
1766         (gaih_getanswer_slice): Likewise.
1767
1768 2012-03-30  Jeff Law  <law@redhat.com>
1769
1770         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1771         due to long keys.
1772         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1773         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1774
1775         * resolv/nss_dns/dns-host.c: Update copyright year.
1776
1777 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
1778
1779         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
1780         requests to save a system call.  Fix check that all bytes are sent.
1781
1782         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1783         comments for sendmmsg.
1784
1785 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1786
1787         [BZ #13691]
1788         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1789         with only 1 character between 0x0041 and 0x01b0.
1790         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1791         * wcsmbs/tst-mbsnrtowcs.c: New file.
1792
1793 2012-03-29  David S. Miller  <davem@davemloft.net>
1794
1795         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1796         small copies by hand.
1797
1798 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1799
1800         [BZ #13761]
1801         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1802         _nss_compat_initgroups_dyn): Fall back to malloc/free
1803         for large group memberships.
1804
1805 2012-03-28  David S. Miller  <davem@davemloft.net>
1806
1807         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1808         that branches into memcpy.
1809         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1810         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1811         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1812         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1813         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1814         bits.
1815         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1816         implementation too.
1817         * sysdeps/sparc/mempcpy.S: New file.
1818
1819         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1820         the IFUNC routine in the libc case.
1821         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1822
1823         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1824         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1825         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1826         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1827         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1828         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1829         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1830         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1831
1832         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1833         loop to 256 bytes instead of 64 bytes and fix test signedness.
1834
1835         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1836         * sysdeps/sparc/sparc32/Makefile: rather than here...
1837         * sysdeps/sparc/sparc64/Makefile: and here.
1838
1839 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
1840
1841         * malloc/mallocbug.c: Avoid warnings about unused variables.
1842
1843 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1844
1845         [BZ #13760]
1846         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1847         in the right place. Discard and retry query if response is
1848         larger than input buffer size.
1849
1850 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
1851
1852         [BZ #369]
1853         [BZ #2678]
1854         [BZ #3866]
1855         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1856         x for large integer exponent.
1857         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1858         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
1859         sign of result as needed afterwards.
1860         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1861         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1862         result for underflowing pow the same as for overflow.
1863         (__kernel_standard_l): Handle powl overflow and underflow here
1864         rather than calling __kernel_standard.
1865         * math/libm-test.inc (pow_test): Add more tests.
1866
1867         [BZ #3868]
1868         [BZ #13879]
1869         [BZ #13910]
1870         [BZ #13911]
1871         [BZ #13912]
1872         [BZ #13913]
1873         [BZ #13915]
1874         [BZ #13916]
1875         [BZ #13917]
1876         [BZ #13918]
1877         [BZ #13919]
1878         [BZ #13920]
1879         [BZ #13921]
1880         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1881         * sysdeps/ieee754/k_standard.c: Include <float.h>.
1882         (__kernel_standard_l): New function.
1883         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1884         __kernel_standard.
1885         * math/w_acosl.c (__acosl): Likewise.
1886         * math/w_asinl.c (__asinl): Likewise.
1887         * math/w_atan2l.c (__atan2l): Likewise.
1888         * math/w_atanhl.c (__atanhl): Likewise.
1889         * math/w_coshl.c (__coshl): Likewise.
1890         * math/w_exp10l.c (__exp10l): Likewise.
1891         * math/w_exp2l.c (__exp2l): Likewise.
1892         * math/w_fmodl.c (__fmodl): Likewise.
1893         * math/w_hypotl.c (__hypotl): Likewise.
1894         * math/w_j0l.c (__j0l, __y0l): Likewise.
1895         * math/w_j1l.c (__j1l, __y1l): Likewise.
1896         * math/w_jnl.c (__jnl, __ynl): Likewise.
1897         * math/w_lgammal.c (__lgammal): Likewise.
1898         * math/w_log10l.c (__log10l): Likewise.
1899         * math/w_log2l.c (__log2l): Likewise.
1900         * math/w_logl.c (__logl): Likewise.
1901         * math/w_powl.c (__powl): Likewise.
1902         * math/w_remainderl.c (__remainderl): Likewise.
1903         * math/w_scalbl.c (sysv_scalbl): Likewise.
1904         * math/w_sinhl.c (__sinhl): Likewise.
1905         * math/w_sqrtl.c (__sqrtl): Likewise.
1906         * math/w_tgammal.c (__tgammal): Likewise.
1907         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1908         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1909         * math/libm-test.inc (acos_test): Add more tests.
1910         (acosh_test): Likewise.
1911         (asin_test): Likewise.
1912         (atanh_test): Likewise.
1913         (exp_test): Likewise.
1914         (exp10_test): Likewise.
1915         (exp2_test): Likewise.
1916         (expm1_test): Likewise.
1917         (lgamma_test): Likewise.
1918         (log_test): Likewise.
1919         (log10_test): Likewise.
1920         (log1p_test): Likewise.
1921         (log2_test): Likewise.
1922         (pow_test): Do not allow some spurious overflow exceptions.
1923         (sqrt_test): Add more tests.
1924         (tgamma_test): Likewise.
1925         (y0_test): Likewise.
1926         (y1_test): Likewise.
1927         (yn_test): Likewise.
1928
1929 2012-03-27  Anton Blanchard  <anton@samba.org>
1930
1931         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1932         MAP_HUGETLB.
1933         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1934         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1935         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1936
1937 2012-03-27  David S. Miller  <davem@davemloft.net>
1938
1939         * conform/Makefile: Run run-conformtest.sh using $(BASH).
1940
1941         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1942         have-as-vis3 check.
1943
1944 2012-03-27  Andreas Jaeger  <aj@suse.de>
1945
1946         * sysdeps/x86_64/elf/configure.in: Moved to ...
1947         * sysdeps/x86_64/configure.in: ... here.
1948         * sysdeps/x86_64/elf/start.S: Moved to ...
1949         * sysdeps/x86_64/start.S: ... here.
1950         * sysdeps/x86_64/elf/configure: Delete.
1951
1952         * sysdeps/x86_64/configure.in: Merge contents from
1953         sysdeps/i386/configure.in (without i686 check).
1954
1955         * sysdeps/i386/elf/Versions: Merge into ...
1956         * sysdeps/i386/Versions: ... this.
1957         * sysdeps/i386/elf/Versions: Delete file.
1958         * sysdeps/i386/elf/start.S: Moved to ...
1959         * sysdeps/i386/start.S: ...here.
1960         * sysdeps/i386/elf/configure.in: Merge into...
1961         * sysdeps/i386/configure.in: ...here.
1962         * sysdeps/i386/elf/configure.in: Delete file.
1963         * sysdeps/i386/elf/configure: Delete file.
1964
1965         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1966         * debug/backtracesyms.c: ... here.
1967         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1968         * debug/backtracesymsfd.c: ... here.
1969         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1970         * sysdeps/generic/ifunc-sel.h: ... here.
1971
1972         * sysdeps/unix/i386/start.c: Delete file.
1973         * sysdeps/unix/sparc/start.c: Delete file.
1974         * sysdeps/unix/start.c: Delete file.
1975
1976         * sysdeps/sh/elf/configure.in: Moved to ...
1977         * sysdeps/sh/configure.in: ... here.
1978         * sysdeps/sh/elf/start.S: Moved to ...
1979         * sysdeps/sh/start.S: ... here.
1980         * sysdeps/sh/elf/configure: Delete file.
1981
1982         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1983         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1984         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1985         * sysdeps/powerpc/powerpc64/entry.h: ... here.
1986         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1987         * sysdeps/powerpc/powerpc64/start.S: here.
1988         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1989         * sysdeps/powerpc/powerpc64/Makefile: ... this.
1990         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1991         * sysdeps/powerpc/powerpc64/configure.in: ... this.
1992         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1993
1994         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1995         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1996         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1997         * sysdeps/powerpc/powerpc32/start.S: ... here.
1998         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1999         * sysdeps/powerpc/powerpc32/configure.in: ... this.
2000         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2001
2002         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2003         * sysdeps/powerpc/ifunc-sel.h: ... here.
2004         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2005         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2006
2007         * sysdeps/sparc/elf/configure.in: Moved to ...
2008         * sysdeps/sparc/configure.in: ... here.
2009         * sysdeps/sparc/elf/configure: Delete file.
2010         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2011         * sysdeps/sparc/sparc32/start.S: ... here.
2012         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2013         * sysdeps/sparc/sparc64/start.S: ... here.
2014         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2015         * sysdeps/sparc/sparc32/Makefile: ... this.
2016         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2017         * sysdeps/sparc/sparc64/Makefile: ... this.
2018
2019         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2020         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2021         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2022         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2023         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2024         * sysdeps/s390/s390-32/setjmp.S: ... here.
2025         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2026         * sysdeps/s390/s390-32/configure.in: ... here.
2027         * sysdeps/s390/s390-32/elf/configure: Delete file.
2028         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2029         * sysdeps/s390/s390-32/start.S: ... here.
2030
2031         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2032         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2033         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2034         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2035         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2036         * sysdeps/s390/s390-64/setjmp.S: ... here.
2037         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2038         * sysdeps/s390/s390-64/configure.in: ... here
2039         * sysdeps/s390/s390-64/elf/configure: Delete file.
2040         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2041         * sysdeps/s390/s390-64/start.S: ... here.
2042         * sysdeps/s390/s390-64/elf/configure: Delete.
2043
2044         * configure.in: Remove support for elf directories in sysdeps.
2045
2046         * configure: Regenerated.
2047         * sysdeps/i386/configure: Regenerated.
2048         * sysdeps/powerpc/powerpc32/configure: Regenerated.
2049         * sysdeps/powerpc/powerpc64/configure: Regenerated.
2050         * sysdeps/s390/s390-32/configure: Regenerated.
2051         * sysdeps/s390/s390-64/configure: Regenerated.
2052         * sysdeps/sh/configure: Regenerated.
2053         * sysdeps/sparc/configure: Regenerated.
2054         * sysdeps/x86_64/configure: Regenerated.
2055
2056 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
2057
2058         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2059
2060         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2061         denormal result into account.
2062
2063 2012-03-25  Roland McGrath  <roland@hack.frob.com>
2064
2065         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2066         Reported by Allan McRae <allan@archlinux.org>.
2067
2068 2012-03-23  Jeff Law  <law@redhat.com>
2069
2070         * nss/getnssent.c (__nss_getent): Fix typo.
2071
2072 2012-03-23  David S. Miller  <davem@davemloft.net>
2073
2074         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2075
2076 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
2077
2078         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2079         to pad to uint64_t for each field.
2080         (dl_tls_index): Replace unsigned long with uint64_t.
2081
2082 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
2083         Paul Pluzhnikov  <ppluzhnikov@google.com>
2084
2085         [BZ #6528]
2086         * grp/Makefile (otherlibs): Don't set it.
2087         * inet/Makefile (otherlibs): Likewise.
2088         * login/Makefile (otherlibs): Likewise.
2089         * nscd/Makefile (otherlibs): Likewise.
2090         * posix/Makefile (otherlibs): Likewise.
2091         * pwd/Makefile (otherlibs): Likewise.
2092         * rt/Makefile (otherlibs): Likewise.
2093         * sunrpc/Makefile (otherlibs): Likewise.
2094         * nss/Makefile (otherlibs): Likewise.
2095         Add libnss_files to routines and static-only-routines.
2096         ($(objpfx)getent): Remove rule.
2097         * resolv/Makefile: Add libnss_dns and libresolv to routines and
2098         static-only-routines.
2099
2100 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
2101
2102         [BZ #13892]
2103         * math/s_cexp.c: Include <float.h>.
2104         (__cexp): Handle exp result overflowing not necessarily
2105         overflowing both real and imaginary parts of result.
2106         * math/s_cexpf.c: Likewise.
2107         * math/s_cexpl.c: Likewise.
2108         * math/libm-test.inc (cexp_test): Add more tests.
2109         * sysdeps/i386/fpu/libm-test-ulps: Update.
2110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2111
2112 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2113
2114         * include/link.h (ELFW): New macro.
2115         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2116         Replace ELF64_R_TYPE with ELFW(R_TYPE).
2117
2118 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2119
2120         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2121         with uint64_t.
2122
2123 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2124
2125         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2126         declaration.
2127         (struct La_x32_retval): Likewise.
2128
2129 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2130
2131         * sysdeps/x86_64/preconfigure.in: New file.
2132         * sysdeps/x86_64/preconfigure: New generated file.
2133
2134 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
2135
2136         [BZ #13824]
2137         * math/e_exp2l.c: Include <float.h>.
2138         (__ieee754_exp2l): Handle overflow and underflow cases
2139         separately.  Only pass fractional part of argument to
2140         __ieee754_expl.
2141         * math/libm-test.inc (exp2_test): Add more tests.
2142
2143         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2144         negating x to take absolute value.
2145         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2146         Likewise.
2147         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2148         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2149         Likewise.
2150         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2151         computing low part if x was negated.
2152         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2153
2154 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2155
2156         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2157         la_x32_gnu_pltexit.
2158         (pltexit): Cast int_retval to ptrdiff_t.
2159         * elf/tst-auditmod3b.c: Likewise.
2160         * elf/tst-auditmod4b.c: Likewise.
2161         * elf/tst-auditmod5b.c: Likewise.
2162         * elf/tst-auditmod6b.c: Likewise.
2163         * elf/tst-auditmod6c.c: Likewise.
2164         * elf/tst-auditmod7b.c: Likewise.
2165
2166         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2167         and x32_gnu_pltexit.
2168
2169         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2170         __ELF_NATIVE_CLASS.
2171         (La_x32_regs): New macro.
2172         (La_x32_retval): Likewise.
2173         (la_x32_gnu_pltenter): New function prototype.
2174         (la_x32_gnu_pltexit): Likewise.
2175
2176 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
2177
2178         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2179         exponent.
2180
2181         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2182
2183         * configure.in (libc_cv_cc_nofma): Check for option to disable
2184         generation of FMA instructions.
2185         * configure: Regenerate.
2186         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2187         * sysdeps/ieee754/dbl-64/Makefile: New file.
2188         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2189         Remove brandred-fma4.
2190         (CFLAGS-brandred-fma4.c): Remove.
2191         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2192         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2193         define.
2194         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2195         define.
2196
2197 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2198
2199         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2200         LLONG_MAX != LONG_MAX.
2201         (_itoa_word): Use _ITOA_WORD_TYPE on value.
2202         (_fitoa_word): Likewise.
2203         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2204         LLONG_MAX != LONG_MAX.
2205         * stdio-common/_itowa.h: Include <_itoa.h>.
2206         (_itowa_word): Use _ITOA_WORD_TYPE on value.
2207         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
2208         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
2209         only if not defined.
2210         (_ITOA_WORD_TYPE): Likewise.
2211         (_itoa_word): Use _ITOA_WORD_TYPE on value.
2212         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2213
2214 2012-03-21  David S. Miller  <davem@davemloft.net>
2215
2216         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2217
2218 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2219
2220         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2221         of x86_64 when setting libc_cv_slibdir, libdir and
2222         libc_cv_localedir.
2223         * sysdeps/unix/sysv/linux/configure: Regenerated.
2224
2225 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
2226
2227         * manual/lang.texi (Old Varargs): Remove section.
2228         (How Variadic): Update menu.
2229         (va_start): Do not mention varargs.h.
2230
2231 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
2232             Joseph Myers  <joseph@codesourcery.com>
2233
2234         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2235         link test.
2236         * configure: Regenerated.
2237
2238 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
2239
2240         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2241         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2242         conformtest.pl
2243
2244 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
2245
2246         * NOTES: Remove.
2247         * Makefile (files-for-dist): Remove NOTES.
2248         (NOTES): Remove rule.
2249         * README: Don't refer to NOTES.
2250         * manual/creature.texi: Don't include macros.texi.
2251         * manual/intro.texi (creature.texi): Remove comment referring to
2252         NOTES.
2253
2254         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2255         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2256         * configure: Regenerated.
2257         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2258         LIBC_TRY_CC_OPTION.
2259         (libc_cv_as_i686): Likewise.
2260         (libc_cv_cc_avx): Likewise.
2261         (libc_cv_cc_sse2avx): Likewise.
2262         (libc_cv_cc_fma4): Likewise.
2263         (libc_cv_cc_novzeroupper): Likewise.
2264         * sysdeps/i386/configure: Regenerated.
2265
2266         [BZ #13883]
2267         * sysdeps/i386/fpu/s_cexp.S: Remove.
2268         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2269         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2270         * math/libm-test.inc (cexp_test): Add more tests.
2271         * sysdeps/i386/fpu/libm-test-ulps: Update.
2272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2273
2274 2012-03-21  Allan McRae  <allan@archlinux.org>
2275
2276         * timezone/Makefile: Do not install iso3166.tab and zone.tab
2277
2278 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
2279
2280         [BZ #13871]
2281         * math/w_exp2.c: Do not include <float.h>.
2282         (o_threshold, u_threshold): Remove.
2283         (__exp2): Calculate result before checking finiteness and calling
2284         __kernel_standard.
2285         * math/w_exp2f.c: Likewise.
2286         * math/w_exp2l.c: Likewise.
2287         * math/libm-test.inc (exp2_test): Require overflow exception for
2288         1e6 input.
2289
2290         [BZ #3866]
2291         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2292         range of signed 64-bit integers before using fistpll.  Remove
2293         checks for whether integers fit in mantissa bits.
2294         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2295         the range of signed 32-bit integers before using fistpl.  Remove
2296         checks for whether integers fit in mantissa bits.
2297         * sysdeps/i386/fpu/e_powl.S (p64): New object.
2298         (__ieee754_powl): Test for y outside the range of signed 64-bit
2299         integers before using fistpll.  Reduce 64-bit values to 63-bit
2300         ones as needed.
2301         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2302         divide-by-zero is raised for zero to large negative powers.
2303         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2304         (__ieee754_powl): Test for y outside the range of signed 64-bit
2305         integers before using fistpll.  Reduce 64-bit values to 63-bit
2306         ones as needed.
2307         * math/libm-test.inc (pow_test): Add more tests.
2308
2309 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
2310
2311         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2312         <stdio-common/_itoa.h>.
2313         * debug/segfault.c: Likewise.
2314         * elf/dl-cache.c: Likewise.
2315         * elf/dl-minimal.c: Likewise.
2316         * elf/dl-misc.c: Likewise.
2317         * elf/dl-sysdep.c: Likewise.
2318         * elf/dl-version.c: Likewise.
2319         * elf/rtld.c: Likewise.
2320         * hurd/hurdsock.c: Likewise.
2321         * hurd/lookup-retry.c: Likewise.
2322         * malloc/malloc.c: Likewise.
2323         * malloc/mtrace.c: Likewise.
2324         * nscd/nscd_getgr_r.c: Likewise.
2325         * nscd/nscd_getpw_r.c: Likewise.
2326         * nscd/nscd_getserv_r.c: Likewise.
2327         * posix/getopt_init.c: Likewise.
2328         * posix/wordexp.c: Likewise.
2329         * stdio-common/_itoa.c: Likewise.
2330         * stdio-common/printf_fphex.c: Likewise.
2331         * stdio-common/vfprintf.c: Likewise.
2332         * string/_strerror.c: Likewise.
2333         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2334         * sysdeps/i386/i686/hp-timing.h: Likewise.
2335         * sysdeps/mach/_strerror.c: Likewise.
2336         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2337         * sysdeps/mach/hurd/sethostid.c: Likewise.
2338         * sysdeps/mach/hurd/xmknodat.c: Likewise.
2339         * sysdeps/mach/xpg-strerror.c: Likewise.
2340         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2341         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2342         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2343         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2344         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2345         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2346         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2347         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2348         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2349         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2350         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2351         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2352         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2353         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2354         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2355         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2356         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2357         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2358         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2359         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2360         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2361
2362         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2363
2364         * stdio-common/_itoa.h: Moved to ...
2365         * sysdeps/generic/_itoa.h: Here.
2366
2367         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2368
2369         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2370         instead of "_itoa.h" and "_itowa.h".
2371         * stdio-common/vfprintf.: Likewise.
2372
2373 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
2374
2375         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2376         <bits/wordsize.h>.
2377         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2378         (__signbit): Likwise.
2379         (llrintf): Likwise.
2380         (llrint): Likwise.
2381
2382 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
2383
2384         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2385         __WORDSIZE != 64.
2386
2387 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
2388
2389         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2390         OVERFLOW_EXCEPTION_OK.
2391         * math/libm-test.inc ("Philosophy"): Update comment about
2392         exception testing.
2393         (OVERFLOW_EXCEPTION): Define.
2394         (OVERFLOW_EXCEPTION_OK): Likewise.
2395         (INVALID_EXCEPTION_OK): Renumber.
2396         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2397         (IGNORE_ZERO_INF_SIGN): Likewise.
2398         (test_exceptions): Handle FE_OVERFLOW.
2399         (exp10_test): Expect overflow exceptions.
2400         (exp2_test): Likewise.
2401         (expm1_test): Likewise.
2402         (nextafter_test): Likewise.
2403         (pow_test): Likewise.
2404         (scalbn_test): Likewise.
2405         (scalbln_test): Likewise.
2406
2407 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
2408
2409         * sysdeps/x86_64/bits/atomic.h
2410         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2411         64bit integer.
2412         (atomic_exchange_acq): Likewise.
2413         (__arch_exchange_and_add_body): Likewise.
2414         (__arch_add_body): Likewise.
2415         (atomic_add_negative): Likewise.
2416         (atomic_add_zero): Likewise.
2417
2418 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
2419
2420         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
2421         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2422
2423 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
2424
2425         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2426         Check __x86_64__ instead of __WORDSIZE.
2427
2428 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
2429
2430         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2431
2432 2012-03-19  David S. Miller  <davem@davemloft.net>
2433
2434         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2435
2436         * sysdeps/sparc/fpu/fenv_private.h: New file.
2437         * sysdeps/sparc/fpu/math_private.h: Use it.
2438         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2439         Remove.
2440         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2441         (libc_feholdexcept_setroundl): Remove.
2442         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2443         Remove.
2444         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2445         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2446
2447 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
2448
2449         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2450         int64_t instead of long int.
2451         (INSERT_WORDS64): Likwise.
2452
2453 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
2454
2455         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2456         _Unwind_GetCFA return to _Unwind_Ptr first.
2457
2458 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
2459
2460         [BZ #13629]
2461         * math/s_clog.c: Include <float.h>.
2462         (__clog): Scale large or subnormal inputs.
2463         * math/s_clogf.c: Likewise.
2464         * math/s_clogl.c: Likewise.
2465         * math/s_clog10.c: Include <float.h>.
2466         (M_LOG10_2): Define.
2467         (__clog10): Scale large or subnormal inputs.
2468         * math/s_clog10f.c: Likewise.
2469         * math/s_clog10l.c: Likewise.
2470         * math/libm-test.inc (clog_test): Add more tests.
2471         (clog10_test): Likewise.
2472         * sysdeps/i386/fpu/libm-test-ulps: Update.
2473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2474
2475         [BZ #11451]
2476         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2477         x and y.
2478         * math/libm-test.inc (atan2_test): Add another test.
2479
2480         * Makerules (common-objdir-compile): Remove.
2481         * sysdeps/unix/Makefile (config-generated): Do not add
2482         $(unix-generated) to variable.
2483         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2484         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2485         Remove rule.
2486         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2487         Likewise.
2488         [generic bits/local_lim.h] (before-compile): Do not append to
2489         variable.
2490         [generic bits/local_lim.h] (common-generated): Likewise.
2491         [generic sys/param.h] (before-compile): Do not append to variable.
2492         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2493         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2494         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2495         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2496         include.
2497         [generic sys/param.h] (sys/param.h-includes): Remove variable.
2498         [generic sys/param.h] (sys/param.h-includes): Remove rule.
2499         [generic sys/param.h] ($(addprefix
2500         $(common-objpfx),$(sys/param.h-includes))): Likewise.
2501         [generic sys/param.h] (common-generated): Do not append to
2502         variable.
2503         [generic sys/param.h] (sysdep_headers): Likewise.
2504         [generic bits/errno.h] (before-compile): Do not append to
2505         variable.
2506         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2507         rule.
2508         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2509         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2510         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2511         [generic bits/errno.h] (common-generated): Do not append to
2512         variable.
2513         [generic bits/ioctls.h] (before-compile): Do not append to
2514         variable.
2515         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2516         rule.
2517         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2518         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2519         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2520         rule.
2521         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2522         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2523         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2524         [generic bits/ioctls.h] (common-generated): Do not append to
2525         variable.
2526         [generic sys/syscall.h] (syscall.h): Remove variable.
2527         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2528         rule.
2529         [generic sys/syscall.h] (before-compile): Do not append to
2530         variable.
2531         [generic sys/syscall.h] (common-generated): Likewise.
2532         * sysdeps/unix/errnos-tmpl.c: Remove file.
2533         * sysdeps/unix/errnos.awk: Likewise.
2534         * sysdeps/unix/ioctls-tmpl.c: Likewise.
2535         * sysdeps/unix/ioctls.awk: Likewise.
2536         * sysdeps/unix/mk-local_lim.c: Likewise.
2537         * sysdeps/unix/snarf-ioctls: Likewise.
2538
2539 2012-03-19  Richard Henderson  <rth@twiddle.net>
2540
2541         * sysdeps/i386/fpu/fenv_private.h: New file.
2542         * sysdeps/i386/fpu/math_private.h: Use it.
2543         (math_opt_barrier, math_force_eval): Remove.
2544         (libc_feholdexcept_setround_53bit): Remove.
2545         (libc_feupdateenv_53bit): Remove.
2546         * sysdeps/x86_64/fpu/math_private.h: Likewise.
2547         (math_opt_barrier, math_force_eval): Remove.
2548         (libc_feholdexcept): Remove.
2549         (libc_feholdexcept_setround): Remove.
2550         (libc_fetestexcept, libc_fesetenv): Remove.
2551         (libc_feupdateenv_test): Remove.
2552         (libc_feupdateenv, libc_feholdsetround): Remove.
2553         (libc_feresetround): Remove.
2554
2555         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2556         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2557
2558         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2559         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2560         (libc_feupdateenv_testl): New.
2561         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2562         (libc_feupdateenv_testf): New.
2563         (libc_feupdateenv): Use libc_feupdateenv_test.
2564         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2565         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2566
2567         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2568         (libc_feholdsetroundf, libc_feholdsetroundl): New.
2569         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2570         (libc_feresetround_noex): New.
2571         (libc_feresetround_noexf): New.
2572         (libc_feresetround_noexl): New.
2573         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2574         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2575         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2576         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2577         SET_RESTORE_ROUND.
2578         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2579         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2580         (__cos): Likewise.
2581         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2582         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2583         SET_RESTORE_ROUND_NOEX.
2584         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2585         SET_RESTORE_ROUND_NOEXF.
2586         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2587         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2588         (libc_feholdsetroundf): New.
2589         (libc_feresetround, libc_feresetroundf): New.
2590
2591         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2592         (libc_feholdexcept_setround_53bit): Convert from macro to function.
2593         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
2594
2595         * sysdeps/generic/math_private.h: Include <fenv.h>.
2596         (default_libc_feholdexcept): New.
2597         (default_libc_feholdexcept_setround): New.
2598         (default_libc_fesetenv, default_libc_feupdateenv): New.
2599         (libc_feholdexcept): Only define if undefined.
2600         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2601         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2602         (libc_feholdexcept_setroundl): Likewise.
2603         (libc_feholdexcept_setround_53bit): Likewise.
2604         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2605         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2606         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2607         (libc_feupdateenv_53bit): Likewise.
2608         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2609         (libc_feholdexcept): Convert from macro to inline function.
2610         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2611         (libc_fesetenv, libc_feupdateenv): Likewise.
2612
2613         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2614         not previously defined.
2615         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2616         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2617         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2618         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2619         * sysdeps/ieee754/flt-32/math_private.h: New file.
2620         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2621         math_private.h below SET_FLOAT_WORD.
2622         (__isnan, __isinf_ns, __finite): Remove.
2623         (__isnanf, __isinf_nsf, __finitef): Remove.
2624
2625 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
2626
2627         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2628
2629 2012-03-17  David S. Miller  <davem@davemloft.net>
2630
2631         [BZ #6471]
2632         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2633         for 2.16.
2634
2635 2012-03-16  David S. Miller  <davem@davemloft.net>
2636
2637         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2638         warnings.
2639
2640         [BZ #6471]
2641         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2642         properly.
2643         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2644         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2645         sysdep_routines when subdir is sysvipc.
2646         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2647         __getshmlba helper.
2648
2649         * sysdeps/sparc/fpu/libm-test/ulps: Update.
2650
2651 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2652
2653         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2654         [__LP64__].
2655
2656 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2657
2658         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2659         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2660         (__lround): Renamed to ...
2661         (__llround): This.  Replace long int with long long int.
2662         Define lround functions as aliases of llround functions.
2663         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2664
2665 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2666
2667         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2668         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
2669         adresses to uintptr_t.  Replace "long int" and "unsigned long
2670         int" with "greg_t" on va_arg.
2671
2672 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2673
2674         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2675         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2676
2677         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2678         Move e_machine check before EI_CLASS check.  Handle x32
2679         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2680         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2681         SKIP_EM_IA_64 and include
2682         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2683
2684         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2685         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2686         (add_system_dir): New macro.
2687
2688         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2689         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2690
2691 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
2692
2693         [BZ #2551]
2694         [BZ #2552]
2695         [BZ #2553]
2696         [BZ #2554]
2697         [BZ #2562]
2698         [BZ #2563]
2699         [BZ #2565]
2700         [BZ #2566]
2701         [BZ #2576]
2702         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2703         (y0): Likewise.
2704         * math/w_j0f.c (j0f): Likewise.
2705         (y0f): Likewise.
2706         * math/w_j0l.c (__j0l): Likewise.
2707         (__y0l): Likewise.
2708         * math/w_j1.c (j1): Likewise.
2709         (y1): Likewise.
2710         * math/w_j1f.c (j1f): Likewise.
2711         (y1f): Likewise.
2712         * math/w_j1l.c (__j1l): Likewise.
2713         (__y1l): Likewise.
2714         * math/w_jn.c (jn): Likewise.
2715         (yn): Likewise.
2716         * math/w_jnf.c (jnf): Likewise.
2717         (ynf): Likewise.
2718         * math/w_jnl.c (__jnl): Likewise.
2719         (__ynl): Likewise.
2720         * math/libm-test.inc (j0_test): Add more tests.
2721         (j1_test): Likewise.
2722         (jn_test): Likewise.  Add trailing semicolon to existing test.
2723         (y0_test): Likewise.
2724         (y1_test): Likewise.
2725         * sysdeps/i386/fpu/libm-test-ulps: Update.
2726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2727
2728         [BZ #13851]
2729         [BZ #13854]
2730         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2731         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2732         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2733         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2734         (__tanl): Set errno for infinite argument.
2735         * sysdeps/i386/fpu/mptan.c: Remove.
2736         * sysdeps/i386/fpu/s_tan.S: Likewise.
2737         * sysdeps/i386/fpu/s_tanl.S: Likewise.
2738         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2739         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2740         * math/libm-test.inc (tan_test): Add more tests and enable more
2741         tests for double and long double.
2742         * sysdeps/i386/fpu/libm-test-ulps: Update.
2743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2744
2745 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
2746
2747         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2748         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2749
2750 2012-03-16  Roland McGrath  <roland@hack.frob.com>
2751
2752         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2753         * configure.in: Use it for both main tree and add-ons.
2754         * configure: Regenerated.
2755
2756 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2757
2758         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2759
2760 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
2761
2762         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2763         in comment.
2764
2765         [BZ #13851]
2766         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2767         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2768         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2769         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2770         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2771         infinite argument.
2772         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2773         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2774         != 0 for prec == 2.
2775         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2776         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2777         * sysdeps/i386/fpu/s_cosl.S: Likewise.
2778         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2779         * sysdeps/i386/fpu/s_sinl.S: Likewise.
2780         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2781         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2782         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2783         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2784         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2785         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2786         * math/libm-test.inc (cos_test): Add more tests and enable more
2787         tests for long double.
2788         (sin_test): Likewise.
2789         (sincos_test): Likewise.
2790         * sysdeps/i386/fpu/libm-test-ulps: Update.
2791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2792
2793 2012-03-16  David S. Miller  <davem@davemloft.net>
2794
2795         * sysdeps/sparc/fpu/math_private.h: New file.
2796
2797 2012-03-15  David S. Miller  <davem@davemloft.net>
2798
2799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2800         file.
2801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
2802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2803         file.
2804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2805         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2806         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2807         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2808         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2809         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2810         sysdep routines.
2811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2812
2813         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2814         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2815
2816         * sysdeps/sparc/sparc-ifunc.h: New file.
2817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2818         sparc-ifunc.h
2819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2821         Likewise.
2822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2823         Likewise.
2824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2828         Likewise.
2829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2834         Likewise.
2835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2836         Likewise.
2837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2841         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2842         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2843         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2844         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2845         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2846         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2847         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2848         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2849         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2850         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2851         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2852         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2853         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2854         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2855         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2856         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2857         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2858         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2859         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2860         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2861
2862 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
2863
2864         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2865         scaling.
2866         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2867
2868 2012-03-15  Andreas Jaeger  <aj@suse.de>
2869
2870         [BZ #13852]
2871         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2872         ieee754/flt-32 implementation for sin, cos and sincos.
2873         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2874         * sysdeps/i386/fpu/s_cosf.S: Likewise.
2875         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2876         * sysdeps/i386/fpu/s_sinf.S: Likewise.
2877         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2878         ieee754/flt-32 implementation for tan.
2879
2880         * math/libm-test.inc (cos_test): Enable some large input tests for
2881         float as well
2882         (sin_test): Likewise.
2883         (sincos_test): Likewise.
2884         (tan_test): Add tests for large input.
2885
2886         * sysdeps/i386/fpu/libm-test-ulps: Update.
2887
2888 2012-03-15  Andreas Jaeger  <aj@suse.de>
2889
2890         [BZ #13658]
2891         * math/libm-test.inc (cos_test): Add more test cases.
2892         (sin_test): Likewise.
2893         (sincos_test): Likewise.
2894
2895 2012-03-15  Andreas Jaeger  <aj@suse.de>
2896
2897         [BZ #13837]
2898         * math/libm-test.inc (cos_test): Add a test case for large input
2899         value.
2900         (sin_test): Likewise.
2901         (sincos_test): Likewise.
2902
2903 2012-03-15  Andreas Jaeger  <aj@suse.de>,
2904         Joseph Myers  <joseph@codesourcery.com>
2905
2906         [BZ #13658]
2907         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
2908         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2909         * sysdeps/i386/fpu/branred.c: Likewise.
2910         * sysdeps/i386/fpu/dosincos.c: Likewise.
2911         * sysdeps/i386/fpu/mpa.c: Likewise.
2912         * sysdeps/i386/fpu/s_cos.S: Likewise.
2913         * sysdeps/i386/fpu/s_sin.S: Likewise.
2914         * sysdeps/i386/fpu/s_sincos.S: Likewise.
2915         * sysdeps/i386/fpu/sincos32.c: Likewise.
2916
2917         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2918         Define.
2919         (libc_feupdateenv_53bit): Define.
2920         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2921         Define.
2922         (libc_feupdateenv_53bit): Define.
2923
2924         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2925         53 bit (without extend i386 double precision).
2926
2927         * math/libm-test.inc (sincos_test): Add tests for large input.
2928         (sin): Likewise.
2929         (cos): Likewise.
2930
2931         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2932
2933 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
2934
2935         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2936
2937 2012-03-15  David S. Miller  <davem@davemloft.net>
2938
2939         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2940         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2941         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2942         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2943         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2947         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2948         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2949         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2950         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2951         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2952         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2953         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
2954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2955         file.
2956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
2957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2958         file.
2959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
2960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2961         file.
2962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
2963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2964         file.
2965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2966         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2967         fmin/fmax sysdep routines.
2968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2969
2970 2012-03-14  David S. Miller  <davem@davemloft.net>
2971
2972         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2973         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2974         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2975         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2976         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2977         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2978         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2979         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2980         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2981         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2982         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2983         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2984         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2985         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2986         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2987         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2988         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2989         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2990         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2991         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2992         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2993         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2994         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2995         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2996         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2997         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2998         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2999         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
3000         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3001         routines.
3002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3003         file.
3004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
3005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3006         file.
3007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
3008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3009         file.
3010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
3011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3012         file.
3013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
3014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3015         file.
3016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
3017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3018         file.
3019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3020         file.
3021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3022         file.
3023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3024         file.
3025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3026         New file.
3027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3028         file.
3029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3030         file.
3031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
3032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3033         file.
3034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
3035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3036         file.
3037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
3038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3039         file.
3040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
3041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3042         VIS3 routines.
3043
3044         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3045         New file.
3046
3047         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3048
3049         * sysdeps/sparc/configure.in: New file.
3050         * sysdeps/sparc/configure: Generate.
3051         * configure.in (libc_cv_sparc_as_vis3): Substitute.
3052         * configure: Regenerate.
3053         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3054         * config.make.in (have-as-vis3): New.
3055         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3056         available use -Av9d instead of -Av9a.
3057         * sysdeps/sparc/sparc64/Makefile: Likewise.
3058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
3059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3060         New file.
3061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3062         file.
3063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3064         New file.
3065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3066         file.
3067         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3068         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3069         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3070         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3071         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3072
3073         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3074         fzeros/fnegs to load 0x80000000 into a float register instead of
3075         using the stack.
3076         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3077
3078 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
3079
3080         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3081         bits/syscall.h.
3082         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3083         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3084         ($(inst_includedir)/bits/syscall.h): Remove rule.
3085         ($(objpfx)bits/syscall.d): Include instead of
3086         $(objpfx)syscall-list.d.
3087         (generated): Change syscall-list.h and syscall-list.d to
3088         bits/syscall.h and bits/syscall.d.
3089
3090 2012-03-14  Roland McGrath  <roland@hack.frob.com>
3091
3092         [BZ #13846]
3093         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3094
3095 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
3096
3097         [BZ #13841]
3098         * math/s_csqrt.c: Include <float.h>.
3099         (__csqrt): Scale large or subnormal inputs.
3100         * math/s_csqrtf.c: Likewise.
3101         * math/s_csqrtl.c: Likewise.
3102         * math/libm-test.inc (csqrt_test): Add more tests.
3103         * sysdeps/i386/fpu/libm-test-ulps: Update.
3104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3105
3106         [BZ #13840]
3107         * math/libm-test.inc (hypot_test): Add more tests.
3108
3109 2012-03-13  David S. Miller  <davem@davemloft.net>
3110
3111         [BZ #13840]
3112         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3113         double-precision for the calculation instead of scaling.
3114
3115 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
3116
3117         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3118         manipulate bits before adding and subtracting TWO52[sx].
3119         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3120         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3121         Likewise.
3122         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3123
3124 2012-03-13  David S. Miller  <davem@davemloft.net>
3125
3126         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3127         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3128         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3129         rtld-global-offsets.h
3130         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3131
3132         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3133         large parameters.
3134
3135         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3136
3137         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3138         'err' in the ifdef scope in which it is actually used.
3139
3140         * nss/nss_db/db-init.c: Include string.h
3141
3142 2012-03-12  David S. Miller  <davem@davemloft.net>
3143
3144         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3145         masking out of the most significant byte of random value used.
3146         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3147         Fix coding style in previous change.
3148
3149         * sysdeps/unix/sysv/linux/kernel-features.h
3150         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3151         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3152         expression.
3153         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3154         later.
3155
3156 2012-03-11  David S. Miller  <davem@davemloft.net>
3157
3158         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3159         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3160         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3161         for 'resultvar' otherwise things get truncated on 64-bit.
3162
3163         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3164         Fix masking out of the most significant byte of random value used.
3165
3166         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3167
3168 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
3169
3170         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3171
3172 2012-03-09  David S. Miller  <davem@davemloft.net>
3173
3174         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3175         variables with appropriate CPP guards.
3176         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3177         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
3178         on resulting framesize and the management of the outregs buffer for pltexit.
3179         Preserve floating point return values across _dl_call_pltexit call.
3180         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3181         framesize and the management of the outregs buffer for pltexit.
3182         Preserve floating point return values across _dl_call_pltexit
3183         call.
3184         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3185         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3186         (print_exit): Fix format string for return register value.
3187
3188 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
3189
3190         * sunrpc/Makefile (others): Add rpcgen.
3191         ($(objpfx)rpcgen): Remove special build rule and dependency on
3192         libc.
3193         * sunrpc/rpcgen.c: New file.
3194
3195 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
3196
3197         [BZ #13673]
3198         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3199         * stdio-common/bug-vfprintf-nargs.c: Likewise.
3200         * sysdeps/i386/crti.S: Likewise.
3201         * sysdeps/i386/crtn.S: Likewise.
3202         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3203         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3204         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3205         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3206         * sysdeps/sh/crti.S: Likewise.
3207         * sysdeps/sh/crtn.S: Likewise.
3208         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3209
3210         [BZ #13673]
3211         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3212         with URL.
3213         * locale/programs/locfile-kw.gperf: Likewise.
3214         * locale/programs/charmap-kw.h: Regenerated.
3215         * locale/programs/locfile-kw.h: Likewise.
3216
3217         [BZ #13673]
3218         * intl/plural.y: Replace FSF snail mail address with URL.
3219         * intl/plural.c: Regenerated.
3220
3221 2012-03-09  Richard Henderson  <rth@twiddle.net>
3222
3223         * include/math_private.h: Remove file.
3224         * math/math_private.h: Move file ...
3225         * sysdeps/generic/math_private.h: ... here.
3226
3227         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3228         * sysdeps/powerpc/fpu/math_private.h: Likewise.
3229         * sysdeps/x86_64/fpu/math_private.h: Likewise.
3230
3231         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
3232         and <math_private.h>.
3233         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3234         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3235         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3236         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3237         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3238         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3239         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3240         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3241         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3242         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3243         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3244         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3245         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3246         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3247         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3248         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3249         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3250         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3251         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3252         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3253         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3254         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3255         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3256         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3257         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3258         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3259         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3260         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3261         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3262         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3263         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3264         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3265         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3266         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3267         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3268         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3269         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3270         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3271         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3272         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3273         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3274         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3275         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3276         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3277         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3278         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3279         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3280         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3281         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3282         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3283         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3284         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3285         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3286         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3287         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3288         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3289         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3290         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3291         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3292         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3293         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3294         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3295         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3296         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3297         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3298         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3299         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3300         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3301         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3302         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3303         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3304         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3305         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3306         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3307         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3308         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3309         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3310         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3311         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3312         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3313         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3314         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3315         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3316         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3317         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3318         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3319         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3320         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3321         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3322         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3323         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3324         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3325         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3326         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3327         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3328         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3329         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3330         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3331         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3332         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3333         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3334         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3335         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3336         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3337         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3338         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3339         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3340         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3341         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3342         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3343         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3344         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3345         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3346         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3347         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3348         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3349         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3350         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3351         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3352         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3353         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3354         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3355         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3356         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3357         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3358         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3359         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3360         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3361         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3362         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3363         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3364         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3365         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3366         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3367         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3368         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3369         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3370         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3371         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3372         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3373         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3374         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3375         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3376         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3377         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3378         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3379         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3380         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3381         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3382         * sysdeps/ieee754/k_standard.c: Likewise.
3383         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3384         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3385         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3386         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3387         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3388         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3389         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3390         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3391         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3392         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3393         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3394         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3395         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3396         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3397         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3398         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3399         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3400         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3401         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3402         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3403         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3404         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3405         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3406         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3407         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3408         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3409         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3410         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3411         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3412         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3413         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3414         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3415         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3416         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3417         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3418         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3419         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3420         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3421         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3422         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3423         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3424         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3425         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3426         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3427         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3428         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3429         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3430         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3431         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3432         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3433         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3434         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3435         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3436         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3437         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3438         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3439         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3440         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3441         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3442         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3443         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3444         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3445         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3446         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3447         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3448         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3449         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3450         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3451         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3452         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3453         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3454         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3455         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3456         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3457         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3458         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3459         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3460         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3461         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3462         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3463         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3464         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3465         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3466         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3467         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3468         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3469         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3470         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3471         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3472         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3473         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3474         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3475         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3476         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3477         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3478         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3479         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3480         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3481         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3482         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3483         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3484         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3485         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3486         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3487         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3488         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3489         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3490         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3491         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3492         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3493         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3494         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3495         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3496         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3497         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3498         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3499         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3500         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3501         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3502         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3503         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3504         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3505         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3506         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3507         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3508         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3509         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3510         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3511         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3512         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3513         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3514         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3515         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3516         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3517         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3518         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3519         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3520         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3521         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3522         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3523         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3524         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3525         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3526         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3527         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3528         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3529         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3530         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3531         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3532         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3533         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3534         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3535         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3536         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3537         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3538         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3539         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3540         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3541         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3542         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3543         * sysdeps/ieee754/s_lib_version.c: Likewise.
3544         * sysdeps/ieee754/s_matherr.c: Likewise.
3545         * sysdeps/ieee754/s_signgam.c: Likewise.
3546         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3547         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3548         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3549         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3550         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3551         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3552         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3553         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3554         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3555         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3556         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3557         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3558         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3559         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3560         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3561         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3562         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3563         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3564         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3565         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3566         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3567
3568 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
3569
3570         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3571         * sunrpc/rpc_main.c: Likewise.
3572         * sunrpc/rpc_svcout.c: Likewise.
3573
3574 2012-03-09  David S. Miller  <davem@davemloft.net>
3575
3576         * include/math_private.h: New file.
3577
3578 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
3579
3580         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3581         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3582         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3583         from <bits/socket_type.h>.
3584         (enum __socket_type): Don't define here.
3585         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3586         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3587         bits/socket_type.h.
3588
3589         [BZ #13566]
3590         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3591         checking __USE_GNU.
3592
3593         * Makerules ($(inst_includedir)/%.h): New rule.
3594         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3595         (install-others): Remove variable setting.
3596         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3597
3598 2012-03-08  Richard Henderson  <rth@twiddle.net>
3599
3600         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3601         from macro to inline function; merge with the
3602         !__LIBC_INTERNAL_MATH_INLINES version.
3603         (__ieee754_sqrtf): Likewise.
3604
3605         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3606         to inline function.
3607         (__rintf, __floor, __floorf): Likewise.
3608
3609         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3610         macro to inline function.
3611         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3612
3613         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3614         not <math/math_private.h>.
3615
3616 2012-03-08  David S. Miller  <davem@davemloft.net>
3617
3618         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3619         copyright year.
3620         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3621
3622 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
3623
3624         * resolv/gai_misc.c (handle_requests): Fix struct timespec
3625         normalization.
3626         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3627         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3628
3629 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
3630
3631         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
3632         be defined individually, they must be defined as a block.  Define
3633         S for printing a string instead of hidint the different by using a
3634         macro for adding the 'l'.
3635         * stdio-common/tst-fphex-wide.c: Adjust.
3636
3637 2012-03-07  Marek Polacek  <polacek@redhat.com>
3638
3639         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3640
3641 2012-03-08  Marek Polacek  <polacek@redhat.com>
3642
3643         [BZ #13806]
3644         * stdio-common/Makefile (tests): Add tst-fphex-wide.
3645         * stdio-common/tst-fphex.c: Define a few macros to make the
3646         test reusable.  Use them.
3647         * stdio-common/tst-fphex-wide.c: New file.
3648
3649 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
3650
3651         [BZ #6911]
3652         * manual/macros.texi (gnusystems): New macro.
3653         (nongnusystems): Likewise.
3654         (gnulinuxhurdsystems): Likewise.
3655         (gnuhurdsystems): Likewise..
3656         (gnulinuxsystems): Likewise.
3657         * manual/charset.texi: Use new macros or @theglibc{} to refer to
3658         variants of the GNU system, not "GNU system".
3659         * manual/conf.texi: Likewise.
3660         * manual/errno.texi: Likewise.  Update example of errno macro
3661         expansion.
3662         * manual/filesys.texi: Likewise.
3663         (getumask): Document as specific to GNU/Hurd.
3664         * manual/install.texi: Likewise.  Reword some references to
3665         GNU/Linux.
3666         * manual/intro.texi: Likewise.
3667         * manual/io.texi: Likewise.
3668         (File Name Portability): Detail which constraints are inapplicable
3669         to all GNU systems and which are only inapplicable to GNU/Hurd.
3670         * manual/job.texi: Likewise.
3671         * manual/llio.texi: Likewise.
3672         (O_NOCTTY): Document as present on GNU/Linux.
3673         * manual/maint.texi: Likewise.
3674         * manual/memory.texi: Likewise.
3675         * manual/pattern.texi: Likewise.
3676         * manual/pipe.texi: Likewise.
3677         * manual/process.texi: Likewise.
3678         * manual/resource.texi: Likewise.
3679         (RUSAGE_CHILDREN): Remove statement about specifying a particular
3680         child on GNU/Hurd.
3681         * manual/setjmp.texi: Likewise.
3682         * manual/signal.texi: Likewise.
3683         * manual/startup.texi: Likewise.
3684         * manual/stdio.texi: Likewise.
3685         * manual/terminal.texi: Likewise.
3686         (ONLCR): Document as POSIX.
3687         (OXTABS): Document availability on GNU/Linux as XTABS.
3688         (ONOEOT): Document availability separately from other bits.
3689         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3690         * manual/time.texi: Likewise.
3691         * manual/users.texi: Likewise.
3692         * INSTALL: Regenerated.
3693         * sysdeps/gnu/errlist.c: Regenerated.
3694
3695         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3696         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3697         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
3698         puts.
3699         * configure: Regenerated.
3700
3701 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
3702
3703         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3704         default includes instead of AC_HEADER_CHECK.
3705         * sysdeps/i386/configure: Regenerated.
3706
3707         [BZ #10716]
3708         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3709         * math/s_cacoshf.c (__cacoshf): Likewise.
3710         * math/s_cacoshl.c (__cacoshl): Likewise.
3711         * math/s_casinh.c (__casinh): Set signs of result from argument.
3712         * math/s_casinhf.c (__casinhf): Likewise.
3713         * math/s_casinhl.c (__casinhl): Likewise.
3714         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3715         (casinh_test): Add more tests.
3716         * sysdeps/i386/fpu/libm-test-ulps: Update.
3717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3718
3719 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
3720
3721         * po/zh_TW.po: Update from translation team.
3722
3723         * login/Makefile (distribute): Remove variable.
3724         * catgets/Makefile: Likewise.
3725         * mach/Makefile: Likewise.
3726         * malloc/Makefile: Likewise.
3727         * misc/Makefile: Likewise.
3728         * iconv/Makefile: Likewise.
3729         * nscd/Makefile: Likewise.
3730         * hurd/Makefile: Likewise.
3731         * manual/Makefile: Likewise.
3732         * locale/Makefile: Likewise.
3733         * intl/Makefile: Likewise.
3734         * conform/Makefile: Likewise.
3735         * nss/Makefile: Likewise.
3736         * time/Makefile: Likewise.
3737         * soft-fp/Makefile: Likewise.
3738         * dirent/Makefile: Likewise.
3739         * gmon/Makefile: Likewise.
3740         * po/Makefile: Likewise.
3741         * rt/Makefile: Likewise.
3742         * socket/Makefile: Likewise.
3743         * math/Makefile: Likewise.
3744         * signal/Makefile: Likewise.
3745         * debug/Makefile: Likewise.
3746         * elf/Makefile: Likewise.
3747         * timezone/Makefile: Likewise.
3748         * stdlib/Makefile: Likewise.
3749         * iconvdata/Makefile: Likewise.
3750         * sunrpc/Makefile: Likewise.
3751         * io/Makefile: Likewise.
3752         * argp/Makefile: Likewise.
3753         * inet/Makefile: Likewise.
3754         * hesiod/Makefile: Likewise.
3755         * grp/Makefile: Likewise.
3756         * csu/Makefile: Likewise.
3757         * wctype/Makefile: Likewise.
3758         * crypt/Makefile: Likewise.
3759         * libio/Makefile: Likewise.
3760         * string/Makefile: Likewise.
3761         * nis/Makefile: Likewise.
3762         * resolv/Makefile: Likewise.
3763         * stdio-common/Makefile: Likewise.
3764         * wcsmbs/Makefile: Likewise.
3765         * dlfcn/Makefile: Likewise.
3766         * posix/Makefile: Likewise.
3767
3768         [BZ #6959]
3769         * timezone/Makefile: Don't install timezone files, just the programs
3770         and scripts.
3771
3772 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
3773
3774         * nss/databases.def: Add missing gshadow entry.
3775
3776         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
3777
3778 2012-03-06  Marek Polacek  <polacek@redhat.com>
3779
3780         [BZ #13726]
3781         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3782         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3783         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3784         * stdio-common/tst-long-dbl-fphex.c: New file.
3785
3786 2012-03-06  David S. Miller  <davem@davemloft.net>
3787
3788         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3789         (set_obp_int): New function.
3790         (get_obp_int): New function.
3791         (__get_clockfreq_via_dev_openprom): Likewise.
3792         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3793         Avoid unused variable warnings on 'val' and use builtin_expect.
3794         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3795         __builtin_expect.
3796         (INLINE_CLONE_SYSCALL): Likewise.
3797
3798 2012-03-05  David S. Miller  <davem@davemloft.net>
3799
3800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3801
3802 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
3803
3804         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3805
3806         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3807         only for |x| >= 40.
3808         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3809
3810 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
3811
3812         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3813         Replace gettimeofday with __vdso_gettimeofday.
3814
3815         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3816         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3817         __vdso_clock_gettime and __vdso_getcpu.
3818
3819         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3820         time with __vdso_time.
3821
3822 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
3823
3824         * manual/lang.texi (size_t): Note types to which size_t may be
3825         equivalent with the GNU C Library, but do not describe when
3826         differences between them are significant.
3827
3828 2012-03-05  Andreas Jaeger  <aj@suse.de>
3829
3830         * sysdeps/i386/fpu/libm-test-ulps: Update.
3831
3832 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
3833
3834         [BZ #3976]
3835         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3836         (__ieee754_pow): Save and restore rounding mode and use
3837         round-to-nearest for main computations.
3838         * math/libm-test.inc (pow_test_tonearest): New function.
3839         (pow_test_towardzero): Likewise.
3840         (pow_test_downward): Likewise.
3841         (pow_test_upward): Likewise.
3842         (main): Call the new functions.
3843         * sysdeps/i386/fpu/libm-test-ulps: Update.
3844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3845
3846         [BZ #3976]
3847         * math/libm-test.inc (cosh_test_tonearest): New function.
3848         (cosh_test_towardzero): Likewise.
3849         (cosh_test_downward): Likewise.
3850         (cosh_test_upward): Likewise.
3851         (sinh_test_tonearest): Likewise.
3852         (sinh_test_towardzero): Likewise.
3853         (sinh_test_downward): Likewise.
3854         (sinh_test_upward): Likewise.
3855         (main): Call the new functions.
3856         * sysdeps/i386/fpu/libm-test-ulps: Update.
3857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3858
3859 2012-03-05  Tom de Vries  <tom@codesourcery.com>
3860
3861         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3862         default stack guard is set in last bytes.
3863         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3864
3865 2012-03-05  Kees Cook  <keescook@chromium.org>
3866
3867         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
3868
3869         [BZ #13656]
3870         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3871         possibly allocate from heap instead of stack.
3872         * stdio-common/bug-vfprintf-nargs.c: New file.
3873         * stdio-common/Makefile (tests): Add nargs overflow test.
3874
3875 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
3876
3877         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3878
3879 2012-03-03  Marek Polacek  <polacek@redhat.com>
3880
3881         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3882         * math/math_private.h: Likewise.
3883         * stdlib/tst-strtod.c: Likewise.
3884         * sysdeps/i386/i486/bits/atomic.h: Likewise.
3885         * sysdeps/x86_64/bits/atomic.h: Likewise.
3886
3887 2012-03-02  David S. Miller  <davem@davemloft.net>
3888
3889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3890         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3892         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3893         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3894         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3895         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3896         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3897
3898 2012-03-02  Roland McGrath  <roland@hack.frob.com>
3899
3900         [BZ #13792]
3901         * manual/examples/README: New file, says the example source files
3902         can be used under GPL>=2.
3903         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3904         line containing just "*/".
3905         * manual/examples/add.c: Add copyright header (GPL>=2).
3906         * manual/examples/argp-ex1.c: Likewise.
3907         * manual/examples/argp-ex2.c: Likewise.
3908         * manual/examples/argp-ex3.c: Likewise.
3909         * manual/examples/argp-ex4.c: Likewise.
3910         * manual/examples/atexit.c: Likewise.
3911         * manual/examples/db.c: Likewise.
3912         * manual/examples/dir.c: Likewise.
3913         * manual/examples/dir2.c: Likewise.
3914         * manual/examples/execinfo.c: Likewise.
3915         * manual/examples/filecli.c: Likewise.
3916         * manual/examples/filesrv.c: Likewise.
3917         * manual/examples/fmtmsgexpl.c: Likewise.
3918         * manual/examples/genpass.c: Likewise.
3919         * manual/examples/inetcli.c: Likewise.
3920         * manual/examples/inetsrv.c: Likewise.
3921         * manual/examples/isockad.c: Likewise.
3922         * manual/examples/longopt.c: Likewise.
3923         * manual/examples/memopen.c: Likewise.
3924         * manual/examples/memstrm.c: Likewise.
3925         * manual/examples/mkfsock.c: Likewise.
3926         * manual/examples/mkisock.c: Likewise.
3927         * manual/examples/mygetpass.c: Likewise.
3928         * manual/examples/pipe.c: Likewise.
3929         * manual/examples/popen.c: Likewise.
3930         * manual/examples/rprintf.c: Likewise.
3931         * manual/examples/search.c: Likewise.
3932         * manual/examples/select.c: Likewise.
3933         * manual/examples/setjmp.c: Likewise.
3934         * manual/examples/sigh1.c: Likewise.
3935         * manual/examples/sigusr.c: Likewise.
3936         * manual/examples/stpcpy.c: Likewise.
3937         * manual/examples/strdupa.c: Likewise.
3938         * manual/examples/strftim.c: Likewise.
3939         * manual/examples/strncat.c: Likewise.
3940         * manual/examples/subopt.c: Likewise.
3941         * manual/examples/swapcontext.c: Likewise.
3942         * manual/examples/termios.c: Likewise.
3943         * manual/examples/testopt.c: Likewise.
3944         * manual/examples/testpass.c: Likewise.
3945         * manual/examples/timeval_subtract.c: Likewise.
3946
3947         [BZ #13792]
3948         * manual/time.texi (Elapsed Time): Move timeval_subtract example
3949         function to ...
3950         * manual/timeval_subtract.c.texi: ... here, new file.
3951
3952 2012-03-02  David S. Miller  <davem@davemloft.net>
3953
3954         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3955
3956 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
3957
3958         [BZ #3976]
3959         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3960         (__sin): Save and restore rounding mode and use round-to-nearest
3961         for all computations.
3962         (__cos): Save and restore rounding mode and use round-to-nearest
3963         for all computations.
3964         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3965         <fenv.h>.
3966         (tan): Save and restore rounding mode and use round-to-nearest for
3967         all computations.
3968         * math/libm-test.inc (cos_test_tonearest): New function.
3969         (cos_test_towardzero): Likewise.
3970         (cos_test_downward): Likewise.
3971         (cos_test_upward): Likewise.
3972         (sin_test_tonearest): Likewise.
3973         (sin_test_towardzero): Likewise.
3974         (sin_test_downward): Likewise.
3975         (sin_test_upward): Likewise.
3976         (tan_test_tonearest): Likewise.
3977         (tan_test_towardzero): Likewise.
3978         (tan_test_downward): Likewise.
3979         (tan_test_upward): Likewise.
3980         (main): Call the new functions.
3981         * sysdeps/i386/fpu/libm-test-ulps: Update.
3982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3983
3984         [BZ #10135]
3985         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3986         small n, then large n, before computing and testing k+n.
3987         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3988         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3989         Likewise.
3990         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3991         Likewise.
3992         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3993         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3994         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3995         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3996         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3997         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3998         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3999         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4000         * math/libm-test.inc (scalbn_test): Add more tests.
4001         (scalbln_test): Likewise.
4002
4003         * manual/filesys.texi (mode_t): Describe constraints on size and
4004         signedness, not exact equivalence to a particular type.
4005         (ino_t): Likewise.
4006         (ino64_t): Likewise.
4007         (dev_t): Likewise.
4008         (nlink_t): Likewise.
4009         (blkcnt_t): Likewise.
4010         (blkcnt64_t): Likewise.
4011         * manual/llio.texi (off_t): Likewise.
4012
4013         [BZ #3976]
4014         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4015         (__ieee754_exp): Save and restore rounding mode and use
4016         round-to-nearest for all computations.
4017         * math/libm-test.inc (exp_test_tonearest): New function.
4018         (exp_test_towardzero): Likewise.
4019         (exp_test_downward): Likewise.
4020         (exp_test_upward): Likewise.
4021         (main): Call the new functions.
4022         * sysdeps/i386/fpu/libm-test-ulps: Update.
4023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4024
4025 2012-03-01  Chris Demetriou  <cgd@google.com>
4026
4027         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4028         have predictable order.
4029
4030 2012-03-01  David S. Miller  <davem@davemloft.net>
4031
4032         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4033
4034         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4035         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4036         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4037         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4038
4039         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4040         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4041         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4043         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4044         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4045         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4046         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4047         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4048
4049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4050
4051         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4052         * sysdeps/sparc/fpu/libm-test-ulps: to here.
4053         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4054
4055         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4056         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4057         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4058         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4059         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4060         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4061         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4062         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4063         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4064         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4065         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4066         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4067         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4068         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4069         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4070         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4071         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4072         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4073         * sysdeps/sparc/elf/configure: Regenerated.
4074
4075 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
4076
4077         * configure.in (AS, LD): Require binutils 2.20 or later.
4078         * configure: Regenerated.
4079         * manual/install.texi (Tools for Compilation): Give binutils 2.20
4080         as required minimum version.
4081         * INSTALL: Regenerated.
4082
4083         [BZ #2541]
4084         [BZ #4108]
4085         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4086         before squaring exponent.
4087         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4088         bottom long double and 27 bits of top long double before squaring
4089         exponent.
4090         * math/libm-test.inc (erfc_test): Add more tests.
4091         * sysdeps/i386/fpu/libm-test-ulps: Update.
4092         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4094
4095 2012-03-01  Kai Tietz  <ktietz@redhat.com>
4096
4097         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4098         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4099         containing bit-fields.
4100         * soft-fp/extended.h (_FP_UNION_E): Likewise.
4101         * soft-fp/single.h (_FP_UNION_S): Likewise.
4102         * soft-fp/double.h (_FP_UNION_D): Likewise.
4103
4104 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
4105
4106         [BZ #13786]
4107         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4108         not include ../strcmp.S.
4109         [USE_AS_STRNCASECMP_L]: Likewise.
4110         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4111         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4112         * sysdeps/i386/i686/multiarch/strncase_l-c.c
4113         (__strncasecmp_l_ia32): Define as alias to
4114         __strncasecmp_l_nonascii.
4115
4116         [BZ #5794]
4117         * math/libm-test.inc (expm1_test): Add test for bug 5794.
4118         * sysdeps/i386/fpu/libm-test-ulps: Update.
4119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4120
4121         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4123
4124 2012-02-29  Jeff Law  <law@redhat.com>
4125
4126         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4127         out of bounds read.
4128
4129 2012-02-29  Marek Polacek  <polacek@redhat.com>
4130
4131         [BZ #13706]
4132         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4133         * elf/Makefile: Add rules to run tst-unused-dep.out.
4134
4135 2012-02-28  David S. Miller  <davem@davemloft.net>
4136
4137         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4138         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4139         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4140         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4141         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4142         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4143
4144 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
4145
4146         * math/libm-test.inc (llround_test): Move one test from
4147         lround_test.  Use TEST_f_L in moved test.
4148         (lround_test): Move misplaced test to llround_test.  Add testcase
4149         from bug 2561.
4150
4151 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
4152
4153         * sysdeps/x86_64/fpu/e_expf.S: New file.
4154         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4155
4156 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
4157
4158         [BZ #13637]
4159         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4160         of remain_len that may cause incomplete multi-byte character and
4161         false match.
4162         * posix/bug-regex33.c: New file.
4163         * posix/Makefile (tests): Add bug-regex33.
4164
4165 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
4166
4167         * manual/macros.texi: New file.
4168         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4169         * manual/libc.texinfo: Include macros.texi.
4170         * manual/creatute.texi: Likewise.
4171         * manual/install.texi: Likewise.
4172         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4173         @glibcadj{} in references to the GNU C Library.
4174         * manual/charset.texi: Likewise.
4175         * manual/conf.texi: Likewise.
4176         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
4177         when not using those macros.
4178         * manual/creature.texi: Likewise.
4179         * manual/crypt.texi: Likewise.
4180         * manual/errno.texi: Likewise.
4181         * manual/filesys.texi: Likewise.
4182         * manual/header.texi: Likewise.
4183         * manual/install.texi: Likewise.
4184         * manual/intro.texi: Likewise.
4185         * manual/io.texi: Likewise.
4186         * manual/job.texi: Likewise.
4187         * manual/lang.texi: Likewise.
4188         * manual/libc.texiinfo: Likewise.
4189         * manual/llio.texi: Likewise.
4190         * manual/locale.texi: Likewise.
4191         * manual/maint.texi: Likewise.
4192         * manual/math.texi: Likewise.
4193         * manual/memory.texi: Likewise.
4194         * manual/message.texi: Likewise.
4195         * manual/nss.texi: Likewise.
4196         * manual/pattern.texi: Likewise.
4197         * manual/process.texi: Likewise.
4198         * manual/resource.texi: Likewise.
4199         * manual/search.texi: Likewise.
4200         * manual/setjmp.texi: Likewise.
4201         * manual/signal.texi: Likewise.
4202         * manual/socket.texi: Likewise.
4203         * manual/startup.texi: Likewise.
4204         * manual/stdio.texi: Likewise.
4205         * manual/string.texi: Likewise.
4206         * manual/sysinfo.texi: Likewise.
4207         * manual/syslog.texi: Likewise.
4208         * manual/terminal.texi: Likewise.
4209         * manual/time.texi: Likewise.
4210         * manual/users.texi: Likewise.
4211         * INSTALL: Regenerated.
4212         * NOTES: Regenerated.
4213         * sysdeps/gnu/errlist.c: Regenerated.
4214
4215 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
4216
4217         * include/dirent.h: Include <dirstream.h> before
4218         <dirent/dirent.h>.
4219
4220 2012-02-28  David S. Miller  <davem@davemloft.net>
4221
4222         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4223         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4224         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4225         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4226
4227 2012-02-27  David S. Miller  <davem@davemloft.net>
4228
4229         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4231         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4232         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4233
4234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4235         frame pointer instead of stack pointer relative arg slot.
4236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4237         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4238         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4239
4240 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
4241
4242         [BZ #3992]
4243         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4244
4245 2012-02-27  David S. Miller  <davem@davemloft.net>
4246
4247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4251         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4252         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4253         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4254         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4255
4256 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
4257
4258         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4259         later.  Allow versions 5-9.
4260         * configure: Regenerated.
4261         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4262         required minimum version and 4.6 as recommended version.  Do not
4263         mention bugs in GCC 2.7 and 2.8.
4264         * INSTALL: Regenerated.
4265
4266 2012-02-27  David S. Miller  <davem@davemloft.net>
4267
4268         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4272         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4273         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4274         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4275         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4276
4277         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4278         manipulate bits before adding and subtracting TWO112[sx].
4279         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4280
4281 2012-02-27  Roland McGrath  <roland@hack.frob.com>
4282
4283         [BZ #13775]
4284         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4285         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4286         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4287         being in POSIX, because they are in 1003.1-2008.
4288
4289         * rt/tst-aio.c: Include <fcntl.h>.
4290         * rt/tst-aio7.c: Likewise.
4291         * rt/tst-aio64.c: Likewise.
4292
4293         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4294
4295 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
4296
4297         * manual/install.texi (--with-headers): Describe headers as
4298         interface headers, not private headers.
4299         (Specific advice for GNU/Linux systems): Describe use of headers
4300         from "make headers_install", not private headers from older
4301         kernels.
4302         * INSTALL: Regenerated.
4303         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4304         Change to 2.6.19.
4305         * sysdeps/unix/sysv/linux/configure: Regenerated.
4306
4307         * manual/llio.texi (fclean): Remove documentation.
4308
4309         * manual/Makefile (libc-texi-generated): New variable.  Include
4310         version.texi.
4311         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4312         $(libc-texi-generated), not duplicated list of files.
4313         (version.texi, stamp-version): New rules.
4314         (realclean): Remove $(libc-texi-generated), not individual files
4315         from that list.  Do not remove dir-add.texinfo.
4316         * manual/libc.texinfo: Comment out uses of edition numbers and
4317         references to printed manual.  Remove last-updated dates.
4318         (EDITION): Comment out.
4319         (ISBN): Likewise.
4320         (VERSION, UPDATED): Remove.
4321         (version.texi): Include.
4322
4323 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
4324
4325         * sysdeps/posix/spawni.c: Include <signal.h>.
4326         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4327         * sysdeps/pthread/aio_fsync.c: Likewise.
4328
4329 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
4330
4331         * conform/Makefile (tests): Run only when not cross-compiling and
4332         when fast-check is not defined.
4333
4334         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4335         * conform/data/limits.h-data: Fixes for POSIX2008.
4336         * conform/run-conformtest.sh: Run all tests.
4337         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4338         headers.
4339         * include/bits/dlfcn.h: Likewise.
4340         * include/langinfo.h: Likewise.
4341         * include/monetary.h: Likewise.
4342         * include/sys/poll.h: Likewise.
4343
4344         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4345         for __USE_GNU.
4346         * posix/spawn.h: Define __need_sigset_t.
4347         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4348         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4349         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
4350         to get sigevent_t only.
4351         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4352         only for __USE_GNU.
4353         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4354         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4355         process_vm_writev only for __USE_GNU.
4356         * termios/termios.h: Declare tcgetsid also for POSIX2008.
4357
4358         * conform/Makefile: For now ignore errors from run-conformtest.
4359         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
4360         POSIX to avoid namespace pollution.  Don't prepend headers.
4361         * conform/data/aio.h-data: Fixes for POSIX testing.
4362         * conform/data/fcntl.h-data: Likewise.
4363         * conform/data/glob.h-data: Likewise.
4364         * conform/data/grp.h-data: Likewise.
4365         * conform/data/pthread.h-data: Likewise.
4366         * conform/data/pwd.h-data: Likewise.
4367         * conform/data/signal.h-data: Likewise.
4368         * conform/data/spawn.h-data: Likewise.
4369         * conform/data/stdio.h-data: Likewise.
4370         * conform/data/stdlib.h-data: Likewise.
4371         * conform/data/stropts.h-data: Likewise.
4372         * conform/data/sys/mman.h-data: Likewise.
4373         * conform/data/sys/stat.h-data: Likewise.
4374         * conform/data/sys/types.h-data: Likewise.
4375         * conform/data/sys/wait.h-data: Likewise.
4376         * conform/data/time.h-data: Likewise.
4377         * conform/data/unistd.h-data: Likewise.
4378         * conform/data/utime.h-data: Likewise.
4379
4380         * io/sys/stat.h: fchmod was always in POSIX.
4381         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4382         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4383         * rt/aio.h: Define __need_timespec before including <time.h>.
4384         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4385         struct.  Add forward declaration of pthread_attr_t and use it in
4386         sigevent.
4387         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4388         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4389         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4390         always remove CLK_TCK definition.
4391
4392 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
4393
4394         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4395
4396 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
4397
4398         * conform/run-conformtest.sh: New file.
4399         * conform/Makefile: Run run-conformtest for tests.
4400         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
4401         support.
4402
4403         * conform/data/uchar.h-data: New file.
4404         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4405         * conform/data/arpa/inet.h-data: Likewise.
4406         * conform/data/assert.h-data: Likewise.
4407         * conform/data/complex.h-data: Likewise.
4408         * conform/data/cpio.h-data: Likewise.
4409         * conform/data/ctype.h-data: Likewise.
4410         * conform/data/dirent.h-data: Likewise.
4411         * conform/data/dlfcn.h-data: Likewise.
4412         * conform/data/errno.h-data: Likewise.
4413         * conform/data/fcntl.h-data: Likewise.
4414         * conform/data/float.h-data: Likewise.
4415         * conform/data/fmtmsg.h-data: Likewise.
4416         * conform/data/fnmatch.h-data: Likewise.
4417         * conform/data/ftw.h-data: Likewise.
4418         * conform/data/glob.h-data: Likewise.
4419         * conform/data/grp.h-data: Likewise.
4420         * conform/data/iconv.h-data: Likewise.
4421         * conform/data/inttypes.h-data: Likewise.
4422         * conform/data/langinfo.h-data: Likewise.
4423         * conform/data/libgen.h-data: Likewise.
4424         * conform/data/limits.h-data: Likewise.
4425         * conform/data/locale.h-data: Likewise.
4426         * conform/data/math.h-data: Likewise.
4427         * conform/data/monetary.h-data: Likewise.
4428         * conform/data/mqueue.h-data: Likewise.
4429         * conform/data/ndbm.h-data: Likewise.
4430         * conform/data/net/if.h-data: Likewise.
4431         * conform/data/netdb.h-data: Likewise.
4432         * conform/data/netinet/in.h-data: Likewise.
4433         * conform/data/nl_types.h-data: Likewise.
4434         * conform/data/poll.h-data: Likewise.
4435         * conform/data/pthread.h-data: Likewise.
4436         * conform/data/pwd.h-data: Likewise.
4437         * conform/data/regex.h-data: Likewise.
4438         * conform/data/sched.h-data: Likewise.
4439         * conform/data/search.h-data: Likewise.
4440         * conform/data/semaphore.h-data: Likewise.
4441         * conform/data/setjmp.h-data: Likewise.
4442         * conform/data/signal.h-data: Likewise.
4443         * conform/data/spawn.h-data: Likewise.
4444         * conform/data/stdarg.h-data: Likewise.
4445         * conform/data/stdio.h-data: Likewise.
4446         * conform/data/stdlib.h-data: Likewise.
4447         * conform/data/string.h-data: Likewise.
4448         * conform/data/strings.h-data: Likewise.
4449         * conform/data/stropts.h-data: Likewise.
4450         * conform/data/sys/ipc.h-data: Likewise.
4451         * conform/data/sys/mman.h-data: Likewise.
4452         * conform/data/sys/msg.h-data: Likewise.
4453         * conform/data/sys/resource.h-data: Likewise.
4454         * conform/data/sys/select.h-data: Likewise.
4455         * conform/data/sys/sem.h-data: Likewise.
4456         * conform/data/sys/shm.h-data: Likewise.
4457         * conform/data/sys/socket.h-data: Likewise.
4458         * conform/data/sys/stat.h-data: Likewise.
4459         * conform/data/sys/statvfs.h-data: Likewise.
4460         * conform/data/sys/time.h-data: Likewise.
4461         * conform/data/sys/timeb.h-data: Likewise.
4462         * conform/data/sys/times.h-data: Likewise.
4463         * conform/data/sys/types.h-data: Likewise.
4464         * conform/data/sys/uio.h-data: Likewise.
4465         * conform/data/sys/un.h-data: Likewise.
4466         * conform/data/sys/utsname.h-data: Likewise.
4467         * conform/data/sys/wait.h-data: Likewise.
4468         * conform/data/syslog.h-data: Likewise.
4469         * conform/data/tar.h-data: Likewise.
4470         * conform/data/termios.h-data: Likewise.
4471         * conform/data/utime.h-data: Likewise.
4472         * conform/data/utmpx.h-data: Likewise.
4473         * conform/data/varargs.h-data: Likewise.
4474         * conform/data/wchar.h-data: Likewise.
4475         * conform/data/wctype.h-data: Likewise.
4476         * conform/data/wordexp.h-data: Likewise.
4477
4478         * include/stropts.h: New file.
4479         * include/uchar.h: New file.
4480         * include/aio.h: Changes to allow conformtest.pl to use the headers.
4481         * include/assert.h: Likewise.
4482         * include/ctype.h: Likewise.
4483         * include/dirent.h: Likewise.
4484         * include/dlfcn.h: Likewise.
4485         * include/fcntl.h: Likewise.
4486         * include/fnmatch.h: Likewise.
4487         * include/glob.h: Likewise.
4488         * include/grp.h: Likewise.
4489         * include/libio.h: Likewise.
4490         * include/locale.h: Likewise.
4491         * include/math.h: Likewise.
4492         * include/net/if.h: Likewise.
4493         * include/netdb.h: Likewise.
4494         * include/netinet/in.h: Likewise.
4495         * include/pthread.h: Likewise.
4496         * include/pwd.h: Likewise.
4497         * include/regex.h: Likewise.
4498         * include/sched.h: Likewise.
4499         * include/search.h: Likewise.
4500         * include/setjmp.h: Likewise.
4501         * include/signal.h: Likewise.
4502         * include/stdio.h: Likewise.
4503         * include/stdlib.h: Likewise.
4504         * include/string.h: Likewise.
4505         * include/sys/cdefs.h: Likewise.
4506         * include/sys/mman.h: Likewise.
4507         * include/sys/msg.h: Likewise.
4508         * include/sys/resource.h: Likewise.
4509         * include/sys/select.h: Likewise.
4510         * include/sys/socket.h: Likewise.
4511         * include/sys/stat.h: Likewise.
4512         * include/sys/statvfs.h: Likewise.
4513         * include/sys/time.h: Likewise.
4514         * include/sys/times.h: Likewise.
4515         * include/sys/uio.h: Likewise.
4516         * include/sys/utsname.h: Likewise.
4517         * include/sys/wait.h: Likewise.
4518         * include/termios.h: Likewise.
4519         * include/time.h: Likewise.
4520         * include/ulimit.h: Likewise.
4521         * include/unistd.h: Likewise.
4522         * include/utime.h: Likewise.
4523         * include/wchar.h: Likewise.
4524         * include/wctype.h: Likewise.
4525         * include/wordexp.h: Likewise.
4526
4527         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4528
4529         * time/time.h: TIME_UTC must be a macro.
4530         Make timespec_get available for ISO C11 only as well.
4531
4532 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
4533
4534         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4535         Reported by Peng Haitao <penght@cn.fujitsu.com>.
4536
4537 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
4538
4539         * configure.in: Use -o not -a in test for unsupported multi-arch.
4540
4541 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
4542
4543         * manual/texinfo.tex: Update to version 2012-01-19.16.
4544
4545 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
4546
4547         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4548
4549 2012-02-24  Roland McGrath  <roland@hack.frob.com>
4550
4551         [BZ #13738]
4552         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4553         * manual/fdl-1.3.texi: New file.
4554         * manual/fdl-1.1.texi: File removed.
4555
4556         [BZ #13738]
4557         * manual/libc.texinfo (FDL_VERSION): New @set.
4558         Use it for mention of FDL in cover text.
4559         (Documentation License): Use it in @include file name.
4560
4561 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
4562             Roland McGrath  <roland@hack.frob.com>
4563
4564         [BZ #5461]
4565         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4566         not LONG_LONG_MAX and LONG_LONG_MIN.
4567         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4568         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
4569         name.
4570         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4571
4572 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
4573
4574         [BZ #2547]
4575         [BZ #11365]
4576         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4577         manipulate bits before adding and subtracting TWO23[sx].
4578         * math/libm-test.inc (nearbyint_test): Add more tests.
4579
4580 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
4581
4582         [BZ #2548]
4583         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4584         bits before adding and subtracting TWO23[sx].
4585         * math/libm-test.inc (rint_test): Add more tests.
4586         (rint_test_tonearest): Likewise.
4587         (rint_test_towardzero): Likewise.
4588         (rint_test_downward): Likewise.
4589         (rint_test_upward: Likewise.
4590
4591 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
4592
4593         [BZ #10110]
4594         * include/stdc-predef.h: New file.  Extracted from features.h.
4595         * include/features.h: Include stdc-predef.h.
4596         * Makefile (headers): Add stdc-predef.h.
4597         * CONFORMANCE (Compiler limitations): Update.
4598
4599 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
4600
4601         * manual/libc.texinfo (VERSION, UPDATED): Revert.
4602
4603 2012-02-21  David S. Miller  <davem@davemloft.net>
4604
4605         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4606         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4607
4608 2012-02-20  David S. Miller  <davem@davemloft.net>
4609
4610         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4611         using a normal save/restore sequence, rather than allocating a
4612         dummy stack frame just to store a frame pointer and restore.
4613         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4614
4615 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
4616
4617         * manual/install.texi: Fix stray word in line-wrapped comment.
4618
4619 2012-02-20  David S. Miller  <davem@davemloft.net>
4620
4621         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4622         both binutils and gcc support GOTDATA.
4623
4624         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4625         "rd %pc" in the PIC register setup sequences.
4626
4627         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4628         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4629         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4630         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4631         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4632         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4633         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4634         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4635         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4636         (SYSCALL_ERROR_HANDLER): Likewise.
4637         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4638         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4639         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4640         (SYSCALL_ERROR_HANDLER): Likewise.
4641
4642         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4643         (HAVE_GCC_GOTDATA): New.
4644         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4645         relocation support in both binutils and gcc.
4646         * sysdeps/sparc/elf/configure: Regenerate.
4647
4648         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4649         * sysdeps/sparc/sparc32/elf/configure: Delete.
4650         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4651         * sysdeps/sparc/sparc64/elf/configure: Delete.
4652         * sysdeps/sparc/elf/configure.in: New file.
4653         * sysdeps/sparc/elf/configure: Generate.
4654
4655         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4656         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4657         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4658         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4659         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4660
4661 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
4662
4663         * manual/install.texi: Do not mention specific glibc version
4664         numbers.
4665         * manual/libc.texinfo (VERSION, UPDATED): Update.
4666         (@copying): Use @copyright{} and range of years.
4667
4668 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
4669
4670         [BZ #13695]
4671         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4672         [crti.S not in sysdirs] (generated): Do not append.
4673         [crti.S not in sysdirs] (omit-deps): Likewise.
4674         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4675         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4676         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4677         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4678         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4679         Likewise.
4680         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4681         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4682         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4683         * csu/defs.awk: Remove file.
4684         * sysdeps/generic/initfini.c: Likewise.
4685         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4686         variable.
4687         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4688         Likewise.
4689
4690 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
4691
4692         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4693         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4694         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4695         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4696         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4697         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4698         <bits/epoll.h>.
4699         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4700         (__EPOLL_PACKED): Define to empty if not defined by
4701         <bits/epoll.h>.
4702         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4703         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4704         bits/epoll.h.
4705
4706 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
4707
4708         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4709         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4710         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4711         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4712         <bits/timerfd.h>.
4713         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4714         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4715         bits/timerfd.h.
4716
4717 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
4718
4719         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4720         in C locale.
4721         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4722         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4723         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4725
4726 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
4727
4728         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4729         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4730
4731 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
4732
4733         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4734         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4735         defined.
4736         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4737         Likewise.
4738         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4739         entry for 2.16.
4740
4741 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
4742
4743         * math/w_acos.c: Use non-signaling floating-point comparisons.
4744         * math/w_acosf.c: Likewise.
4745         * math/w_acosh.c: Likewise.
4746         * math/w_acoshf.c: Likewise.
4747         * math/w_acoshl.c: Likewise.
4748         * math/w_acosl.c: Likewise.
4749         * math/w_asin.c: Likewise.
4750         * math/w_asinf.c: Likewise.
4751         * math/w_asinl.c: Likewise.
4752         * math/w_atanh.c: Likewise.
4753         * math/w_atanhf.c: Likewise.
4754         * math/w_atanhl.c: Likewise.
4755         * math/w_exp2.c: Likewise.
4756         * math/w_exp2f.c: Likewise.
4757         * math/w_exp2l.c: Likewise.
4758         * math/w_j0.c: Likewise.
4759         * math/w_j0f.c: Likewise.
4760         * math/w_j0l.c: Likewise.
4761         * math/w_j1.c: Likewise.
4762         * math/w_j1f.c: Likewise.
4763         * math/w_j1l.c: Likewise.
4764         * math/w_jn.c: Likewise.
4765         * math/w_jnf.c: Likewise.
4766         * math/w_log.c: Likewise.
4767         * math/w_log10.c: Likewise.
4768         * math/w_log10f.c: Likewise.
4769         * math/w_log10l.c: Likewise.
4770         * math/w_log2.c: Likewise.
4771         * math/w_log2f.c: Likewise.
4772         * math/w_log2l.c: Likewise.
4773         * math/w_logf.c: Likewise.
4774         * math/w_logl.c: Likewise.
4775         * math/w_sqrt.c: Likewise.
4776         * math/w_sqrtf.c: Likewise.
4777         * math/w_sqrtl.c: Likewise.
4778         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4779         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4780         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4781         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4782         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4783
4784 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
4785
4786         [BZ #9739]
4787         * manual/string.texi (strnlen): Use correct parameter name in
4788         equivalent expression.
4789
4790 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
4791
4792         [BZ #11174]
4793         * manual/users.texi (seteuid): Consistently use neweuid for
4794         argument name.
4795
4796 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
4797
4798         [BZ #13704]
4799         * manual/nss.texi (Services in the NSS configuration): Correct
4800         list of services in example configuration file.
4801
4802 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
4803
4804         [BZ #11322]
4805         * manual/arith.texi: Remove statements about negative zero
4806         behaving identically to zero.
4807
4808 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
4809
4810         [BZ #5993]
4811         * manual/install.texi: Do not document upgrading from libc5.
4812
4813 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
4814
4815         [BZ #4596]
4816         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4817
4818 2012-02-18  David S. Miller  <davem@davemloft.net>
4819
4820         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4821         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4822         %o7 across the call.
4823         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4824         instead.
4825         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4826         SETUP_PIC_REG_LEAF.
4827         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4828         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4829         * sysdeps/sparc/crtn.S: Likewise.
4830
4831 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
4832
4833         * aout/Makefile: Remove.
4834
4835 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
4836
4837         [BZ #13058]
4838         * manual/examples/argp-ex1.c (main): Format definition in GNU
4839         style.
4840         * manual/examples/argp-ex2.c (main): Likewise.
4841         * manual/examples/argp-ex3.c (main): Likewise.
4842         * manual/examples/argp-ex4.c (main): Likewise.
4843         * manual/examples/longopt.c (main): Use new-style prototype
4844         definition.
4845         * manual/examples/strncat.c (main): Specify return type and use
4846         (void) for arguments.
4847         * manual/examples/subopt.c (main): Use char **argv argument.
4848
4849 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4850
4851         [BZ #5077]
4852         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4853         rounding modes.
4854
4855 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
4856
4857         [BZ #6907]
4858         * manual/string.texi (strchr): Change when strchrnul is
4859         recommended.
4860
4861 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
4862
4863         [BZ #174]
4864         * manual/locale.texi (setlocale): Document LOCPATH.
4865
4866 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4867
4868         [BZ #10210]
4869         * manual/process.texi (execle): Move @dots{} before last argument.
4870
4871 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
4872
4873         [BZ #12047]
4874         * manual/charset.texi (Generic Charset Conversion): Fix typo
4875         (LC_TYPE -> LC_CTYPE).
4876
4877 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
4878
4879         [BZ #5805]
4880         * manual/arith.texi (scalbn): Use @var{} on parameter names.
4881         (scalbnf): Likewise.
4882         (scalbnl): Likewise.
4883         (scalbln): Likewise.
4884         (scalblnf): Likewise.
4885         (scalblnl): Likewise.
4886         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4887         (vwarnx): Likewise.
4888         (verr): Likewise.
4889         (verrx): Likewise.
4890         * manual/filesys.texi (telldir): Use braces around return type.
4891         * manual/llio.texi (mmap): Add space after comma.
4892         (mmap64): Likewise.
4893         * manual/math.texi (jn): Use @var{} on parameter names.
4894         (jnf): Likewise.
4895         (jnl): Likewise.
4896         (yn): Likewise.
4897         (ynf): Likewise.
4898         (ynl): Likewise.
4899         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4900         line.
4901         * manual/resource.texi (ulimit): Use @dots{} instead of literal
4902         "...".
4903         (sched_get_priority_min): Remove semicolon on @deftypefun line.
4904         (sched_get_priority_max): Likewise.
4905         * manual/signal.texi (sigvec): Add space after comma.
4906         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4907         names.
4908         (if_indextoname): Likewise.
4909         (if_freenameindex): Likewise.
4910         (sendto): Use ',' instead of '.' in prototype.
4911         * manual/startup.texi (syscall): Use @dots{} instead of literal
4912         "...".
4913         * manual/stdio.texi (__fpending): Separate initial words of
4914         paragraph from @deftypefun line.
4915         * manual/syslog.texi (syslog): Use @dots{} instead of literal
4916         "...".
4917         (vsyslog): Use @var{} on parameter names.
4918         * manual/terminal.texi (stty): Use @var{} on parameter names.
4919         * manual/users.texi (getutmp): Use @var{} on parameter names.
4920         (getutmpx): Likewise.
4921
4922 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4923
4924         [BZ #6884]
4925         * manual/stdio.texi (fopen): Fix typos in description of
4926         ",ccs=STRING".
4927
4928 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
4929
4930         [BZ #4026]
4931         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4932         get clock_id definition.
4933
4934 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
4935
4936         [BZ #4822]
4937         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4938         (madvise): Cast every argument to void on its own.
4939
4940 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4941
4942         [BZ #9902]
4943         * manual/startup.texi (Exit Status): Fix typo.
4944
4945 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
4946
4947         [BZ #10140]
4948         * manual/examples/argp-ex1.c: Include <stdlib.h>.
4949         * manual/examples/argp-ex2.c: Likewise.
4950         * manual/examples/argp-ex3.c: Likewise.
4951
4952 2012-02-16  Richard Henderson  <rth@redhat.com>
4953
4954         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4955         * sysdeps/s390/s390-32/initfini.c: Remove.
4956         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4957         * sysdeps/s390/s390-64/initfini.c: Remove.
4958
4959 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4960
4961         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4962         compiler output for sysdeps/generic/initfini.c.
4963         * sysdeps/sh/elf/initfini.c: Remove file.
4964
4965 2012-02-16  David S. Miller  <davem@davemloft.net>
4966
4967         [BZ #11494]
4968         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4969
4970         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4971         * sysdeps/sparc/crti.S: New file.
4972         * sysdeps/sparc/crtn.S: New file.
4973         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4974         * sysdeps/sparc/sparc64/Makefile: Likewise.
4975
4976 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
4977
4978         [BZ #3335]
4979         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4980
4981 2012-02-15  Roland McGrath  <roland@hack.frob.com>
4982
4983         [BZ #4822]
4984         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4985
4986         * mach/devstream.c (cookie_io_functions_t): Macro removed.
4987         (write, read, close): Likewise.
4988         Patch by Aurelien Jarno <aurelien@aurel32.net>.
4989
4990 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
4991
4992         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4993         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4994         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4995         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4996         <bits/signalfd.h>.
4997         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4998         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4999         bits/signalfd.h.
5000
5001 2012-02-14  Marek Polacek  <polacek@redhat.com>
5002
5003         * sysdeps/x86_64/crti.S: New file.
5004         * sysdeps/x86_64/crtn.S: New file.
5005         * sysdeps/x86_64/elf/initfini.c: Remove file.
5006
5007 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
5008
5009         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5010         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5011         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5012         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5013         <bits/inotify.h>.
5014         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5015         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5016         bits/inotify.h.
5017
5018 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
5019
5020         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5021         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5022         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5023         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5024         <bits/eventfd.h>.
5025         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5026         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5027         bits/eventfd.h.
5028
5029 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
5030
5031         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5032         __feraiseexcept instead of feraiseexcept.
5033
5034         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5035         nanosleep invocations.
5036         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5037         strings, and add error checking for a nanosleep invocations.
5038
5039 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
5040
5041         Replace FSF snail mail address with URLs, as per GNU coding standards.
5042         Most of the snail mail addresses were wrong anyway, and omitting
5043         them makes the source code easier to maintain.  Almost all of the
5044         changes are to license notices and to locale LC_IDENTIFICATION
5045         addresses, except for this one:
5046         * manual/libc.texinfo: In "Published by", give the FSF's URL,
5047         not its snail mail address.
5048
5049 2012-02-09  Richard Henderson  <rth@twiddle.net>
5050
5051         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5052         of kernel-features.h.
5053
5054         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5055
5056 2012-02-08  Marek Polacek  <polacek@redhat.com>
5057
5058         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5059         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5060         * sysdeps/gnu/_G_config.h: Likewise.
5061         * sysdeps/generic/_G_config.h: Likewise.
5062
5063 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
5064
5065         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5066         tests.
5067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5068
5069         * sysdeps/powerpc/powerpc32/crti.S: New file.
5070         * sysdeps/powerpc/powerpc32/crtn.S: New file.
5071         * sysdeps/powerpc/powerpc64/crti.S: New file.
5072         * sysdeps/powerpc/powerpc64/crtn.S: New file.
5073
5074         * Makeconfig (have-initfini): Don't set.
5075         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5076         * configure.in (nopic_initfini): Don't substitute.
5077         * config.h.in (HAVE_INITFINI): Don't #undef.
5078         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5079         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5080
5081 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
5082
5083         Support crti.S and crtn.S provided directly by architectures.
5084         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5085         [crti.S in sysdirs] (omit-deps): Likewise.
5086         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5087         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5088         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5089         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5090         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5091         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5092         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5093         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5094         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5095         compiler output for sysdeps/generic/initfini.c.
5096         * sysdeps/i386/elf/Makefile: Remove file.
5097         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5098
5099 2012-02-07  Marek Polacek  <polacek@redhat.com>
5100
5101         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5102         * sysdeps/gnu/_G_config.h: Likewise.
5103         * sysdeps/mach/hurd/_G_config.h: Likewise.
5104
5105 2012-02-07  Marek Polacek  <polacek@redhat.com>
5106
5107         * math/Makefile (tests): Add tst-CMPLX2.
5108         * math/tst-CMPLX2.c: New file.
5109
5110 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
5111
5112         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5113
5114         * math/libm-test.inc (jn_test): Add missing L suffix.
5115
5116 2012-02-06  Marek Polacek  <polacek@redhat.com>
5117
5118         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5119         * sysdeps/i386/fpu/e_powf.S: Likewise.
5120         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5121         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5122         * sysdeps/i386/fpu/e_acosh.S: Likewise.
5123         * sysdeps/i386/fpu/e_pow.S: Likewise.
5124         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5125         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5126         * sysdeps/i386/fpu/s_expm1.S: Likewise.
5127         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5128         * sysdeps/i386/fpu/e_log2.S: Likewise.
5129         * sysdeps/i386/fpu/e_log2l.S: Likewise.
5130         * sysdeps/i386/fpu/e_scalb.S: Likewise.
5131         * sysdeps/i386/fpu/e_powl.S: Likewise.
5132         * sysdeps/i386/fpu/s_log1p.S: Likewise.
5133         * sysdeps/i386/fpu/e_log10f.S: Likewise.
5134         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5135         * sysdeps/i386/fpu/e_logl.S: Likewise.
5136         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5137         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5138         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5139         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5140         * sysdeps/i386/fpu/e_log2f.S: Likewise.
5141         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5142         * sysdeps/i386/fpu/e_log.S: Likewise.
5143         * sysdeps/i386/fpu/s_cexp.S: Likewise.
5144         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5145         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5146         * sysdeps/i386/fpu/e_logf.S: Likewise.
5147         * sysdeps/i386/fpu/e_log10l.S: Likewise.
5148         * sysdeps/i386/fpu/e_atanh.S: Likewise.
5149         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5150         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5151         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5152         * sysdeps/i386/fpu/e_log10.S: Likewise.
5153         * sysdeps/i386/fpu/s_frexp.S: Likewise.
5154         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5155         * sysdeps/i386/fpu/s_asinh.S: Likewise.
5156         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5157         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5158         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5159         * sysdeps/i386/asm-syntax.h: Likewise.
5160         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5161         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5162         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5163         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5164         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5165         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5166         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5167         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5168         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5169         * sysdeps/powerpc/sysdep.h: Likewise.
5170         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5171         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5172
5173 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
5174
5175         [BZ #411]
5176         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5177
5178 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
5179
5180         * sysdeps/i386/sysdep.h: Include <features.h>.
5181         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5182         version.
5183
5184 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
5185
5186         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5187         Define.
5188         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5189         LOAD_PIC_REG_STR.
5190
5191 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
5192
5193         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5194         (SETUP_PIC_REG): Use GET_PC_THUNK.
5195         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5196         macro.
5197
5198 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
5199
5200         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5201         for non-PIC compilation.
5202         (SETUP_PIC_REG): Add .p2align directive.
5203         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5204         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5205         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5206         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5207         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5208         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5209         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5210         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5211         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5212         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5213         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5214         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5215         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5216         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5217         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5218         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5219         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5220         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5221         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5222         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5223         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5224         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5225         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5226         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5227         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5228         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5229         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5230         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5231         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5232         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5233         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5234         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5235         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5236         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5237         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5238         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5239         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5240         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5241         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5242         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5243         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5244
5245 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
5246
5247         * math/tst-CMPLX.c: Include <stdio.h>.
5248
5249 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
5250
5251         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5252         float.
5253         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5254         * sysdeps/sparc/bits/mathdef.h: Likewise.
5255
5256 2012-01-31  Marek Polacek  <polacek@redhat.com>
5257
5258         * libio/libio.h: Don't define _PARAMS.
5259         * locale/programs/config.h: Don't define PARAMS.
5260         * stdlib/strtol_l.c: Likewise.
5261         (__strtol_l): Remove PARAMS from the prototype.
5262
5263 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
5264
5265         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
5266         names.  Just use the correct names.  Remove unnecessary wrapper
5267         functions.
5268         * malloc/arena.c: Likewise.
5269         * malloc/hooks.c: Likewise.
5270
5271         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5272         ARENA_TEST says not to.  Simplify test for creation of a new arena.
5273         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5274
5275 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
5276
5277         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5278         into tail calls.
5279         (update_get_addr): New function.
5280         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5281         GET_ADDR_MODULE parameter.
5282
5283 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
5284
5285         * crypt/cert.c: Remove __STDC__ conditionals.
5286         * crypt/crypt-entry.c: Likewise.
5287         * crypt/crypt_util.c: Likewise.
5288         * libio/filedoalloc.c: Likewise.
5289         * libio/fileops.c: Likewise.
5290         * libio/genops.c: Likewise.
5291         * libio/iofclose.c: Likewise.
5292         * libio/iofdopen.c: Likewise.
5293         * libio/iofopen.c: Likewise.
5294         * libio/iofopen64.c: Likewise.
5295         * libio/iogetdelim.c: Likewise.
5296         * libio/iopopen.c: Likewise.
5297         * libio/obprintf.c: Likewise.
5298         * libio/oldfileops.c: Likewise.
5299         * libio/oldiofclose.c: Likewise.
5300         * libio/oldiofdopen.c: Likewise.
5301         * libio/oldiofopen.c: Likewise.
5302         * libio/oldiopopen.c: Likewise.
5303         * libio/wfiledoalloc.c: Likewise.
5304         * libio/wgenops.c: Likewise.
5305         * locale/programs/xmalloc.c: Likewise.
5306         * misc/syslog.c: Likewise.
5307         * stdio-common/xbug.c: Likewise.
5308         * string/memchr.c: Likewise.
5309         * string/memcmp.c: Likewise.
5310         * string/memrchr.c: Likewise.
5311         * string/rawmemchr.c: Likewise.
5312         * sysdeps/posix/getcwd.c: Likewise.
5313         * time/strftime_l.c: Likewise.
5314
5315 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
5316
5317         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
5318         * config.make.in (config-cflags-sse2avx): Define.
5319         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5320         Fix typo.
5321
5322 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
5323
5324         * scripts/config.guess: Update from upstream config git repository.
5325         * scripts/config.sub: Likewise.
5326
5327 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
5328
5329         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5330         (EM_NUM): Update.
5331         (R_TILEPRO_*, R_TILEGX_*): New macros.
5332
5333         * scripts/firstversions.awk: Fix bug in version range handling.
5334
5335         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5336
5337         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5338
5339         * include/sys/epoll.h: New file.
5340         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5341         libc_hidden_def.
5342
5343 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
5344
5345         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5346         Avoid unnecessary __WORDSIZE == 64 test.
5347         (fmaxf): Use VEX format if possible.
5348         (fmax): Likewise.
5349         (fminf): Likewise.
5350         (fmin): Likewise.
5351
5352         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5353         * math/math_private.h: Remove libc_fegetround* and
5354         libc_fesetround*.
5355         * sysdeps/i386/configure.in: Check for -msse2avx.
5356         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5357         also if SSE2AVX is defined.
5358         Remove libc_fegetround* and libc_fesetround*.
5359         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5360         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
5361         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5362         of HAS_YMM_USABLE.
5363         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5364         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5365         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5366         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5367         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5368
5369         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5370
5371 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5372
5373         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5374         size is not set.
5375         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5376
5377 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
5378
5379         [BZ #13618]
5380         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5381         relocation.
5382         * Makeconfig (libm): Define.
5383         * elf/Makefile: Add rules to build and run tst-relsort1.
5384         * elf/tst-relsort1.c: New file.
5385         * elf/tst-relsort1mod1.c: New file.
5386         * elf/tst-relsort1mod2.c: New file.
5387
5388 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
5389
5390         * math/s_ldexp.c: Remove __STDC__ conditionals.
5391         * math/s_ldexpf.c: Likewise.
5392         * math/s_ldexpl.c: Likewise.
5393         * math/s_nextafter.c: Likewise.
5394         * math/s_nexttowardf.c: Likewise.
5395         * math/s_significand.c: Likewise.
5396         * math/s_significandf.c: Likewise.
5397         * math/s_significandl.c: Likewise.
5398         * math/w_jnl.c: Likewise.
5399         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5400         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5401         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5402         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5403         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5404         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5405         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5406         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5407         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5408         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5409         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5410         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5411         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5412         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5413         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5414         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5415         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5416         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5417         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5418         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5419         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5420         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5421         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5422         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5423         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5424         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5425         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5426         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5427         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5428         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5429         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5430         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5431         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5432         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5433         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5434         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5435         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5436         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5437         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5438         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5439         * sysdeps/ieee754/k_standard.c: Likewise.
5440         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5441         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5442         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5443         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5444         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5445         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5446         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5447         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5448         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5449         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5450         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5451         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5452         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5453         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5454         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5455         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5456         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5457         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5458         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5459         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5460         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5461         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5462         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5463         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5464         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5465         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5466         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5467         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5468         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5469         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5470         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5471         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5472         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5473         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5474         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5475         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5476         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5477         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5478         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5479         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5480         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5481         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5482         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5483         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5484         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5485         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5486         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5487         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5488         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5489         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5490         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5491         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5492         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5493         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5494         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5495         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5496         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5497         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5498         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5499         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5500         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5501         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5502         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5503         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5504         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5505         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5506         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5507         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5508         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5509         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5510         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5511         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5512         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5513         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5514         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5515         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5516         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5517         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5518         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5519         * sysdeps/ieee754/s_matherr.c: Likewise.
5520         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5521         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5522         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5523         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5524
5525 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
5526
5527         * crypt/md5.h: Remove __STDC__ conditionals.
5528         * libio/libioP.h: Likewise.
5529         * locale/programs/config.h: Likewise.
5530         * sysdeps/generic/sysdep.h: Likewise.
5531         * sysdeps/i386/asm-syntax.h: Likewise.
5532         * sysdeps/s390/asm-syntax.h: Likewise.
5533         * sysdeps/unix/sysdep.h: Likewise.
5534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5536
5537 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
5538
5539         * libio/libio.h: Remove __STDC__ conditionals.
5540         * malloc/obstack.h: Likewise.
5541         * math/complex.h: Likewise.
5542         * math/math.h: Likewise.
5543         * sysdeps/generic/_G_config.h: Likewise.
5544         * sysdeps/gnu/_G_config.h: Likewise.
5545         * sysdeps/mach/hurd/_G_config.h: Likewise.
5546         * sysdeps/powerpc/bits/mathdef.h: Likewise.
5547         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5548         * sysdeps/sparc/bits/mathdef.h: Likewise.
5549
5550 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
5551
5552         [BZ #13583]
5553         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
5554         Clean up HAS_* macros.
5555         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
5556         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5557         possible.
5558         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5559         HAS_AVX.
5560         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5561         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5562         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5563         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5564         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5565
5566 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
5567
5568         * elf/tst-unique3.cc (gets): Remove declaration.
5569         * elf/tst-unique3lib.cc (gets): Likewise.
5570         * elf/tst-unique3lib2.cc (gets): Likewise.
5571         * elf/tst-unique4.cc (gets): Likewise.
5572
5573 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
5574
5575         * include/stdio.h: Add C++ protection.  Add gets declarations and
5576         definitions.
5577         * debug/tst-chk1.c: Don't declare gets here.
5578         * stdio-common/tst-gets.c: Likewise.
5579
5580 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
5581
5582         * posix/glob: Remove directory.
5583
5584 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
5585
5586         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5587
5588 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
5589
5590         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5591         of the non-standard EPFNOSUPPORT.
5592
5593 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5594
5595         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5596         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5597         ANYWHERE set to 1 only on KERN_NO_SPACE error.
5598
5599 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
5600
5601         * wcsmbs/uchar.h: Test __STDC_VERSION__.
5602
5603 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
5604
5605         * nscd/aicache.c (addhstaiX): Do not cache negative results of
5606         transient errors.
5607         * nscd/grpcache.c (cache_addgr): Likewise.
5608         * nscd/hstcache.c (cache_addhst): Likewise.
5609         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5610         * nscd/pwdcache.c (cache_addpw): Likewise.
5611         * nscd/servicescache.c (cache_addserv): Likewise.
5612
5613 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
5614
5615         * malloc/malloc.c: Various cleanups.
5616         * malloc/hooks.c: Likewise.
5617
5618         * stdlib/Makefile (tests): Add bug-fmtmsg1.
5619         * stdlib/bug-fmtmsg1.c: New file.
5620
5621         * stdlib/fmtmsg.c (init): Add missing unlock.
5622         Patch by Peng Haitao <penght@cn.fujitsu.com>.
5623
5624 2012-01-12  Marek Polacek  <polacek@redhat.com>
5625
5626         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5627         and _GNU_SOURCE.
5628
5629 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
5630
5631         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5632         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5633         macro to ensure uniqueness of label name.
5634         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5635         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5636
5637 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
5638
5639         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5640
5641         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5642         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5643         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5644         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5645
5646 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
5647
5648         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5649
5650         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5651         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5652         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5653
5654         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5655
5656         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
5657         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5658         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5659         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
5660
5661         * math/bits/math-finite.h: Add ldexp support.
5662
5663 2012-01-10  Marek Polacek  <polacek@redhat.com>
5664
5665         * locale/programs/localedef.h (show_archive_content): Add noreturn
5666         attribute.
5667
5668 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
5669
5670         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5671
5672 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
5673
5674         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5675
5676         * io/Makefile (headers): Add bits/poll2.h.
5677
5678 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
5679
5680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5681         typo #include statement.
5682
5683 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
5684
5685         * include/sys/cdefs.h: Define __attribute_alloc_size.
5686         * catgets/gencat.c: Add alloc_size attribute and apply consistently
5687         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5688         * elf/pldd.c: Likewise.
5689         * iconv/iconv_charmap.c: Likewise.
5690         * iconv/iconvconfig.c: Likewise.
5691         * iconv/strtab.c: Likewise.
5692         * locale/programs/locale.c: Likewise.
5693         * locale/programs/localedef.h: Likewise.
5694         * locale/programs/simple-hash.c: Likewise.
5695         * nscd/nscd.h: Likewise.
5696         * nss/makedb.c: Likewise.
5697         * sysdeps/generic/ldconfig.h: Likewise.
5698         * locale/programs/localedef.c: Remove xmalloc prototype.
5699         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5700
5701 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5702
5703         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5704         appropriate.
5705
5706 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
5707
5708         * math/Makefile (tests): Add tst-CMPLX.
5709         * math/tst-CMPLX.c: New file.
5710
5711         * math/complex.h (CMPLXL): Fix typo.
5712
5713         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5714         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5715         GLIBC_2.16.
5716         * debug/tst-chk1.c: Add poll and ppoll tests.
5717         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5718         * include/sys/poll.h: Add hidden proto for ppoll.
5719         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5720         * sysdeps/mach/hurd/ppoll.c: Likewise.
5721         * io/ppoll.c: Likewise.
5722         * debug/poll_chk.c: New file.
5723         * debug/ppoll_chk.c: New file.
5724         * include/bits/poll2.h: New file.
5725         * io/bits/poll2.h: New file.
5726
5727         [BZ #1350]
5728         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5729
5730         * configure.in: static is always set to yes.  Remove.
5731         * config.make.in: Don't set build-static.
5732         * Makeconfig: Remove use of build-static.
5733         * dlfcn/Makefile: Likewise.
5734         * elf/Makefile: Likewise.
5735         * math/Makefile: Likewise.
5736         * misc/Makefile: Likewise.
5737         * nptl/Makefile: Likewise.
5738         * sysdeps/mach/hurd/Makefile: Likewise.
5739
5740         * configure.in: PWD_P is not used anymore.
5741         * config.make.in: Remove PWD_P entry.
5742
5743         * configure.in: Remove last remnants of RANLIB.
5744         No need to check for signed size_t anymore.
5745         Don't set libc_commonpagesize and libc_relro_required here for Alpha
5746         and IA-64.
5747         Remove __builtin_expect test because we require at least gcc 3.4.
5748         * aclocal.m4: Likewise.
5749
5750         * wcsmbs/mbrtoc16.c: Implement using towc function.
5751         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5752         * wcsmbs/wcsmbsload.c: Likewise.
5753         * iconv/gconv_simple.c: Likewise.
5754         * iconv/gconv_int.h: Likewise.
5755         * iconv/gconv_builtin.h: Likewise.
5756         * iconv/iconv_prog.c: Remove CHAR16 handling.
5757
5758         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5759
5760         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5761
5762         * configure.in: Remove --with-elf and --enable-bounded options.
5763         Dont set base_machine for ia64.  More non-ELF conditions removed.
5764         Remove testing and setting of leading underscore information.
5765         * config.make.in (build-bounded): Set to no.
5766         * config.h.in: Remove NO_UNDERSCORES entry.
5767         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
5768         them.
5769         * csu/start.c: Remove !NO_UNDERSCORE code.
5770         * locale/localeinfo.h: Likewise.
5771         * sysdeps/generic/machine-gmon.h: Likewise.
5772         * sysdeps/generic/sysdep.h: Likewise.
5773         * sysdeps/i386/sysdep.h: Likewise.
5774         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5775         * sysdeps/mach/sysdep.h: Likewise.
5776         * sysdeps/s390/s390-32/sysdep.h: Likewise.
5777         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5778         * sysdeps/sh/sysdep.h: Likewise.
5779         * sysdeps/sparc/sparc32/alloca.S: Likewise.
5780         * sysdeps/unix/i386/sysdep.S: Likewise.
5781         * sysdeps/unix/sparc/start.c: Likewise.
5782         * sysdeps/unix/sparc/sysdep.S: Likewise.
5783         * sysdeps/unix/sparc/sysdep.h: Likewise.
5784         * sysdeps/unix/start.c: Likewise.
5785         * sysdeps/unix/x86_64/sysdep.S: Likewise.
5786         * sysdeps/x86_64/sysdep.h: Likewise.
5787
5788 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
5789
5790         [BZ #13553]
5791         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5792         for non-gcc.
5793         * argp/argp-fmtstream.h: Use const instead __const.
5794         * argp/argp.h: Likewise.
5795         * assert/assert.h: Likewise.
5796         * bits/fenv.h: Likewise.
5797         * bits/sched.h: Likewise.
5798         * bits/sigset.h: Likewise.
5799         * bits/sigthread.h: Likewise.
5800         * catgets/nl_types.h: Likewise.
5801         * conform/data/pthread.h-data: Likewise.
5802         * crypt/crypt-private.h: Likewise.
5803         * crypt/crypt.h: Likewise.
5804         * crypt/crypt_util.c: Likewise.
5805         * ctype/ctype.h: Likewise.
5806         * debug/execinfo.h: Likewise.
5807         * debug/mbsnrtowcs_chk.c: Likewise.
5808         * debug/mbsrtowcs_chk.c: Likewise.
5809         * debug/wcsnrtombs_chk.c: Likewise.
5810         * debug/wcsrtombs_chk.c: Likewise.
5811         * debug/wcstombs_chk.c: Likewise.
5812         * dirent/dirent.h: Likewise.
5813         * dlfcn/dlfcn.h: Likewise.
5814         * elf/neededtest4.c: Likewise.
5815         * grp/grp.h: Likewise.
5816         * gshadow/gshadow.h: Likewise.
5817         * iconv/gconv.h: Likewise.
5818         * iconv/gconv_int.h: Likewise.
5819         * iconv/gconv_simple.c: Likewise.
5820         * iconv/iconv.h: Likewise.
5821         * iconv/loop.c: Likewise.
5822         * iconv/skeleton.c: Likewise.
5823         * include/aio.h: Likewise.
5824         * include/aliases.h: Likewise.
5825         * include/argz.h: Likewise.
5826         * include/arpa/inet.h: Likewise.
5827         * include/assert.h: Likewise.
5828         * include/dirent.h: Likewise.
5829         * include/dlfcn.h: Likewise.
5830         * include/execinfo.h: Likewise.
5831         * include/fcntl.h: Likewise.
5832         * include/fenv.h: Likewise.
5833         * include/glob.h: Likewise.
5834         * include/grp.h: Likewise.
5835         * include/libintl.h: Likewise.
5836         * include/mntent.h: Likewise.
5837         * include/netdb.h: Likewise.
5838         * include/pwd.h: Likewise.
5839         * include/rpc/netdb.h: Likewise.
5840         * include/sched.h: Likewise.
5841         * include/search.h: Likewise.
5842         * include/shadow.h: Likewise.
5843         * include/signal.h: Likewise.
5844         * include/stdio.h: Likewise.
5845         * include/stdlib.h: Likewise.
5846         * include/string.h: Likewise.
5847         * include/sys/socket.h: Likewise.
5848         * include/sys/stat.h: Likewise.
5849         * include/sys/statfs.h: Likewise.
5850         * include/sys/statvfs.h: Likewise.
5851         * include/sys/syslog.h: Likewise.
5852         * include/sys/time.h: Likewise.
5853         * include/sys/uio.h: Likewise.
5854         * include/time.h: Likewise.
5855         * include/unistd.h: Likewise.
5856         * include/utmp.h: Likewise.
5857         * include/wchar.h: Likewise.
5858         * include/wctype.h: Likewise.
5859         * inet/aliases.h: Likewise.
5860         * inet/arpa/inet.h: Likewise.
5861         * inet/netinet/ether.h: Likewise.
5862         * inet/netinet/in.h: Likewise.
5863         * intl/libintl.h: Likewise.
5864         * io/bits/fcntl2.h: Likewise.
5865         * io/fcntl.h: Likewise.
5866         * io/ftw.h: Likewise.
5867         * io/sys/poll.h: Likewise.
5868         * io/sys/stat.h: Likewise.
5869         * io/sys/statfs.h: Likewise.
5870         * io/sys/statvfs.h: Likewise.
5871         * io/utime.h: Likewise.
5872         * libio/bits/stdio.h: Likewise.
5873         * libio/bits/stdio2.h: Likewise.
5874         * libio/libio.h: Likewise.
5875         * libio/libioP.h: Likewise.
5876         * libio/stdio.h: Likewise.
5877         * locale/lc-ctype.c: Likewise.
5878         * locale/locale.h: Likewise.
5879         * login/utmp.h: Likewise.
5880         * malloc/arena.c: Likewise.
5881         * malloc/malloc.c: Likewise.
5882         * malloc/malloc.h: Likewise.
5883         * malloc/mcheck.c: Likewise.
5884         * malloc/mtrace.c: Likewise.
5885         * math/bits/mathcalls.h: Likewise.
5886         * math/fenv.h: Likewise.
5887         * math/math_private.h: Likewise.
5888         * misc/bits/error.h: Likewise.
5889         * misc/bits/syslog.h: Likewise.
5890         * misc/err.h: Likewise.
5891         * misc/error.h: Likewise.
5892         * misc/fstab.h: Likewise.
5893         * misc/mntent.h: Likewise.
5894         * misc/regexp.h: Likewise.
5895         * misc/search.h: Likewise.
5896         * misc/sgtty.h: Likewise.
5897         * misc/sys/mman.h: Likewise.
5898         * misc/sys/syslog.h: Likewise.
5899         * misc/sys/uio.h: Likewise.
5900         * misc/sys/xattr.h: Likewise.
5901         * misc/ttyent.h: Likewise.
5902         * nis/rpcsvc/ypclnt.h: Likewise.
5903         * nss/nss.h: Likewise.
5904         * posix/bits/unistd.h: Likewise.
5905         * posix/fnmatch.h: Likewise.
5906         * posix/glob.h: Likewise.
5907         * posix/sched.h: Likewise.
5908         * posix/spawn.h: Likewise.
5909         * posix/sys/wait.h: Likewise.
5910         * posix/unistd.h: Likewise.
5911         * posix/wordexp.h: Likewise.
5912         * pwd/pwd.h: Likewise.
5913         * resolv/netdb.h: Likewise.
5914         * resource/sys/resource.h: Likewise.
5915         * rt/aio.h: Likewise.
5916         * rt/bits/mqueue2.h: Likewise.
5917         * rt/mqueue.h: Likewise.
5918         * shadow/shadow.h: Likewise.
5919         * signal/signal.h: Likewise.
5920         * socket/send.c: Likewise.
5921         * socket/sendto.c: Likewise.
5922         * socket/sys/socket.h: Likewise.
5923         * stdio-common/printf.h: Likewise.
5924         * stdlib/bits/stdlib.h: Likewise.
5925         * stdlib/fmtmsg.h: Likewise.
5926         * stdlib/monetary.h: Likewise.
5927         * stdlib/stdlib.h: Likewise.
5928         * stdlib/ucontext.h: Likewise.
5929         * streams/stropts.h: Likewise.
5930         * string/argz.h: Likewise.
5931         * string/bits/string2.h: Likewise.
5932         * string/string.h: Likewise.
5933         * string/strings.h: Likewise.
5934         * sunrpc/rpc/auth.h: Likewise.
5935         * sunrpc/rpc/auth_des.h: Likewise.
5936         * sunrpc/rpc/clnt.h: Likewise.
5937         * sunrpc/rpc/netdb.h: Likewise.
5938         * sunrpc/rpc/pmap_clnt.h: Likewise.
5939         * sunrpc/rpc/xdr.h: Likewise.
5940         * sysdeps/generic/inttypes.h: Likewise.
5941         * sysdeps/generic/net/if.h: Likewise.
5942         * sysdeps/generic/sys/swap.h: Likewise.
5943         * sysdeps/gnu/net/if.h: Likewise.
5944         * sysdeps/gnu/utmpx.h: Likewise.
5945         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5946         * sysdeps/i386/i486/bits/string.h: Likewise.
5947         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5948         * sysdeps/s390/bits/string.h: Likewise.
5949         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5950         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5951         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5952         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5953         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5954         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5955         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5956         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5957         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5958         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5959         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5960         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5961         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5962         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5963         * sysdeps/unix/sysv/linux/readv.c: Likewise.
5964         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5965         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5966         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5967         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5968         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5969         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5970         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5971         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5972         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5973         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5974         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5975         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5976         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5977         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5978         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5979         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5980         * sysvipc/sys/ipc.h: Likewise.
5981         * sysvipc/sys/msg.h: Likewise.
5982         * sysvipc/sys/sem.h: Likewise.
5983         * sysvipc/sys/shm.h: Likewise.
5984         * termios/termios.h: Likewise.
5985         * time/sys/time.h: Likewise.
5986         * time/time.h: Likewise.
5987         * wcsmbs/bits/wchar2.h: Likewise.
5988         * wcsmbs/uchar.h: Likewise.
5989         * wcsmbs/wchar.h: Likewise.
5990         * wctype/wctype.h: Likewise.
5991
5992         [BZ #13551]
5993         * Makeconfig: Remove all but ELF support including AIX support.
5994         * Makerules: Likewise.
5995         * config.h.in: Likewise.
5996         * config.make.in: Likewise.
5997         * configure: Likewise.
5998         * configure.in: Likewise.
5999         * csu/Makefile: Likewise.
6000         * csu/version.c: Likewise.
6001         * debug/Makefile: Likewise.
6002         * dlfcn/Makefile: Likewise.
6003         * elf/Makefile: Likewise.
6004         * extra-lib.mk: Likewise.
6005         * iconv/Makefile: Likewise.
6006         * include/libc-symbols.h: Likewise.
6007         * include/shlib-compat.h: Likewise.
6008         * resolv/Makefile: Likewise.
6009         * resolv/res_libc.c: Likewise.
6010         * rt/Makefile: Likewise.
6011         * sysdeps/i386/asm-syntax.h: Likewise.
6012         * sysdeps/i386/sysdep.h: Likewise.
6013         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6014         * sysdeps/mach/sysdep.h: Likewise.
6015         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6016         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6017         * sysdeps/s390/asm-syntax.h: Likewise.
6018         * sysdeps/s390/s390-32/sysdep.h: Likewise.
6019         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6020         * sysdeps/sh/sysdep.h: Likewise.
6021         * sysdeps/unix/sparc/sysdep.h: Likewise.
6022         * sysdeps/wordsize-32/divdi3.c: Likewise.
6023         * sysdeps/x86_64/sysdep.h: Likewise.
6024
6025         * argp/Versions: Remove _argp_unlock_xxx.
6026
6027         [BZ #13559]
6028         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
6029         * abilist/libBrokenLocale.abilist: Likewise.
6030         * abilist/libanl.abilist: Likewise.
6031         * abilist/libc.abilist: Likewise.
6032         * abilist/libcrypt.abilist: Likewise.
6033         * abilist/libdl.abilist: Likewise.
6034         * abilist/libm.abilist: Likewise.
6035         * abilist/libnsl.abilist: Likewise.
6036         * abilist/libpthread.abilist: Likewise.
6037         * abilist/libresolv.abilist: Likewise.
6038         * abilist/librt.abilist: Likewise.
6039         * abilist/libthread_db.abilist: Likewise.
6040         * abilist/libutil.abilist: Likewise.
6041         * abilist/libnss_db.abilist: New file.
6042
6043         * scripts/abilist.awk: Add support for indirect functions.
6044
6045         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6046
6047         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6048
6049         * shlib-versions: Remove entries for ports architectures.
6050
6051         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
6052         files in ports.
6053         * elf/stackguard-macros.h: Remove support for IA-64.
6054         * elf/tst-auditmod1.c: Likewise.
6055         * sysdeps/generic/ldsodefs.h: Likewise.
6056
6057         * sysdeps/unix/sysv/linux/configure.in: Ports should define
6058         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6059         configure files.
6060
6061         [BZ #13552]
6062         * configure.in: Remove --enable-omitfp support.
6063         * FAQ.in: Adjust.
6064         * config.make.in: Likewise.
6065         * Makeconfig: Likewise.
6066         * manual/install.texi: Likewise.
6067
6068         In case anyone cares, the IA-64 architecture could move to ports.
6069         * sysdeps/ia64/*: Removed.
6070         * sysdeps/unix/sysv/linux/ia64/*: Removed.
6071         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
6072
6073         [BZ #13555]
6074         * configure.in: Remove entries for unsupported architectures.
6075
6076         [BZ #13533]
6077         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6078         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
6079         routines.
6080         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6081         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6082         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
6083         fall back to using wcrtomb.
6084         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6085         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
6086         renaming.
6087         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6088         * wcsmbs/tst-c16c32-1.c: New file.
6089
6090         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6091         local variable.
6092
6093         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6094
6095         * elf/tst-unique3.cc: Add explicit declaration of gets.
6096         * elf/tst-unique3lib.cc: Likewise.
6097         * elf/tst-unique3lib2.cc: Likewise.
6098         * elf/tst-unique4.cc: Likewise.
6099
6100         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6101
6102 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
6103
6104         [BZ #13566]
6105         * assert/assert.h (static_assert): Don't define for C++.
6106         * libio/stdio.h (gets): Do declare for C++ <= C++11.
6107         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6108
6109 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
6110
6111         * iconv/loop.c (single loop): Fix assertion in storing of
6112         remaining bytes.
6113
6114         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6115
6116 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
6117
6118         * posix/getconf.c: Update copyright year.
6119         * nss/getent.c: Likewise.
6120         * nss/makedb.c: Likewise.
6121         * iconv/iconvconfig.c: Likewise.
6122         * iconv/iconv_prog.c: Likewise.
6123         * elf/ldconfig.c: Likewise.
6124         * elf/pldd.c: Likewise.
6125         * elf/sotruss.ksh: Likewise.
6126         * catgets/gencat.c: Likewise.
6127         * csu/version.c: Likewise.
6128         * elf/ldd.bash.in: Likewise.
6129         * elf/sprof.c (print_version): Likewise.
6130         * locale/programs/locale.c: Likewise.
6131         * locale/programs/localedef.c: Likewise.
6132         * login/programs/pt_chown.c: Likewise.
6133         * nscd/nscd.c (print_version): Likewise.
6134         * debug/xtrace.sh: Likewise.
6135         * malloc/memusage.sh: Likewise.
6136         * malloc/mtrace.pl: Likewise.
6137         * debug/catchsegv.sh: Likewise.
6138
6139 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
6140
6141         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6142         pure attribute.
6143
6144 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
6145
6146         [BZ #13533]
6147         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6148         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6149         transformations.
6150         * iconv/gconv_int.h: Likewise.
6151         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6152         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6153         from libc for GLIBC_2.16.
6154         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6155         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6156         * wcsmbs/uchar.h: Really define mbstate_t.
6157         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6158         * wcsmbs/c16rtomb.c: New file.
6159         * wcsmbs/mbrtoc16.c: New file.
6160         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6161         for C/POSIX locale.
6162         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6163         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6164
6165         * wcsmbs/wchar.h: Add missing __restrict.
6166
6167 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
6168
6169         [BZ #13532]
6170         * time/Makefile (routines): Add timespec_get.
6171         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6172         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
6173         timespec for ISO C11.
6174         * time/timespec_get.c: New file.
6175         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6176         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6177
6178         [BZ #13531]
6179         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6180         * stdlib/stdlib.h: Declare aligned_alloc.
6181         * Versions.def: Add GLIBC_2.16 for libc.
6182         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6183
6184         [BZ 13527]
6185         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6186         ISO C11.
6187
6188         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
6189         code.
6190
6191         [BZ #13528]
6192         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6193
6194         [BZ #13529]
6195         * assert/assert.h (static_assert): Define.
6196
6197         * version.h: Update for 2.16 development version.
6198
6199         [BZ #13526]
6200         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6201         _ISOC11_SOURCE.
6202
6203         * version.h (RELEASE): Bump for 2.15 release.
6204         * include/features.h (__GLIBC_MINOR__): Bump to 15.
6205
6206         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6207         Patch by Marek Polacek <mpolacek@redhat.com>.
6208
6209         * bits/byteswap.h: Protect long long constants with __extension__.
6210         * sysdeps/i386/bits/byteswap.h: Likewise.
6211         * sysdeps/ia64/bits/byteswap.h: Likewise.
6212         * sysdeps/s390/bits/byteswap.h: Likewise.
6213         * sysdeps/x86_64/bits/byteswap.h: Likewise.
6214
6215 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6216
6217         [BZ #13540]
6218         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6219         destination buffer.
6220         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6221
6222 2011-12-23  Marek Polacek  <polacek@redhat.com>
6223
6224         * elf/dl-addr.c (determine_info): Add inline keyword.
6225         * elf/tst-auditmod4b.c (check_avx): Likewise.
6226         * elf/tst-auditmod6b.c (check_avx): Likewise.
6227         * elf/tst-auditmod6c.c (check_avx): Likewise.
6228         * elf/tst-auditmod7b.c (check_avx): Likewise.
6229
6230 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
6231
6232         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6233         !__SSE_MATH__.
6234
6235 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6236
6237         [BZ #13540]
6238         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6239         processing for last bytes.
6240
6241 2011-08-06  Bruno Haible  <bruno@clisp.org>
6242
6243         [BZ #13061]
6244         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6245         U+0385, not to U+1FEE.
6246
6247         [BZ #13062]
6248         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6249         entry for U+00A5 U+0301.
6250
6251 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
6252
6253         [BZ #13166]
6254         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6255         buffer for the output is too small.
6256
6257         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6258         optimization.
6259
6260         [BZ #13185]
6261         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6262         SSE flags if possible.
6263
6264 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6265
6266         [BZ #13540]
6267         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6268         processing for last bytes.
6269
6270 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
6271
6272         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6273         (syscall-list-default-options, syscall-list-default-condition)
6274         (syscall-list-includes): Define.
6275         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6276         list of ABIs and options and #if conditions for each ABI.  Do not
6277         handle common syscalls between ABIs specially.
6278         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6279         Remove.
6280         (syscall-list-variants, syscall-list-32bit-options)
6281         (syscall-list-32bit-condition, syscall-list-64bit-options)
6282         (syscall-list-64bit-condition): Define.
6283         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6284         (syscall-list-variants, syscall-list-32bit-options)
6285         (syscall-list-32bit-condition, syscall-list-64bit-options)
6286         (syscall-list-64bit-condition): Define.
6287         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6288         Remove.
6289         (syscall-list-variants, syscall-list-32bit-options)
6290         (syscall-list-32bit-condition, syscall-list-64bit-options)
6291         (syscall-list-64bit-condition): Define.
6292         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6293         Remove.
6294         (syscall-list-variants, syscall-list-32bit-options)
6295         (syscall-list-32bit-condition, syscall-list-64bit-options)
6296         (syscall-list-64bit-condition): Define.
6297
6298 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
6299
6300         * locale/iso-639.def: Add brx entry.
6301
6302         [BZ #13328]
6303         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6304         Proposed by Mariusz_Cukr <marcukr@op.pl>.
6305
6306         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6307         __feraiseexcept_renamed.
6308
6309 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
6310
6311         [BZ #13538]
6312         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6313         EPOLLET with unsigned values.
6314         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6315         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6316
6317         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6318         to large cancellation.
6319         * math/s_cacoshf.c: Likewise.
6320         * math/s_cacoshl.c: Likewise.
6321
6322 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
6323
6324         [BZ #13305]
6325         [BZ #12786]
6326         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6327         * math/s_cacoshf.c: Likewise.
6328         * math/s_cacoshl.c: Likewise.
6329
6330 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
6331
6332         [BZ #13439]
6333         * iconv/gconv.h: Define __GCONV_SWAP.
6334         * iconvdata/unicode.c: The swap bit must be stored in __flags.
6335         * iconvdata/utf-16.c: Likewise.
6336         * iconvdata/utf-32.c: Likewise.
6337
6338 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
6339
6340         [BZ #13524]
6341         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6342         numerator after shifting it by one limb.
6343
6344 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
6345
6346         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6347         under [__USE_EXTERN_INLINES].
6348
6349 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
6350
6351         [BZ #13446]
6352         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6353
6354 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6355
6356         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6357         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6358         optimized code.
6359         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6360         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6361         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6362         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6363         for strncasecmp/strncasecmp_l compilation.
6364         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6365         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6366
6367 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
6368
6369         [BZ #13484]
6370         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6371         of __asm__.
6372
6373 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
6374
6375         [BZ #13506]
6376         * time/tzfile.c (__tzfile_read): Check values from file header.
6377
6378 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
6379
6380         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6381         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6382         * powerpc/powerpc32/dl-start.S: Likewise.
6383         * powerpc/powerpc32/elf/start.S: Likewise.
6384         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6385         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6386         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6387         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6388         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6389         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6390         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6391         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6392         * powerpc/powerpc32/fpu/s_round.S: Likewise.
6393         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6394         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6395         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6396         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6397         * powerpc/powerpc32/memset.S: Likewise.
6398         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6399         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6400         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6401         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6402         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6403         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6404         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6405         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6406         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6407         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6408         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6409         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6410         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6411
6412 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6413
6414         * math/libm-test.inc: Added more nearbyint tests.
6415         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6416         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6417         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6418         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6419
6420 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
6421
6422         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6423         FD_CLOEXEC.
6424
6425 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6426
6427         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6428         Add wcscpy-ssse3 wcscpy-c.
6429         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6430         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6431         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6432         * sysdeps/x86_64/wcschr.S: New file.
6433         * sysdeps/x86_64/wcsrchr.S: New file.
6434         * string/test-strcmp.c: Remove checking of wcscmp function for
6435         wrong alignments.
6436         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6437         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6438         wcsrchr-sse2 wcsrchr-c.
6439         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6440         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6441         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6442         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6443         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6444         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6445         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6446         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6447         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6448         * wcsmbc/wcschr.c (WCSCHR): New macro.
6449
6450 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6451
6452         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6453         * wcsmbs/test-wcsrchr.c: New file.
6454         * string/test-strrchr.c: Add wcsrchr support.
6455         (WIDE): New macro.
6456         * wcsmbs/test-wcscpy.c: New file.
6457         * string/test-strcpy.c: Add wcscpy support.
6458         (WIDE): New macro.
6459
6460 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
6461
6462         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6463         the inner loop.
6464
6465 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
6466
6467         [BZ #13472]
6468         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6469
6470 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
6471
6472         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
6473         Minor optimizations.
6474
6475         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6476         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6477         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6478
6479 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
6480
6481         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6482         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6483         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6484         for gcc to avoid warnings.
6485         * inet/Makefile (tests): Add tst-checks.
6486         * inet/tst-checks.c: New file.
6487
6488         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6489         warning.
6490
6491         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6492         __wmemcmp_sse2.
6493
6494         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6495         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6496
6497         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6498
6499 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
6500
6501         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6502         problem.
6503
6504         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6505
6506 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
6507
6508         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6509         conditional on GCC version.
6510         (__arch_compare_and_exchange_val_8_acq)
6511         (__arch_compare_and_exchange_val_16_acq)
6512         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6513         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6514         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6515
6516 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
6517
6518         * sysdeps/sh/backtrace.c: New file.
6519
6520 2011-12-02  Andreas Schwab  <schwab@redhat.com>
6521
6522         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
6523         parenthesis.
6524
6525 2011-12-01  Andreas Schwab  <schwab@redhat.com>
6526
6527         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6528         falling back to utime.
6529
6530 2011-11-30  Andreas Schwab  <schwab@redhat.com>
6531
6532         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6533         expectations for float.
6534
6535 2011-11-29  Andreas Schwab  <schwab@redhat.com>
6536
6537         * locale/weight.h (findidx): Add parameter len.
6538         * locale/weightwc.h (findidx): Likewise.
6539         * posix/fnmatch_loop.c (FCT): Adjust caller.
6540         * posix/regcomp.c (build_equiv_class): Likewise.
6541         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6542         * posix/regexec.c (check_node_accept_bytes): Likewise.
6543         * string/strcoll_l.c (STRCOLL): Likewise.
6544         * string/strxfrm_l.c (STRXFRM): Likewise.
6545
6546 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
6547
6548         * Makefile.in: Remove CVSOPT handling.
6549         * configure.in: Remove use of AC_REVISION.
6550         * iconvdata/Makefile (distribute): No need to filter out CVS.
6551         * scripts/list-sources.sh: Remove CVS, subversion and monotone
6552         handling.
6553
6554 2011-11-16  Andreas Schwab  <schwab@redhat.com>
6555
6556         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6557         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6558         [USE_AS_STRNCASECMP_L]: Likewise.
6559         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6560         NO_TLS_DIRECT_SEG_REFS.
6561         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6562         Fix argument offsets for non-PIC.
6563         [USE_AS_STRNCASECMP_L]: Likewise.
6564         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6565         NO_TLS_DIRECT_SEG_REFS.
6566
6567 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
6568
6569         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
6570         O_CLOEXEC.
6571         * locale/loadlocale.c (_nl_load_locale): Likewise.
6572
6573 2011-11-15  Andreas Schwab  <schwab@redhat.com>
6574
6575         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6576         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6577         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6578         (SYSCALL_GETTIME): Set errno on error.
6579
6580         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6581         count references to noai6ai_cached.
6582
6583 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
6584
6585         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6586
6587         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6588         FD_CLOEXEC for /proc/self/maps.
6589
6590         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6591         FD_CLOEXEC for /proc/meminfo.
6592
6593         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6594         gai.conf.
6595
6596         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
6597         FD_CLOEXEC for given file.
6598
6599         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6600
6601         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6602         FD_CLOEXEC for /etc/hosts.
6603         (_gethtent): Likewise.
6604
6605         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6606
6607         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6608         cancellation and set FD_CLOEXEC for /etc/netgroup.
6609
6610         * nss/nss_files/files-key.c (search): Don't allow cancellation when
6611         reading /etc/publickey.
6612
6613         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6614         allow cancellation when reading /etc/group.
6615
6616         * nss/nss_files/files-alias.c (internal_setent): Don't allow
6617         cancellation.
6618         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
6619
6620         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6621         when using data file.
6622
6623         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6624
6625         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6626         (write_nis_obj): Use "c" and "e" in fopen.
6627
6628         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6629
6630         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6631
6632         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6633
6634         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6635
6636         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6637         locale.alias.
6638
6639         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6640
6641         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6642
6643         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6644
6645         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6646         file parsing and set FD_CLOEXEC.
6647
6648 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
6649
6650         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6651
6652 2011-11-14  Andreas Schwab  <schwab@redhat.com>
6653
6654         * malloc/arena.c (arena_get2): Don't call reused_arena when
6655         _int_new_arena failed.
6656
6657 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
6658
6659         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6660         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6661         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6662         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6663         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6664         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6665         to compile strcasecmp and strncasecmp.
6666         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6667         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6668
6669         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6670
6671 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
6672
6673         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6674         locale-defines.sym to gen-as-const-headers.
6675         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6676         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6677         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6678         to compile strcasecmp and strncasecmp.
6679         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6680         strcasecmp_l and strncasecmp_l.
6681         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6682         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6683         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6684         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6685         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6686         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6687         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6688         * sysdeps/i386/i686/multiarch/strncase.S: New file.
6689         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6690         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6691         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6692
6693 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
6694
6695         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6696         result of SYSDEP_GETTIME_CPU to retval.
6697         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6698         parameter list to macro.  Remove trailing semicolon.  Adjust users.
6699
6700         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6701         variable.
6702
6703         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6704         mantissa words.
6705         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6706
6707         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6708         from unused variable.
6709
6710         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6711         DWARF definitions.
6712         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6713         for assembling.
6714
6715         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6716         over namespaces.
6717
6718         * sunrpc/rpc_prot.c (rejected): Fix case value.
6719
6720         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6721         unsigned long long int to avoid warnings in shift.
6722
6723         * posix/regex_internal.c (re_string_reconstruct): Actually use result
6724         of use of trans.
6725         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6726         variable tmp.
6727
6728         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6729         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6730         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6731
6732         * nis/nis_table.c (nis_list): Use variable of correct type for
6733         result of __follow_path call.
6734
6735 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6736
6737         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6738         of math functions ceil, trunc, floor, round, and sqrt, when
6739         avaliable on the platform.
6740         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6741         name clash.
6742         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6743         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6744         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6745
6746 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
6747
6748         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6749         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6750
6751 2011-11-11  Roland McGrath  <roland@hack.frob.com>
6752
6753         * include/unistd.h: Fix __readlink return type.
6754         Reported by Chris Metcalf <cmetcalf@tilera.com>.
6755
6756 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
6757
6758         * stdlib/ucontext.h: Undo last change for makecontext.
6759
6760 2011-11-11  Andreas Schwab  <schwab@redhat.com>
6761
6762         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6763
6764         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6765         * setjmp/setjmp.h: Mark functions as non-leaf.
6766         * setjmp/bits/setjmp2.h: Likewise.
6767         * stdlib/ucontext.h: Likewise.
6768
6769 2011-11-10  Andreas Schwab  <schwab@redhat.com>
6770
6771         * malloc/arena.c (_int_new_arena): Don't increment narenas.
6772         (reused_arena): Don't check arena limit.
6773         (arena_get2): Atomically check arena limit.
6774
6775 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
6776
6777         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6778         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6779
6780         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6781         instructions.
6782
6783 2011-11-07  Andreas Schwab  <schwab@redhat.com>
6784
6785         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6786         handler when locking.
6787
6788         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6789         Fix size of allocated buffer.
6790
6791 2011-11-04  Andreas Schwab  <schwab@redhat.com>
6792
6793         [BZ #10103]
6794         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6795         declarations for long double functions.
6796         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6797
6798         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6799
6800 2011-11-03  Andreas Schwab  <schwab@redhat.com>
6801
6802         * nscd/nscd.c (main): Don't start AVC thread until credentials are
6803         installed.
6804
6805         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6806         is disabled.
6807
6808 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6809
6810         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6811
6812 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6813
6814         * include/alloca.h (stackinfo_alloca_round): Define.
6815         (extend_alloca): Use it.
6816         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6817         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6818         here.
6819
6820         * scripts/check-local-headers.sh: Ignore libaudit.h.
6821
6822         * nscd/Makefile (extra-objs): Make recursively expanded.
6823
6824 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
6825
6826         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6827         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6828
6829         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6830         * posix/tst-rfc3484-2.c: Likewise.
6831         * posix/tst-rfc3484-3.c: Likewise.
6832
6833         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6834         process_vm_writev.
6835         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6836         process_vm_writev.
6837         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6838         process_vm_writev from libc using GLIBC_2.15 version.
6839
6840         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6841
6842 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
6843
6844         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6845         stack usage.
6846
6847 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
6848
6849         [BZ #13367]
6850         * nss/getent.c (initgroups_keys): Show error message in case no group
6851         names are given.
6852
6853         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6854         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6855         __bump_nl_timestamp.
6856         * nscd/connections (nscd_init): When host database is served open
6857         netlink socket and request notification about configuration changes.
6858         (main_loop_poll): Track netlink file descriptor and bump timestamp
6859         in case data becomes available.
6860         (main_loop_epoll): Likewise.
6861         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6862         (database_pers_head): Add extra_data fileds.
6863         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6864         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6865         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6866         Adjust caller.
6867         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6868         in6ai data, call __free_in6ai.
6869         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6870         Add -DHAVE_NETLINK.
6871         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
6872         interface information.  Reuse previous data if netlink timestamp
6873         is not changed.
6874         (__bump_nl_timestamp): New function.
6875         (__free_in6ai): New function.
6876
6877 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
6878
6879         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6880         close_not_cancel_no_status here.
6881         (__check_pf): Reorganize code a bit to not call close twice if OOM.
6882
6883 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
6884
6885         [BZ #13276]
6886         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6887         return value.
6888
6889         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
6890         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6891         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6892
6893 2011-07-03  Andreas Jaeger  <aj@suse.de>
6894
6895         [BZ #10709]
6896         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6897         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6898         * math/libm-test.inc (sin_test): Add test case.
6899
6900 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
6901
6902         [BZ #13337]
6903         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6904         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6905
6906         * elf/chroot_canon.c (chroot_canon): Cleanups.
6907
6908         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6909
6910         [BZ #13335]
6911         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6912         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6913
6914         * string/test-strchr.c: Make usable for strchrnul testing.
6915         * string/test-strchrnul.c: New file.
6916         * string/Makefile (strop-tests): Add strchrnul.
6917
6918         * po/it.po: Update from translation team.
6919         * po/es.po: Likewise.
6920
6921 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
6922
6923         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6924         the three constants needed as parameters.  Drop the others.
6925         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6926         __m128i_strloadu_tolower.
6927         Create and initialize variable zero and use it in all the places
6928         where _mm_setzero_si128 was used.
6929
6930         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6931         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6932         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6933         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6934         anymore.
6935         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6936         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6937         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6938         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6939         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6940         __mpranred, __mptan.
6941         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6942         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6943         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6944         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6945         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6946         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6947         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6948         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6949         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6950
6951 2011-10-28  Andreas Schwab  <schwab@redhat.com>
6952
6953         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6954         redefine if SHARED.
6955         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6956
6957         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6958         wide char related routines to wcsmbs subdir.
6959
6960 2011-10-27  Andreas Schwab  <schwab@redhat.com>
6961
6962         [BZ #13344]
6963         * misc/sys/cdefs.h (__THROWNL): Define.
6964         * posix/unistd.h: Use __THREADNL instead of __THREAD
6965         for memory synchronization functions.
6966
6967 2011-10-26  Roland McGrath  <roland@hack.frob.com>
6968
6969         [BZ #13349]
6970         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6971         doesn't exist.
6972         * manual/stdio.texi (Obstack Streams): Node removed.
6973
6974 2011-10-26  Andreas Schwab  <schwab@redhat.com>
6975
6976         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6977         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6978         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6979
6980         * math/math_private.h (math_force_eval): Allow non-addressable
6981         arguments.
6982         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6983
6984 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
6985
6986         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6987         file is not needed.
6988
6989         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6990         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6991         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6992         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6993         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6994         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6995         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6996         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6997         Add AVX variants.
6998         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6999         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7000         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7001         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7002         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7003         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7004         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7005         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7006         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7007         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7008         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7009         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7010         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7011         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7012         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7013         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7014         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7015         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7016         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7017
7018         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7019         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
7020
7021         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7022         place.  Use VEX encoding when compiling for AVX.
7023
7024 2011-10-25  Andreas Schwab  <schwab@redhat.com>
7025
7026         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7027         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7028
7029         * string/test-strchr.c (do_test): Don't generate NUL bytes.
7030
7031 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
7032
7033         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
7034         useless if() expression.
7035         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7036         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7037         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7038         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7039         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7040         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7041         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7042         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7043         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7044         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7045         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7046         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7047         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7048         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7049         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7050         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7051         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7052         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7053         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7054
7055         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7056
7057 2011-10-25  Andreas Schwab  <schwab@redhat.com>
7058
7059         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7060         condition.
7061         * elf/dl-fini.c (_dl_sort_fini): Likewise.
7062
7063 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
7064
7065         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7066         .text section.  Avoid duplicate constants.
7067         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7068         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7069         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7070         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7071         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7072         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7073         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7074         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7075         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7076         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7077         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7078         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7079         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7080         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7081         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7082         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7083         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7084         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7085         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7086         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7087         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7088         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7089         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7090         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7091         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7092         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7093         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7094         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7095         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7096         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7097         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7098         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7099         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7100         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7101         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7102         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7103         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7104         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7105         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7106         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7107         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7108         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7109         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7110         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7111         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7112
7113 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
7114
7115         * sysdeps/x86_64/dla.h: Move to ...
7116         * sysdeps/x86_64/fpu/dla.h: ...here.
7117         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7118         situations.  Use __builtin_fma only for gcc 4.6 and up.
7119
7120         * config.make.in: Add have-mfma4 entry.
7121         * configure.in: Substitute libc_cv_cc_fma4.
7122         * math/Makefile (dbl-only-routines): Add sincostab.
7123         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7124         Use __sincostab not sincos.
7125         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7126         name is a macro.
7127         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7128         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7129         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7130         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
7131         using __copysign.
7132         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
7133         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
7134         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7135         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7136         and __inv.
7137         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7138         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7139         __copysign.
7140         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
7141         define aliases when function name is a macro.
7142         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7143         sysdeps/ieee754/dbl-64/sincos.tbl.
7144         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7145         fma4-enabled routines.
7146         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7147         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7148         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7149         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7150         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7151         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7152         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7153         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7154         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7155         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7156         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7157         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7158         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7159         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7160         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7161         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7162         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7163         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7164         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7165         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7166         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7167         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7168         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7169         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7170         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7171         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7172         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7173         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7174         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7175         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7176
7177         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7178         rename.
7179         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7180         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7181         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7182         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7183         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7184         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7185         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7186         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7187
7188 2011-10-24  Andreas Schwab  <schwab@redhat.com>
7189
7190         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7191
7192 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
7193
7194         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7195
7196         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7197         prediction.
7198         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7199
7200         * string/strnlen.c: Don't define STRNLEN, reverse logic.
7201         Remove unused variable magic_bits.
7202         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7203
7204         * string/strnlen.c: Define and use STRNLEN macro.
7205         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7206         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7207         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7208         * wcsmbs/wcslen.c: Define and use WCSLEN.
7209         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7210         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7211         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7212         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7213         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7214         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7215         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7216
7217 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7218
7219         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7220         strnlen-sse2-no-bsf.
7221         Rename strlen-no-bsf to strlen-sse2-no-bsf.
7222         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7223         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7224         Add strnlen support.
7225         (USE_AS_STRNLEN): New macro.
7226         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7227         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7228         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7229         * sysdeps/x86_64/wcslen.S: New file.
7230
7231 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
7232
7233         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7234         XMM-moves are used for copying on small sizes.
7235
7236 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7237
7238         * wcsmbs/Makefile (strop-tests): Add wcschr.
7239         * wcsmbs/test-wcschr.c: New file.
7240         * string/test-strchr.c: Update.
7241         Add wcschr support.
7242         (WIDE): New macro.
7243
7244 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7245
7246         * wcsmbs/Makefile (strop-tests): Add wcslen.
7247         * wcsmbs/test-wcslen.c: New file.
7248         * string/test-strlen.c: Update.
7249         Add wcslen support.
7250         (WIDE): New macro.
7251
7252 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
7253
7254         * po/it.po: Update from translation team.
7255
7256 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7257
7258         * sysdeps/x86_64/wcscmp.S: Update.
7259         Fix wrong comparison semantics.
7260         wcscmp shall use signed comparison not unsigned.
7261         Don't use substraction to avoid overflow bug.
7262         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7263         * wcsmbc/wcscmp.c: Likewise.
7264         * string/test-strcmp.c: Likewise.
7265         Add new tests to check cases with negative values.
7266
7267 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
7268
7269         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7270         * sysdeps/x86_64/dla.h: ...here.  New file.
7271         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7272         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7273         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7274         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7275         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7276         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7277         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7278         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7279         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7280
7281 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
7282
7283         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7284         __ynl_finite aliases.
7285
7286 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
7287
7288         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7289
7290         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7291         define DLA_FMA.
7292         [DLA_FMA] (EMULV): Use DLA_FMA.
7293         [DLA_FMA] (MUL12): Use EMULV.
7294         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7295         that are not needed.
7296         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7297         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7298         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7299         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7300         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7301         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7302         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7303
7304 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
7305
7306         * math/s_nan.c: Undef __nan.
7307         * math/s_nanf.c: Undef __nanf.
7308         * math/s_nanl.c: Undef __nanl.
7309         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7310         "math_private.h".
7311
7312 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
7313
7314         * math/s_catan.c: Add branch predictions.
7315         * math/s_catanf.c: Likewise.
7316         * math/s_catanh.c: Likewise.
7317         * math/s_catanhf.c: Likewise.
7318         * math/s_catanhl.c: Likewise.
7319         * math/s_catanl.c: Likewise.
7320         * math/s_cexp.c: Likewise.
7321         * math/s_cexpf.c: Likewise.
7322         * math/s_cexpl.c: Likewise.
7323         * math/s_clog.c: Likewise.
7324         * math/s_clog10.c: Likewise.
7325         * math/s_clog10f.c: Likewise.
7326         * math/s_clog10l.c: Likewise.
7327         * math/s_clogf.c: Likewise.
7328         * math/s_clogl.c: Likewise.
7329         * math/s_csqrt.c: Likewise.
7330         * math/s_csqrtf.c: Likewise.
7331         * math/s_csqrtl.c: Likewise.
7332         * math/s_ctanf.c: Likewise.
7333         * math/s_ctanh.c: Likewise.
7334         * math/s_ctanhf.c: Likewise.
7335         * math/s_ctanhl.c: Likewise.
7336         * math/s_ctanl.c: Likewise.
7337
7338         * math/math_private.h: Define __nan, __nanf, __nanl.
7339         * math/s_cacosh.c: Include <math_private.h>.
7340         * math/s_cacoshl.c: Likewise.
7341         * math/s_casinh.c: Likewise.
7342         * math/s_casinhf.c: Likewise.
7343         * math/s_casinhl.c: Likewise.
7344         * math/s_ccos.c: Rely entire on ccosh.
7345         * math/s_ccosf.c: Rely entire on ccoshf.
7346         * math/s_ccosl.c: Rely entirely on ccoshl.
7347         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
7348         Remove tests for FE_INVALID.
7349         * math/s_ccoshf.c: Likewise.
7350         * math/s_ccoshl.c: Likewise.
7351         * math/s_csin.c: Likewise.
7352         * math/s_csinf.c: Likewise.
7353         * math/s_csinh.c Likewise.
7354         * math/s_csinhf.c: Likewise.
7355         * math/s_csinhl.c: Likewise.
7356         * math/s_csinl.c: Likewise.
7357         * math/s_ctan.c: Likewise.
7358         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7359         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7360         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7361
7362 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
7363
7364         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7365         compilation problems.
7366
7367         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7368         __builtin_expect.
7369
7370 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
7371
7372         * sysdeps/i386/configure.in: Test for -mfma4 option.
7373         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7374         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7375         COMMON_CPUID_INDEX_80000001.
7376         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7377         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7378         use it if FMA3 is not supported.
7379         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7380
7381         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7382         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7383
7384 2011-10-20  Andreas Schwab  <schwab@redhat.com>
7385
7386         [BZ #12892]
7387         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7388         it would create a cycle with a link time dependency.
7389
7390 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
7391
7392         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7393         instruction.
7394         * string/Makefile (strop-tests): Add rawmemchr.
7395         * string/test-rawmemchr.c: New file.
7396
7397         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7398         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
7399         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
7400         when compiling str{,n}casecmp and when AVX is available.  Hook up
7401         new optimized code in initializers.
7402
7403 2011-10-19  Andreas Schwab  <schwab@redhat.com>
7404
7405         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7406         __feraiseexcept instead of feraiseexcept.
7407
7408 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
7409
7410         * math/math_private.h: Define defaults for libc_fetestexcept and
7411         libc_feupdateenv.
7412         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7413         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7414         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7415         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7416         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7417         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7418         libc_fetestexcept and libc_feupdateenv.
7419
7420         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7421         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7422         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7423         * sysdeps/x86_64/fpu/math_private.h: Define special version of
7424         libc_feholdexcept_setround.
7425
7426         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7427         Add s_nearbyint-c and s_nearbyintf-c.
7428         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7429         nearbyintf inlines.
7430         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7431         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7432         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7433         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7434
7435         * math/math_private.h: Define defaults for libc_fegetround,
7436         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7437         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7438         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7439         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7440         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7441         standard functions.
7442         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7443         Remove comments and hacks for old compiler versions.
7444         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7445         libc_fegetround, libc_fesetround, libc_feholdexcept, and
7446         libc_feholdexceptl.
7447
7448 2011-10-18  Andreas Schwab  <schwab@redhat.com>
7449
7450         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
7451         (__feraiseexcept_renamed): Add __NTH.
7452         (feraiseexcept): Add __NTH.  Rename local variables to fix
7453         namespace violations.
7454
7455 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
7456
7457         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7458
7459         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7460
7461         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7462         recently added interfaces.
7463         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7464
7465         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7466         about macro parameter expansion.
7467
7468         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7469         __NO_MATH_INLINES is defined.  Cleanups.
7470
7471         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7472         and __floorf is target has SSE4.1.
7473         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7474         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7475         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7476         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7477
7478         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7479         name.
7480         (floorf): Likewise.
7481
7482         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7483
7484 2011-10-17  Andreas Schwab  <schwab@redhat.com>
7485
7486         * misc/sys/cdefs.h: Fix last change.
7487
7488         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7489         database lookup.
7490
7491 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
7492
7493         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7494
7495         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7496         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7497         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7498         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7499         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7500         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7501         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7502         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7503         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7504         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7505         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7506         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7507         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7508         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7509         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7510         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7511         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7512         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7513         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7514         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7515         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7516         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7517
7518         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7519         ceil, ceilf, floor, floorf.
7520
7521         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7522         Perform IRELATIVE relocations last.
7523
7524         * elf/do-rel.h: Add another parameter nrelative, replacing the
7525         local variable with the same name.  Change name of the function
7526         to end in Rel or Rela (uppercase).
7527         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7528         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
7529         elf_dynamic_do_##reloc function.
7530
7531 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
7532
7533         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7534         is sufficient, at least on modern CPUs.
7535
7536         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7537
7538         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7539         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7540
7541         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7542         __expl_finite.
7543         * math/bits/math-finite.h: Add entries for exp.
7544         * math/e_expl.c: Add __*_finite alias.
7545         * sysdeps/i386/fpu/e_exp.S: Likewise.
7546         * sysdeps/i386/fpu/e_expf.S: Likewise.
7547         * sysdeps/i386/fpu/e_expl.c: Likewise.
7548         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7549         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7550         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7551         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7552         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7553         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7554         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7555
7556         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7557         is sufficient, at least on modern CPUs.
7558
7559         * ctype/ctype-info.c (__ctype_init): Define.
7560         * include/ctype.h (__ctype_init): Declare.
7561         (__ctype_b_loc): The variable is always initialized.
7562         (__ctype_toupper_loc): Likewise.
7563         (__ctype_tolower_loc): Likewise.
7564         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7565         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7566
7567 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
7568
7569         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7570
7571         * configure.in: Also look in $cxxmachine/include for C++ system
7572         headers.
7573
7574 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7575
7576         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7577         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7578         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7579         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
7580         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7581         (USE_AS_WMEMCMP): New macro.
7582         Fixing indents.
7583         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7584         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7585         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7586         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7587         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7588         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7589         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7590         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7591         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7592         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7593         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7594         (USE_AS_WMEMCMP): New macro.
7595         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7596         * sysdeps/string/test-memcmp.c: Update.
7597         Fix simple_wmemcmp.
7598         Add new tests.
7599         * wcsmbs/wmemcmp.c: Update.
7600         (WMEMCMP): New macro.
7601         Fix overflow bug.
7602
7603 2011-10-12  Andreas Jaeger  <aj@suse.de>
7604
7605         [BZ #13268]
7606         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7607
7608 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
7609
7610         * libio/iofwide.c (do_length): Avoid warning.
7611
7612         * ctype/ctype.h (__isctype_f): Add missing __THROW.
7613
7614 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
7615
7616         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7617
7618         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7619         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7620         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7621         * sysdeps/i386/i686/fpu/e_log.S: New file.
7622         * sysdeps/i386/i686/fpu/e_logf.S: New file.
7623         * sysdeps/i386/i686/fpu/e_logl.S: New file.
7624
7625         * ctype/ctype.h: Add support for inlined isXXX functions when
7626         compiling C++ code.
7627
7628 2011-10-14  Andreas Schwab  <schwab@redhat.com>
7629
7630         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7631
7632         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7633
7634 2011-10-13  Roland McGrath  <roland@hack.frob.com>
7635
7636         [BZ #13291]
7637         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7638
7639 2011-10-13  Andreas Schwab  <schwab@redhat.com>
7640
7641         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7642         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7643         feraiseexcept.
7644
7645         * sysdeps/x86_64/memrchr.S: Check for zero size.
7646
7647         * string/stratcliff.c: Add memrchr tests.
7648
7649 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7650
7651         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7652         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7653         rawmemchr-sse2 rawmemchr-sse2-bsf.
7654         * sysdeps/i386/i686/multiarch/memchr.S: New file.
7655         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7656         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7657         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7658         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7659         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7660         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7661         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7662         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7663         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7664         * string/memrchr.c (MEMRCHR): New macro.
7665
7666 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
7667
7668         Add integration with gcc's -ffinite-math-only and optimize wrapper
7669         functions in libm.
7670         * Versions.def: Define GLIBC_2.15 version for libm.
7671         * math/Makefile (headers): Add bits/math-finite.h.
7672         * math/bits/math-finite.h: New file.
7673         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7674         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7675         * math/e_acoshl.c: Add __*_finite alias.
7676         * math/e_acosl.c: Likewise.
7677         * math/e_asinl.c: Likewise.
7678         * math/e_atan2l.c: Likewise.
7679         * math/e_atanhl.c: Likewise.
7680         * math/e_coshl.c: Likewise.
7681         * math/e_exp10.c: Likewise.
7682         * math/e_exp10f.c: Likewise.
7683         * math/e_exp10l.c: Likewise.
7684         * math/e_exp2l.c: Likewise.
7685         * math/e_fmodl.c: Likewise.
7686         * math/e_gammal_r.c: Likewise.
7687         * math/e_hypotl.c: Likewise.
7688         * math/e_j0l.c: Likewise.
7689         * math/e_j1l.c: Likewise.
7690         * math/e_jnl.c: Likewise.
7691         * math/e_lgammal_r.c: Likewise.
7692         * math/e_log10l.c: Likewise.
7693         * math/e_log2l.c: Likewise.
7694         * math/e_logl.c: Likewise.
7695         * math/e_powl.c: Likewise.
7696         * math/e_sinhl.c: Likewise.
7697         * math/e_sqrtl.c: Likewise.
7698         * math/e_scalb.c: Completely rewritten and optimized.
7699         * math/e_scalbf.c: Likewise.
7700         * math/e_scalbl.c: Likewise.
7701         * math/w_acos.c: Likewise.
7702         * math/w_acosf.c: Likewise.
7703         * math/w_acosl.c: Likewise.
7704         * math/w_acosh.c: Likewise.
7705         * math/w_acoshf.c: Likewise.
7706         * math/w_acoshl.c: Likewise.
7707         * math/w_asin.c: Likewise.
7708         * math/w_asinf.c: Likewise.
7709         * math/w_asinl.c: Likewise.
7710         * math/w_atan2.c: Likewise.
7711         * math/w_atan2f.c: Likewise.
7712         * math/w_atan2l.c: Likewise.
7713         * math/w_atanh.c: Likewise.
7714         * math/w_atanhf.c: Likewise.
7715         * math/w_atanhl.c: Likewise.
7716         * math/w_exp10.c: Likewise.
7717         * math/w_exp10f.c: Likewise.
7718         * math/w_exp10l.c: Likewise.
7719         * math/w_fmod.c: Likewise.
7720         * math/w_fmodf.c: Likewise.
7721         * math/w_fmodl.c: Likewise.
7722         * math/w_j0.c: Likewise.
7723         * math/w_j0f.c: Likewise.
7724         * math/w_j0l.c: Likewise.
7725         * math/w_j1.c: Likewise.
7726         * math/w_j1f.c: Likewise.
7727         * math/w_j1l.c: Likewise.
7728         * math/w_jn.c: Likewise.
7729         * math/w_jnf.c: Likewise.
7730         * math/w_log.c: Likewise.
7731         * math/w_logf.c: Likewise.
7732         * math/w_logl.c: Likewise.
7733         * math/w_log10.c: Likewise.
7734         * math/w_log10f.c: Likewise.
7735         * math/w_log10l.c: Likewise.
7736         * math/w_log2.c: Likewise.
7737         * math/w_log2f.c: Likewise.
7738         * math/w_log2l.c: Likewise.
7739         * math/w_pow.c: Likewise.
7740         * math/w_powf.c: Likewise.
7741         * math/w_powl.c: Likewise.
7742         * math/w_remainder.c: Likewise.
7743         * math/w_remainderf.c: Likewise.
7744         * math/w_remainderl.c: Likewise.
7745         * math/w_scalb.c: Likewise.
7746         * math/w_scalbf.c: Likewise.
7747         * math/w_scalbl.c: Likewise.
7748         * math/w_sqrt.c: Likewise.
7749         * math/w_sqrtf.c: Likewise.
7750         * math/w_sqrtl.c: Likewise.
7751         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7752         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
7753         used.
7754         * math/math_private.h: Declare __kernel_standard_f.
7755         * math/w_cosh.c: Remove cruft and optimize a bit.
7756         * math/w_coshf.c: Likewise.
7757         * math/w_coshl.c: Likewise.
7758         * math/w_exp2.c: Likewise.
7759         * math/w_exp2f.c: Likewise.
7760         * math/w_exp2l.c: Likewise.
7761         * math/w_hypot.c: Likewise.
7762         * math/w_hypotf.c: Likewise.
7763         * math/w_hypotl.c: Likewise.
7764         * math/w_lgamma.c: Likewise.
7765         * math/w_lgamma_r.c: Likewise.
7766         * math/w_lgammaf.c: Likewise.
7767         * math/w_lgammaf_r.c: Likewise.
7768         * math/w_lgammal.c: Likewise.
7769         * math/w_lgammal_r.c: Likewise.
7770         * math/w_sinh.c: Likewise.
7771         * math/w_sinhf.c: Likewise.
7772         * math/w_sinhl.c: Likewise.
7773         * math/w_tgamma.c: Likewise.
7774         * math/w_tgammaf.c: Likewise.
7775         * math/w_tgammal.c: Likewise.
7776         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7777         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7778         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7779         Minor optimizations.  Pretty printing.  Remove cruft.
7780         * sysdeps/i386/fpu/e_acosf.S: Likewise.
7781         * sysdeps/i386/fpu/e_acosh.S: Likewise.
7782         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7783         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7784         * sysdeps/i386/fpu/e_acosl.c: Likewise.
7785         * sysdeps/i386/fpu/e_asin.S: Likewise.
7786         * sysdeps/i386/fpu/e_asinf.S: Likewise.
7787         * sysdeps/i386/fpu/e_atan2.S: Likewise.
7788         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7789         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7790         * sysdeps/i386/fpu/e_atanh.S: Likewise.
7791         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7792         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7793         * sysdeps/i386/fpu/e_exp10.S: Likewise.
7794         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7795         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7796         * sysdeps/i386/fpu/e_exp2.S: Likewise.
7797         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7798         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7799         * sysdeps/i386/fpu/e_fmod.S: Likewise.
7800         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7801         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7802         * sysdeps/i386/fpu/e_hypot.S: Likewise.
7803         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7804         * sysdeps/i386/fpu/e_log.S: Likewise.
7805         * sysdeps/i386/fpu/e_log10.S: Likewise.
7806         * sysdeps/i386/fpu/e_log10f.S: Likewise.
7807         * sysdeps/i386/fpu/e_log10l.S: Likewise.
7808         * sysdeps/i386/fpu/e_log2.S: Likewise.
7809         * sysdeps/i386/fpu/e_log2f.S: Likewise.
7810         * sysdeps/i386/fpu/e_log2l.S: Likewise.
7811         * sysdeps/i386/fpu/e_logf.S: Likewise.
7812         * sysdeps/i386/fpu/e_logl.S: Likewise.
7813         * sysdeps/i386/fpu/e_pow.S: Likewise.
7814         * sysdeps/i386/fpu/e_powf.S: Likewise.
7815         * sysdeps/i386/fpu/e_powl.S: Likewise.
7816         * sysdeps/i386/fpu/e_remainder.S: Likewise.
7817         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7818         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7819         * sysdeps/i386/fpu/e_scalb.S: Likewise.
7820         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7821         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7822         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7823         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7824         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7825         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7826         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7827         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7828         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7829         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7830         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7831         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7832         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7833         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7834         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7835         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7836         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7837         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7838         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7839         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7840         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7841         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7842         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7843         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7844         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7845         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7846         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7847         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7848         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7849         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7850         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7851         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7852         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7853         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7854         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7855         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7856         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7857         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7858         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7859         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7860         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7861         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7862         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7863         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7864         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7865         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7866         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7867         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7868         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7869         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7870         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7871         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7872         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7873         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7874         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7875         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7876         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7877         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7878         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7879         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7880         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7881         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7882         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7883         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7884         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7885         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7886         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7887         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7888         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7889         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7890         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7891         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7892         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7893         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7894         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7895         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7896         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7897         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7898         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7899         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7900         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7901         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7902         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7903         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7904         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7905         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7906         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7907         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7908         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7909         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7910         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7911         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7912         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7913         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7914         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7915         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7916         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7917         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7918         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7919         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7920         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7921         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7922         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7923         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7924         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7925         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7926         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7927         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7928         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7929         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7930         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7931         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7932         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7933         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7934         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7935         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
7936         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7937         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7938         (__isnanf): Likewise.
7939         (__isinf_ns): Likewise.
7940         (__isinf_nsf): Likewise.
7941         (__finite): Likewise.
7942         (__finitef): Likewise.
7943         (__ieee754_sqrt): Define as macro.
7944         (__ieee754_sqrtf): Define as macro.
7945         (__ieee754_sqrtl): Define as macro.
7946         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7947         inlined copy.
7948         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7949         __FINITE_MATH_ONLY__ consistent.
7950         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7951
7952 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
7953
7954         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7955         of rawmemchr.
7956
7957         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7958
7959 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
7960
7961         * po/ja.po: Update from translation team.
7962
7963 2011-10-08  Roland McGrath  <roland@hack.frob.com>
7964
7965         * locale/programs/locarchive.c (prepare_address_space): New function.
7966         (create_archive, enlarge_archive, open_archive): Use it.
7967
7968         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7969         inside [SHARED], where it is used.
7970
7971         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7972
7973         * nss/getent.c (netgroup_keys): Remove unused variable.
7974         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7975
7976 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
7977
7978         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7979         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7980         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7981         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7982         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7983         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7984         * math/Makefile (libm-calls): Add s_isinf_ns.
7985         * math/divtc3.c: Use __isinf_nsl instead of isinf.
7986         * math/multc3.c: Likewise.
7987         * math/s_casin.c: Likewise.
7988         * math/s_casinf.c: Likewise.
7989         * math/s_casinl.c: Likewise.
7990         * math/s_ccos.c: Likewise.
7991         * math/s_ccosf.c: Likewise.
7992         * math/s_ccosl.c: Likewise.
7993         * math/s_ctan.c: Likewise.
7994         * math/s_ctanf.c: Likewise.
7995         * math/s_ctanh.c: Likewise.
7996         * math/s_ctanhf.c: Likewise.
7997         * math/s_ctanhl.c: Likewise.
7998         * math/s_ctanl.c: Likewise.
7999         * math/w_fmod.c: Likewise.
8000         * math/w_fmodf.c: Likewise.
8001         * math/w_fmodl.c: Likewise.
8002         * math/w_remainder.c: Likewise.
8003         * math/w_remainderf.c: Likewise.
8004         * math/w_remainderl.c: Likewise.
8005         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8006         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8007         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8008         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8009         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8010         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8011         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8012         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8013
8014         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8015         of the number.
8016         * stdio-common/printf_fphex.c: Likewise.
8017         * stdio-common/printf_size.c: Likewise.
8018
8019         * math/e_exp10.c: Include math_private.h using <...> not "...".
8020         * math/e_exp10f.c: Likewise.
8021         * math/e_exp10l.c: Likewise.
8022         * math/e_exp2l.c: Likewise.
8023         * math/e_j0l.c: Likewise.
8024         * math/e_j1l.c: Likewise.
8025         * math/e_jnl.c: Likewise.
8026         * math/e_lgammal_r.c: Likewise.
8027         * math/e_rem_pio2l.c: Likewise.
8028         * math/e_scalb.c: Likewise.
8029         * math/e_scalbf.c: Likewise.
8030         * math/e_scalbl.c: Likewise.
8031         * math/k_cosl.c: Likewise.
8032         * math/k_sinl.c: Likewise.
8033         * math/k_tanl.c: Likewise.
8034         * math/s_cacoshf.c: Likewise.
8035         * math/s_catan.c: Likewise.
8036         * math/s_catanf.c: Likewise.
8037         * math/s_catanh.c: Likewise.
8038         * math/s_catanhf.c: Likewise.
8039         * math/s_catanhl.c: Likewise.
8040         * math/s_catanl.c: Likewise.
8041         * math/s_ccosh.c: Likewise.
8042         * math/s_ccoshf.c: Likewise.
8043         * math/s_ccoshl.c: Likewise.
8044         * math/s_cexp.c: Likewise.
8045         * math/s_cexpf.c: Likewise.
8046         * math/s_cexpl.c: Likewise.
8047         * math/s_clog.c: Likewise.
8048         * math/s_clog10.c: Likewise.
8049         * math/s_clog10f.c: Likewise.
8050         * math/s_clog10l.c: Likewise.
8051         * math/s_clogf.c: Likewise.
8052         * math/s_clogl.c: Likewise.
8053         * math/s_csin.c: Likewise.
8054         * math/s_csinf.c: Likewise.
8055         * math/s_csinh.c: Likewise.
8056         * math/s_csinhf.c: Likewise.
8057         * math/s_csinhl.c: Likewise.
8058         * math/s_csinl.c: Likewise.
8059         * math/s_csqrt.c: Likewise.
8060         * math/s_csqrtf.c: Likewise.
8061         * math/s_csqrtl.c: Likewise.
8062         * math/s_ctan.c: Likewise.
8063         * math/s_ctanf.c: Likewise.
8064         * math/s_ctanh.c: Likewise.
8065         * math/s_ctanhf.c: Likewise.
8066         * math/s_ctanhl.c: Likewise.
8067         * math/s_ctanl.c: Likewise.
8068         * math/s_ldexp.c: Likewise.
8069         * math/s_ldexpf.c: Likewise.
8070         * math/s_ldexpl.c: Likewise.
8071         * math/s_significand.c: Likewise.
8072         * math/s_significandf.c: Likewise.
8073         * math/s_significandl.c: Likewise.
8074         * math/w_acos.c: Likewise.
8075         * math/w_acosf.c: Likewise.
8076         * math/w_acosh.c: Likewise.
8077         * math/w_acoshf.c: Likewise.
8078         * math/w_acoshl.c: Likewise.
8079         * math/w_acosl.c: Likewise.
8080         * math/w_asin.c: Likewise.
8081         * math/w_asinf.c: Likewise.
8082         * math/w_asinl.c: Likewise.
8083         * math/w_atan2.c: Likewise.
8084         * math/w_atan2f.c: Likewise.
8085         * math/w_atan2l.c: Likewise.
8086         * math/w_atanh.c: Likewise.
8087         * math/w_atanhf.c: Likewise.
8088         * math/w_atanhl.c: Likewise.
8089         * math/w_cosh.c: Likewise.
8090         * math/w_coshf.c: Likewise.
8091         * math/w_coshl.c: Likewise.
8092         * math/w_dremf.c: Likewise.
8093         * math/w_exp10.c: Likewise.
8094         * math/w_exp10f.c: Likewise.
8095         * math/w_exp10l.c: Likewise.
8096         * math/w_exp2.c: Likewise.
8097         * math/w_exp2f.c: Likewise.
8098         * math/w_fmod.c: Likewise.
8099         * math/w_fmodf.c: Likewise.
8100         * math/w_fmodl.c: Likewise.
8101         * math/w_hypot.c: Likewise.
8102         * math/w_hypotf.c: Likewise.
8103         * math/w_hypotl.c: Likewise.
8104         * math/w_j0.c: Likewise.
8105         * math/w_j0f.c: Likewise.
8106         * math/w_j0l.c: Likewise.
8107         * math/w_j1.c: Likewise.
8108         * math/w_j1f.c: Likewise.
8109         * math/w_j1l.c: Likewise.
8110         * math/w_jn.c: Likewise.
8111         * math/w_jnf.c: Likewise.
8112         * math/w_jnl.c: Likewise.
8113         * math/w_lgamma.c: Likewise.
8114         * math/w_lgamma_r.c: Likewise.
8115         * math/w_lgammaf.c: Likewise.
8116         * math/w_lgammaf_r.c: Likewise.
8117         * math/w_lgammal.c: Likewise.
8118         * math/w_lgammal_r.c: Likewise.
8119         * math/w_log.c: Likewise.
8120         * math/w_log10.c: Likewise.
8121         * math/w_log10f.c: Likewise.
8122         * math/w_log10l.c: Likewise.
8123         * math/w_log2.c: Likewise.
8124         * math/w_log2f.c: Likewise.
8125         * math/w_log2l.c: Likewise.
8126         * math/w_logf.c: Likewise.
8127         * math/w_logl.c: Likewise.
8128         * math/w_pow.c: Likewise.
8129         * math/w_powf.c: Likewise.
8130         * math/w_powl.c: Likewise.
8131         * math/w_remainder.c: Likewise.
8132         * math/w_remainderf.c: Likewise.
8133         * math/w_remainderl.c: Likewise.
8134         * math/w_scalb.c: Likewise.
8135         * math/w_scalbf.c: Likewise.
8136         * math/w_scalbl.c: Likewise.
8137         * math/w_sinh.c: Likewise.
8138         * math/w_sinhf.c: Likewise.
8139         * math/w_sinhl.c: Likewise.
8140         * math/w_sqrt.c: Likewise.
8141         * math/w_sqrtf.c: Likewise.
8142         * math/w_sqrtl.c: Likewise.
8143         * math/w_tgamma.c: Likewise.
8144         * math/w_tgammaf.c: Likewise.
8145         * math/w_tgammal.c: Likewise.
8146
8147         * po/ja.po: Update from translation team.
8148
8149 2011-09-29  Andreas Jaeger  <aj@suse.de>
8150
8151         [BZ #13179]
8152         * sunrpc/netname.c (netname2host): Fix logic.
8153
8154         [BZ #6779]
8155         [BZ #6783]
8156         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8157         correctly.
8158         * math/w_remainder.c (__remainder): Likewise.
8159         * math/w_remainderf.c (__remainderf): Likewise.
8160         * math/libm-test.inc (remainder_test): Add test cases.
8161
8162 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8163
8164         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
8165         sdiv_qrnnd.
8166
8167 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
8168
8169         * string/test-memcmp.c: Avoid unncessary #defines.
8170         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8171
8172 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8173
8174         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8175         Use new sse2 version for core i3 - i7 as it's faster
8176         than sse42 version.
8177         (bit_Prefer_PMINUB_for_stringop): New.
8178         * sysdeps/x86_64/rawmemchr.S: Update.
8179         Replace with faster SSE2 version.
8180         * sysdeps/x86_64/memrchr.S: New file.
8181         * sysdeps/x86_64/memchr.S: Update.
8182         Replace with faster SSE2 version.
8183
8184 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
8185
8186         * elf/dl-load.c (lose): Add cast to avoid warning.
8187
8188 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
8189
8190         * po/ca.po: Update from translation team.
8191
8192         * inet/getnetgrent_r.c: Hook up nscd.
8193         * nscd/Makefile (routines): Add nscd_netgroup.
8194         (nscd-modules): Add netgroupcache.
8195         (CFLAGS-netgroupcache.c): Define.
8196         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8197         (cache_search): Add const to second parameter.
8198         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8199         INNETGR.
8200         (dbs): Add netgrdb entry.
8201         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8202         (verify_persistent_db): Handle netgrdb.
8203         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8204         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8205         GETFDNETGR.
8206         (netgroup_response_header): Define.
8207         (innetgroup_response_header): Define.
8208         (datahead): Add netgroup_response_header and innetgroup_response_header
8209         elements.
8210         * nscd/nscd.conf: Add entries for netgroup cache.
8211         * nscd/nscd.h (dbtype): Add netgrdb.
8212         (_PATH_NSCD_NETGROUP_DB): Define.
8213         (netgroup_iov_disabled): Declare.
8214         (xmalloc, xcalloc, xrealloc): Move declarations here.
8215         (cache_search): Adjust prototype.
8216         Add netgroup-related prototypes.
8217         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8218         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8219         (__nscd_innetgr): Declare.
8220         * nscd/selinux.c (perms): Use access_vector_t as element type and
8221         add netgroup-related initializers.
8222         * nscd/netgroupcache.c: New file.
8223         * nscd/nscd_netgroup.c: New file.
8224         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8225         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8226         For four parameters use innetgr.
8227         * nss/nss_files/files-init.c: Add definition and callback for netgr.
8228         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8229         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8230         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8231
8232         * nscd/connections.c (register_traced_file): Don't register file
8233         for disabled databases.
8234
8235 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
8236
8237         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8238
8239         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8240         from tree and freeing node.
8241
8242 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
8243
8244         * nss/nsswitch.c (__nss_database_lookup): Handle
8245         nss_parse_service_list out of memory case.
8246
8247 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
8248
8249         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8250         out of memory case.
8251
8252 2011-10-04  Andreas Schwab  <schwab@redhat.com>
8253
8254         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8255         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8256         pass it down.
8257         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8258         elf_machine_rela, elf_machine_lazy_rel.
8259         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8260         (ELF_DYNAMIC_DO_REL): Likewise.
8261         (ELF_DYNAMIC_DO_RELA): Likewise.
8262         (ELF_DYNAMIC_RELOCATE): Likewise.
8263         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8264         to ELF_DYNAMIC_DO_REL.
8265         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8266         (dl_main): In trace mode always set __RTLD_NOIFUNC.
8267         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8268         elf_machine_rela.
8269         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8270         skip_ifunc, don't call ifunc function if non-zero.
8271         (elf_machine_rela): Likewise.
8272         (elf_machine_lazy_rel): Likewise.
8273         (elf_machine_lazy_rela): Likewise.
8274         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8275         (elf_machine_lazy_rel): Likewise.
8276         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8277         Likewise.
8278         (elf_machine_lazy_rel): Likewise.
8279         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8280         Likewise.
8281         (elf_machine_lazy_rel): Likewise.
8282         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8283         (elf_machine_lazy_rel): Likewise.
8284         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8285         (elf_machine_lazy_rel): Likewise.
8286         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8287         (elf_machine_lazy_rel): Likewise.
8288         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8289         (elf_machine_lazy_rel): Likewise.
8290         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8291         (elf_machine_lazy_rel): Likewise.
8292         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8293         (elf_machine_lazy_rel): Likewise.
8294
8295 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
8296
8297         * nss/nss_files/files-init.c (_nss_files_init): Use static
8298         initialization for all the *_traced_file variables.
8299
8300 2011-09-28  Andreas Schwab  <schwab@redhat.com>
8301
8302         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8303
8304 2011-09-27  Roland McGrath  <roland@hack.frob.com>
8305
8306         [BZ #13226]
8307         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8308
8309 2011-09-27  Andreas Schwab  <schwab@redhat.com>
8310
8311         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8312         Reread the line before reparsing it.
8313
8314 2011-09-26  Andreas Schwab  <schwab@redhat.com>
8315
8316         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8317
8318 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
8319             Maxim Kuvyrkov  <maxim@codesourcery.com>
8320             Joseph Myers  <joseph@codesourcery.com>
8321
8322         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8323         if needed for __stack_chk_guard.
8324
8325 2011-09-19  Roland McGrath  <roland@hack.frob.com>
8326
8327         * sysdeps/posix/spawni.c (script_execute): Always define it.
8328         It will be optimized away if unused.
8329         (maybe_script_execute): New function.
8330         (__spawni): Call it.
8331
8332         * Makerules: Don't include tls.make.
8333         (config-tls): Always set to thread.
8334         * tls.make.c: File removed.
8335
8336 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
8337
8338         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8339         * config.make.in (CPPFLAGS-config): New substituted variable.
8340
8341 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
8342
8343         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8344
8345         [BZ #13192]
8346         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8347         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8348
8349 2011-09-15  Roland McGrath  <roland@hack.frob.com>
8350
8351         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8352         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8353         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8354         (CALL_FAIL): Likewise.
8355         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8356         (CALL_FAIL): Macro removed.
8357         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8358
8359 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
8360
8361         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8362         for __FINITE_MATH_ONLY__ == 1.
8363
8364 2011-09-15  Andreas Schwab  <schwab@redhat.com>
8365
8366         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8367         __ieee754_sqrt instead of sqrt.
8368         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8369         __ieee754_sqrtf instead of sqrtf.
8370         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8371         __floorf instead of floorf.
8372         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8373         __floorf, __truncf instead of floorf, truncf.
8374
8375 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
8376
8377         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8378
8379         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8380         __extern_always_inline.
8381         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8382         32-bit.
8383
8384 2011-09-14  Andreas Schwab  <schwab@redhat.com>
8385
8386         * elf/rtld.c (dl_main): Also relocate in dependency order when
8387         doing symbol dependency testing.
8388
8389 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
8390
8391         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8392         Always define `refsym'.
8393
8394 2011-09-13  Andreas Schwab  <schwab@redhat.com>
8395
8396         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8397         (__FD_ELT): Renamed from __FDELT.
8398         * misc/bits/select2.h (__FD_ELT): Likewise.
8399         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8400         __FD_MASK instead of __FDELT, __FDMASK.
8401         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8402         Likewise.
8403         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8404         Likewise.
8405
8406         * elf/Makefile (gen-ldd): Fix pattern.
8407
8408         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8409         (init_tls): Likewise.
8410
8411 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
8412
8413         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8414
8415 2011-09-12  Andreas Schwab  <schwab@redhat.com>
8416
8417         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8418         `struct cmsghdr *' instead of `void *'.
8419         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8420         Likewise.
8421
8422 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
8423
8424         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8425         if non-absolute.
8426         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8427         ldd_rewrite_script.
8428
8429 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
8430
8431         * configure.in: Remove --with-tls option.
8432         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8433         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8434         out in case it is missing.
8435         * sysdeps/ia64/elf/configure.in: Likewise.
8436         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8437         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8438         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8439         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8440         * sysdeps/sh/elf/configure.in: Likewise.
8441         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8442         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8443         * sysdeps/x86_64/elf/configure.in: Likewise.
8444         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8445         * sysdeps/mach/hurd/tls.h: Likewise.
8446
8447         [BZ #13067]
8448         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8449
8450         [BZ #13090]
8451         * configure.in: Fix use of AC_INIT.
8452
8453         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8454
8455 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
8456
8457         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8458         __set_errno.
8459         * malloc/hooks.c: Likewise.
8460
8461         [BZ #11929]
8462         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
8463         variables statically.
8464         (narenas): Initialize.
8465         (list_lock): Initialize.
8466         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
8467         initializtion of main_arena and list_lock.  Small cleanups.
8468         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8469         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
8470         Add initializers to main_arena and mp_.
8471         (malloc_state): Remove pagesize member.  Change all users to use
8472         GLRO(dl_pagesize).
8473
8474         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8475         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
8476         is always initialized.
8477
8478         * malloc/malloc.c: Removed unused configurations and dead code.
8479         * malloc/arena.c: Likewise.
8480         * malloc/hooks.c: Likewise.
8481         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
8482
8483         * include/tls.h: Removed.  USE___THREAD must always be defined.
8484         * bits/libc-tsd.h: Don't handle !USE___THREAD.
8485         * elf/dl-libc.c: Likewise.
8486         * elf/dl-tsd.c: Likewise.
8487         * include/errno.h: Likewise.
8488         * include/netdb.h: Likewise.
8489         * include/resolv.h: Likewise.
8490         * inet/herrno-loc.c: Likewise.
8491         * inet/herrno.c: Likewise.
8492         * malloc/arena.c: Likewise.
8493         * malloc/hooks.c: Likewise.
8494         * malloc/malloc.c: Likewise.
8495         * resolv/res-state.c: Likewise.
8496         * resolv/res_libc.c: Likewise.
8497         * sysdeps/i386/dl-machine.h: Likewise.
8498         * sysdeps/ia64/dl-machine.h: Likewise.
8499         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8500         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8501         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8502         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8503         * sysdeps/sh/dl-machine.h: Likewise.
8504         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8505         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8506         * sysdeps/unix/i386/sysdep.S: Likewise.
8507         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8508         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8509         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8510         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8511         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8512         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8513         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8514         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8515         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8516         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8517         * sysdeps/unix/x86_64/sysdep.S: Likewise.
8518         * sysdeps/x86_64/dl-machine.h: Likewise.
8519         * tls.make.c: Likewise.
8520
8521         * configure.in: Remove --with-__thread option.  Make tests for
8522         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8523         tls_model attribute fail if no support is available.  Remove
8524         USE_IN_LIBIO.
8525         * Makeconfig: Adjust for dropped configure option.  All features are
8526         now mandatory.
8527         * Makerules: Likewise.
8528         * Versions.def: Likewise.
8529         * argp/argp-fmtstream.c: Likewise.
8530         * argp/argp-fmtstream.h: Likewise.
8531         * argp/argp-help.c: Likewise.
8532         * assert/assert.c: Likewise.
8533         * config.h.in: Likewise.
8534         * config.make.in: Likewise.
8535         * configure: Likewise.
8536         * configure.in: Likewise.
8537         * csu/Versions: Likewise.
8538         * csu/init.c: Likewise.
8539         * elf/tst-audit2.c: Likewise.
8540         * elf/tst-tls10.c: Likewise.
8541         * elf/tst-tls10.h: Likewise.
8542         * elf/tst-tls11.c: Likewise.
8543         * elf/tst-tls12.c: Likewise.
8544         * elf/tst-tls14.c: Likewise.
8545         * elf/tst-tlsmod11.c: Likewise.
8546         * elf/tst-tlsmod12.c: Likewise.
8547         * elf/tst-tlsmod13.c: Likewise.
8548         * elf/tst-tlsmod13a.c: Likewise.
8549         * elf/tst-tlsmod14a.c: Likewise.
8550         * elf/tst-tlsmod15b.c: Likewise.
8551         * elf/tst-tlsmod16a.c: Likewise.
8552         * elf/tst-tlsmod16b.c: Likewise.
8553         * elf/tst-tlsmod7.c: Likewise.
8554         * elf/tst-tlsmod8.c: Likewise.
8555         * elf/tst-tlsmod9.c: Likewise.
8556         * gmon/gmon.c: Likewise.
8557         * grp/fgetgrent_r.c: Likewise.
8558         * grp/putgrent.c: Likewise.
8559         * hurd/fopenport.c: Likewise.
8560         * include/libc-symbols.h: Likewise.
8561         * include/tls.h: Likewise.
8562         * intl/gettextP.h: Likewise.
8563         * intl/loadinfo.h: Likewise.
8564         * locale/global-locale.c: Likewise.
8565         * locale/localeinfo.h: Likewise.
8566         * mach/devstream.c: Likewise.
8567         * malloc/arena.c: Likewise.
8568         * malloc/set-freeres.c: Likewise.
8569         * misc/err.c: Likewise.
8570         * misc/getttyent.c: Likewise.
8571         * misc/mntent_r.c: Likewise.
8572         * posix/getopt.c: Likewise.
8573         * posix/wordexp.c: Likewise.
8574         * pwd/fgetpwent_r.c: Likewise.
8575         * resolv/Versions: Likewise.
8576         * resolv/res_hconf.c: Likewise.
8577         * shadow/fgetspent_r.c: Likewise.
8578         * shadow/putspent.c: Likewise.
8579         * stdio-common/printf_fphex.c: Likewise.
8580         * stdio-common/tmpfile.c: Likewise.
8581         * stdlib/abort.c: Likewise.
8582         * stdlib/fmtmsg.c: Likewise.
8583         * sunrpc/auth_unix.c: Likewise.
8584         * sunrpc/clnt_perr.c: Likewise.
8585         * sunrpc/clnt_tcp.c: Likewise.
8586         * sunrpc/clnt_udp.c: Likewise.
8587         * sunrpc/clnt_unix.c: Likewise.
8588         * sunrpc/openchild.c: Likewise.
8589         * sunrpc/svc_simple.c: Likewise.
8590         * sunrpc/svc_tcp.c: Likewise.
8591         * sunrpc/svc_udp.c: Likewise.
8592         * sunrpc/svc_unix.c: Likewise.
8593         * sunrpc/xdr.c: Likewise.
8594         * sunrpc/xdr_array.c: Likewise.
8595         * sunrpc/xdr_rec.c: Likewise.
8596         * sunrpc/xdr_ref.c: Likewise.
8597         * sunrpc/xdr_stdio.c: Likewise.
8598
8599 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
8600
8601         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8602
8603 2011-07-03  Andreas Jaeger  <aj@suse.de>
8604
8605         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8606         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8607         regenerate with gen-libm-tests.pl.
8608
8609 2010-05-12  Petr Baudis  <pasky@suse.cz>
8610
8611         [BZ #11589]
8612         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8613         around j0() zero points by switching to j1().
8614         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8615         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8616         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8617         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8618
8619 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
8620
8621         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8622         instead of 0.
8623         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8624         instead of 0.                              .
8625         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8626         Patch in part by Pavel Roskin <proski@gnu.org>.
8627
8628         [BZ #13138]
8629         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8630         realloc.
8631         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
8632         Free memory block if necessary.
8633
8634         [BZ #12847]
8635         * libio/genops.c (INTDEF): For string streams the _lock pointer can
8636         be NULL.  Don't lock in this case.
8637
8638 2011-09-09  Roland McGrath  <roland@hack.frob.com>
8639
8640         * elf/elf.h (ELFOSABI_GNU): New macro.
8641         (ELFOSABI_LINUX): Define to that.
8642
8643 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
8644
8645         * string/strncat.c (strncat): Undef the symbol in case it has been
8646         defined in bits/string.h.
8647
8648 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
8649
8650         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8651
8652         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
8653         link map.
8654
8655 2011-08-17  Andreas Jaeger  <aj@suse.de>
8656
8657         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8658
8659 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8660             Ian Lance Taylor  <iant@google.com>
8661
8662         * math/libm-test.inc (lround_test): New testcase.
8663         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8664
8665 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
8666
8667         * Makefile: Remove support for automatic cvs check-ins.
8668         * Makerules: Likewise.
8669         * config.make.in: Likewise.
8670         * configure.in: Likewise.
8671         * intl/Makefile: Likewise.
8672         * locale/Makefile: Likewise.
8673         * po/Makefile: Likewise.
8674         * posix/Makefile: Likewise.
8675         * sysdeps/gnu/Makefile: Likewise.
8676         * sysdeps/mach/hurd/Makefile: Likewise.
8677         * sysdeps/sparc/sparc32/Makefile: Likewise.
8678
8679         [BZ #13118]
8680         * posix/Makefile (bug-regex32-ENV): Define.
8681         Patch by John Stanley <jpsinthemix@verizon.net>.
8682
8683         * misc/Makefile (headers): Add bits/select2.h.
8684         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8685         * misc/bits/select2.h: New file.
8686         * include/bits/select2.h: New file.
8687         * debug/Makefile (routines): Add fdelt_chk.
8688         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8689         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8690         FD_ISSET.
8691         * debug/fdelt_chk.c: New file.
8692
8693         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
8694         * wcsmbs/test-wmemcmp.c: Likewise.
8695         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
8696         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
8697
8698 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8699
8700         * string/Makefile (strop-tests): Add memcmp.
8701         * string/test-wmemcmp.c: New file.
8702         * string/test-memcmp.c: Add wmemcmp support.
8703
8704 2011-09-08  Roland McGrath  <roland@hack.frob.com>
8705
8706         [BZ #13153]
8707         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8708         2011-07-19 change.
8709
8710         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8711         garbage value in a __mach_port_mod_refs call in the cases of the
8712         task-self and thread-self ports.
8713
8714 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8715
8716         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8717
8718 2011-09-08  Andreas Schwab  <schwab@redhat.com>
8719
8720         * elf/dl-load.c (lose): Check for non-null L.
8721
8722 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
8723
8724         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8725
8726         * elf/dl-libc.c (dlerror_run): Pass back error code from
8727         dl_catch_error.
8728
8729         [BZ #13123]
8730         * elf/dl-load.c (lose): Free l_origin if it is valid.
8731
8732         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8733         names.
8734         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8735         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8736         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8737         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8738         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8739         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8740
8741 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8742
8743         * sysdeps/powerpc/fpu/e_hypot.c: New file.
8744         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8745         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8746         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8747         * sysdeps/powerpc/fpu/k_cosf.c: New file.
8748         * sysdeps/powerpc/fpu/k_sinf.c: New file.
8749         * sysdeps/powerpc/fpu/s_cosf.c: New file.
8750         * sysdeps/powerpc/fpu/s_sinf.c: New file.
8751         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8752         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8753
8754 2011-08-15  Alan Modra  <amodra@gmail.com>
8755
8756         [BZ #13092]
8757         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8758         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8759         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
8760         ppc_mcount to static-only-routines.
8761         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8762         __mcount_internal.
8763         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8764         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
8765
8766 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
8767
8768         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8769         for finite and infinity parameters.
8770
8771 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
8772
8773         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8774         and add nop instructions for throughput optimization.
8775         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8776
8777 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
8778
8779         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8780         aligned copy for power7 with vector-scalar instructions.
8781         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8782
8783 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
8784
8785         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8786         AVX check.
8787
8788 2011-09-07  Andreas Schwab  <schwab@redhat.com>
8789
8790         [BZ #13144]
8791         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8792         last change.
8793
8794 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
8795
8796         * sysdeps/unix/sysv/linux/x86_64/init-first.c
8797         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8798         syscall wrapper around clock_gettime in __vdso_clock_gettime.
8799         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8800         clock_gettime.
8801
8802 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
8803
8804         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8805         Forgot to demangle the pointer.
8806
8807         * sysdeps/i386/sysdep.h: Define atom_text_section.
8808         * sysdeps/x86_64/sysdep.h: Likewise.
8809         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8810         section with atom_text_section.
8811         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8812         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8813         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8814         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8815         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8816
8817         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8818         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8819         already be defined.  Change to take two parameters and don't assign
8820         result to variable.  Adjust all users.
8821         Define INTERNAL_GETTIME if not already defined.
8822         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8823         call.
8824         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8825         HAVE_CLOCK_GETTIME_VSYSCALL.
8826         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8827
8828         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8829         gettimeofday vsyscall, just use time.
8830
8831 2011-09-06  Andreas Schwab  <schwab@redhat.com>
8832
8833         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8834         <errno.h>.
8835
8836 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
8837
8838         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8839         syscall on x86-64.
8840         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8841         syscall.
8842         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8843         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8844         syscall if possible.
8845
8846 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
8847
8848         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8849         e_ident.  Don't pass to find_mapsXX.
8850         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8851
8852 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8853
8854         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8855         strchr-sse2-no-bsf strrchr-sse2-no-bsf
8856         * sysdeps/x86_64/multiarch/strchr.S: Update.
8857         Check bit_slow_BSF bit.
8858         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8859         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8860         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8861
8862 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
8863
8864         [BZ #13134]
8865         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8866         before glibc 2.15.
8867         (tryshell): Define.
8868         (__spawni): Change last parameter to be flag.  Test
8869         SPAWN_XFLAGS_USE_PATH flag to use path or not.
8870         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8871         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8872         * posix/spawni.c: Likewise.
8873         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8874         * posix/spawnp.c: Likewise.  Change normal version to use
8875         SPAWN_XFLAGS_USE_PATH.
8876         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8877         SPAWN_XFLAGS_TRY_SHELL.
8878
8879         [BZ #13150]
8880         * posix/glob.h: Remove gcc 1.x support.
8881
8882         [BZ #13068]
8883         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8884
8885 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8886
8887         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8888         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8889         strrchr-sse2-bsf
8890         * sysdeps/i386/i686/multiarch/strchr.S: New file.
8891         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8892         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8893         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8894         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8895         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8896
8897 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8898
8899         * sysdeps/x86_64/wcscmp.S: New file.
8900
8901         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8902         wcscmp-c wcscmp-sse2
8903         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8904         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8905         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8906         * wcsmbs/wcscmp.c: Allow renaming.
8907
8908 2011-09-05  David S. Miller  <davem@davemloft.net>
8909
8910         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8911         stack slot, rather than the struct return pointer slot.
8912         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8913         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8914         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8915         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8916
8917 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
8918
8919         * po/ja.po: Update from translation team.
8920
8921         [BZ #13144]
8922         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8923         kernel in 64-bit binaries.
8924
8925 2011-09-01  David S. Miller  <davem@davemloft.net>
8926
8927         * elf/elf.h (HWCAP_SPARC_*): Move to..
8928         * sysdeps/sparc/sysdep.h: this new file and add new values.
8929         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8930         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8931         _DL_HWCAP_COUNT to 24.
8932         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8933         entries.
8934         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8935         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8936         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8937         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8938         instead of magic constants.
8939         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8940
8941 2011-08-31  David S. Miller  <davem@davemloft.net>
8942
8943         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8944         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8945         Reimplement to do errno handling inline.
8946         (SYSCALL_ERROR_HANDLER): New macro.
8947         (__SYSCALL_STRING): Do not do errno handling in asm.
8948         (__CLONE_SYSCALL_STRING): Delete.
8949         (__INTERNAL_SYSCALL_STRING): Delete.
8950         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8951         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8952         (PSEUDO): Reimplement to do errno handling inline.
8953         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8954         (SYSCALL_ERROR_HANDLER): New macro.
8955         (__SYSCALL_STRING): Do not do errno handling in asm.
8956         (__CLONE_SYSCALL_STRING): Delete.
8957         (__INTERNAL_SYSCALL_STRING): Delete.
8958         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8959         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8960         i386.
8961         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8962         (inline_syscall*): Add 'err' argument.
8963         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8964         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8965         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8966         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8967
8968         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8969         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8970
8971 2011-08-30  Andreas Schwab  <schwab@redhat.com>
8972
8973         * elf/rtld.c (dl_main): Relocate objects in dependency order.
8974
8975 2011-08-29  Jiri Olsa <jolsa@redhat.com>
8976
8977         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8978         directive.
8979
8980 2011-08-24  David S. Miller  <davem@davemloft.net>
8981
8982         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8983
8984 2011-08-24  Andreas Schwab  <schwab@redhat.com>
8985
8986         * elf/Makefile: Add rules to build and run unload8 test.
8987         * elf/unload8.c: New file.
8988         * elf/unload8mod1.c: New file.
8989         * elf/unload8mod1x.c: New file.
8990         * elf/unload8mod2.c: New file.
8991         * elf/unload8mod3.c: New file.
8992
8993         * elf/dl-close.c (_dl_close_worker): Reset private search list if
8994         it wasn't used.
8995
8996 2011-08-23  David S. Miller  <davem@davemloft.net>
8997
8998         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8999         subtract stack bias.
9000         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9001         %sp not %fp in calculations.
9002         (_JMPBUF_UNWINDS_ADJ): Likewise.
9003
9004         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9005         (aio_suspend): Call it to force an exception region around the
9006         AIO_MISC_WAIT() invocation.
9007
9008 2011-08-23  Andreas Schwab  <schwab@redhat.com>
9009
9010         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9011         backslash.
9012
9013 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
9014
9015         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9016         protection macro.
9017         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9018         and <dl-machine.h>.
9019         (Elf64_FuncDesc): Remove.
9020
9021 2011-08-22  David S. Miller  <davem@davemloft.net>
9022
9023         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9024         sigaltstack check, add missing cfi directives.
9025         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9026         missing cfi directives, and sigaltstack handling.
9027
9028 2011-08-16  Andreas Schwab  <schwab@redhat.com>
9029
9030         [BZ #11724]
9031         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9032         object is seen twice.
9033         * elf/dl-fini.c (_dl_sort_fini): Likewise.
9034
9035         * elf/Makefile (distribute): Add tst-initorder2.c.
9036         (tests): Add tst-initorder2.
9037         (modules-names): Add tst-initorder2a tst-initorder2b
9038         tst-initorder2c tst-initorder2d.  Add rules to build them.
9039         ($(objpfx)tst-initorder2.out): New rule.
9040         * elf/tst-initorder2.c: New file.
9041         * elf/tst-initorder2.exp: New file.
9042
9043 2011-08-22  Andreas Schwab  <schwab@redhat.com>
9044
9045         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9046
9047         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9048         dependencies back to end of function.
9049
9050         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9051         $(elfobjdir)/ld.so.
9052
9053 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
9054
9055         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9056         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9057         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9058         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9059         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9060         of __vdso_gettimeofday.
9061         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9062         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
9063         attribute_hidden.
9064         (_libc_vdso_platform_setup): Remove initialization of
9065         __vdso_gettimeofday and __vdso_time.
9066
9067 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
9068
9069         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9070         and fgetc_unlocked.
9071         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9072         getc_unlocked.
9073
9074         * elf/dl-open.c (add_to_global): Report additions to the global scope
9075         for LD_DEBUG=scopes.
9076         (dl_open_worker): Also print scope of newly loaded dependencies.
9077         (_dl_show_scope): Indicate if there is no scope.
9078
9079         [BZ #13114]
9080         * stdio-common/Makefile (tests): Add bug24.
9081         * stdio-common/bug24.c: New file.
9082
9083 2011-08-19  Andreas Jaeger  <aj@suse.de>
9084
9085         [BZ #13114]
9086         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9087         non-existant file when using close-on-exec mode.
9088
9089 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
9090
9091         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9092         the very first instruction.
9093
9094         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9095         the CFI state in the end.
9096         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9097         inclusion of dl-trampoline.h.
9098         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9099
9100 2011-08-19  Andreas Schwab  <schwab@redhat.com>
9101
9102         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9103         expectations for long double.
9104
9105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9106         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9107
9108 2011-08-14  David S. Miller  <davem@davemloft.net>
9109
9110         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9111         artificual limit depends upon the system page size.
9112
9113 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
9114
9115         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9116         * resolv/Makefile: Define CFLAGS-libresolv.
9117
9118 2011-08-17  Andreas Schwab  <schwab@redhat.com>
9119
9120         * nss/makedb.c (compute_tables): Make variables used in nested
9121         function static.
9122
9123 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
9124
9125         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9126         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9127         if buffer was too small.
9128
9129         * elf/pldd.c (main): Attach to all threads in the process.
9130         Rewrite /proc handling to use *at functions.
9131
9132 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
9133
9134         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9135         specifies first scope to show.
9136         (dl_open_worker): Update callers.  Move printing scope of new
9137         object to before the relocation.
9138         * elf/rtld.c (dl_main): Update _dl_show_scope call.
9139         * sysdeps/generic/ldsodefs.h: Update declaration.
9140
9141         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9142         string for the scope number.
9143
9144 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
9145
9146         * nscd/servicescache.c (cache_addserv): Make sure written is always
9147         initialized.
9148
9149 2011-08-14  Roland McGrath  <roland@hack.frob.com>
9150
9151         * sysdeps/i386/i486/bits/atomic.h
9152         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9153         statement expression, so as to suppress "set but not used" warning.
9154         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9155
9156         * string/strncat.c (STRNCAT): Use prototype definition.
9157
9158         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9159         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9160         -Iprograms here.
9161         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9162         (localedef-modules): Add localedef.
9163         (locale-modules): Add locale.
9164
9165         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9166         * elf/rtld.c (dl_main): Invert order of assignment in last change,
9167         to avoid a warning.
9168
9169 2011-08-14  David S. Miller  <davem@davemloft.net>
9170
9171         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9172         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9173
9174 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
9175
9176         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
9177         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9178         * elf/rtld.c (dl_main): Set l_name of vDSO.
9179         Call _dl_show_scope when DL_DEBUG_SCOPES.
9180         (process_dl_debug): Recognize scopes flag and also set it for all.
9181         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9182         Declare _dl_show_scope.
9183
9184         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9185         (do_dlopen): Pass caller_dlopen to dl_open.
9186         (__libc_dlopen_mode): Initialize caller_dlopen.
9187
9188         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9189         of libc.  Make tolower call locale-independent.  Optimize a bit by
9190         using isdigit instead of isalnum.
9191         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9192
9193 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
9194
9195         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9196         was a dependency or dynamically loaded.
9197
9198 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
9199
9200         * intl/l10nflist.c: Allow architecture-specific pop function.
9201         * sysdeps/x86_64/l10nflist.c: New file.
9202
9203         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9204         classification.
9205
9206 2011-08-10  Andreas Schwab  <schwab@redhat.com>
9207
9208         * include/dirent.h: Add libc_hidden_proto for scandirat and
9209         scandirat64.  Don't declare __scandirat64.
9210         * dirent/scandirat.c: Add libc_hidden_def.
9211         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9212         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9213
9214 2011-08-10  David S. Miller  <davem@davemloft.net>
9215
9216         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9217         enum.
9218         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9219         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9220         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9221
9222 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
9223
9224         * Versions.def [libc]: Add GLIBC_2.15.
9225         * dirent/Makefile (routines): Add scandirat and scandirat64.
9226         * dirent/Versions [libc]: Export scandirat and scandirat64 for
9227         GLIBC_2.15.
9228         * dirent/dirent.h: Declare scandirat and scandirat64.
9229         * dirent/scandirat.c: New file.
9230         * dirent/scandirat64.c: New file.
9231         * sysdeps/wordsize-64/scandirat.c: New file.
9232         * sysdeps/wordsize-64/scandirat64.c: New file.
9233         * dirent/opendir.c: Define opendirat.
9234         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
9235         using scandirat.
9236         * dirent/scandir64.c: Adjust for scandir.c change.
9237         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
9238         __scandirat64, and __scandir_cancel_handler.
9239         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
9240         additional parameter and use openat instead of open (outside of ld.so).
9241         Add new __opendir as wrapper around __opendirat.
9242         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9243         here without requiring old scandirat implementation.
9244
9245 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
9246
9247         * dirent/scandir.c (cancel_handler): Renamed to
9248         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
9249         defined.  Adjust users.
9250         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9251         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9252
9253 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
9254
9255         * string/test-string.h (IMPL): Use __STRING to expand name and then
9256         stringify it.
9257
9258         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
9259         of cleanups.
9260
9261 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9262
9263         * string/Makefile: Update.
9264         (strop-tests): Append strncat.
9265         * string/test-wcscmp.c: New file.
9266         New comprehensive test for wcscmp.
9267         * string/test-strcmp.c: Update.
9268         (WIDE): New define.
9269
9270 2011-07-22  Andreas Schwab  <schwab@redhat.com>
9271
9272         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9273         line.
9274
9275 2011-07-26  Andreas Schwab  <schwab@redhat.com>
9276
9277         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9278         encoding to ACE if AI_IDN.
9279
9280 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
9281
9282         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9283         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9284
9285 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9286
9287         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9288         Fix overflow bug in strncat.
9289         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9290
9291         * string/test-strncat.c: Update.
9292         Add new tests for checking overflow bugs.
9293
9294 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9295
9296         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9297         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9298         * sysdeps/i386/i686/multiarch/strcat.S: New file.
9299         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9300         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9301         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9302         * sysdeps/i386/i686/multiarch/strncat.S: New file.
9303         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9304         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9305
9306         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9307         (USE_AS_STRCAT): Define.
9308         Add strcat and strncat support.
9309         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9310
9311 2011-07-25  Andreas Schwab  <schwab@redhat.com>
9312
9313         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9314         __n bigger than INT_MAX+1.
9315         (__strncmp_g): Likewise.
9316
9317 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
9318
9319         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9320         * libio/stido.h: Likewise.
9321
9322         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9323         (AF_NFC): Define.
9324         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9325         (AF_NFC): Define.
9326
9327         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9328         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9329         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9330         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9331         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9332
9333         [BZ #13021]
9334         * scripts/test-installation.pl: Don't expect libnss_test1 to be
9335         installed.
9336
9337         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9338         typo.
9339         (_dl_x86_64_save_sse): Likewise.
9340
9341 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
9342
9343         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9344         OSXSAVE.
9345         (_dl_x86_64_save_sse): Likewise.
9346
9347         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9348
9349         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9350
9351 2011-07-21  Andreas Schwab  <schwab@redhat.com>
9352
9353         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9354         change.
9355         (_dl_x86_64_save_sse): Use correct AVX check.
9356
9357 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9358
9359         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9360         bug in strncpy/strncat.
9361         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9362
9363 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
9364
9365         * string/tester.c (test_strcat): Add tests for different alignments
9366         of source and destination.
9367         (test_strncat): Likewise.
9368
9369 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
9370
9371         [BZ #12852]
9372         * posix/glob.c (glob): Check passed in values before using them in
9373         expressions to avoid some overflows.
9374         (glob_in_dir): Likewise.
9375
9376         [BZ #13007]
9377         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9378         check for AVX enablement so that we don't crash with old kernels and
9379         new hardware.
9380         * elf/tst-audit4.c: Add same checks here.
9381         * elf/tst-audit6.c: Likewise.
9382
9383         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
9384
9385 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
9386
9387         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9388
9389 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
9390
9391         * po/cs.po: Update from translation team.
9392         * po/bg.po: Likewise.
9393
9394 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
9395
9396         * misc/sys/cdefs.h: Add support for const attribute.
9397         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9398         to gnu_dev_{major,minor,makedev} functions.
9399
9400 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
9401
9402         * intl/dcigettext.c (get_output_charset): Add missing bracket.
9403
9404 2011-07-20  Andreas Schwab  <schwab@redhat.com>
9405
9406         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9407         strlen results.
9408
9409 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9410
9411         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9412         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9413         register in order to avoid conflicts with the soft frame pointer
9414         being held in r11 when necessary.
9415         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9416         (INTERNAL_VSYSCALL_NCS): Likewise.
9417
9418 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
9419
9420         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9421         * elf/dl-fini.c (_dl_fini): Adjust caller.
9422         * elf/dl-close.c (_dl_close_worker): Likewise.
9423         * sysdeps/generic/ldsodefs.h: Adjust declaration.
9424
9425 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
9426
9427         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9428         "aux_cache->nlibs < 0".
9429
9430         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9431         in the reload-count case.
9432
9433 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9434
9435         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9436         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9437         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9438         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9439         * sysdeps/x86_64/multiarch/strcat.S: New file.
9440         * sysdeps/x86_64/multiarch/strncat.S: New file.
9441         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9442         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9443         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9444         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9445         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9446         (USE_AS_STRCAT): Define.
9447         Add strcat and strncat support.
9448         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9449         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9450         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9451         * string/strncat.c: Update.
9452         (USE_AS_STRNCAT): Define.
9453         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9454         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9455         and i7.
9456         * sysdeps/x86_64/multiarch/init-arch.h
9457         (bit_Prefer_PMINUB_for_stringop): New.
9458         (index_Prefer_PMINUB_for_stringop): Likewise.
9459         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9460         bit_Prefer_PMINUB_for_stringop.
9461
9462 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
9463
9464         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9465         buffer64.
9466         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9467         of casting of buffer.
9468         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9469         buffer32 and buffer64.
9470         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9471         writes instead of casting of buffer.
9472         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9473         buffer32.
9474         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9475         casting of buffer.
9476
9477 2011-07-19  Andreas Schwab  <schwab@redhat.com>
9478
9479         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9480
9481 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
9482
9483         * nscd/nscd.c (termination_handler): Don't do anything for a database
9484         if it has not yet been initialized.
9485
9486 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
9487
9488         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9489
9490 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
9491
9492         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9493
9494 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
9495
9496         * po/nl.po: Update from translation team.
9497         * po/sv.po: Likewise.
9498
9499 2011-07-16  Roland McGrath  <roland@hack.frob.com>
9500
9501         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9502         now disallowed by GCC.
9503
9504         * configure.in (use-default-link): Default to yes if a test -shared
9505         link meets our qualifications.
9506         * configure: Regenerated.
9507
9508         * config.make.in (output-format): New variable.
9509         * configure.in: Check for ld --print-output-format support.
9510         * configure: Regenerated.
9511         * Makerules ($(common-objpfx)format.lds)
9512         [$(output-format) != unknown]: Just use $(output-format),
9513         instead of the linker-script munging.
9514
9515 2011-07-14  Roland McGrath  <roland@hack.frob.com>
9516
9517         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9518         of $(common-objpfx)shlib.lds.
9519         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9520
9521         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9522         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9523
9524         * configure.in (-z relro check): Adjust test code to add a large
9525         writable data section after it.
9526         * configure: Regenerated.
9527
9528 2011-07-11  Roland McGrath  <roland@hack.frob.com>
9529
9530         * configure.in (-z relro check): Fix test code to make the variable
9531         truly const.
9532         * configure: Regenerated.
9533
9534 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
9535
9536         * nscd/nscd.h (struct traced_file): Define.
9537         (struct database_dyn): Remove inotify_descr, reset_res, and filename
9538         elements.  Add traced_files.
9539         (inotify_fd): Declare.
9540         (register_traced_file): Declare.
9541         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9542         (inotify_fd): Export.
9543         (resolv_conf_descr): Remove.
9544         (nscd_init): Move inotify descriptor creation to main.
9545         Don't register files for notification here.
9546         (register_traced_file): New function.
9547         (invalidate_cache): Don't use reset_res to determine whether to call
9548         res_init, go through the list of registered files.
9549         (main_loop_poll): The inotify descriptors are now stored in the
9550         structures for the traced files.
9551         (main_loop_epoll): Likewise
9552         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
9553         to __nss_disable_nscd.
9554         * nscd/cache.c (prune_cache): There is no single inotify descriptor
9555         for a database anymore.  Check the records for all the registered
9556         files instead.
9557         * nss/Makefile (libnss_files-routines): Add files-init.
9558         (libnss_db-routines): Add db-init.
9559         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9560         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9561         * nss/nss_db/db-init.c: New file.
9562         * nss/nss_files/files-init.c: New file.
9563         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
9564         __nss_lookup_function.
9565         (__nss_lookup_function): Call nss_load_library.
9566         (nss_load_all_libraries): New function.
9567         (__nss_disable_nscd): Take parameter with callback function for files
9568         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
9569         used for the cached services.
9570         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9571         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9572         options for features to all the files in nscd.
9573
9574         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9575
9576 2011-07-10  Roland McGrath  <roland@hack.frob.com>
9577
9578         * csu/elf-init.c (__libc_csu_init): Comment typo.
9579
9580 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
9581
9582         * po/pl.po: Update from translation team.
9583         * po/ja.po: Likewise.
9584         * po/ru.po: Likewise.
9585         * po/ko.po: Likewise.
9586         * po/fr.po: Likewise.
9587
9588 2011-07-09  Roland McGrath  <roland@hack.frob.com>
9589
9590         * configure.in (.ctors/.dtors header and trailer check):
9591         Use an empirical test on a built program.
9592         * configure: Regenerated.
9593
9594         * configure.in (-z relro check): Use an empirical test on a built DSO.
9595         Detect, but do not require, on ia64.
9596         * configure: Regenerated.
9597
9598         * configure.in (READELF): Find it with AC_CHECK_TOOL.
9599         Update tests that use readelf to use $READELF instead.
9600         * configure: Regenerated.
9601
9602 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
9603
9604         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9605         if the result is not used.
9606
9607 2011-07-05  Andreas Jaeger  <aj@suse.de>
9608
9609         [BZ#9696]
9610         * stdlib/tst-strtod.c: Add testcase.
9611
9612 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
9613
9614         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
9615         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
9616         The latter has a higher limit.  Take additional parameter to pass to
9617         the new function.
9618         (__pathconf): Pass file to __statfs_link_max.
9619         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9620         __statfs_link_max.
9621         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9622         __statfs_link_max.
9623
9624         [BZ #12868]
9625         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9626         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9627         Handle Lustre.
9628         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9629         (__statfs_filesize_max): Likewise.
9630         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9631
9632 2011-07-05  Andreas Jaeger  <aj@suse.de>
9633
9634         * resolv/res_comp.c (dn_skipname): Remove unused variable.
9635
9636 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
9637
9638         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9639         `status' variable.
9640         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9641         Likewise.
9642
9643 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
9644
9645         * Makefile (strop-tests): Add strncat.
9646         * string/test-strncat.c: New file.
9647
9648 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
9649
9650         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9651
9652 2011-06-21  Andreas Jaeger  <aj@suse.de>
9653
9654         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9655         Copy rule from iconvdata/Makefile.
9656
9657 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
9658
9659         [BZ #12922]
9660         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9661         but no long options are defined, just return 'W'.
9662
9663 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
9664
9665         [BZ #9696]
9666         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9667
9668 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
9669
9670         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9671         netgroups to read.
9672         (innetgr): Likewise.
9673
9674 2011-07-05  Roland McGrath  <roland@hack.frob.com>
9675
9676         * config.make.in (install_root): Default to $(DESTDIR).
9677
9678 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
9679
9680         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9681
9682 2011-07-02  Roland McGrath  <roland@hack.frob.com>
9683
9684         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9685
9686         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9687         containing directory rather than embedding absolute directory names.
9688
9689         * scripts/check-local-headers.sh: Rewritten using awk.
9690         Match by word, not by line.  Print error messages for matches.
9691         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9692
9693         * Makerules [shlib-lds-flags empty]:
9694         ($(common-objpfx)libc_pic.opts): New target.
9695         ($(common-objpfx)libc_pic.os.clean): New target.
9696         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9697
9698         * config.make.in (OBJCOPY): New variable.
9699         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9700         * configure: Regenerated.
9701
9702         * config.make.in (use-default-link): New variable.
9703         * configure.in (use_default_link): Grok --with-default-link to set it.
9704         * configure: Regenerated.
9705         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9706         (shlib-lds, shlib-lds-flags): Define to empty.
9707
9708         * Makerules (shlib-lds): New variable.
9709         (shlib-lds-flags): New variable.
9710         (build-shlib, build-moduile, build-module-asneeded): Use it.
9711         ($(common-objpfx)libc.so): Use $(shlib-lds).
9712         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9713         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9714
9715         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9716         DT_FLAGS/DT_FLAGS_1 with zero flags.
9717
9718         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9719         linker script munging.
9720
9721 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
9722
9723         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9724         as 128-bit value.
9725         * crypt/sha512.c (sha512_process_block): Perform total addition using
9726         128-bit if possible.
9727         (__sha512_finish_ctx): Likewise.
9728         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9729         as 64-bit value.
9730         * crypt/sha256.c (SWAP64): Define.
9731         (sha256_process_block): Perform total addition using 64-bit if
9732         possible.
9733         (__sha256_finish_ctx): Likewise.
9734
9735 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
9736
9737         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
9738         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9739         * nscd/hstcache.c (cache_addhst): Likewise.
9740         * nscd/grpcache.c (cache_addgr): Likewise.
9741         * nscd/aicache.c (addhstaiX): Likewise
9742         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9743
9744 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
9745
9746         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9747         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9748         * nscd/hstcache.c (cache_addhst): Likewise.
9749         * nscd/grpcache.c (cache_addgr): Likewise.
9750         * nscd/aicache.c (addhstaiX): Likewise
9751
9752 2011-07-01  Andreas Schwab  <schwab@redhat.com>
9753
9754         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9755         domain only when needed.
9756
9757 2011-06-30  Andreas Schwab  <schwab@redhat.com>
9758
9759         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9760         is always restored.
9761
9762 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
9763
9764         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9765         are re-adding the entry.
9766         * nscd/servicescache.c (cache_addserv): Likewise.
9767
9768 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
9769
9770         * sysdeps/generic/dl-irel.h: fix protection against multiple
9771         inclusions.
9772         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9773
9774 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
9775
9776         [BZ #12935]
9777         * malloc/memusage.sh: Fix quoting in message.
9778         * debug/xtrace.sh: Likewise.
9779
9780         * configure.in: Remove support for --experimental-malloc option, make
9781         it the default.
9782         * config.make.in: Likewise.
9783         * malloc/Makefile: Likewise.
9784
9785 2011-06-27  Andreas Schwab  <schwab@redhat.com>
9786
9787         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9788         two-byte characters.
9789
9790 2011-06-27  Roland McGrath  <roland@hack.frob.com>
9791
9792         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9793         AC_CACHE_CHECK invocation.
9794         * configure: Regenerated.
9795
9796         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9797
9798 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
9799
9800         [BZ #12350]
9801         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
9802         bit from old_res_options.
9803
9804         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9805
9806         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9807         value type for setfct.
9808
9809 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
9810
9811         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9812         __gettimeofday instead of gettimeofday.
9813
9814 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
9815
9816         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9817
9818 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9819
9820         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9821
9822         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9823         info.
9824
9825 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
9826
9827         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9828         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9829         strcpy-sse2-unaligned strncpy-sse2-unaligned
9830         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9831         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9832         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9833         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9834         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9835         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9836         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9837         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9838         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9839         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9840         (STRCPY): Support SSE2 and SSSE3 versions.
9841
9842 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
9843
9844         [BZ #12874]
9845         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9846         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9847         kernels which artificially limit size of requests.
9848
9849 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
9850
9851         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9852         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9853         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9854         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9855         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9856         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9857         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9858         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9859         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9860         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9861         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9862         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9863         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9864         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9865         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9866         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9867         Enable unaligned load optimization for Intel Core i3, i5 and i7
9868         processors.
9869         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9870         Define.
9871         (index_Fast_Unaligned_Load): Define.
9872         (HAS_FAST_UNALIGNED_LOAD): Define.
9873
9874 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
9875
9876         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9877
9878 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
9879
9880         [BZ #12907]
9881         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9882         until it is clear that the information is realy needed.
9883         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9884
9885 2011-06-22  Andreas Schwab  <schwab@redhat.com>
9886
9887         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9888
9889 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
9890
9891         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9892         /sys/devices/system/cpu/online if it is usable.
9893
9894         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9895         reading the information from the /proc filesystem to once a second.
9896
9897 2011-06-21  Andreas Jaeger  <aj@suse.de>
9898
9899         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9900         NULL after inclusion of kernel headers.
9901
9902 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
9903
9904         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9905         calls to internal_setent.
9906
9907         [BZ #12885]
9908         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9909         addresses using gethostbyname4_r ignore IPv4 addresses.
9910
9911         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9912         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
9913
9914         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9915
9916 2011-06-20  David S. Miller  <davem@davemloft.net>
9917
9918         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9919         inclusions.
9920         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9921
9922         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9923         (elf_irel): Use it.
9924         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9925         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9926         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9927         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9928         * sysdeps/x86_64/dl-irel.h: Likewise.
9929
9930         * elf/dl-runtime.c: Use elf_ifunc_invoke.
9931         * elf/dl-sym.c: Likewise.
9932
9933 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
9934
9935         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
9936         need to dereference resplen2.
9937
9938 2011-06-14  Andreas Schwab  <schwab@redhat.com>
9939
9940         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9941
9942 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
9943
9944         * Makeconfig: Define vardbdir and inst_vardbdir.
9945         * nss/Makefile: Add rules to install db-Makefile.
9946
9947         * nss/nss_db/db-XXX.c: Cleanup.
9948
9949         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9950         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9951         GLIBC_PRIVATE.
9952         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9953         * nss/makedb.c: Implement -g option to specify that value strings
9954         are generated and should not be added to table iterated over for
9955         get*ent calls.
9956         * nss/nss_db/db-initgroups.c: New file.
9957
9958         * nss/getent.c: Add support for initgroups lookups through getgrouplist
9959         interface.
9960
9961         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9962         (internal_getgrouplist): Adjust to name change.
9963         Update use_initgroups_entry if this is not the first call.
9964         * nss/databases.def: Add initgroups entry.
9965
9966         * nss/makedb.c (compute_tables): Check result of multiple hash table
9967         sizes to minimize maximum chain length.
9968
9969 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
9970
9971         * Versions.def: Add entry for libnss_db.
9972         * shlib-versions: Likewise.
9973         * nss/Makefile: Add rules to build libnss_db.
9974         * nss/Versions: Add libnss_db information.  Organize libnss_files
9975         entries better.
9976         * nss/db-Makefile: Add gshadow support.  Change rules for the new
9977         makedb progra.  Some minor improvements to generate smaller files.
9978         * nss/nss_db/nss_db.h: Move NSS database header data structures to
9979         here from...
9980         * nss/makedb.c: ...here.
9981         Improve database format to be smaller and require less memory at
9982         runtime.
9983         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
9984         db anymore.
9985         * nss/nss_db/db-netgrp.c: Likewise.
9986         * nss/nss_db/db-open.c: Likewise.
9987         * nss/nss_files/flies-XXX.x: Adjust comments.
9988         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9989         * nss/nss_files/files-grp.c: Likewise.
9990         * nss/nss_files/files-hosts.c: Likewise.
9991         * nss/nss_files/files-network.c: Likewise.
9992         * nss/nss_files/files-proto.c: Likewise.
9993         * nss/nss_files/files-pwd.c: Likewise.
9994         * nss/nss_files/files-rpc.c: Likewise.
9995         * nss/nss_files/files-service.c: Likewise.
9996         * nss/nss_files/files-sgrp.c: Likewise.
9997         * nss/nss_files/files-spwd.c: Likewise.
9998         * nss/nss_db/db-alias.c: Removed.
9999         * nss/nss_db/dummy-db.h: Removed.
10000
10001 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
10002
10003         * nss/makedb.c: Rewritten to not use database library.
10004         * nss/Makefile: Update to build new makedb program.
10005
10006 2011-06-14  Andreas Jaeger  <aj@suse.de>
10007
10008         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10009         memset declaration.
10010
10011 2011-06-10  Andreas Schwab  <schwab@redhat.com>
10012
10013         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10014         tmpbuf.
10015
10016 2011-06-10  Roland McGrath  <roland@hack.frob.com>
10017
10018         * Makerules (shlib.lds): Fail if the linker script comes out empty.
10019         * elf/Makefile ($(objpfx)ld.so): Likewise.
10020
10021         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10022         Don't list ld.so twice in dependencies.
10023
10024         * posix/bug-regex31.c: Include <stdlib.h>.
10025
10026         * nscd/hstcache.c (cache_addhst): Remove unused variable.
10027
10028         * nis/nss_compat/compat-spwd.c
10029         (getspent_next_nss_netgr): Remove unused variable.
10030         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10031
10032         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10033         nonmembers" output to use the right array.
10034
10035         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10036
10037         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10038
10039         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10040         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10041         * catgets/gencat.c (read_input_file): Likewise.
10042         * locale/programs/locarchive.c (enlarge_archive): Likewise.
10043
10044         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10045         variable definition inside #if's controlling its use.
10046
10047         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10048
10049         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10050
10051         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10052
10053         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10054         unreachable code.
10055
10056         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10057
10058         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10059         * configure: Regenerated.
10060
10061         * Makerules: Revert last change.
10062         * elf/Makefile: Likewise.
10063
10064 2011-06-09  Roland McGrath  <roland@hack.frob.com>
10065
10066         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10067         * elf/Makefile ($(objpfx)librtld.os): Likewise.
10068         (reloc-link): Likewise.
10069
10070 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
10071
10072         * elf/Makefile: Add rules to build pldd.
10073         * elf/pldd.c: New file.
10074         * elf/pldd-xx.c: New file.
10075
10076 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
10077
10078         * version.h: Update for 2.15 development version.
10079
10080 2011-06-07  David S. Miller  <davem@davemloft.net>
10081
10082         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10083         ifuncs.
10084         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10085         elf_machine_lazy_rel): Likewise.
10086         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10087         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10088         elf_machine_lazy_rel): Likewise.
10089         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10090         dl_hwcap via passed in argument.
10091         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10092         Likewise.
10093
10094 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10095
10096         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
10097
10098 2011-06-06  Roland McGrath  <roland@hack.frob.com>
10099
10100         [BZ #12849]
10101         * manual/fdl-1.1.texi: New file, verbatim from:
10102         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10103         * manual/lgpl-2.1.texi: New file, verbatim from:
10104         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10105         * manual/Makefile (licenses): New variable, list those new file names.
10106         (texis): Use it.
10107         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10108
10109         * manual/fdl.texi: File removed.
10110         * manual/lesser.texi: File removed.
10111         * manual/libc.texinfo (Copying, Documentation License):
10112         Use new @include file names, put @appendix directive before @include.
10113
10114 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
10115
10116         [BZ #12841]
10117         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10118         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10119         (mq_open): Add __NTH.
10120
10121 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
10122
10123         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10124         Assume Intel Core i3/i5/i7 processor if AVX is available.
10125
10126 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
10127
10128         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10129         typo.
10130
10131 2011-05-31  Andreas Schwab  <schwab@redhat.com>
10132
10133         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10134         memory.  Use alloca_account.  Fix memory leak when retrying.
10135
10136 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
10137
10138         * version.h (RELEASE): Bump for 2.14 release.
10139         * include/features.h (__GLIBC_MINOR__): Bump to 14.
10140
10141         * config.make.in (RANLIB): Remove entry.
10142
10143 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
10144
10145         * po/Makefile (po-sed-cmd): Add ksh to extensions.
10146         (libc.pot): Work around missing support for .ksh extension in xgettext.
10147
10148         [BZ #12684]
10149         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10150         if both request failed.
10151         (send_dg): In case of server errors clear resplen or *resplen2.
10152
10153         [BZ #12454]
10154         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10155         when there are multiple maps.
10156         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10157         (_dl_fini): Remove test here.
10158
10159         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10160
10161 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
10162
10163         [BZ #12350]
10164         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10165         bit from old_res_options.
10166         (gaih_inet): Likewise.
10167
10168         [BZ #11099]
10169         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
10170         as signed.
10171
10172         * resolv/res_init.c (res_setoptions): Make the code more compact.
10173
10174         [BZ #11558]
10175         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10176         set RES_USEVC.
10177
10178         [BZ #11634]
10179         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10180
10181         * malloc/malloc.h: Mark malloc hook variables as deprecated.
10182
10183         [BZ #11781]
10184         * malloc/malloc.h: Declare malloc hook variables as volatile.
10185
10186         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10187         in last patch.
10188
10189         [BZ #11799]
10190         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
10191         raise in the comment.
10192         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10193         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10194         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
10195
10196 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
10197
10198         [BZ #12811]
10199         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10200         grow the buffers more if it already has to be sufficient.
10201         (build_wcs_upper_buffer): Likewise.
10202         * posix/regexec.c (check_matching): Likewise.
10203         (clean_state_log_if_needed): Likewise.
10204         (extend_buffers): Don't enlarge buffers beyond size of the input
10205         buffer.
10206         Patches mostly by Emil Wojak <emil@wojak.eu>.
10207         * posix/bug-regex32.c: New file.
10208         * posix/Makefile (tests): Add bug-regex32.
10209
10210         * locale/findlocale.c (_nl_find_locale): Return right away if
10211         _nl_explode_name failed.
10212         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10213
10214         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10215
10216         * debug/xtrace.sh: Unify messages.
10217         * malloc/memusage.sh: Likewise.
10218
10219         [BZ #12813]
10220         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10221         time symbol from vDSO.  Substitute with vsyscall if not available.
10222         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10223         __vdso_time.
10224
10225         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10226         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10227         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10228         Add sendmmsg and internal_sendmmsg.
10229         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10230         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10231         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10232
10233         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10234         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10235         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10236
10237 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
10238
10239         [BZ #12813]
10240         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10241         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
10242         available.
10243         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10244         __vdso_getcpu.
10245
10246         [BZ #12814]
10247         * iconvdata/Makefile (tests): Add bug-iconv9.
10248         * iconvdata/bug-iconv9.c: New file.
10249
10250 2011-05-27  Andreas Schwab  <schwab@redhat.com>
10251
10252         [BZ #12814]
10253         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10254
10255 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
10256
10257         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10258         (struct user_regs_struct): Change intcs field back to cs.
10259
10260 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
10261
10262         * po/ja.po: Update from translation team.
10263
10264 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
10265
10266         [BZ #12795]
10267         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10268         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10269
10270 2011-05-20  Andreas Schwab  <schwab@redhat.com>
10271
10272         * stdlib/longlong.h: Update from GCC.
10273
10274 2011-05-23  Andreas Schwab  <schwab@redhat.com>
10275
10276         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10277         parameter name.
10278         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10279         Add parameter name.
10280         (__sysconf): Pass it down.
10281
10282 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
10283
10284         [BZ #12671]
10285         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10286         some situations.
10287         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10288         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10289         add in in __libc_use_alloca calls.  Adjust callers.
10290         (glob): Use malloc in some situations.
10291
10292         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10293         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10294         pltexit.
10295
10296 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
10297
10298         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10299         and CLOCK_BOOTTIME_ALARM.
10300
10301         [BZ #12782]
10302         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10303         is returned.
10304
10305         * string/_strerror.c (__strerror_r): Print negative errors as signed
10306         numbers.
10307
10308         [BZ #12777]
10309         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10310         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10311         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10312
10313         * configure.in: Fix typo in redirection and correct removal of test
10314         files in two cases.
10315
10316         [BZ #12788]
10317         * locale/setlocale.c (new_composite_name): Fix test to check for
10318         identical name of all categories.
10319
10320         [BZ #12792]
10321         * libio/filedoalloc.c (local_isatty): New function.
10322         (_IO_file_doallocate): Use local_isatty.
10323         * stdio-common/perror.c (perror): In case a new stream is used
10324         forward the stream error.
10325         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10326         error flag.
10327
10328 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
10329
10330         [BZ #11869]
10331         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10332         alloca.
10333         * include/alloca.h (extend_alloca_account): Define.
10334
10335         [BZ #11857]
10336         * posix/regex.h: Fix comments with documentation of user-accessible
10337         fields after compilation and describe correct free'ing of pattern
10338         after re_compile_pattern.
10339         Patch by Reuben Thomas <rrt@sc3d.org>.
10340
10341 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
10342
10343         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10344         and -mno-altivec to prevent the compiler from using Altivec and/or
10345         VSX instructions when the corresponding registers are not available.
10346
10347 2011-05-19  Andreas Schwab  <schwab@redhat.com>
10348
10349         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10350
10351 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
10352
10353         * libio/freopen.c (freopen): Use __dup2, not dup2.
10354         * libio/freopen64.c (freopen64): Likewise.
10355
10356 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
10357
10358         [BZ #12775]
10359         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10360         * math/Makefile (tests): Add test-powl.
10361         (CFLAGS-test-powl.c): Define.
10362         * math/test-powl.c: New file.
10363
10364 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
10365
10366         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10367
10368 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
10369
10370         [BZ #11837]
10371         * iconvdata/gb18030.c: Update to GB18020-2005.
10372
10373 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
10374
10375         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10376         RE_SYNTAX_POSIX_AWK): Update to match recent development.
10377         Patch by Aharon Robbins <arnold@skeeve.com>.
10378
10379         [BZ #11892]
10380         * stdlib/putenv.c (putenv): Don't always create copy of the variable
10381         on the stack.
10382
10383         [BZ #11895]
10384         * misc/pselect.c (__pselect): Handle timeout value errors hidden
10385         through underflows.
10386
10387         [BZ #12766]
10388         * misc/error.c (error_at_line): Ensure file_name and old_file_name
10389         point to strings before performing equality test for error_one_per_line
10390         mode.
10391
10392         [BZ #11697]
10393         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10394
10395         [BZ #11820]
10396         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10397         (struct user_fpregs_struct): Avoid __uint*_t types.
10398
10399         [BZ #6420]
10400         * malloc/mtrace.c (tr_where): Add additional parameter to point to
10401         symbol info.  Use it instead of calling _dl_addr locally.
10402         (lock_and_info): New function.
10403         (tr_freehook): Call lock_and_info and pass symbol info as additional
10404         parameter to tr_where.
10405         (tr_mallochook): Likewise.
10406         (tr_reallochook): Likewise.
10407         (tr_memalignhook): Likewise.
10408
10409         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
10410         used and couldn't be at all thread-safe.
10411
10412 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
10413
10414         * libio/freopen.c (freopen): Don't close old file descriptor
10415         before the new one is opened.  Instead dup the new file descriptor
10416         to the old one after the new stream is created.
10417         * libio/freopen64.c (freopen64): Likewise.
10418         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10419         * libio/fileops.c (_IO_new_file_close_it): Handle new
10420         _IO_FLAGS2_NOCLOSE flag.
10421         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10422         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10423         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10424         _IO_FLAGS2_NOCLOSE flag.
10425         * include/unistd.h: Add hidden_proto for dup3.
10426         Define __have_dup3.
10427         * io/dup3.c: Define hidden symbol.
10428         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10429
10430         [BZ #7101]
10431         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10432         when an incomplete long option is used.
10433         * posix/tst-getopt_long1.c: New file.
10434         * posix/Makefile (tests): Add tst-getopt_long1.
10435
10436         [BZ #10138]
10437         * scripts/config.guess: Update from autoconf-2.68.
10438         * scripts/config.sub: Likewise.
10439
10440         [BZ #10157]
10441         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10442         tests into ...
10443         (has_cpuclock): ...this.  New function.
10444         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10445         macro here based on has_cpuclock code.
10446
10447         [BZ #10149]
10448         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10449         First byte (not low byte) is now always NUL.
10450         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10451
10452         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10453         Use non-cancelable interfaces.
10454
10455         [BZ #9809]
10456         * locale/iso-639.def: Add entry for Sorani.
10457
10458         [BZ #11901]
10459         * include/stdlib.h: Move include protection to the right place.
10460         Define abort_msg_s.  Declare __abort_msg with it.
10461         * stdlib/abort.c (__abort_msg): Adjust type.
10462         * assert/assert.c (__assert_fail_base): New function.  Majority
10463         of code from __assert_fail.  Allocate memory for __abort_msg with
10464         mmap.
10465         (__assert_fail): Now call __assert_fail_base.
10466         * assert/assert-perr.c: Remove bulk of implementation.  Use
10467         __assert_fail_base.
10468         * include/assert.hL Declare __assert_fail_base.
10469         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10470         mmap.
10471         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10472
10473 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
10474
10475         [BZ #11952]
10476         [BZ #12453]
10477         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10478         until all modules are registered in the DTV.
10479         * elf/Makefile: Add rules to build and run tst-tls19.
10480         * elf/tst-tls19.c: New file.
10481         * elf/tst-tls19mod1.c: New file.
10482         * elf/tst-tls19mod2.c: New file.
10483         * elf/tst-tls19mod3.c: New file.
10484         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10485
10486         [BZ #12083]
10487         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10488         correctly.
10489
10490         [BZ #12601]
10491         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10492         two-byte sequence errors.
10493         * iconvdata/Makefile (tests): Add bug-iconv8.
10494         * iconvdata/bug-iconv8.c: New file.
10495
10496         [BZ #12626]
10497         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10498         buf2 definition.
10499
10500         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10501
10502         [BZ #12432]
10503         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10504         (dummy_getcfa): New function.
10505         (init): Get _Unwind_GetCFA address, use dummy if not found.
10506         (backtrace_helper): In recursion check, also check whether CFA changes.
10507         (__backtrace): Completely initialize arg.
10508
10509         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
10510         storing incomplete byte sequence in state object.  Avoid testing for
10511         guaranteed too small input if we know there is enough data available.
10512
10513 2011-05-11  Andreas Schwab  <schwab@redhat.com>
10514
10515         * Makeconfig (+link-pie): Indent.
10516         * Rules (binaries-pie): Define if $(have-fpie) and
10517         $(build-shared).
10518         (binaries-shared): Also filter out $(binaries-pie).
10519         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10520         * nscd/Makefile (others-pie): Add nscd.
10521         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10522         ($(objpfx)nscd): Remove command override.
10523         * login/Makefile (others-pie): Add pt_chown.
10524         ($(objpfx)pt_chown): Remove command override.
10525         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10526         remove command overrides.
10527
10528 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
10529
10530         * libio/tst_putwc.c: Fix error messages.
10531
10532         [BZ #12724]
10533         * libio/fileops.c (_IO_new_file_close_it): Always flush when
10534         currently writing and seek to current position when not.
10535         * libio/Makefile (tests): Add bug-fclose1.
10536         * libio/bug-fclose1.c: New file.
10537
10538 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
10539
10540         [BZ #12511]
10541         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10542         don't set DF_1_NODELETE here.
10543         (do_lookup_x): When entering new entry test for copy relocation
10544         and if necessary set DF_1_NODELETE flag.
10545         * elf/tst-unique4.cc: New file.
10546         * elf/tst-unique4.h: New file.
10547         * elf/tst-unique4lib.cc: New file.
10548         * elf/Makefile: Add rules to build and run tst-unique4.
10549         Patch by Piotr Bury <pbury@goahead.com>.
10550
10551 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
10552
10553         [BZ #12052]
10554         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10555
10556         [BZ #12625]
10557         * misc/mntent_r.c (addmntent): Flush the stream after the output
10558
10559         [BZ #12393]
10560         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10561         (is_trusted_path_normalize): Skip initial colon.  Append slash
10562         to empty buffer.  Duplicate is_trusted_path code but allow
10563         constructed patch to be prefix.
10564         (is_dst): Allow $ORIGIN followed by /.
10565         (_dl_dst_substitute): Correct clearing of check_for_trusted.
10566         Correct testing of result of is_trusted_path_normalize
10567         (decompose_rpath): Fix warning.
10568
10569 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
10570
10571         [BZ #11257]
10572         * grp/initgroups.c (internal_getgrouplist): When we found the service
10573         list through the initgroups entry in nsswitch.conf do not always
10574         continue on a successful lookup.  Don't always use the
10575         __nss_group_database value if it is set.
10576         * nss/nsswitch.conf (initgroups): Change action for successful db
10577         lookup to continue for compatibility.
10578
10579 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
10580
10581         [BZ #11532]
10582         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10583         and CP774 modules.
10584         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10585         and CP774 modules.
10586         * iconvdata/tst-tables.sh: Likewise.
10587         * iconvdata/cp770.c: New file.
10588         * iconvdata/cp771.c: New file.
10589         * iconvdata/cp772.c: New file.
10590         * iconvdata/cp773.c: New file.
10591         * iconvdata/cp774.c: New file.
10592         * iconvdata/testdata/CP770: New file.
10593         * iconvdata/testdata/CP770..UTF8: New file.
10594         * iconvdata/testdata/CP771: New file.
10595         * iconvdata/testdata/CP771..UTF8: New file.
10596         * iconvdata/testdata/CP772: New file.
10597         * iconvdata/testdata/CP772..UTF8: New file.
10598         * iconvdata/testdata/CP773: New file.
10599         * iconvdata/testdata/CP773..UTF8: New file.
10600         * iconvdata/testdata/CP774: New file.
10601         * iconvdata/testdata/CP774..UTF8: New file.
10602
10603         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10604         END CHARMAP line.
10605         * iconvdata/gen-8bit-gap.sh: Likewise.
10606         * iconvdata/gen-8bit.sh: Likewise.
10607
10608         * locale/iso-639.def: Add ary entry.
10609
10610         [BZ #11258]
10611         * locale/C-translit.h.in: Add U20A1 transliteration.
10612
10613         [BZ #12178]
10614         * locale/iso-639.def: Add wae entry.
10615         Patch by Kevin Bortis <bortis@translate-wae.ch>.
10616
10617         [BZ #12545]
10618         * locale/programs/localedef.c (construct_output_path): Use ssize_t
10619         for n.
10620
10621         [BZ #12711]
10622         * locale/C-translit.h.in: Add entry for U20B9.
10623         Patch by pravin.d.s@gmail.com.
10624
10625 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
10626
10627         [BZ #12713]
10628         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10629         ENAMETOOLONG use generic getcwd.
10630         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
10631         in rtld.  Use *stat64.
10632         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
10633         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
10634         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
10635         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10636         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10637         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10638         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10639         __fstatat64 macros.
10640         * include/dirent.h: Add libc_hidden_proto for rewinddir.
10641         * dirent/rewinddir.c: Add libc_hidden_def.
10642         * sysdeps/mach/hurd/rewinddir.c: Likewise.
10643         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
10644
10645         * include/dirent.h (__alloc_dir): Add flags parameter.
10646         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10647         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10648         __alloc_dir.
10649         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
10650         from fdopendir if O_CLOEXEC is already set.
10651
10652 2011-03-15  Alan Modra  <amodra@gmail.com>
10653
10654         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10655         l_tls_firstbyte_offset non-zero.  Save padding offset in
10656         l_tls_firstbyte_offset for later use.
10657         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10658         freeing static tls block.
10659
10660 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
10661
10662         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10663         where #ifdef was intended.  The intent is to prevent ARG_MAX from
10664         being defined by the kernel headers.
10665
10666 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
10667
10668         [BZ #12734]
10669         * resolv/resolv.h: Define RES_NOTLDQUERY.
10670         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10671         no-tld-query and set RES_NOTLDQUERY.
10672         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10673         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10674         modern BIND to search name as TLD unless forbidden.
10675
10676 2011-05-07  Petr Baudis  <pasky@suse.cz>
10677             Ulrich Drepper  <drepper@gmail.com>
10678
10679         [BZ #12393]
10680         * elf/dl-load.c (fillin_rpath): Move trusted path check...
10681         (is_trusted_path): ...to here.
10682         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
10683         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
10684         using is_trusted_path_normalize() in setuid scripts.
10685
10686 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10687
10688         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10689         __BEGIN/__END_DECLS.
10690
10691 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
10692
10693         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10694         NSS_STATUS_NOTFOUND if no record was found.
10695
10696 2011-05-05  Andreas Schwab  <schwab@redhat.com>
10697
10698         * sunrpc/Makefile (headers): Add rpc/netdb.h.
10699         (headers-not-in-tirpc): Remove rpc/netdb.h
10700         * resolv/netdb.h: Revert last change.
10701
10702 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10703
10704         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10705         circular dependency between libgcc.a and libc.a.
10706
10707 2011-05-05  Andreas Schwab  <schwab@redhat.com>
10708
10709         * resolv/netdb.h: Don't include <rpc/netdb.h>.
10710         * nis/Makefile: Don't install rpcsvc/*.
10711         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10712         instead of <rpc/types.h>.
10713         (MAXHOSTNAMELEN): Define.
10714
10715 2011-05-03  Andreas Schwab  <schwab@redhat.com>
10716
10717         * elf/ldconfig.c (add_dir): Don't crash on empty path.
10718
10719 2011-04-28  Maciej Babinski  <mbabinski@google.com>
10720
10721         [BZ #12714]
10722         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10723         gethostbyname4_r when IPv6 results are possible.
10724
10725 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
10726
10727         [BZ #12723]
10728         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10729         _PC_PIPE_BUF handling.
10730
10731 2011-04-30  Bruno Haible  <bruno@clisp.org>
10732
10733         [BZ #12717]
10734         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10735         * resolv/netdb.h (getnameinfo): Change type of flags parameter
10736         to 'int'.
10737         * inet/getnameinfo.c (getnameinfo): Likewise.
10738
10739 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
10740
10741         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10742         to groups setting in database lookup.
10743         * nss/nsswitch.conf: Add initgroups entry.
10744
10745 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
10746
10747         [BZ #12685]
10748         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10749         mode string.
10750         Patch by Eric Blake <eblake@redhat.com>.
10751
10752 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
10753
10754         * sunrpc/Makefile (need-export-routines): Add svc_run.
10755         (routines): Remove svc_run.
10756         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10757         * sunrpc/clnt_perr.c (clnt_perrno): Export.
10758         * sunrpc/svc_run.c (svc_run): Likewise.
10759         * sunrpc/svc_udp.c (svcudp_create): Likewise.
10760
10761 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
10762
10763         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10764         problem in reallocation in last patch.
10765
10766 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
10767
10768         * sunrpc/Makefile: Move inclusion of Rules.
10769
10770 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
10771
10772         * nss/nss_files/files-initgroups.c: New file.
10773         * nss/Makefile (libnss_files-routines): Add files-initgroups.
10774         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10775         _nss_files_initgroups_dyn.
10776
10777 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
10778
10779         * elf/elf.h (R_ARM_IRELATIVE): Define.
10780
10781 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
10782
10783         * po/ru.po: Update from translation team.
10784
10785 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
10786
10787         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10788         dependencies.
10789
10790 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
10791
10792         [BZ #12653]
10793         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10794         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10795         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10796         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10797         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10798
10799 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
10800
10801         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10802         differing bytes.
10803         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10804         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10805         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10806
10807 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
10808
10809         [BZ #12420]
10810         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10811         storing it.
10812         * stdlib/bug-getcontext.c: New file.
10813         * stdlib/Makefile: Add rules to build and run bug-getcontext.
10814
10815 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10816
10817         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10818         instructions into .machine "z9-109".
10819         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10820         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10821
10822 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10823
10824         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10825         between environment variables and auxiliary vector.
10826
10827 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
10828
10829         * Makefile: Add rules to build linkobj/libc.so.
10830         * include/libc-symbols.h: Define libc_hidden_nolink.
10831         * include/rpc/auth.h: Mark functions which are to be hidden.
10832         * include/rpc/auth_des.h: Likewise.
10833         * include/rpc/auth_unix.h: Likewise.
10834         * include/rpc/clnt.h: Likewise.
10835         * include/rpc/des_crypt.h: Likewise.
10836         * include/rpc/key_prot.h: Likewise.
10837         * include/rpc/pmap_clnt.h: Likewise.
10838         * include/rpc/pmap_prot.h: Likewise.
10839         * include/rpc/pmap_rmt.h: Likewise.
10840         * include/rpc/rpc_msg.h: Likewise.
10841         * include/rpc/svc.h: Likewise.
10842         * include/rpc/svc_auth.h: Likewise.
10843         * include/rpc/xdr.h: Likewise.
10844         * nis/Makefile: Link all DSOs against linkobj/libc.so.
10845         * nss/Makefile: Likewise.
10846         * sunrpc/Makefile: Don't install headers.  Build library with normal
10847         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
10848         * sunrpc/auth_des.c: Hide exported symbols by default, export some
10849         for the compat linking library.  Remove use of INTDEF/INTUSE.
10850         * sunrpc/auth_none.c: Likewise.
10851         * sunrpc/auth_unix.c: Likewise.
10852         * sunrpc/authdes_prot.c: Likewise.
10853         * sunrpc/authuxprot.c: Likewise.
10854         * sunrpc/clnt_gen.c: Likewise.
10855         * sunrpc/clnt_perr.c: Likewise.
10856         * sunrpc/clnt_raw.c: Likewise.
10857         * sunrpc/clnt_simp.c: Likewise.
10858         * sunrpc/clnt_tcp.c: Likewise.
10859         * sunrpc/clnt_udp.c: Likewise.
10860         * sunrpc/clnt_unix.c: Likewise.
10861         * sunrpc/des_crypt.c: Likewise.
10862         * sunrpc/des_soft.c: Likewise.
10863         * sunrpc/get_myaddr.c: Likewise.
10864         * sunrpc/key_call.c: Likewise.
10865         * sunrpc/key_prot.c: Likewise.
10866         * sunrpc/netname.c: Likewise.
10867         * sunrpc/pm_getmaps.c: Likewise.
10868         * sunrpc/pm_getport.c: Likewise.
10869         * sunrpc/pmap_clnt.c: Likewise.
10870         * sunrpc/pmap_prot.c: Likewise.
10871         * sunrpc/pmap_prot2.c: Likewise.
10872         * sunrpc/pmap_rmt.c: Likewise.
10873         * sunrpc/publickey.c: Likewise.
10874         * sunrpc/rpc_cmsg.c: Likewise.
10875         * sunrpc/rpc_common.c: Likewise.
10876         * sunrpc/rpc_dtable.c: Likewise.
10877         * sunrpc/rpc_prot.c: Likewise.
10878         * sunrpc/rpc_thread.c: Likewise.
10879         * sunrpc/rtime.c: Likewise.
10880         * sunrpc/svc.c: Likewise.
10881         * sunrpc/svc_auth.c: Likewise.
10882         * sunrpc/svc_authux.c: Likewise.
10883         * sunrpc/svc_raw.c: Likewise.
10884         * sunrpc/svc_run.c: Likewise.
10885         * sunrpc/svc_simple.c: Likewise.
10886         * sunrpc/svc_tcp.c: Likewise.
10887         * sunrpc/svc_udp.c: Likewise.
10888         * sunrpc/svc_unix.c: Likewise.
10889         * sunrpc/svcauth_des.c: Likewise.
10890         * sunrpc/xcrypt.c: Likewise.
10891         * sunrpc/xdr.c: Likewise.
10892         * sunrpc/xdr_array.c: Likewise.
10893         * sunrpc/xdr_float.c: Likewise.
10894         * sunrpc/xdr_intXX_t.c: Likewise.
10895         * sunrpc/xdr_mem.c: Likewise.
10896         * sunrpc/xdr_rec.c: Likewise.
10897         * sunrpc/xdr_ref.c: Likewise.
10898         * sunrpc/xdr_sizeof.c: Likewise.
10899         * sunrpc/xdr_stdio.c: Likewise.
10900
10901 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
10902
10903         [BZ #12650]
10904         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10905         * sysdeps/ia64/dl-tls.h: Likewise.
10906         * sysdeps/powerpc/dl-tls.h: Likewise.
10907         * sysdeps/s390/dl-tls.h: Likewise.
10908         * sysdeps/sh/dl-tls.h: Likewise.
10909         * sysdeps/sparc/dl-tls.h: Likewise.
10910         * sysdeps/x86_64/dl-tls.h: Likewise.
10911         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10912
10913 2011-03-14  Andreas Schwab  <schwab@redhat.com>
10914
10915         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10916         rpath element also skip the following colon.
10917         (expand_dynamic_string_token): Add is_path parameter and pass
10918         down to DL_DST_REQUIRED and _dl_dst_substitute.
10919         (decompose_rpath): Call expand_dynamic_string_token with
10920         non-zero is_path.  Ignore empty rpaths.
10921         (_dl_map_object_from_fd): Call expand_dynamic_string_token
10922         with zero is_path.
10923
10924 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
10925
10926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10927         Make cancelable.
10928
10929 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
10930
10931         [BZ #12655]
10932         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10933         Patch by Filipe David Manana <fdmanana@apache.org>.
10934
10935 2011-04-07  Andreas Schwab  <schwab@redhat.com>
10936
10937         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10938         Maintain aligned stack.
10939         (CHECK_RSP): Remove unused macro.
10940
10941 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
10942
10943         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10944         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10945
10946 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
10947
10948         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10949
10950         * include/features.h: Mention __USE_XOPEN2K8 in comment.
10951
10952 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
10953
10954         [BZ #12518]
10955         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10956         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10957         * sysdeps/x86_64/memmove.c: New file.
10958         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10959         (memcpy): Renamed to ...
10960         (__new_memcpy): This.
10961         (memcpy): Provide GLIBC_2_14 memcpy.
10962         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10963         (memcpy): Provide GLIBC_2_2_5 memcpy.
10964
10965 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10966
10967         [BZ #12631]
10968         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10969
10970 2011-03-30  Andreas Schwab  <schwab@redhat.com>
10971
10972         * misc/syncfs.c: New file.
10973         * misc/Makefile (routines): Add syncfs.
10974         * posix/unistd.h: Declare syncfs.
10975         * sysdeps/unix/syscalls.list: Add syncfs.
10976
10977 2011-04-01  Andreas Schwab  <schwab@redhat.com>
10978
10979         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10980         open_by_handle_at.
10981         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10982         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10983         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10984         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10985         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10986         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10987         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10988
10989 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
10990
10991         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10992         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10993         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10994         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10995         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10996         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10997         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10998
10999         * io/Makefile: Compile fallocate.c, fallocate64.c, and
11000         sync_file_range.c with -fexceptions.
11001         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11002         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11003         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11004         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11005         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11006         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11007         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
11008         sync_file_range as cancellation point
11009         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
11010         now a wrapper around __call_sync_file_range with cancellation handling.
11011         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11012         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
11013         function name to __call_sync_file_range.
11014         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11015         Add call_sync_file_range.
11016
11017 2011-04-01  Andreas Schwab  <schwab@redhat.com>
11018
11019         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11020         bits/timex.h.
11021
11022 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
11023
11024         * iconv/iconv.h: Fix typo in comment.
11025         * io/fcntl.h: Likewise.
11026         * libio/stdio.h: Likewise.
11027         * posix/spawn.h: Likewise.
11028         * posix/unistd.h: Likewise.
11029         * stdlib/stdlib.h: Likewise.
11030         * time/time.h: Likewise.
11031         * wcsmbs/wchar.h: Likewise.
11032
11033         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11034         open_by_handle): Add.
11035         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11036         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
11037         Augment a few comments.
11038         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11039         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11040         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11041         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11042         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11043         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11044         open_by_handle.
11045
11046         * io/fcntl.h (AT_EMPTY_PATH): Define.
11047
11048 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
11049
11050         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11051         * sysdeps/unix/sysv/linux/bits/time.h: New file.
11052         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11053         to...
11054         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
11055         * Versions.def: Add GLIBC_2.14.
11056         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11057         Export.
11058
11059 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
11060
11061         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11062         round counter.
11063         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11064
11065 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
11066
11067         [BZ #12597]
11068         * string/test-strncmp.c (do_page_test): New function.
11069         (check2): Likewise.
11070         (test_main): Call check2.
11071         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11072
11073 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
11074
11075         [BZ #12587]
11076         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11077         Handle cache information in CPU leaf 4.
11078         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11079
11080 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
11081
11082         [BZ #12583]
11083         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11084         character representation.
11085         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11086
11087 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
11088
11089         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11090         END(__isnan) to END(__isnanf) to match function entry point/label
11091         EALIGN(__isnanf,...).
11092
11093 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
11094
11095         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11096
11097 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
11098
11099         [BZ #12510]
11100         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11101         copy from the symbol referenced in the relocation to initialize the
11102         used variable.
11103         Patch by Piotr Bury <pbury@goahead.com>.
11104         * elf/Makefile: Add rules to build and tst-unique3.
11105         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11106         * elf/tst-unique3.cc: New file.
11107         * elf/tst-unique3.h: New file.
11108         * elf/tst-unique3lib.cc: New file.
11109         * elf/tst-unique3lib2.cc: New file.
11110
11111         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11112
11113 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
11114
11115         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11116         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
11117         to _start.
11118
11119 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
11120
11121         * elf/dl-load.c (_dl_map_object): If we are looking for the first
11122         to-be-loaded object along a path to loader is ld.so.
11123
11124 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
11125             Ulrich Drepper  <drepper@gmail.com>
11126
11127         * sysdeps/x86_64/memset.S: After aligning destination, code
11128         branches to different locations depending on the value of
11129         misalignment, when multiarch is enabled. Fix this.
11130
11131 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
11132
11133         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11134         Set _x86_64_preferred_memory_instruction for AMD processsors.
11135         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11136         Set bit_Prefer_SSE_for_memop for AMD processors.
11137
11138 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
11139
11140         * libio/fmemopen.c (fmemopen): Optimize a bit.
11141
11142 2011-03-03  Andreas Schwab  <schwab@redhat.com>
11143
11144         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11145
11146 2011-03-03  Roland McGrath  <roland@redhat.com>
11147
11148         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11149
11150 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
11151
11152         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
11153         __bzero_ultra1 instead of __memset_ultra1.
11154
11155 2011-02-23  Andreas Schwab  <schwab@redhat.com>
11156             Ulrich Drepper  <drepper@gmail.com>
11157
11158         [BZ #12509]
11159         * include/link.h (struct link_map): Add l_orig_initfini.
11160         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11161         returning unsuccessfully.
11162         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11163         close of a file loaded at startup, restore the original l_initfini
11164         list.
11165         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11166         list, store the pointer.
11167         * elf/Makefile ($(objpfx)noload-mem): New rule.
11168         (noload-ENV): Define.
11169         (tests): Add $(objpfx)noload-mem.
11170         * elf/noload.c: Include <memcheck.h>.
11171         (main): Call mtrace.  Close all opened handles.
11172
11173 2011-02-17  Andreas Schwab  <schwab@redhat.com>
11174
11175         [BZ #12454]
11176         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11177         dependencies are missing.
11178
11179 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11180
11181         Fix __if_freereq crash: Unlike the generic version which uses free,
11182         Hurd needs munmap.
11183         * sysdeps/mach/hurd/ifreq.h: New file.
11184
11185 2011-01-27  Petr Baudis  <pasky@suse.cz>
11186             Ulrich Drepper  <drepper@gmail.com>
11187
11188         [BZ 12445]#
11189         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11190         to extend_alloca().
11191         * stdio-common/bug23.c: New file.
11192         * stdio-common/Makefile (tests): Add bug23.
11193
11194 2010-09-28  Andreas Schwab  <schwab@redhat.com>
11195             Ulrich Drepper  <drepper@gmail.com>
11196
11197         [BZ #12489]
11198         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11199         before performing relro protection.  At old place add assertion
11200         to make sure nothing changed.
11201
11202 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
11203             Glauber de Oliveira Costa  <glommer@gmail.com>
11204
11205         * elf/elf.h: Add new ARM TLS relocs.
11206
11207 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
11208
11209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11210         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11211         cast from r3.
11212         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
11213         'tests' variable.
11214         * sysdeps/wordsize-64/tst-writev.c: New file.
11215
11216 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
11217
11218         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11219         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11220         insns in _dl_start to prevent a TOC reference before relocs are
11221         resolved.
11222
11223 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
11224
11225         [BZ #12469]
11226         * Makeconfig: Remove RANLIB definition.
11227         * Makerules: Don't use RANLIB.
11228         * aclocal.m4: Remove ranlib test.
11229         * configure.in: No need to check for ranlib.
11230         * elf/rtld-Rules: Don't use RANLIB.
11231
11232 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11233
11234         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11235         protection macro.
11236         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11237         inclusion protection macro.
11238
11239         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11240         SIGRTMIN and SIGRTMAX and print information in that case only when
11241         SIGRTMIN is defined.
11242
11243 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
11244
11245         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11246         arginfo fn returning -1.
11247
11248         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11249         and thousands string is zero terminated.
11250
11251 2011-02-03  Andreas Schwab  <schwab@redhat.com>
11252
11253         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11254         sysdeps/unix/sysv/linux/bits/socket.h.
11255
11256 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11257
11258         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11259         (__CPU_COUNT): Remove old macros.
11260         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11261         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11262         (__CPU_ALLOC, __CPU_FREE): Add macros.
11263         (__sched_cpualloc, __sched_cpufree): Add declarations.
11264
11265 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
11266
11267         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11268         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11269         * nscd/aicache.c (addhstaiX): Return timeout of added value.
11270         (readdhstai): Return value of addhstaiX call.
11271         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11272         (addgrbyX): Return value returned by cache_addgr.
11273         (readdgrbyname): Return value returned by addgrbyX.
11274         (readdgrbygid): Likewise.
11275         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11276         (addpwbyX): Return value returned by cache_addpw.
11277         (readdpwbyname): Return value returned by addhstbyX.
11278         (readdpwbyuid): Likewise.
11279         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11280         (addservbyX): Return value returned by cache_addserv.
11281         (readdservbyname): Return value returned by addservbyX:
11282         (readdservbyport): Likewise.
11283         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11284         (addhstbyX): Return value returned by cache_addhst.
11285         (readdhstbyname): Return value returned by addhstbyX.
11286         (readdhstbyaddr): Likewise.
11287         (readdhstbynamev6): Likewise.
11288         (readdhstbyaddrv6): Likewise.
11289         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11290         (readdinitgroups): Return value returned by addinitgroupsX.
11291         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11292         (prune_cache): Keep track of timeout value of re-added entries.
11293         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11294         * nscd/nscd.h: Adjust prototypes of readd* functions.
11295
11296 2011-02-04  Roland McGrath  <roland@redhat.com>
11297
11298         * nis/nis_server.c (nis_servstate): Use the right name for 0.
11299         (nis_stats): Likewise.
11300         * nis/nis_modify.c (nis_modify): Likewise.
11301         * nis/nis_remove.c (nis_remove): Likewise.
11302         * nis/nis_add.c (nis_add): Likewise.
11303
11304         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11305
11306         * posix/fnmatch_loop.c: Add some consts.
11307
11308         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11309
11310 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
11311
11312         [BZ #12460]
11313         * config.make.in (config-cflags-novzeroupper): Define.
11314         * configure.in: Substitute libc_cv_cc_novzeroupper.
11315         * elf/Makefile (AVX-CFLAGS): Define.
11316         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11317         (CFLAGS-tst-auditmod4a.c): Likewise.
11318         (CFLAGS-tst-auditmod4b.c): Likewise.
11319         (CFLAGS-tst-auditmod6b.c): Likewise.
11320         (CFLAGS-tst-auditmod6c.c): Likewise.
11321         (CFLAGS-tst-auditmod7b.c): Likewise.
11322         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11323
11324 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
11325
11326         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11327         function to the callback.
11328         Patch partly by Jiri Olsa <jolsa@redhat.com>.
11329
11330 2011-02-02  Andreas Schwab  <schwab@redhat.com>
11331
11332         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11333         of errno.
11334
11335 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
11336
11337         [BZ #11724]
11338         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11339         of constructors.
11340         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11341         of destructors.
11342         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11343
11344         [BZ #11724]
11345         * elf/Makefile: Add rules to build and run new test.
11346         * elf/tst-initorder.c: New file.
11347         * elf/tst-initorder.exp: New file.
11348         * elf/tst-initordera1.c: New file.
11349         * elf/tst-initordera2.c: New file.
11350         * elf/tst-initordera3.c: New file.
11351         * elf/tst-initordera4.c: New file.
11352         * elf/tst-initorderb1.c: New file.
11353         * elf/tst-initorderb2.c: New file.
11354         * elf/tst-order-a1.c: New file.
11355         * elf/tst-order-a2.c: New file.
11356         * elf/tst-order-a3.c: New file.
11357         * elf/tst-order-a4.c: New file.
11358         * elf/tst-order-b1.c: New file.
11359         * elf/tst-order-b2.c: New file.
11360         * elf/tst-order-main.c: New file.
11361         New test case by George Gensure <werkt0@gmail.com>.
11362
11363 2010-10-01  Andreas Schwab  <schwab@redhat.com>
11364
11365         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11366         decoding ACE if AI_CANONIDN.
11367
11368 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
11369
11370         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11371
11372 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
11373
11374         * version.h (RELEASE): Bump for 2.13 release.
11375         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11376
11377         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11378
11379         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11380         MADV_NOHUGEPAGE.
11381         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11382         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11383         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11384         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11385         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11386         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11387
11388         * posix/getconf.c: Update copyright year.
11389         * catgets/gencat.c: Likewise.
11390         * csu/version.c: Likewise.
11391         * debug/catchsegv.sh: Likewise.
11392         * debug/xtrace.sh: Likewise.
11393         * elf/ldconfig.c: Likewise.
11394         * elf/ldd.bash.in: Likewise.
11395         * elf/sprof.c (print_version): Likewise.
11396         * iconv/iconv_prog.c: Likewise.
11397         * iconv/iconvconfig.c: Likewise.
11398         * locale/programs/locale.c: Likewise.
11399         * locale/programs/localedef.c: Likewise.
11400         * malloc/memusage.sh: Likewise.
11401         * malloc/mtrace.pl: Likewise.
11402         * nscd/nscd.c (print_version): Likewise.
11403         * nss/getent.c: Likewise.
11404
11405         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11406         PF_CAIF, and PF_ALG.
11407         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11408
11409 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
11410
11411         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11412         (modules-names): Use them.
11413         (ifunc-test-modules, ifunc-pie-tests): Define.
11414         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11415         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11416         (test-extras): Likewise.
11417         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11418         $(compile-command.c).
11419         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11420         (all-built-dso): Define.
11421         (check-textrel.out, check-execstack.out): Depend on it.
11422
11423         * configure.in: Don't override --enable-multi-arch.
11424
11425 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
11426
11427         [BZ #6812]
11428         * nscd/hstcache.c (tryagain): Define.
11429         (cache_addhst): Return tryagain not notfound for temporary errors.
11430         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11431         failed.
11432
11433 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
11434
11435         [BZ #10563]
11436         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11437         to make the syscall.
11438         * sysdeps/unix/sysv/linux/setgroups.c: New file.
11439
11440         [BZ #12378]
11441         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11442         and fall back to matching as normal character if the string ends before
11443         the matching ']' is found.  This is what POSIX requires.
11444         * posix/testfnm.c: Adjust test result.
11445         * posix/globtest.sh: Adjust test result.  Add new test.
11446         * posix/tst-fnmatch.input: Likewise.
11447         * posix/tst-fnmatch2.c: Add new test.
11448
11449 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
11450
11451         * elf/Makefile (check-execstack): Revert last change.  Depend on
11452         check-execstack.h.
11453         (check-execstack.h): New target.
11454         (generated): Add check-execstack.h.
11455         * elf/check-execstack.c: Include "check-execstack.h".
11456         (main): Revert last change.
11457         (handle_file): Return zero if GNU_STACK is absent and
11458         DEFAULT_STACK_PERMS doesn't include PF_X.
11459
11460 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
11461
11462         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11463         in child fails because the descriptor is already closed.
11464         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11465         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11466         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11467
11468         [BZ #12397]
11469         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11470         syscall.
11471
11472         [BZ #10484]
11473         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11474         temporary buffer used to handle multi lookups locally.
11475         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
11476
11477 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
11478
11479         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11480         loader is ld.so.
11481
11482 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
11483
11484         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11485         alignment for SSE2.
11486
11487 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
11488
11489         [BZ #12394]
11490         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11491         characters.  When rounding increased number of integer digits recompute
11492         number of groups.
11493         * stdio-common/tst-grouping.c: New file.
11494         * stdio-common/Makefile: Add rules to build and run tst-grouping.
11495
11496 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
11497
11498         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11499         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
11500
11501         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11502         void.
11503         * bits/select.h: Likewise.
11504
11505 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
11506
11507         * po/ja.po: Update from translation team.
11508
11509 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
11510
11511         [BZ #11155]
11512         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11513         implementation just like for lxstat, fxstatat, et al.
11514
11515 2010-12-27  Jim Meyering  <meyering@redhat.com>
11516
11517         [BZ #12348]
11518         * posix/regexec.c (build_trtable): Return failure indication upon
11519         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
11520
11521 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
11522
11523         [BZ #12201]
11524         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11525         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11526         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11527         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11528
11529         [BZ #12207]
11530         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11531
11532         [BZ #12204]
11533         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11534         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11535
11536 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
11537
11538         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11539         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11540         script has SORT_BY_INIT_PRIORITY.
11541         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11542         NO_CTORS_DTORS_SECTIONS is defined.
11543         * elf/soinit.c: Likewise.
11544         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11545         NO_CTORS_DTORS_SECTIONS is defined.
11546         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11547         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11548         * sysdeps/sh/init-first.c: Likewise.
11549         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11550
11551 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
11552
11553         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11554         always use the slow path.
11555
11556 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
11557
11558         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11559         similar rule which adds the sysdep directories to the header search in
11560         order to pick up the correct platform stackinfo.h.
11561         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11562         perform test if it is, otherwise return successfully without testing.
11563         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11564         DEFAULT_STACK_PERMS define in stackinfo.h.
11565         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11566         defined in stackinfo.h.
11567         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11568         DEFAULT_STACK_PERMS defined in stackinfo.h.
11569         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11570         * sysdeps/ia64/stackinfo.h: Likewise.
11571         * sysdeps/s390/stackinfo.h: Likewise.
11572         * sysdeps/sh/stackinfo.h: Likewise.
11573         * sysdeps/sparc/stackinfo.h: Likewise.
11574         * sysdeps/x86_64/stackinfo.h: Likewise.
11575         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11576         PF_X for powerpc64.  Retain PF_X for powerpc32.
11577
11578 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
11579
11580         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11581         accurately.
11582         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11583         GETDENTS_64BIT_ALIGNED.
11584
11585 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
11586
11587         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
11588
11589 2010-12-10  Andreas Schwab  <schwab@redhat.com>
11590
11591         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11592         _GNU_SOURCE.
11593
11594         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11595         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11596         Remove __restrict.
11597         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11598         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11599
11600 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
11601
11602         [BZ #11655]
11603         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11604         are initialized.
11605
11606 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
11607
11608         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11609
11610 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
11611
11612         * po/it.po: Update from translation team.
11613
11614 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
11615
11616         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11617         unused codes.
11618
11619 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
11620
11621         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11622
11623 2010-11-24  Andreas Schwab  <schwab@redhat.com>
11624
11625         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11626         specially.
11627         (gaih_getanswer_slice): Likewise.
11628
11629 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
11630
11631         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11632
11633 2010-05-31  Petr Baudis  <pasky@suse.cz>
11634
11635         [BZ #11149]
11636         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11637         silently even in the chroot mode.
11638
11639 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
11640
11641         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11642         last patch a bit.  Pretty printing
11643
11644 2010-05-31  Petr Baudis <pasky@suse.cz>
11645
11646         [BZ #10085]
11647         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11648         initialization of skip_initgroups_dyn.
11649
11650 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
11651
11652         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11653         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11654
11655 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
11656
11657         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11658
11659 2010-11-11  Andreas Schwab  <schwab@redhat.com>
11660
11661         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11662         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11663         (tst-fnmatch-ENV): Set MALLOC_TRACE.
11664         ($(objpfx)tst-fnmatch-mem): New rule.
11665         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11666         * posix/tst-fnmatch.c (main): Call mtrace.
11667
11668 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
11669
11670         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11671         Support Intel processor model 6 and model 0x2c.
11672
11673 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
11674
11675         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11676           signed comparison.
11677
11678 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
11679
11680         [BZ #12205]
11681         * string/test-strncasecmp.c (check_result): New function.
11682         (do_one_test): Use it.
11683         (check1): New function.
11684         (test_main): Use it.
11685         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11686         Support strcasecmp and strncasecmp.
11687
11688 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
11689
11690         [BZ #12194]
11691         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11692         * sysdeps/x86_64/bits/byteswap.h: Likewise.
11693
11694 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11695
11696         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11697         IFUNC support.
11698         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11699         memset-x86-64.
11700         * sysdeps/x86_64/multiarch/bzero.S: New file.
11701         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11702         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11703         * sysdeps/x86_64/multiarch/memset.S: New file.
11704         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11705         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11706         Set bit_Prefer_SSE_for_memop for Intel processors.
11707         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11708         Define.
11709         (index_Prefer_SSE_for_memop): Define.
11710         (HAS_PREFER_SSE_FOR_MEMOP): Define.
11711
11712 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
11713
11714         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11715         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11716
11717 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
11718
11719         [BZ #12191]
11720         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11721         (__x86_64_raw_data_cache_size_half): Likewise.
11722         (__x86_64_raw_shared_cache_size): Likewise.
11723         (__x86_64_raw_shared_cache_size_half): Likewise.
11724
11725         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11726         (__x86_64_raw_data_cache_size_half): Likewise.
11727         (__x86_64_raw_shared_cache_size): Likewise.
11728         (__x86_64_raw_shared_cache_size_half): Likewise.
11729         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11730         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11731         and __x86_64_raw_shared_cache_size_half.  Round
11732         __x86_64_data_cache_size_half, __x86_64_data_cache_size
11733         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11734         to multiple of 256 bytes.
11735
11736 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
11737
11738         [BZ #12167]
11739         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11740         of inacessible symlinks.  Verify result of symlink before returning it.
11741         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11742         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11743
11744 2010-10-28  Erich Ritz  <erichritz@gmail.com>
11745
11746         * math/math.h (isinf): Fix typo in comment.
11747
11748 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
11749
11750         * po/da.po: Update from translation team.
11751
11752 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
11753
11754         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11755         is added to the list.
11756
11757 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11758             Ulrich Drepper  <drepper@gmail.com>
11759
11760         * elf/dl-object.c (_dl_new_object): Don't append the new object to
11761         the global list here.  Move code to...
11762         (_dl_add_to_namespace_list): ...here.  New function.
11763         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11764         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11765         * elf/dl-load.c (lose): Don't remove the element from the list.
11766         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11767         (_dl_map_object): Likewise.
11768
11769 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
11770
11771         [BZ #12159]
11772         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11773         into all bytes of SSE register.
11774         Patch by Richard Li <richardpku@gmail.com>.
11775
11776 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
11777
11778         [BZ #12140]
11779         * malloc/malloc.c (_int_free): Fill correct number of bytes when
11780         perturbing.
11781
11782 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
11783
11784         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11785         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11786         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11787         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11789         submachine.
11790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11791
11792 2010-10-22  Andreas Schwab  <schwab@redhat.com>
11793
11794         * include/dlfcn.h (__RTLD_SECURE): Define.
11795         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
11796         mode & __RTLD_SECURE instead.
11797         (open_path): Rename preloaded parameter to secure.
11798         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11799         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11800         * elf/dl-deps.c (openaux): Likewise.
11801         * elf/rtld.c (struct map_args): Remove is_preloaded.
11802         (map_doit): Don't use it.
11803         (dl_main): Likewise.
11804         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11805         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11806
11807 2010-09-09  Andreas Schwab  <schwab@redhat.com>
11808
11809         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11810         (sysd-rules-targets): Remove duplicates.
11811         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11812         rtld-%.$o dependency.
11813
11814 2010-10-18  Andreas Schwab  <schwab@redhat.com>
11815
11816         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11817         _dl_map_object do it.
11818
11819 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
11820
11821         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11822         fast fma builtins, define the macros in the C99 standard.
11823         (FP_FAST_FMAF): Likewise.
11824         (FP_FAST_FMAL): Likewise.
11825         * sysdeps/x86_64/bits/mathdef.h: Likewise.
11826
11827         * bits/mathdef.h: Update copyright year.
11828         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11829
11830 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
11831
11832         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11833         builtins, define the macros in the C99 standard.
11834         (FP_FAST_FMAF): Likewise.
11835         (FP_FAST_FMAL): Likewise.
11836         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11837         multiply/add.
11838         (FP_FAST_FMAF): Likewise.
11839
11840 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
11841
11842         [BZ #3268]
11843         * math/libm-test.inc (fma_test): Some new testcases.
11844         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11845         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11846         y and infinite z.  Do multiplication by C already in long double.
11847         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11848         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11849         y and infinite z.  Do bitwise or of inexact bit into u.d.
11850         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11851         * sysdeps/i386/fpu/s_fmaf.S: Removed.
11852         * sysdeps/i386/fpu/s_fma.S: Removed.
11853         * sysdeps/i386/fpu/s_fmal.S: Removed.
11854
11855 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
11856
11857         [BZ #3268]
11858         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11859         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11860         computation is not scheduled after fetestexcept.  Fix value
11861         of minimum denormal long double.
11862
11863 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
11864
11865         [BZ #3268]
11866         * math/libm-test.inc (fma_test): Add some more tests.
11867         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11868         correctly.
11869
11870 2010-10-15  Andreas Schwab  <schwab@redhat.com>
11871
11872         * scripts/data/localplt-s390-linux-gnu.data: New file.
11873         * scripts/data/localplt-s390x-linux-gnu.data: New file.
11874
11875 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
11876
11877         [BZ #3268]
11878         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11879         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11880         instead of dbl-64.
11881         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11882         inlines.
11883         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11884         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11885         if one of x and y is very large and the other is subnormal.
11886         * sysdeps/s390/fpu/s_fmaf.c: New file.
11887         * sysdeps/s390/fpu/s_fma.c: New file.
11888         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11889         * sysdeps/powerpc/fpu/s_fma.S: New file.
11890         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11891         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11892         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11893
11894 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
11895
11896         [BZ #3268]
11897         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11898         fma tests.
11899         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11900         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11901         * sysdeps/i386/i686/multiarch/s_fma.c: Include
11902         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11903         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11904         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11905         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11906
11907 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
11908
11909         [BZ #12078]
11910         * posix/regcomp.c (parse_branch): One more memory leak plugged.
11911         * posix/bug-regex31.input: Add test case.
11912
11913 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
11914
11915         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11916         * posix/bug-regex31.input: New file.
11917
11918         [BZ #12078]
11919         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11920         (parse_sub_exp): Fix last change, use postorder.
11921
11922         * posix/bug-regex31.c: New file.
11923         * posix/Makefile: Add rules to build and run bug-regex31.
11924
11925         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11926
11927         [BZ #12078]
11928         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11929
11930         [BZ #12108]
11931         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11932         to have entries in sys_siglist.
11933
11934         [BZ #12093]
11935         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11936         be NULL.
11937
11938 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
11939
11940         [BZ #3268]
11941         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11942         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11943         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11944         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11945         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11946         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11947         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11948         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11949         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11950         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11951         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11952         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11953         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11954         * math/ftestexcept.c (fetestexcept): Likewise.
11955         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11956         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11957         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11958         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11959         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11960         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11961         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11962
11963 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
11964
11965         [BZ #12107]
11966         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11967         newline.
11968
11969 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
11970
11971         * string/bug-strstr1.c: New file.
11972         * string/Makefile: Add rules to build and run bug-strstr1.
11973
11974 2010-10-05  Eric Blake  <eblake@redhat.com>
11975
11976         [BZ #12092]
11977         * string/str-two-way.h (two_way_long_needle): Always clear memory
11978         when skipping input due to the shift table.
11979
11980 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
11981
11982         [BZ #12005]
11983         * malloc/mcheck.c: Handle large requests.
11984
11985         [BZ #12077]
11986         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11987         for strncmp and strncasecmp.
11988         * string/stratcliff.c: Add tests for strcmp and strncmp.
11989         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11990
11991 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11992
11993         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11994         __set_fpscr.
11995
11996 2010-09-30  Andreas Jaeger  <aj@suse.de>
11997
11998         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11999         (CGROUP_SUPER_MAGIC): Define.
12000         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12001         Handle btrfs and cgroup file systems.
12002         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12003         Likewise.
12004
12005 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
12006
12007         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12008         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12009
12010 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12011
12012         [BZ #12067]
12013         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12014         trying to locate the ELF header.
12015
12016 2010-09-27  Andreas Schwab  <schwab@redhat.com>
12017
12018         [BZ #11611]
12019         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12020         Mask out sign-bit copies when constructing f_fsid.
12021
12022 2010-09-24  Petr Baudis <pasky@suse.cz>
12023
12024         * debug/stack_chk_fail_local.c: Add missing licence exception.
12025         * debug/warning-nop.c: Likewise.
12026
12027 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
12028
12029         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12030         implementing getdents64 using getdents syscall, set d_type if
12031         __ASSUME_GETDENTS32_D_TYPE.
12032
12033 2010-09-16  Andreas Schwab  <schwab@redhat.com>
12034
12035         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12036         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12037
12038 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
12039
12040         [BZ #12037]
12041         * posix/unistd.h: Undo change of feature selection for ftruncate from
12042         2010-01-11.
12043
12044 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
12045
12046         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
12047         detection.
12048
12049 2010-09-20  Andreas Schwab  <schwab@redhat.com>
12050
12051         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12052         fanotify_mark.
12053         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12054
12055 2010-09-14  Andreas Schwab  <schwab@redhat.com>
12056
12057         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12058         variables after CHECK_SP call.
12059         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12060
12061 2010-09-13  Andreas Schwab  <schwab@redhat.com>
12062             Ulrich Drepper  <drepper@redhat.com>
12063
12064         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12065         re-relocationg ld.so.
12066         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12067         _dl_init_paths call.
12068         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
12069         here anymore.
12070
12071 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
12072
12073         * resolv/res_init.c (__res_vinit): Count the default server we added.
12074
12075 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
12076             Ulrich Drepper  <drepper@redhat.com>
12077
12078         [BZ #11968]
12079         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12080         (____longjmp_chk): Use %ebx for saving value across system call.
12081         Add unwind info.
12082
12083 2010-09-06  Andreas Schwab  <schwab@redhat.com>
12084
12085         * manual/Makefile: Don't mix pattern rules with normal rules.
12086
12087 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
12088
12089         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12090         operation.
12091         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12092         * libio/iofopncook.c (_IO_cookie_init): Likewise.
12093         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12094         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12095         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12096         Likewise.
12097
12098 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
12099
12100         [BZ #11979]
12101         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12102         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12103
12104 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
12105
12106         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12107         * sysdeps/x86_64/addmul_1.S: Likewise.
12108         * sysdeps/x86_64/lshift.S: Likewise.
12109         * sysdeps/x86_64/mul_1.S: Likewise.
12110         * sysdeps/x86_64/rshift.S: Likewise.
12111         * sysdeps/x86_64/sub_n.S: Likewise.
12112         * sysdeps/x86_64/submul_1.S: Likewise.
12113
12114 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12115
12116         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12117         Define __sched_param instead of SCHED_* and sched_param when
12118         <bits/sched.h> is included with __need_schedparam defined.
12119         * bits/sched.h [__need_schedparam]
12120         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
12121         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12122         (__defined_schedparam): Define to 1.
12123         (__sched_param): New structure, identical to sched_param.
12124         (__need_schedparam): Undefine.
12125
12126 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
12127
12128         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12129         (epoll_create1): Declare.
12130
12131         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12132
12133 2010-08-31  Andreas Schwab  <schwab@redhat.com>
12134
12135         [BZ #7066]
12136         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12137         shifting retval into place.
12138
12139 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
12140
12141         * nis/rpcsvc/nis.h: Update copyright notice.
12142         * nis/rpcsvc/nis.x: Likewise.
12143         * nis/rpcsvc/nis_callback.h: Likewise.
12144         * nis/rpcsvc/nis_callback.x: Likewise.
12145         * nis/rpcsvc/nis_object.x: Likewise.
12146         * nis/rpcsvc/nis_tags.h: Likewise.
12147         * nis/rpcsvc/yp.h: Likewise.
12148         * nis/rpcsvc/yp.x: Likewise.
12149         * nis/rpcsvc/ypupd.h: Likewise.
12150         * nis/yp_xdr.c: Likewise.
12151         * nis/ypupdate_xdr.c: Likewise.
12152
12153         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
12154         mainly the body of pmap_getport.  Add parameters to specify timeouts.
12155         (pmap_getport): Use __libc_rpc_getport.
12156         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12157         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12158         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12159
12160 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
12161
12162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12163         fanotify_mark.
12164
12165 2010-08-27  Roland McGrath  <roland@redhat.com>
12166
12167         * sysdeps/i386/i686/multiarch/Makefile
12168         (CFLAGS-varshift.c): New variable.
12169
12170 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
12171
12172         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12173         * sysdeps/i386/i686/multiarch/varshift.c: New file.
12174
12175         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12176
12177         * sysdeps/x86_64/strlen.S: Minimal code improvement.
12178
12179 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
12180
12181         * sysdeps/x86_64/strlen.S: Unroll the loop.
12182         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12183         strlen-sse2 strlen-sse2-bsf.
12184         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12185         __strlen_no_bsf if bit_Slow_BSF is set.
12186         (__strlen_sse42): Removed.
12187         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12188         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12189
12190 2010-08-25  Roland McGrath  <roland@redhat.com>
12191
12192         * sysdeps/x86_64/multiarch/varshift.S: File removed.
12193         * sysdeps/x86_64/multiarch/varshift.c: New file.
12194         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12195         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12196         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12197         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12198
12199 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12200
12201         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12202         strlen-sse2 strlen-sse2-bsf.
12203         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12204         __strlen_sse2_bsf if bit_Slow_BSF is unset.
12205         (__strlen_sse2): Removed.
12206         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12207         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12208         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12209         bit_Slow_BSF for Atom.
12210         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12211         (index_Slow_BSF): Define.
12212         (HAS_SLOW_BSF): Define.
12213
12214 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
12215
12216         [BZ #10851]
12217         * resolv/res_init.c (__res_vinit): When no server address at all
12218         is given default to loopback.
12219
12220 2010-08-24  Roland McGrath  <roland@redhat.com>
12221
12222         * configure.in: Remove config-name.h generation.
12223         * configure: Regenerated.
12224         * config-name.in: File removed.
12225         * scripts/config-uname.sh: New file.
12226         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12227         ($(objdir)config-name.h): New target.
12228
12229         * sunrpc/rpc_parse.h: Avoid nested comment.
12230
12231 2010-08-24  Richard Henderson  <rth@redhat.com>
12232             Ulrich Drepper  <drepper@redhat.com>
12233             H.J. Lu  <hongjiu.lu@intel.com>
12234
12235         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12236         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12237         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12238         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
12239         _mm_alignr_epi8 with _mm_loadu_si128.
12240         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12241         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12242         (__m128i_shift_right): Removed.
12243         * sysdeps/i386/i686/multiarch/varshift.h: New file.
12244         * sysdeps/i386/i686/multiarch/varshift.S: New file.
12245         * sysdeps/x86_64/multiarch/varshift.h: New file.
12246         * sysdeps/x86_64/multiarch/varshift.S: New file.
12247
12248 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
12249
12250         * configure.in: Move assembler checks to before sysdep dir checking.
12251
12252 2010-08-20  Petr Baudis  <pasky@suse.cz>
12253
12254         * LICENSES: Sync the sunrpc license.
12255
12256 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
12257
12258         * sunrpc/auth_des.c: Update copyright notice once again.
12259         * sunrpc/auth_none.c: Likewise.
12260         * sunrpc/auth_unix.c: Likewise.
12261         * sunrpc/authdes_prot.c: Likewise.
12262         * sunrpc/authuxprot.c: Likewise.
12263         * sunrpc/bindrsvprt.c: Likewise.
12264         * sunrpc/clnt_gen.c: Likewise.
12265         * sunrpc/clnt_perr.c: Likewise.
12266         * sunrpc/clnt_raw.c: Likewise.
12267         * sunrpc/clnt_simp.c: Likewise.
12268         * sunrpc/clnt_tcp.c: Likewise.
12269         * sunrpc/clnt_udp.c: Likewise.
12270         * sunrpc/clnt_unix.c: Likewise.
12271         * sunrpc/des_crypt.c: Likewise.
12272         * sunrpc/des_soft.c: Likewise.
12273         * sunrpc/get_myaddr.c: Likewise.
12274         * sunrpc/getrpcport.c: Likewise.
12275         * sunrpc/key_call.c: Likewise.
12276         * sunrpc/key_prot.c: Likewise.
12277         * sunrpc/openchild.c: Likewise.
12278         * sunrpc/pm_getmaps.c: Likewise.
12279         * sunrpc/pm_getport.c: Likewise.
12280         * sunrpc/pmap_clnt.c: Likewise.
12281         * sunrpc/pmap_prot.c: Likewise.
12282         * sunrpc/pmap_prot2.c: Likewise.
12283         * sunrpc/pmap_rmt.c: Likewise.
12284         * sunrpc/rpc/auth.h: Likewise.
12285         * sunrpc/rpc/auth_unix.h: Likewise.
12286         * sunrpc/rpc/clnt.h: Likewise.
12287         * sunrpc/rpc/des_crypt.h: Likewise.
12288         * sunrpc/rpc/key_prot.h: Likewise.
12289         * sunrpc/rpc/netdb.h: Likewise.
12290         * sunrpc/rpc/pmap_clnt.h: Likewise.
12291         * sunrpc/rpc/pmap_prot.h: Likewise.
12292         * sunrpc/rpc/pmap_rmt.h: Likewise.
12293         * sunrpc/rpc/rpc.h: Likewise.
12294         * sunrpc/rpc/rpc_des.h: Likewise.
12295         * sunrpc/rpc/rpc_msg.h: Likewise.
12296         * sunrpc/rpc/svc.h: Likewise.
12297         * sunrpc/rpc/svc_auth.h: Likewise.
12298         * sunrpc/rpc/types.h: Likewise.
12299         * sunrpc/rpc/xdr.h: Likewise.
12300         * sunrpc/rpc_clntout.c: Likewise.
12301         * sunrpc/rpc_cmsg.c: Likewise.
12302         * sunrpc/rpc_common.c: Likewise.
12303         * sunrpc/rpc_cout.c: Likewise.
12304         * sunrpc/rpc_dtable.c: Likewise.
12305         * sunrpc/rpc_hout.c: Likewise.
12306         * sunrpc/rpc_main.c: Likewise.
12307         * sunrpc/rpc_parse.c: Likewise.
12308         * sunrpc/rpc_parse.h: Likewise.
12309         * sunrpc/rpc_prot.c: Likewise.
12310         * sunrpc/rpc_sample.c: Likewise.
12311         * sunrpc/rpc_scan.c: Likewise.
12312         * sunrpc/rpc_scan.h: Likewise.
12313         * sunrpc/rpc_svcout.c: Likewise.
12314         * sunrpc/rpc_tblout.c: Likewise.
12315         * sunrpc/rpc_util.c: Likewise.
12316         * sunrpc/rpc_util.h: Likewise.
12317         * sunrpc/rpcinfo.c: Likewise.
12318         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12319         * sunrpc/rpcsvc/key_prot.x: Likewise.
12320         * sunrpc/rpcsvc/klm_prot.x: Likewise.
12321         * sunrpc/rpcsvc/mount.x: Likewise.
12322         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12323         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12324         * sunrpc/rpcsvc/rex.x: Likewise.
12325         * sunrpc/rpcsvc/rstat.x: Likewise.
12326         * sunrpc/rpcsvc/rusers.x: Likewise.
12327         * sunrpc/rpcsvc/sm_inter.x: Likewise.
12328         * sunrpc/rpcsvc/spray.x: Likewise.
12329         * sunrpc/rpcsvc/yppasswd.x: Likewise.
12330         * sunrpc/rtime.c: Likewise.
12331         * sunrpc/svc.c: Likewise.
12332         * sunrpc/svc_auth.c: Likewise.
12333         * sunrpc/svc_authux.c: Likewise.
12334         * sunrpc/svc_raw.c: Likewise.
12335         * sunrpc/svc_run.c: Likewise.
12336         * sunrpc/svc_simple.c: Likewise.
12337         * sunrpc/svc_tcp.c: Likewise.
12338         * sunrpc/svc_udp.c: Likewise.
12339         * sunrpc/svc_unix.c: Likewise.
12340         * sunrpc/svcauth_des.c: Likewise.
12341         * sunrpc/xcrypt.c: Likewise.
12342         * sunrpc/xdr.c: Likewise.
12343         * sunrpc/xdr_array.c: Likewise.
12344         * sunrpc/xdr_float.c: Likewise.
12345         * sunrpc/xdr_mem.c: Likewise.
12346         * sunrpc/xdr_rec.c: Likewise.
12347         * sunrpc/xdr_ref.c: Likewise.
12348         * sunrpc/xdr_sizeof.c: Likewise.
12349         * sunrpc/xdr_stdio.c: Likewise.
12350
12351         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12352         handling.
12353
12354 2010-08-19  Andreas Schwab  <schwab@redhat.com>
12355
12356         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12357
12358 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
12359
12360         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12361         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12362         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12363         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12364         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12365         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12366         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12367         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12368         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12369         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12370         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12371         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12372         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12373         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12374
12375 2010-07-26  Anton Blanchard  <anton@samba.org>
12376
12377         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12378         * malloc/arena.c (heap_trim): Likewise.
12379
12380 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
12381
12382         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12383         here.  Not...
12384         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12385         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12386
12387 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
12388
12389         * sysdeps/i386/elf/Makefile: New file.
12390
12391 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
12392
12393         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12394         from fanotify_init.
12395         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12396         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12397
12398 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
12399
12400         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12401         of strncasecmp_l.
12402         * sysdeps/multiarch/strcmp.S: Likewise.
12403
12404 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
12405
12406         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12407         strncase_l-nonascii.
12408         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12409         Add strncase_l-ssse3.
12410         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12411         * sysdeps/x86_64/strcmp.S: Likewise.
12412         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12413         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12414         * sysdeps/x86_64/strncase.S: New file.
12415         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12416         * sysdeps/x86_64/strncase_l.S: New file.
12417         * string/Makefile (strop-tests): Add strncasecmp.
12418         * string/test-strncasecmp.c: New file.
12419
12420         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12421         warning.
12422
12423         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12424         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12425
12426 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
12427
12428         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12429
12430 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
12431
12432         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12433         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12434         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12435
12436 2010-05-01  Alan Modra  <amodra@gmail.com>
12437
12438         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12439         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12440         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12441         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12442         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12443         tidying.  Don't tail-call __sigjmp_save for static lib.
12444         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12445         save location.
12446         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12447         (CALL_MCOUNT): Add eh info, and nop after bl.
12448         (TAIL_CALL_SYSCALL_ERROR): New macro.
12449         (PSEUDO_RET): Use it.
12450         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12451         Correct save location of integer regs and cr.
12452         (_dl_profile_resolve): Correct cr save location.  Delete nops
12453         after bl when SHARED.  Reduce cfi size a little by better
12454         placement of cfi directives.
12455         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12456         make a stack frame.  Instead use parm save area as a temp.
12457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12458         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
12459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12460         Don't make a stack frame for parent, use parm save area.
12461         Increase child stack frame to 112 bytes.  Don't save unused reg,
12462         and adjust reg usage.  Set up cfi on error recovery and
12463         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12465         (__makecontext): Add dummy nop after jump to exit.
12466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12467         Use correct parm save area and cr save, reduce stack frame.
12468         Correct cfi for possible PSEUDO_RET frame setup.
12469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12470         Branch to local label emitted by PSEUDO_RET rather than
12471         __syscall_error.
12472
12473 2010-08-12  Andreas Schwab  <schwab@redhat.com>
12474
12475         [BZ #11904]
12476         * locale/programs/locale.c (print_assignment): New function.
12477         (show_locale_vars): Use it.
12478
12479 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
12480
12481         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12482         field.
12483         (struct statfs64): Likewise.
12484         (_STATFS_F_FLAGS): Define.
12485         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12486         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12487         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12488         (ST_VALID): Define locally.
12489         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12490         __statvfs_getflags, use the provided value.
12491         * sysdeps/unix/sysv/linux/kernel-features.h: Define
12492         __ASSUME_STATFS_F_FLAGS.
12493
12494         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12495
12496         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12497         Add sys/fanotify.h.
12498         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12499         fanotify_mask for GLIBC_2.13.
12500         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12501         fanotify_init and fanotify_mark.
12502         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12503         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12504
12505         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12506         Add prlimit.
12507         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12508         prlimit64 for GLIBC_2.13.
12509         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12510         prlimit64.
12511         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12512         syscall.
12513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12514         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12515         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12516         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12517         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
12518         add prlimit alias.
12519         * sysdeps/unix/sysv/linux/prlimit.c: New file.
12520
12521         [BZ #11903]
12522         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12523         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12524
12525         * nss/Makefile: Add rules to build and run tst-nss-test1.
12526         * shlib-versions: Add entry for libnss_test1.
12527         * nss/nss_test1.c: New file.
12528         * nss/tst-nss-test1.c: New file.
12529
12530         * nss/nsswitch.c (__nss_database_custom): Define new variable.
12531         (__nss_configure_lookup): Set appropriate entry in
12532         __nss_configure_lookup to true.
12533         * nss/nsswitch.h: Define enum with indeces of databases in
12534         databases and __nss_database_custom arrays.  Declare
12535         __nss_database_custom.
12536         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12537         to avoid using nscd when custom rules are installed.
12538         * nss/getXXbyYY_r.c: Likewise.
12539         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12540
12541         * nss/nss_files/files-parse.c: Whitespace fixes.
12542
12543 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
12544
12545         [BZ #11883]
12546         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12547         * posix/fnmatch_loop.c: Likewise.
12548
12549 2010-07-17  Andi Kleen  <ak@linux.intel.com>
12550
12551         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12552         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12553         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12554         * Versions.def [GLIBC_2.13]: Add.
12555
12556 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
12557
12558         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12559         Also fail if tpwd after pwuid call is NULL.
12560
12561 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12562
12563         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12564         when converting to ms.
12565
12566 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12567
12568         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12569         EOPNOTSUPP errors with ENOTTY.
12570         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12571         EOPNOTSUPP errors with ENOTTY.
12572
12573 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
12574
12575         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12576         Add strcasecmp_l-ssse3.
12577         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12578         strcasecmp.
12579         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12580         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12581         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12582
12583 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
12584
12585         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12586
12587         * string/Makefile (strop-tests): Add strcasecmp.
12588         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12589         strcasecmp_l-nonascii.
12590         (gen-as-const-headers): Add locale-defines.sym.
12591         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12592         * sysdeps/x86_64/strcasecmp.S: New file.
12593         * sysdeps/x86_64/strcasecmp_l.S: New file.
12594         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12595         * sysdeps/x86_64/locale-defines.sym: New file.
12596         * string/test-strcasecmp.c: New file.
12597
12598         * string/test-strcasestr.c: Test both ends of the range of characters.
12599         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12600
12601 2010-07-29  Roland McGrath  <roland@redhat.com>
12602
12603         [BZ #11856]
12604         * manual/locale.texi (Yes-or-No Questions): Fix example code.
12605
12606 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
12607
12608         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12609         for ld.so.
12610
12611 2010-07-27  Andreas Schwab  <schwab@redhat.com>
12612
12613         * manual/memory.texi (Malloc Tunable Parameters): Document
12614         M_PERTURB.
12615
12616 2010-07-26  Roland McGrath  <roland@redhat.com>
12617
12618         [BZ #11840]
12619         * configure.in (-fgnu89-inline check): Set and substitute
12620         gnu89_inline, not libc_cv_gnu89_inline.
12621         * configure: Regenerated.
12622         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12623
12624 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
12625
12626         * string/test-strnlen.c: New file.
12627         * string/Makefile (strop-tests): Add strnlen.
12628         * string/tester.c (test_strnlen): Add a few more test cases.
12629         * string/tst-strlen.c: Better error reporting.
12630
12631         * sysdeps/x86_64/strnlen.S: New file.
12632
12633 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
12634
12635         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12636         lower-latency instructions.
12637
12638 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
12639
12640         * string/test-strcasestr.c: New file.
12641         * string/test-strstr.c: New file.
12642         * string/Makefile (strop-tests): Add strstr and strcasestr.
12643         * string/str-two-way.h: Don't undefine MAX.
12644         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12645
12646 2010-07-21  Andreas Schwab  <schwab@redhat.com>
12647
12648         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12649         strcasestr-nonascii.
12650         (CFLAGS-strcasestr-nonascii.c): Define.
12651         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12652         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12653         Remove unused attribute.
12654
12655 2010-07-20  Roland McGrath  <roland@redhat.com>
12656
12657         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12658         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
12659         ld.so.cache was broken.  With it, there is no way to disable dsocaps
12660         like LD_HWCAP_MASK can disable hwcaps.
12661
12662 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
12663
12664         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12665
12666 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
12667
12668         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12669         call in strcasestr.
12670         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12671         __strcasestr_sse42_nonascii.
12672         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12673         strcasestr-nonascii.c.
12674         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12675
12676 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
12677
12678         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12679         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12680         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12681         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12682
12683 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
12684
12685         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12686         fcntl.
12687
12688 2010-07-06  Andreas Schwab  <schwab@redhat.com>
12689
12690         [BZ #11577]
12691         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12692         dl_signal_cerror.
12693
12694 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
12695
12696         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12697         _PC_PIPE_BUF using F_GETPIPE_SZ.
12698
12699 2010-07-05  Roland McGrath  <roland@redhat.com>
12700
12701         * manual/arith.texi (Rounding Functions): Fix rint description
12702         implicit in round description.
12703
12704 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
12705
12706         * elf/Makefile: Fix linking for a few tests to make recent linker
12707         happy.
12708
12709 2010-06-30  Andreas Schwab  <schwab@redhat.com>
12710
12711         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12712         $(common-objpfx)libc_nonshared.a.
12713
12714 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
12715
12716         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12717         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12718         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12719         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12720         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12721         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12722         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12723         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12738         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12739         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12740         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12741         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12742         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12743         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12744         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12745         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12746         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12747         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12748         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12749         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12764
12765 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
12766
12767         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12768         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
12769         * string/memmove.c (memmove): Renamed to ...
12770         (MEMMOVE): ...this.  Default to memmove.
12771         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12772         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12773         (END_CHK): Define.
12774         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12775         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12776         mempcpy-ssse3-back memmove-ssse3-back.
12777         * sysdeps/x86_64/multiarch/bcopy.S: New file .
12778         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12779         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12780         * sysdeps/x86_64/multiarch/memcpy.S: New file.
12781         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12782         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12783         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12784         * sysdeps/x86_64/multiarch/memmove.c: New file.
12785         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12786         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12787         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12788         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12789         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12790         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12791         Define.
12792         (index_Fast_Copy_Backward): Define.
12793         (HAS_ARCH_FEATURE): Define.
12794         (HAS_FAST_REP_STRING): Define.
12795         (HAS_FAST_COPY_BACKWARD): Define.
12796
12797 2010-06-21  Andreas Schwab  <schwab@redhat.com>
12798
12799         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12800         Restore proper fallback handling.
12801
12802 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
12803
12804         [BZ #11701]
12805         * posix/group_member.c (__group_member): Correct checking loop.
12806
12807         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12808         OOM in getpwuid_r correctly.  Return error number when the caller
12809         should return, otherwise -1.
12810         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12811         call returning > 0 value.
12812         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12813
12814 2010-06-07  Andreas Schwab  <schwab@redhat.com>
12815
12816         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12817         libc_nonshared.a from targets in modules-names.
12818
12819 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
12820
12821         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12822         requires it.
12823
12824 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
12825
12826         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12827         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12828         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12829         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12830
12831 2010-06-02  Andreas Schwab  <schwab@redhat.com>
12832
12833         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12834
12835 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
12836
12837         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12838         and F_GETPIPE_SZ.
12839         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12840         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12841         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12842         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12843         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12844         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12845
12846 2010-06-14  Roland McGrath  <roland@redhat.com>
12847
12848         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12849
12850 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
12851
12852         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12853         __REDIRECT followed by __THROW.
12854         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12855         * posix/getopt.h (getopt): Likewise.
12856
12857 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
12858
12859         * hurd/lookup-at.c (__file_name_lookup_at): Accept
12860         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
12861         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12862         in AT_FLAGS.
12863         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12864         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12865
12866 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
12867
12868         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12869
12870 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
12871
12872         [BZ #11640]
12873         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12874         Properly check family and model.
12875
12876 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
12877
12878         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12879
12880 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
12881
12882         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12883
12884 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
12885
12886         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12887         symbol reference.
12888
12889 2010-05-19  Andreas Schwab  <schwab@redhat.com>
12890
12891         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12892         symbol reference.
12893
12894 2010-05-21  Andreas Schwab  <schwab@redhat.com>
12895
12896         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12897         and internal_recvmmsg.
12898         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12899         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12900         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12901         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12902
12903         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12904         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12905         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12906
12907 2010-05-20  Andreas Schwab  <schwab@redhat.com>
12908
12909         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12910
12911 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
12912
12913         POWER7 optimizations.
12914         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12915         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12916
12917 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
12918
12919         * version.h: Update for 2.13 development version.
12920
12921 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
12922
12923         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12924         exceptions.  Return 0.
12925
12926 2010-05-07  Roland McGrath  <roland@redhat.com>
12927
12928         * elf/ldconfig.c (main): Add a const.
12929
12930 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
12931
12932         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12933         (args_options): Add no-idn option.
12934         (ahosts_keys_int): Add idn_flags to ai_flags.
12935         (parse_option): Handle 'i' option to clear idn_flags.
12936
12937         * malloc/malloc.c (_int_free): Possible race in the most recently
12938         added check.  Only act on the data if no current modification
12939         happened.
12940
12941 See ChangeLog.17 for earlier changes.