]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix test-suite failues with -Wl,--as-needed
[glibc.git] / ChangeLog
CommitLineData
d4c2917f
AM
12012-05-02 Allan McRae <allan@archlinux.org>
2
3 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4 (LDFLAGS-reldepmod5.so): Likewise.
5 (LDFLAGS-reldep6mod1.so): Likewise.
6 (LDFLAGS-reldep6mod4.so): Likewise.
7 (LDFLAGS-reldep8mod3.so): Likewise.
8 (LDFLAGS-unload4mod1.so): Likewise.
9 (LDFLAGS-unload4mod2.so): Likewise.
10 (LDFLAGS-tst-initorder): Likewise.
11 (LDFLAGS-tst-initordera2.so): Likewise.
12 (LDFLAGS-tst-initordera3.so): Likewise.
13 (LDFLAGS-tst-initordera4.so): Likewise.
14 (LDFLAGS-tst-initorderb2.so): Likewise.
15 (LDFLAGS-noload): Likewise.
16 (LDFLAGS-next): Likewise.
17 (LDFLAGS-order2mod1.so): Likewise.
18 (LDFLAGS-order2mod2.so): Likewise.
19 (LDFLAGS-tst-initorder2): Likewise.
20 (LDFLAGS-tst-initorder2a.so): Likewise.
21 (LDFLAGS-tst-initorder2b.so): Likewise.
22 (LDFLAGS-tst-initorder2c.so): Likewise.
23 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24
d77f993f
DM
252012-05-02 David S. Miller <davem@davemloft.net>
26
27 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28
171a70b4
PP
292012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30
31 [BZ #14055]
32 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33
0be196ad
AJ
342012-05-02 Andreas Jaeger <aj@suse.de>
35
36 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37 since we manipulate rounding mode.
38 (CPPFLAGS-test-idouble.c): Likewise.
39 (CPPFLAGS-test-ifloat.c): Likewise.
40 (CFLAGS-test-ldouble.c): Likewise.
41 (CFLAGS-test-double.c): Likewise.
42 (CFLAGS-test-float.c): Likewise.
43 (CFLAGS-test-misc.c): Likewise.
44 (CFLAGS-test-test-fenv.c): Likewise.
45
4f9d04aa
AZ
462012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47
48 [BZ #2550]
49 [BZ #2570]
50 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
51 comparisons to determine direction to adjust input.
52
82a79e7d
RM
532012-05-01 Roland McGrath <roland@hack.frob.com>
54
f5a01ca9
RM
55 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
56 output to the target.
57
90fe4186
RM
58 * scripts/localplt.awk: New file.
59 * elf/Makefile ($(objpfx)check-localplt): Target removed.
60 (check-localplt-CFLAGS): Variable removed.
61 ($(all-built-dso:=.jmprel)): New static pattern rule.
62 (generated): Add those targets.
63 (localplt-built-dso): New variable.
64 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
65
66 * elf/check-localplt.c: File removed.
67
82397ed6
RM
68 * scripts/check-execstack.awk: New file.
69 * elf/Makefile ($(objpfx)check-execstack): Target removed.
70 (check-execstack-CFLAGS): Variable removed.
71 ($(objpfx)check-execstack.h): Target removed.
72 ($(objpfx)execstack-default): New target.
73 (generated): Add that instead of check-execstack.h.
74 ($(all-built-dso:=.phdr)): New static pattern rule.
75 (generated): Add those targets.
76 * elf/check-execstack.c: File removed.
77
82a79e7d
RM
78 * scripts/check-textrel.awk: New file.
79 * elf/Makefile ($(objpfx)check-textrel): Target removed.
80 (check-textrel-CFLAGS): Variable removed.
81 (all-built-dso): Use := to define.o
82 ($(all-built-dso:=.dyn)): New static pattern rule.
83 (generated): Add those targets.
84 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
85 * config.make.in (READELF): New substituted variable.
86 * elf/check-textrel.c: File removed.
87
62fde54f 882012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 89
615605c9
JM
90 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
91 allow.
92 * conform/data/ctype.h-data [C99-based standards] (isblank):
93 Expect function.
94 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
95 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
96 [ISO || ISO99 || ISO11] (*_t): Do not allow.
97 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
98 Specify type. Require positive value.
99 (EILSEQ): Likewise.
100 (ERANGE): Likewise.
101 [ISO || POSIX] (EILSEQ): Do not expect.
102 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
103 Specify type. Require positive value.
104 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
105 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
106 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
107 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
108 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
109 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
110 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
111 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
112 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
113 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
114 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
115 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
116 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
117 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
118 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
119 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
120 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
121 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
122 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
123 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
124 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
125 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
126 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
127 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
128 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
129 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
130 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
131 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
132 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
133 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
134 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
135 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
136 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
137 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
138 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
139 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
140 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
141 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
142 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
143 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
144 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
145 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
146 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
147 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
148 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
149 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
150 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
151 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
152 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
153 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
154 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
155 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
156 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
157 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
158 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
159 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
160 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
161 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
162 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
163 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
164 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
165 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
166 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
167 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
168 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
169 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
170 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
171 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
172 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
173 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
174 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
175 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
176 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
177 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
178 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
179 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
180 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
181 Require >= 2.
182 (FLT_ROUNDS): Expect as macro, not constant.
183 (FLT_MANT_DIG): Use macro-int-constant.
184 (DBL_MANT_DIG): Likewise.
185 (LDBL_MANT_DIG): Likewise.
186 (FLT_DIG): Likewise.
187 (DBL_DIG): Likewise.
188 (LDBL_DIG): Likewise.
189 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
190 (DBL_MIN_EXP): Likewise.
191 (LDBL_MIN_EXP): Likewise.
192 (FLT_MAX_EXP): Use macro-int-constant.
193 (DBL_MAX_EXP): Likewise.
194 (LDBL_MAX_EXP): Likewise.
195 (FLT_MAX_10_EXP): Likewise.
196 (DBL_MAX_10_EXP): Likewise.
197 (LDBL_MAX_10_EXP): Likewise.
198 (FLT_MAX): Use macro-constant.
199 (DBL_MAX): Likewise.
200 (LDBL_MAX): Likewise.
201 (FLT_EPSILON): Use macro-constant. Give upper bound.
202 (DBL_EPSILON): Likewise.
203 (LDBL_EPSILON): Likewise.
204 (FLT_MIN): Likewise.
205 (DBL_MIN): Likewise.
206 (LDBL_MIN): Likewise.
207 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
208 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
209 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
210 [ISO11] (FLT_HAS_SUBNORM): Likewise.
211 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
212 [ISO11] (DBL_DECIMAL_DIG): Likewise.
213 [ISO11] (FLT_DECIMAL_DIG): Likewise.
214 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
215 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
216 [ISO11] (FLT_TRUE_MIN): Likewise.
217 [ISO11] (LDBL_TRUE_MIN): Likewise.
218 [ISO || ISO99 || ISO11] (*_t): Do not allow.
219 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
220 (SCHAR_MIN): Use macro-int-constant. Specify type.
221 (SCHAR_MAX): Likewise.
222 (UCHAR_MAX): Likewise.
223 (CHAR_MIN): Likewise.
224 (CHAR_MAX): Likewise.
225 (MB_LEN_MAX): Use macro-int-constant.
226 (SHRT_MIN): Use macro-int-constant. Specify type.
227 (SHRT_MAX): Likewise.
228 (USHRT_MAX): Likewise.
229 (INT_MAX): Likewise.
230 (INT_MIN): Use macro-int-constant. Specify type. Make upper
231 bound negative.
232 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
233 bound with "U".
234 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
235 bound with "L".
236 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
237 bound negative. Suffix upper bound with "L".
238 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
239 bound with "UL".
240 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
241 Specify type.
242 [C99-based standards] (LLONG_MAX): Likewise.
243 [C99-based standards] (ULLONG_MAX): Likewise.
244 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
245 == 0.
246 [ISO11] (max_align_t): Require type.
247 [ISO || ISO99 || ISO11] (*_t): Do not allow.
248
c9140a62
JM
249 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
250 from $CFLAGS, without defining away __attribute__ calls.
251 (checknamespace): Use $CFLAGS_namespace.
252
9af0bf29
JM
253 * conform/conformtest.pl (@keywords): Only include C99 keywords
254 for standards based on C99 or C11.
255
343222a2
JM
256 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
257 Disable tests.
258 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
259 UNIX98]: Likewise.
260
661f8cf0
JM
261 * conform/conformtest.pl: Handle "macro-int-constant" and test for
262 usability of symbols in #if.
263
ee74b9cb
JM
264 * conform/conformtest.pl: If macro or constant types start
265 "promoted:", expect the symbol to be of the following type
266 promoted by the integer promotions.
62fde54f 267
aafc49b3
JM
268 * conform/conformtest.pl: Parse all "constant" and "macro" lines
269 in one place. Also handle "macro-constant".
270
fefdf574
JM
271 * conform/conformtest.pl: Only accept expected macro values with
272 "==". Parse all "macro" lines in one place.
273 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
274
f2d922fe
JM
275 * conform/conformtest.pl: Handle braced types on "constant" lines
276 instead of handling "typed-constant".
277 * conform/data/signal.h-data: Use "constant" instead of
278 "typed-constant".
279
d22956c9
JM
280 * conform/conformtest.pl: Handle "optional-" at start of lines in
281 one place rather than duplicating several cases. Handle each
282 format of "macro" line with initial "optional-".
283
028e2e38
JM
284 * conform/conformtest.pl: Only accept expected constant or
285 optional-constant values with "==". Parse all "constant" lines in
286 one place. Parse all "optional-constant" lines in one place.
287 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
288 * conform/data/fmtmsg.h-data: Likewise.
289 * conform/data/netinet/in.h-data: Likewise.
290 * conform/data/tar.h-data: Likewise.
291 * conform/data/limits.h-data: Use "==" form on "constant" and
292 "optional-constant" lines.
293
1b8f2850
JM
294 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
295 Use -std=c99 for XOPEN2K.
296 (@knownproblems): Remove.
297 (newtoken): Don't check %isknown.
298
a05a144b
JM
299 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
300 Do not expect macro.
301 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
302 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
303 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
304 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
305 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
306 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
307 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
308 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
309 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
310 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
311 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
312 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
313 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
314 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
315 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
316 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
317 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
318 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
319 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
320 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
321 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
322 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
323 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
324 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
325 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
326 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
327 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
328 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
329 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
330 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
331 [XPG3] (acosh): Likewise.
332 [XPG3] (asinh): Likewise.
333 [XPG3] (atanh): Likewise.
334 [XPG3] (cbrt): Likewise.
335 [XPG3] (expm1): Likewise.
336 [XPG3] (ilogb): Likewise.
337 [XPG3] (log1p): Likewise.
338 [XPG3] (logb): Likewise.
339 [XPG3] (nextafter): Likewise.
340 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
341 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
342 [XPG3] (remainder): Likewise.
343 [XPG3] (rint): Likewise.
344 [XPG3 || XPG4 || UNIX98] (round): Likewise.
345 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
346 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
347 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
348 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
349 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
350 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
351 [UNIX98 || XOPEN2K] (scalb): Expect.
352 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
353 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
354 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
355 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
356 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
357 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
358 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
359 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
360 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
361 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
362 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
363 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
364 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
365 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
366 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
367 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
368 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
369 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
370 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
371 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
372 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
373 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
374 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
375 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
376 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
377 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
378 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
379 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
380 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
381 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
382 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
383 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
384 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
385 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
386 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
387 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
388 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
389 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
390 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
391 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
392 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
393 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
394 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
395 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
396 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
397 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
398 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
399 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
400 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
401 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
402 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
403 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
404 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
405 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
406 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
407 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
408 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
409 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
410 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
411 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
412 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
413 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
414 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
415 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
416 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
417 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
418 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
419 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
420 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
421 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
422 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
423 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
424 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
425 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
426 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
427 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
428 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
429 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
430 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
431 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
432 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
433 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
434 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
435 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
436 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
437 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
438 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
439 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
440 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
441 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
442 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
443 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
444 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
445 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
446 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
447 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
448 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
449 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
450 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
451 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
452 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
453 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
454 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
455 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
456 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
457 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
458 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
459 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
460 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
461 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
462 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
463 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
464 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
465 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
466 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
467 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
468 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
469 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
470 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
471 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
472 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
473 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
474 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
475 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
476 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
477 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
478 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
479 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
480 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
481 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
482 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
483 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
484 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
485 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
486 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
487 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
488 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
489
73c5ebe3
JM
490 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
491 _XOPEN_SOURCE_EXTENDED for XPG4.
492
39c33b6c
JM
493 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
494
62fde54f
JM
495 * Makeconfig (localtime): Remove variable.
496 (inst_localtime-file): Likewise.
497
0741d64c
AS
4982012-05-01 Andreas Schwab <schwab@linux-m68k.org>
499
500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
501 Update.
502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
503 Update.
504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
505 Update.
506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
507 Update.
508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
509 Update.
510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
511 Update.
512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
513 Update.
514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
515 Update.
516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
517 Update.
518
7cb029ee
JM
5192012-05-01 Joseph Myers <joseph@codesourcery.com>
520
521 [BZ #2550]
522 [BZ #2570]
523 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
524 comparisons to determine direction to adjust input.
525 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
526 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
527 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
528 Likewise.
529 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
530 Likewise.
531 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
532 Likewise.
533 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
534 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
535 Likewise.
536 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
537 Likewise.
538 * math/libm-test.inc (nexttoward_test): Add more tests.
539
412bd966
AS
5402012-05-01 Andreas Schwab <schwab@linux-m68k.org>
541
542 [BZ #14040]
543 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
544 in version GLIBC_2.1, not GLIBC_2.0.
545 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
546 Likewise.
547
9568c0c2
JM
5482012-04-30 Joseph Myers <joseph@codesourcery.com>
549
adfbc8ac
JM
550 [BZ #13942]
551 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
552 (1 - x) * (1 + x).
553 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
554 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
555 * math/libm-test.inc (acos_test): Add more tests.
556 (asin_test): Likewise.
557 * sysdeps/i386/fpu/libm-test-ulps: Update.
558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
559
5ba3cc69
JM
560 [BZ #14034]
561 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
562 of square root.
563 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
564 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
565 * math/libm-test.inc (acos_test_tonearest): New function.
566 (acos_test_towardzero): Likewise.
567 (acos_test_downward): Likewise.
568 (acos_test_upward): Likewise.
569 (asin_test_tonearest): Likewise.
570 (asin_test_towardzero): Likewise.
571 (asin_test_downward): Likewise.
572 (asin_test_upward): Likewise.
573 (main): Call the new functions.
574 * sysdeps/i386/fpu/libm-test-ulps: Update.
575 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
576
9568c0c2
JM
577 [BZ #13884]
578 [BZ #13924]
579 * math/e_exp10.c: Include <float.h>.
580 (__ieee754_exp10): Handle underflow here rather than multiplying
581 large negative argument by M_LN10.
582 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
583 of __ieee754_expf.
584 * math/e_exp10l.c: Include <float.h>.
585 (__ieee754_exp10l): Handle underflow here rather than multiplying
586 large negative argument by M_LN10l.
587 * math/libm-test.inc (exp10_test): Add another test. Do not allow
588 spurious overflow exception on underflow.
589
5ac3ea17
MP
5902012-04-29 Marek Polacek <polacek@redhat.com>
591
592 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
593 (__fortify_function): New macro.
594 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
595 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
596 __extern_always_inline.
597 * libio/bits/stdio2.h: Likewise.
598 * libio/bits/stdio.h: Likewise.
599 * string/string.h: Likewise.
600 * string/bits/string3.h: Likewise.
601 * include/stdio.h: Likewise.
602 * stdlib/bits/stdlib.h: Likewise.
603 * stdlib/stdlib.h: Likewise.
604 * rt/bits/mqueue2.h: Likewise.
605 * rt/mqueue.h: Likewise.
606 * posix/bits/unistd.h: Likewise.
607 * posix/unistd.h: Likewise.
608 * io/bits/poll2.h: Likewise.
609 * io/bits/fcntl2.h: Likewise.
610 * io/fcntl.h: Likewise.
611 * io/sys/poll.h: Likewise.
612 * misc/bits/syslog.h: Likewise.
613 * misc/bits/syslog-ldbl.h: Likewise.
614 * misc/sys/syslog.h: Likewise.
615 * socket/bits/socket2.h: Likewise.
616 * socket/sys/socket.h: Likewise.
617 * debug/tst-chk1.c: Likewise.
618 * wcsmbs/bits/wchar2.h: Likewise.
619 * wcsmbs/bits/wchar-ldbl.h: Likewise.
620 * wcsmbs/wchar.h: Likewise.
621
ecf0ebfb
AJ
6222012-04-29 Andreas Jaeger <aj@suse.de>
623
624 * Makerules (tests): Remove enable-check-abi protection.
625 (check-abi-warn): Remove.
626 (check-abi-%): Remove check-abi-warn usage.
627
628 * configure.in: Remove check-abi configure option.
629 * configure: Regenerated.
630 * config.make.in (enable-check-abi): Remove.
631
6d5c57fa
AS
6322012-04-28 Andreas Schwab <schwab@linux-m68k.org>
633
24c5d07e 634 [BZ #14033]
ded5180a
AS
635 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
636 double functions to double *_finite functions.
637
7e0d315d
AS
638 [BZ #13941]
639 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
640 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
641 LDBL_MIN_EXP.
642 * stdio-common/Makefile (tests): Add tst-sprintf3.
643 * stdio-common/tst-sprintf3.c: New file.
644
6d5c57fa
AS
645 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
646 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
647
0749ff8b
JM
6482012-04-28 Joseph Myers <joseph@codesourcery.com>
649
650 * conform/conformtest.pl: Remove duplicate typed-constant
651 handling.
652
8dbd5d7b
DM
6532012-04-28 David S. Miller <davem@davemloft.net>
654
655 * Makerules (%.abilist): Add vpath on sysdep_dirs.
656 (check-abi-%): Remove AWK script prerequisite and explicit
657 abilist directory.
658 (check-abi): Rewrite to just diff the symlist with the abilist.
659 (config-tls, config-abi-config): Delete, no longer used.
660 (update-abi-%): Remove AWK script and explicit abilist directory.
661 (update-abi): Rewrite to simply compare and conditionally copy the
662 symlist and the sysdep abilist file. Remove update-abi-config
663 checks.
664 * abilist/ld.abilist: Remove.
665 * abilist/libBrokenLocale.abilist: Remove.
666 * abilist/libanl.abilist: Remove.
667 * abilist/libcrypt.abilist: Remove.
668 * abilist/libdl.abilist: Remove.
669 * abilist/librt.abilist: Remove.
670 * abilist/libthread_db.abilist: Remove.
671 * abilist/libutil.abilist: Remove.
672 * scripts/extract-abilist.awk: Remove.
673 * scripts/merge-abilist.awk: Remove.
674 * sysdeps/generic/libcidn.abilist: New file.
675 * sysdeps/generic/libnss_compat.abilist: New file.
676 * sysdeps/generic/libnss_db.abilist: New file.
677 * sysdeps/generic/libnss_dns.abilist: New file.
678 * sysdeps/generic/libnss_files.abilist: New file.
679 * sysdeps/generic/libnss_hesiod.abilist: New file.
680 * sysdeps/generic/libnss_nis.abilist: New file.
681 * sysdeps/generic/libnss_nisplus.abilist: New file.
682 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
683 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
684 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
685 file.
686 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
687 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
688 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
689 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
690 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
691 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
692 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
693 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
694 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
695 file.
696 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
697 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
698 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
699 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
700 file.
701 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
702 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
703 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
704 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
705 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
706 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
707 file.
708 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
709 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
710 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
711 file.
712 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
713 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
714 New file.
715 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
716 New file.
717 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
718 New file.
719 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
720 New file.
721 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
722 New file.
723 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
724 New file.
725 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
726 New file.
727 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
728 New file.
729 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
730 New file.
731 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
732 New file.
733 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
734 New file.
735 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
736 New file.
737 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
738 New file.
739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
740 file.
741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
742 New file.
743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
744 New file.
745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
746 file.
747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
748 New file.
749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
750 New file.
751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
752 file.
753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
754 New file.
755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
756 New file.
757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
758 New file.
759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
760 New file.
761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
762 New file.
763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
764 New file.
765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
767 file.
768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
769 New file.
770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
771 file.
772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
773 file.
774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
775 file.
776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
777 file.
778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
779 file.
780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
781 New file.
782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
783 file.
784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
785 file.
786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
787 New file.
788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
789 file.
790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
792 file.
793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
794 New file.
795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
796 file.
797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
798 file.
799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
800 file.
801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
802 file.
803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
804 file.
805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
806 New file.
807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
808 file.
809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
810 file.
811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
812 New file.
813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
814 file.
815 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
816 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
817 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
818 file.
819 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
820 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
821 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
822 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
823 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
824 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
825 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
826 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
827 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
828 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
831 file.
832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
833 New file.
834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
835 file.
836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
837 file.
838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
839 file.
840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
841 file.
842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
843 file.
844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
845 New file.
846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
847 New file.
848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
849 file.
850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
851 New file.
852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
853 file.
854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
856 file.
857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
858 New file.
859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
860 file.
861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
862 file.
863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
864 file.
865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
866 file.
867 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
868 file.
869 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
870 New file.
871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
872 New file.
873 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
874 file.
875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
876 New file.
877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
878 file.
879
41d73a1b
JM
8802012-04-28 Joseph Myers <joseph@codesourcery.com>
881
882 * conform/conformtest.pl: Fix typo in handling typed-constant from
883 allow-header.
884
28aeeda4
JM
8852012-04-27 Joseph Myers <joseph@codesourcery.com>
886
adae8f5e
JM
887 * README: Cut down references to pre-2.6 Linux kernels and
888 Linuxthreads. Update lists of configurations in libc and ports
889 and sort alphabetically. Say "or newer" with Linux kernel version
890 requirements.
891
28aeeda4
JM
892 * config.h.in [IS_IN_build]: Allow compiling without optimization.
893
a462cb63
RA
8942012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
895
896 [BZ #887]
897 * math/libm-test.inc (logb_test_downward): New test to expose
898 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
899 rounding mode.
900
6ad3493e
JM
9012012-04-27 Joseph Myers <joseph@codesourcery.com>
902
903 [BZ #14027]
904 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
905 to be done.
906 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
907 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
908
2ce4f015
JM
9092012-04-26 Joseph Myers <joseph@codesourcery.com>
910
5aeb141a
JM
911 * sysdeps/unix/i386/brk.S: Remove file.
912 * sysdeps/unix/i386/dl-brk.S: Likewise.
913 * sysdeps/unix/i386/pipe.S: Likewise.
914 * sysdeps/unix/i386/sigreturn.S: Likewise.
915 * sysdeps/unix/i386/syscall.S: Likewise.
916 * sysdeps/unix/i386/vfork.S: Likewise.
917 * sysdeps/unix/i386/wait.S: Likewise.
918
7143acae
JM
919 * sysdeps/unix/common/tcsendbrk.c: Move to ...
920 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
921
2ce4f015
JM
922 * configure.in (arm*-none*): Do not allow without
923 --enable-hacker-mode.
924 (netbsd*): Remove case setting base_os.
925 (386bsd*): Likewise.
926 (freebsd*): Likewise.
927 (bsdi*): Likewise.
928 (osf*): Likewise.
929 (sunos*): Likewise.
930 (ultrix*): Likewise.
931 (newsos*): Likewise.
932 (dynix*): Likewise.
933 (*bsd*): Likewise.
934 (sysv*): Likewise.
935 (isc*): Likewise.
936 (esix*): Likewise.
937 (sco*): Likewise.
938 (minix*): Likewise.
939 (irix4*): Likewise.
940 (irix6*): Likewise.
941 (solaris[2-9]*): Likewise.
942 (none): Likewise.
943 * configure: Regenerated.
944
0ac229c8
AZ
9452012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
946
947 [BZ #11521]
948 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
949 overflow or cancellation in calculating denominator.
950 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
951 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
952 down expression to avoid unexpected rounding in newer GCCs.
953 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
954
33f244f4
DM
9552012-04-26 David S. Miller <davem@davemloft.net>
956
957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
958 long-double compat symbols.
959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
972
cfa1f3e8
DM
9732012-04-25 David S. Miller <davem@davemloft.net>
974
975 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
976 HWCAP_* values only after the memory barriers have been defined.
977 (atomic_full_barrier): Define.
978 (atomic_read_barrier): Define.
979 (atomic_write_barrier): Define.
980
6e236b92
SP
9812012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
982
983 * shlib-versions: Add libgcc_s version information.
984 * sysdeps/generic/libgcc_s.h: Remove.
985 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
986 libgcc_s.h.
987 * sysdeps/gnu/unwind-resume.c: Likewise.
988 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
989
aab39a09
DM
9902012-04-25 David S. Miller <davem@davemloft.net>
991
992 * sysdeps/unix/sparc/brk.S: Delete.
993 * sysdeps/unix/sparc/dl-brk.S: Delete.
994 * sysdeps/unix/sparc/pipe.S: Delete.
995 * sysdeps/unix/sparc/sysdep.S: Delete.
996 * sysdeps/unix/sparc/sysdep.h: Delete.
997 * sysdeps/unix/sparc/vfork.S: Delete.
998 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
999 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1000 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1001 ret_ERRVAL, r0, r1, MOVE): Define.
1002 (JUMPTARGET): Remove.
1003 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1004 sysdeps/unix/sparc/sysdep.h
1005 (ENTRY, END): Remove.
1006 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1007
a3cc4f48
JM
10082012-04-25 Joseph Myers <joseph@codesourcery.com>
1009
2ed8cda2
JM
1010 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1011 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1012 -DIS_IN_build.
1013
35d76d59
JM
1014 * timezone/README: Update upstream location and email address for
1015 tzcode and tzdata.
1016 * timezone/zdump.c: Update from tzcode 2012b.
1017 * timezone/zic.c: Likewise.
1018
a3cc4f48
JM
1019 * configure.in (libc_cv_as_needed): Remove test.
1020 * configure: Regenerated.
1021 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1022 conditional definition.
1023 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1024 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1025 * config.make.in (have-as-needed): Remove variable.
1026
ceab42c3
SP
10272012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1028 Paul Pluzhnikov <ppluzhnikov@google.com>
1029
1030 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1031 strings correctly.
1032
3ce2865f
CLT
10332012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1034
1035 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1036 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1037 * sysdeps/sh/strlen.S: Likewise.
1038
f37e0d68
JM
10392012-04-24 Joseph Myers <joseph@codesourcery.com>
1040
ae186e9a
JM
1041 * sysdeps/unix/fork.S: Remove file.
1042 * sysdeps/unix/i386/fork.S: Likewise.
1043 * sysdeps/unix/sparc/fork.S: Likewise.
1044
b96914af
JM
1045 * sysdeps/unix/system.c: Remove file.
1046 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1047
f37e0d68
JM
1048 * sysdeps/unix/getegid.S: Remove file.
1049 * sysdeps/unix/geteuid.S: Likewise.
1050
87ef29ca
RM
10512012-04-24 Roland McGrath <roland@hack.frob.com>
1052
83bcd236
RM
1053 * scripts/check-localplt.awk: New file.
1054 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1055 of diff.
1056 * scripts/data/localplt-generic.data: Add a comment.
1057
87ef29ca
RM
1058 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1059 NODE when __dir_mkfile failed.
1060 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1061 Reported by Ludovic Courtès <ludo@gnu.org>.
1062
e5a6e567
AJ
10632012-04-24 Andreas Jaeger <aj@suse.de>
1064
1065 * Makerules (common-clean): Also remove gen-as-const-headers
1066 files.
1067
c1820385
JM
10682012-04-24 Joseph Myers <joseph@codesourcery.com>
1069
1070 * Makerules (native-compile): Do not change working directory for
1071 build. Use $(OUTPUT_OPTION) in command.
1072 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1073
94e02fc4
AZ
10742012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1075
1076 [BZ #13886]
1077 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1078 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1079 * math/libm-test.inc (floor_test): Add more tests.
1080 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1081
3a533ca3
JM
10822012-04-24 Joseph Myers <joseph@codesourcery.com>
1083
940ab4b3
JM
1084 * sysdeps/unix/getdents.c: Remove file.
1085 * sysdeps/unix/sysv/getdents.c: Likewise.
1086 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1087
90e037bd
JM
1088 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1089 sysdeps/unix/mman/syscalls.list.
1090 (mmap): Likewise.
1091 (mprotect): Likewise.
1092 (msync): Likewise.
1093 (munmap): Likewise.
1094 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1095 * sysdeps/unix/mman/syscalls.list: Remove.
1096 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1097
3a533ca3
JM
1098 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1099 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1100 * configure: Regenerated.
1101 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1102 $(libgcc_s_suffix).
1103 * config.make.in (libgcc_s_suffix): Remove variable.
1104
1ad743de
JM
11052012-04-23 Joseph Myers <joseph@codesourcery.com>
1106
4ad451e2
JM
1107 * sysdeps/unix/sysv/gethostname.c: Move to ...
1108 * sysdeps/posix/gethostname.c: ... here.
1109
5e37ce39
JM
1110 * sysdeps/unix/execve.S: Remove file.
1111
1ad743de
JM
1112 * sysdeps/unix/_exit.S: Remove file.
1113
4e681b5b
AJ
11142012-04-23 Andreas Jaeger <aj@suse.de>
1115
1116 [BZ #13739]
1117 * manual/Makefile: Remove make dist support, there's no
1118 need for a stand-alone documentation tar ball.
1119 (TEXI2DVI): Define always, it's not in Makeconfig.
1120 (dist): Removed.
1121 (tar-it): Removed.
1122 (edition): Removed.
1123 (glibc-doc-$(edition).tar): Removed
1124 (%.Z): Removed.
1125 (%.gz): Removed.
1126 (%.uu): Removed.
1127 (ETAGS): Remove, it's in Makeconfig.
1128 (move-if-change): Remove, it's in Makeconfig.
1129
c0baea34
PE
11302013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1131
1132 [BZ #13970]
1133 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1134 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1135 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1136 (strtod_l, strtof_l, strtold_l): Remove __wur.
1137 It is not necessarily an error to ignore strtol's return value.
1138 One can reliably look at the stored endptr to decide whether
1139 the number had valid syntax.
1140
7c0616fa
AJ
11412012-04-21 Andreas Jaeger <aj@suse.de>
1142
803cb6b7 1143 [BZ #13739]
7c0616fa
AJ
1144 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1145
b0fe253f
JM
11462012-04-21 Joseph Myers <joseph@codesourcery.com>
1147
1148 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1149 * sysdeps/unix/sysv/Versions: Remove file.
1150
8280f22d
MT
11512012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1152
1153 [BZ #13927]
1154 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1155
75ce411f 11562012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
1157
1158 [BZ #7064]
1159 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1160 version from __vm86.
1161
097d59fa
JM
11622012-04-20 Joseph Myers <joseph@codesourcery.com>
1163
a90f3bcb
JM
1164 * sysdeps/unix/common/lxstat.c: Remove file.
1165 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1166
edc7ea78
JM
1167 * sysdeps/unix/sysv/Makefile: Remove file.
1168
cb78c221
JM
1169 * sysdeps/unix/sysv/direct.h: Remove file.
1170
efa6a45f
JM
1171 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1172 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1173 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1174 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1175 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1176 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1177 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1178
9c9f2d0c
JM
1179 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1180
4541c83b
JM
1181 * sysdeps/unix/xmknod.c: Remove file.
1182 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1183
f5d153a0
JM
1184 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1185
aa746595
JM
1186 * sysdeps/unix/sysv/i386/time.S: Remove file.
1187
cce5905e
JM
1188 * sysdeps/unix/fxstat.c: Remove file.
1189 * sysdeps/unix/xstat.c: Likewise.
1190 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1191
37fa3841
JM
1192 * sysdeps/unix/sysv/sigaction.c: Remove file.
1193
ff1962a3
JM
1194 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1195 (sysdep_headers): Remove variable.
1196 [termio.h not in sysdep_headers] (generated): Likewise.
1197 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1198 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1199 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1200 * sysdeps/unix/sysv/tcflow.c: Likewise.
1201 * sysdeps/unix/sysv/tcflush.c: Likewise.
1202 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1203 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1204 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1205 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1206 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1207
e7740d31
JM
1208 * sysdeps/unix/siglist.c: Remove file.
1209
ee06f18b
JM
1210 * sysdeps/unix/getppid.S: Remove file.
1211
097d59fa
JM
1212 * sysdeps/unix/mkdir.c: Remove file.
1213 * sysdeps/unix/rmdir.c: Likewise.
1214
ff3d51ec
AS
12152012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1216
1217 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1218 ERR_MAX value.
1219 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1220 errlist-compat value.
1221
50f81fd7
DM
12222012-04-18 David S. Miller <davem@davemloft.net>
1223
1224 * sysdeps/generic/memcopy.h (reg_char): Delete.
1225 * debug/strcat_chk.c: Use char, not reg_char.
1226 * debug/strcpy_chk.c: Likewise.
1227 * debug/strncat_chk.c: Likewise.
1228 * debug/strncpy_chk.c: Likewise.
1229 * string/memchr.c: Likewise.
1230 * string/memrchr.c: Likewise.
1231 * string/rawmemchr.c: Likewise.
1232 * string/strcat.c: Likewise.
1233 * string/strchr.c: Likewise.
1234 * string/strchrnul.c: Likewise.
1235 * string/strcmp.c: Likewise.
1236 * string/strcpy.c: Likewise.
1237 * string/strncat.c: Likewise.
1238 * string/strncmp.c: Likewise.
1239 * string/strncpy.c: Likewise.
1240
8ff41c46
WS
12412012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1242
1243 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1244 __builtin_memcopy is called when src and dest ranges are known to not
1245 overlap.
1246
6b652f46
WS
12472012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1248
1249 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1250 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1251 fwd_align_merge macro call.
1252 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1253 bwd_align_merge macro call.
1254 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1255
b282631e
WS
12562012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1257
1258 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1259 bwd_align_merge macros.
1260 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1261 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1262 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1263
95aa737c
DM
12642012-04-18 David S. Miller <davem@davemloft.net>
1265
1266 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1267
7a99a614
AJ
12682012-04-18 Andreas Jaeger <aj@suse.de>
1269
1270 [BZ# 6794]
1271 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1272 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1273 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1274
1275 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1276 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1277 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1278
1279 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1280 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1281 Adjust for changed ldbl-128 files.
1282
1283 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1284 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1285 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1286
e5270c23
DM
12872012-04-17 David S. Miller <davem@davemloft.net>
1288
1289 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1290
fb5e92c9
AS
12912012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1292
1293 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1294 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1295 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1296 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1297 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1298 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1299
76da7265
AZ
13002012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1301
1302 [BZ #6794]
1303 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1304 * math/libm-test.inc: Add ilogb errno and exception tests.
1305 * math/w_ilogb.c: New file: ilogb wrapper.
1306 * math/w_ilogbf.c: New file: ilogbf wrapper.
1307 * math/w_ilogbl.c: New file: ilogbl wrapper.
1308 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1309 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1310 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1311 exception being thrown with 0.0 as argument.
1312 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1313 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1314 exception being thrown with 0.0 as argument.
1315 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1316 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1317 exception being thrown with 0.0 as argument.
1318 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1319 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1320 exception being thrown with 0.0 as argument.
1321 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1322 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 1323 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
1324 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1325 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1326 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1327 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1328 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1329 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1330
0396e69d
PB
13312012-04-17 Petr Baudis <pasky@ucw.cz>
1332
1333 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1334 with altivec.
1335
750b5926
MP
13362012-04-16 Marek Polacek <polacek@redhat.com>
1337
1338 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1339
751728a1
MP
13402012-04-16 Marek Polacek <polacek@redhat.com>
1341
1342 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1343 operands of fdivp instruction.
1344
34a27407
L
13452012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1346
1347 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1348 * elf/tst-auditmod3b.c: Likewise.
1349 * elf/tst-auditmod4b.c: Likewise.
1350 * elf/tst-auditmod5b.c: Likewise.
1351 * elf/tst-auditmod6b.c: Likewise.
1352 * elf/tst-auditmod6c.c: Likewise.
1353 * elf/tst-auditmod7b.c: Likewise.
1354 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1355 * sysdeps/x86_64/preconfigure.in: Likewise.
1356 * sysdeps/x86_64/preconfigure: Regenerated.
1357
7e73e17d
L
13582012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1359
1360 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1361 __ILP32__.
1362
c7a6ab72
AB
13632012-04-13 Antoine Balestrat <merkil33@gmail.com>
1364
1365 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1366 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1367
a9e8e0e0
CL
13682012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1369
1370 [BZ #13973]
1371 * locale/iso-639.def: Fix gl language name. Spotted by
1372 Yaron Shahrabani.
1373
ec98af7d
RM
13742012-04-12 Roland McGrath <roland@hack.frob.com>
1375
1376 [BZ #2074]
1377 * libio/libio.h (__io_write_fn): Update comment.
1378
247c3ede
PB
13792012-04-12 Petr Baudis <pasky@ucw.cz>
1380
1381 [BZ #2074]
1382 * stdio.texi (Hook Functions): The user provided writer function
1383 is not allowed to return -1.
1384
55939d6d
DM
13852012-04-11 David S. Miller <davem@davemloft.net>
1386
1387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1388
90020f5a
MF
13892012-04-11 Mike Frysinger <vapier@gentoo.org>
1390
1391 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1392 Add a leading slash to rtkaio.
1393
288f9098
JM
13942012-04-11 Jim Meyering <meyering@redhat.com>
1395
90020f5a
MF
1396 [BZ #11959]
1397 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1398 It is not necessarily an error to ignore fwrite's return
1399 value. One can reliably use ferror to test for errors after
1400 the fact.
288f9098 1401
4be2b570
L
14022012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1403
1404 * bits/types.h (__snseconds_t): New type.
1405 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1406
1407 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1408 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1409 (__SNSECONDS_T_TYPE): Likewise.
1410 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1411 (__SNSECONDS_T_TYPE): Likewise.
1412 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1413 (__SNSECONDS_T_TYPE): Likewise.
1414
288f9098 14152012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
1416
1417 [BZ #2636]
1418 * manual/time.texi (Processor Time): Return type of times is
1419 elapsed real time since an arbitrary point in the past.
1420 (CPU Time): Move CLK_TCK from here...
1421 (Processor Time): ...to here. Correct description.
1422 * manual/conf.texi (Constants for Sysconf): Correct description of
1423 _SC_CLK_TCK.
1424
d7dd4413
DM
14252012-04-10 David S. Miller <davem@davemloft.net>
1426
1427 [BZ #13967]
1428 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1429 where the is a gap between DT_REL(A) and DT_JMPREL.
1430
b46068fc
L
14312012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1432
1433 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1434 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1435 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1436
73d65cc3
SP
14372012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1438
1439 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1440 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1441 (dl_main): Handle --inhibit-cache.
1442 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1443 _dl_inhibit_cache.
1444 * elf/dl-load.c (_dl_map_object): Use it.
1445 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1446
bcc8d661
JM
14472012-04-09 Joseph Myers <joseph@codesourcery.com>
1448
8f9a2fae
JM
1449 [BZ #13872]
1450 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1451 (__ieee754_powl): Saturate large exponents rather than testing for
1452 overflow of y*log2(x).
1453 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1454 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1455 exceptions.
1456
bcc8d661
JM
1457 [BZ #11521]
1458 * math/s_ctan.c: Include <float.h>.
1459 (__ctan): Avoid internal overflow or cancellation in calculating
1460 denominator.
1461 * math/s_ctanf.c: Likewise.
1462 * math/s_ctanl.c: Likewise.
1463 * math/s_ctanh.c: Likewise.
1464 * math/s_ctanhf.c: Likewise.
1465 * math/s_ctanhl.c: Likewise.
1466 * math/libm-test.inc (ctan_test): Add more tests.
1467 (ctanh_test): Likewise.
1468 * sysdeps/i386/fpu/libm-test-ulps: Update.
1469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1470
823fbbb4
AJ
14712012-04-09 Andreas Jaeger <aj@suse.de>
1472
03879793
AJ
1473 [BZ #6894]
1474 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1475 is an optional BSD extension.
1476
823fbbb4
AJ
1477 [BZ #10254]
1478 * manual/stdio.texi (Opening Streams): Document additional fopen
1479 parameters.
1480
8de131cb
RM
14812012-04-09 Roland McGrath <roland@hack.frob.com>
1482
1483 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1484 %eax without telling the compiler.
1485
c0ed9d7d
CD
14862012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1487
1488 [BZ # 13963]
1489 * manual/install.texi: Use sourceware.org.
1490
c483f6b4
JM
14912012-04-09 Joseph Myers <joseph@codesourcery.com>
1492
d7dd9453
JM
1493 [BZ #13873]
1494 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1495 (__ieee754_pow): Generate overflow and underflow using huge*huge
1496 and tiny*tiny rather than just returning constant infinity or zero
1497 for large exponents.
1498 * math/libm-test.inc (pow_test): Require overflow exceptions for
1499 applicable cases of large exponents.
1500
c483f6b4
JM
1501 [BZ #706]
1502 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1503 (__ieee754_pow): Use iterative multiplication algorithm only for
1504 integer exponents with absolute value below 1024. Check for odd
1505 integer exponents when using algorithm for real exponents.
1506 * math/libm-test.inc (pow_test): Add more tests.
1507 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1508
d2de7579
JM
15092012-04-08 Joseph Myers <joseph@codesourcery.com>
1510
1511 [BZ #13705]
1512 * math/libm-test.inc (exp_test): Do not allow overflow exception
1513 on underflow test.
1514
f77f1232
AJ
15152012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1516
1517 [BZ #13705]
1518 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1519 instead of __kernel_standard_f.
1520
3884932b
MF
15212012-04-08 Mike Frysinger <vapier@gentoo.org>
1522
1523 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1524 * sysdeps/x86_64/memset_chk.S: Likewise.
1525
54472e9c
AJ
15262012-04-08 Andreas Jaeger <aj@suse.de>
1527
6ab0fbfc
AJ
1528 [BZ #10153]
1529 * manual/startup.texi (Environment Access): Describe return value
1530 for putenv and setenv.
1531
61efba8c
AJ
1532 [BZ #6895]
1533 * manual/filesys.texi (Directory Entries): Add description for
1534 DT_LNK.
1535
95c3f29a
AJ
1536 [BZ #6890]
1537 * manual/filesys.texi (Directory Entries): Clarify that it's file
1538 system not operating system in the description of DT_UNKNOWN.
1539
54472e9c
AJ
1540 [BZ #6578]
1541 * manual/syslog.texi (closelog): Fix reference, it's openlog.
1542
624254b1
SC
15432012-04-08 Stephen Compall <s11@member.fsf.org>
1544
1545 [BZ #6649]
1546 * manual/llio.texi (Opening and Closing Files): Add cross
1547 reference to explain mode argument.
1548
1e4920e0
MF
15492012-04-07 Mike Frysinger <vapier@gentoo.org>
1550
1551 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1552 * sysdeps/x86_64/memset_chk.S: Likewise.
1553
5ed848f3
DM
15542012-04-07 David S. Miller <davem@davemloft.net>
1555
1556 * elf/elf.h (R_SPARC_WDISP10): Define.
1557 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1558 R_SPARC_SIZE32.
1559 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1560 R_SPARC_SIZE64 and R_SPARC_H34.
1561
96154cd8
CD
15622012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1563
1564 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1565 conditions and remove no longer applicable assertion.
1566
9904dc47
L
15672012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1568
1569 * bits/byteswap.h: Include <features.h>.
1570 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1571 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1572
f8887d0a
L
15732012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1574
1575 * bits/byteswap.h (__bswap_16): Removed.
1576 Include <bits/byteswap-16.h> to get __bswap_16.
1577 * sysdeps/i386/bits/byteswap.h: Likewise.
1578 * sysdeps/s390/bits/byteswap.h: Likewise.
1579 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1580 * bits/byteswap-16.h: New file.
1581 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1582 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1583 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1584 * string/Makefile (headers): Add bits/byteswap-16.h.
1585
62470f60
PP
15862012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1587
1588 [BZ #13895]
1589 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1590 extra indirection.
1591 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1592 * nss/tst-nss-static.c: New.
1593
4dad7bab
RM
15942012-04-06 Robert Millan <rmh@gnu.org>
1595
1596 [BZ #6486]
1597 * manual/llio.texi (File Position Primitive): lseek
1598 refers to WHENCE when it really means OFFSET.
1599
e9142a17
AJ
16002012-04-06 Andreas Jaeger <aj@suse.de>
1601
2c040eff
AJ
1602 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1603 strncmp declarations.
1604
e9142a17
AJ
1605 * abilist/libc.abilist: Add __poll and __ppoll.
1606
ff9f1c5f
DM
16072012-04-05 David S. Miller <davem@davemloft.net>
1608
dcd2ae90
DM
1609 * scripts/check-local-headers.sh: Accept a host triplet in the
1610 path matched by the exclude regexp.
1611
993eb054
DM
1612 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1613 definition.
1614 * sysdeps/powerpc/powerpc32/dl-machine.h
1615 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1616 * sysdeps/s390/s390-32/dl-machine.h
1617 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1618 * sysdeps/sparc/sparc32/dl-machine.h
1619 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1620 * sysdeps/sparc/sparc64/dl-machine.h
1621 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1622
ff9f1c5f
DM
1623 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1624 lazy binding.
48e2e132 1625 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
1626 undefined symbol errors.
1627
48e2e132 1628 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
1629 DT_NEEDED entries.
1630
e80d6f94
MM
16312012-04-05 Michael Matz <matz@suse.de>
1632
1633 [BZ #13592]
1634 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1635
349fa79f
AJ
16362012-04-05 Andreas Jaeger <aj@suse.de>
1637
1638 [BZ #13908]
1639 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1640 comment.
1641
f402708f
KK
16422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1643
1644 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1645 which ROUND is no valid rounding mode.
1646
2ecccfc9
KK
16472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1648
1649 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1650 read again.
1651 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1652
8a53f50f
KK
16532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1654
1655 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1656 an exception using FPU order intentionally.
1657
16582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1659
1660 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1661 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1662 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1663 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1664
d653abb7
SJ
16652012-04-05 Simon Josefsson <simon@josefsson.org>
1666
1667 [BZ #12340]
1668 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1669 EINVAL when BUFLEN is too smal.
1670
c3b1bf7d
TS
16712012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1672
1673 [BZ #13553]
1674 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1675 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1676
b1aa60f3
AJ
16772012-04-03 Andreas Jaeger <aj@suse.de>
1678
c3b1bf7d 1679 [BZ #13938]
67f60a26
AJ
1680 * manual/setjmp.texi (System V contexts): Fix sentence.
1681
b1aa60f3
AJ
1682 [BZ #13926]
1683 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1684 New macro for this case.
1685 [!__GNUC__] (__bswap_64): New inline function for this case.
1686 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1687 * bits/byteswap.h: Likewise.
1688 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1689 ull, guard with __GLIBC_HAVE_LONG_LONG.
1690
1691 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1692 __GLIBC_HAVE_LONG_LONG.
1693
1694 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1695 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1696
39c59c35
TMQMF
16972012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1698
1699 [BZ #13691]
1700 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1701 inptr and inend, rather than using last_ch.
1702
135ffda8
DM
17032012-04-02 David S. Miller <davem@davemloft.net>
1704
1705 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1706 * stdio-common/printf-parse.h (read_int): Change return type to
1707 'int', return -1 on INT_MAX overflow.
1708 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1709 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
1710 overflows INT_MAX. Check for overflow of in-format-string precision
1711 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
1712 SIZE_MAX not INT_MAX for integer overflow test.
1713 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1714 skip the construct in the format string but do not record anything.
1715 * stdio-common/bug22.c: Adjust to test both width/prevision
1716 INT_MAX overflow as well as total length INT_MAX overflow. Check
1717 explicitly for proper errno values.
1718
228c019e
TS
17192012-04-02 Thomas Schwinge <thomas@codesourcery.com>
1720
302cadd3
TS
1721 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1722 CHAR_MAX.
1723 * string/test-strcmp.c [! WIDE]: Likewise.
1724 * time/tst-mktime2.c: Likewise for INT_MAX.
1725 * string/test-string.h: #include <sys/param.h> for MIN.
1726
228c019e
TS
1727 * csu/init-first.c (__libc_init_first): Call __ctype_init.
1728 * sysdeps/i386/init-first.c (init): Likewise.
1729 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1730 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1731 * sysdeps/sh/init-first.c (init): Likewise.
1732
cfa633f5
UD
17332012-04-01 Ulrich Drepper <drepper@gmail.com>
1734
1735 * po/ru.po: Update from translation team.
d1635ef8 1736 * po/vi.po: Likewise.
cfa633f5 1737
6cd0a5ea
SP
17382012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1739
1740 * resolv/nss_dns/dns-host.c: Merge copyright years.
1741
4b43400f
LD
17422012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1743
1744 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1745 Optimize memcpy with prefetch if
1746 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
1747 src, dst pointers have unequal 16 byte alignments.
1748
48c41d04
SP
17492012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1750
1751 [BZ #13928]
1752 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1753 from a CNAME entry and return the minimum ttl for the query.
1754 (gaih_getanswer_slice): Likewise.
1755
b8dc394d
JL
17562012-03-30 Jeff Law <law@redhat.com>
1757
1758 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1759 due to long keys.
1760 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1761 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1762
2f5a5ed0
JL
1763 * resolv/nss_dns/dns-host.c: Update copyright year.
1764
1d39e359
UD
17652012-03-30 Ulrich Drepper <drepper@gmail.com>
1766
c030f70c 1767 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 1768 requests to save a system call. Fix check that all bytes are sent.
c030f70c 1769
1d39e359
UD
1770 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1771 comments for sendmmsg.
1772
17732012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
1774
1775 [BZ #13691]
1776 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1777 with only 1 character between 0x0041 and 0x01b0.
1778 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1779 * wcsmbs/tst-mbsnrtowcs.c: New file.
1780
20fde227
DM
17812012-03-29 David S. Miller <davem@davemloft.net>
1782
1783 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1784 small copies by hand.
1785
984a4237
JL
17862012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1787
1788 [BZ #13761]
1789 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1790 _nss_compat_initgroups_dyn): Fall back to malloc/free
1791 for large group memberships.
1792
18c9d62b
DM
17932012-03-28 David S. Miller <davem@davemloft.net>
1794
88d85d4f
DM
1795 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1796 that branches into memcpy.
1797 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1798 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1799 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1800 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1801 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1802 bits.
1803 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1804 implementation too.
1805 * sysdeps/sparc/mempcpy.S: New file.
1806
e5aa83e1
DM
1807 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1808 the IFUNC routine in the libc case.
1809 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1810
88570753
DM
1811 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1812 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1813 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1814 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1815 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1816 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1817 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1818 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1819
249d7567
DM
1820 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1821 loop to 256 bytes instead of 64 bytes and fix test signedness.
1822
18c9d62b
DM
1823 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1824 * sysdeps/sparc/sparc32/Makefile: rather than here...
1825 * sysdeps/sparc/sparc64/Makefile: and here.
1826
05f3d1f6
UD
18272012-03-28 Ulrich Drepper <drepper@gmail.com>
1828
1829 * malloc/mallocbug.c: Avoid warnings about unused variables.
1830
86ae07a8
JL
18312012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1832
1833 [BZ #13760]
1834 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1835 in the right place. Discard and retry query if response is
1836 larger than input buffer size.
1837
41bf21a1
JM
18382012-03-28 Joseph Myers <joseph@codesourcery.com>
1839
d6270972
JM
1840 [BZ #369]
1841 [BZ #2678]
1842 [BZ #3866]
1843 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1844 x for large integer exponent.
1845 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1846 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
1847 sign of result as needed afterwards.
1848 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1849 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1850 result for underflowing pow the same as for overflow.
1851 (__kernel_standard_l): Handle powl overflow and underflow here
1852 rather than calling __kernel_standard.
1853 * math/libm-test.inc (pow_test): Add more tests.
1854
414fca03 1855 [BZ #3868]
41bf21a1
JM
1856 [BZ #13879]
1857 [BZ #13910]
1858 [BZ #13911]
1859 [BZ #13912]
1860 [BZ #13913]
1861 [BZ #13915]
1862 [BZ #13916]
1863 [BZ #13917]
1864 [BZ #13918]
1865 [BZ #13919]
1866 [BZ #13920]
1867 [BZ #13921]
1868 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1869 * sysdeps/ieee754/k_standard.c: Include <float.h>.
1870 (__kernel_standard_l): New function.
1871 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1872 __kernel_standard.
1873 * math/w_acosl.c (__acosl): Likewise.
1874 * math/w_asinl.c (__asinl): Likewise.
1875 * math/w_atan2l.c (__atan2l): Likewise.
1876 * math/w_atanhl.c (__atanhl): Likewise.
1877 * math/w_coshl.c (__coshl): Likewise.
1878 * math/w_exp10l.c (__exp10l): Likewise.
1879 * math/w_exp2l.c (__exp2l): Likewise.
1880 * math/w_fmodl.c (__fmodl): Likewise.
1881 * math/w_hypotl.c (__hypotl): Likewise.
1882 * math/w_j0l.c (__j0l, __y0l): Likewise.
1883 * math/w_j1l.c (__j1l, __y1l): Likewise.
1884 * math/w_jnl.c (__jnl, __ynl): Likewise.
1885 * math/w_lgammal.c (__lgammal): Likewise.
1886 * math/w_log10l.c (__log10l): Likewise.
1887 * math/w_log2l.c (__log2l): Likewise.
1888 * math/w_logl.c (__logl): Likewise.
1889 * math/w_powl.c (__powl): Likewise.
1890 * math/w_remainderl.c (__remainderl): Likewise.
1891 * math/w_scalbl.c (sysv_scalbl): Likewise.
1892 * math/w_sinhl.c (__sinhl): Likewise.
1893 * math/w_sqrtl.c (__sqrtl): Likewise.
1894 * math/w_tgammal.c (__tgammal): Likewise.
1895 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1896 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1897 * math/libm-test.inc (acos_test): Add more tests.
1898 (acosh_test): Likewise.
1899 (asin_test): Likewise.
1900 (atanh_test): Likewise.
1901 (exp_test): Likewise.
1902 (exp10_test): Likewise.
1903 (exp2_test): Likewise.
1904 (expm1_test): Likewise.
1905 (lgamma_test): Likewise.
1906 (log_test): Likewise.
1907 (log10_test): Likewise.
1908 (log1p_test): Likewise.
1909 (log2_test): Likewise.
1910 (pow_test): Do not allow some spurious overflow exceptions.
1911 (sqrt_test): Add more tests.
1912 (tgamma_test): Likewise.
1913 (y0_test): Likewise.
1914 (y1_test): Likewise.
1915 (yn_test): Likewise.
1916
dd62fda6
AB
19172012-03-27 Anton Blanchard <anton@samba.org>
1918
1919 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1920 MAP_HUGETLB.
1921 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1922 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1923 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1924
1e3cdfda
AJ
19252012-03-27 David S. Miller <davem@davemloft.net>
1926
b855ab85
DM
1927 * conform/Makefile: Run run-conformtest.sh using $(BASH).
1928
1e3cdfda
AJ
1929 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1930 have-as-vis3 check.
1931
19322012-03-27 Andreas Jaeger <aj@suse.de>
1933
1934 * sysdeps/x86_64/elf/configure.in: Moved to ...
1935 * sysdeps/x86_64/configure.in: ... here.
1936 * sysdeps/x86_64/elf/start.S: Moved to ...
1937 * sysdeps/x86_64/start.S: ... here.
1938 * sysdeps/x86_64/elf/configure: Delete.
1939
1940 * sysdeps/x86_64/configure.in: Merge contents from
1941 sysdeps/i386/configure.in (without i686 check).
1942
1943 * sysdeps/i386/elf/Versions: Merge into ...
1944 * sysdeps/i386/Versions: ... this.
1945 * sysdeps/i386/elf/Versions: Delete file.
1946 * sysdeps/i386/elf/start.S: Moved to ...
1947 * sysdeps/i386/start.S: ...here.
1948 * sysdeps/i386/elf/configure.in: Merge into...
1949 * sysdeps/i386/configure.in: ...here.
1950 * sysdeps/i386/elf/configure.in: Delete file.
1951 * sysdeps/i386/elf/configure: Delete file.
1952
1953 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1954 * debug/backtracesyms.c: ... here.
1955 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1956 * debug/backtracesymsfd.c: ... here.
1957 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1958 * sysdeps/generic/ifunc-sel.h: ... here.
1959
1960 * sysdeps/unix/i386/start.c: Delete file.
1961 * sysdeps/unix/sparc/start.c: Delete file.
1962 * sysdeps/unix/start.c: Delete file.
1963
1964 * sysdeps/sh/elf/configure.in: Moved to ...
1965 * sysdeps/sh/configure.in: ... here.
1966 * sysdeps/sh/elf/start.S: Moved to ...
1967 * sysdeps/sh/start.S: ... here.
1968 * sysdeps/sh/elf/configure: Delete file.
1969
1970 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1971 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1972 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1973 * sysdeps/powerpc/powerpc64/entry.h: ... here.
1974 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1975 * sysdeps/powerpc/powerpc64/start.S: here.
1976 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1977 * sysdeps/powerpc/powerpc64/Makefile: ... this.
1978 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1979 * sysdeps/powerpc/powerpc64/configure.in: ... this.
1980 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1981
1982 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1983 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1984 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1985 * sysdeps/powerpc/powerpc32/start.S: ... here.
1986 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1987 * sysdeps/powerpc/powerpc32/configure.in: ... this.
1988 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1989
1990 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1991 * sysdeps/powerpc/ifunc-sel.h: ... here.
1992 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1993 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1994
1995 * sysdeps/sparc/elf/configure.in: Moved to ...
1996 * sysdeps/sparc/configure.in: ... here.
1997 * sysdeps/sparc/elf/configure: Delete file.
1998 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1999 * sysdeps/sparc/sparc32/start.S: ... here.
2000 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2001 * sysdeps/sparc/sparc64/start.S: ... here.
2002 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2003 * sysdeps/sparc/sparc32/Makefile: ... this.
2004 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2005 * sysdeps/sparc/sparc64/Makefile: ... this.
2006
2007 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2008 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2009 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2010 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2011 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2012 * sysdeps/s390/s390-32/setjmp.S: ... here.
2013 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2014 * sysdeps/s390/s390-32/configure.in: ... here.
2015 * sysdeps/s390/s390-32/elf/configure: Delete file.
2016 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2017 * sysdeps/s390/s390-32/start.S: ... here.
2018
2019 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2020 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2021 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2022 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2023 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2024 * sysdeps/s390/s390-64/setjmp.S: ... here.
2025 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2026 * sysdeps/s390/s390-64/configure.in: ... here
2027 * sysdeps/s390/s390-64/elf/configure: Delete file.
2028 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2029 * sysdeps/s390/s390-64/start.S: ... here.
2030 * sysdeps/s390/s390-64/elf/configure: Delete.
2031
2032 * configure.in: Remove support for elf directories in sysdeps.
2033
2034 * configure: Regenerated.
2035 * sysdeps/i386/configure: Regenerated.
2036 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2037 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2038 * sysdeps/s390/s390-32/configure: Regenerated.
2039 * sysdeps/s390/s390-64/configure: Regenerated.
2040 * sysdeps/sh/configure: Regenerated.
2041 * sysdeps/sparc/configure: Regenerated.
2042 * sysdeps/x86_64/configure: Regenerated.
2043
a3f61311
AS
20442012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2045
c876e002
AS
2046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2047
a3f61311
AS
2048 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2049 denormal result into account.
2050
ac4c54f0
RM
20512012-03-25 Roland McGrath <roland@hack.frob.com>
2052
2053 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2054 Reported by Allan McRae <allan@archlinux.org>.
2055
6a9b9c02
JL
20562012-03-23 Jeff Law <law@redhat.com>
2057
2058 * nss/getnssent.c (__nss_getent): Fix typo.
2059
4c42a0c1
DM
20602012-03-23 David S. Miller <davem@davemloft.net>
2061
2062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2063
1532c7ac
L
20642012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2065
2066 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2067 to pad to uint64_t for each field.
2068 (dl_tls_index): Replace unsigned long with uint64_t.
2069
3ff42526
PP
20702012-03-23 Daniel Jacobowitz <dmj@google.com>
2071 Paul Pluzhnikov <ppluzhnikov@google.com>
2072
2073 [BZ #6528]
2074 * grp/Makefile (otherlibs): Don't set it.
2075 * inet/Makefile (otherlibs): Likewise.
2076 * login/Makefile (otherlibs): Likewise.
2077 * nscd/Makefile (otherlibs): Likewise.
2078 * posix/Makefile (otherlibs): Likewise.
2079 * pwd/Makefile (otherlibs): Likewise.
2080 * rt/Makefile (otherlibs): Likewise.
2081 * sunrpc/Makefile (otherlibs): Likewise.
2082 * nss/Makefile (otherlibs): Likewise.
2083 Add libnss_files to routines and static-only-routines.
2084 ($(objpfx)getent): Remove rule.
2085 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2086 static-only-routines.
2087
7c69cd14
JM
20882012-03-22 Joseph Myers <joseph@codesourcery.com>
2089
2090 [BZ #13892]
2091 * math/s_cexp.c: Include <float.h>.
2092 (__cexp): Handle exp result overflowing not necessarily
2093 overflowing both real and imaginary parts of result.
2094 * math/s_cexpf.c: Likewise.
2095 * math/s_cexpl.c: Likewise.
2096 * math/libm-test.inc (cexp_test): Add more tests.
2097 * sysdeps/i386/fpu/libm-test-ulps: Update.
2098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2099
81b035fe
L
21002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2101
2102 * include/link.h (ELFW): New macro.
2103 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2104 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2105
1da7940c
L
21062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2107
2108 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2109 with uint64_t.
2110
b749dbb9
L
21112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2112
2113 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2114 declaration.
2115 (struct La_x32_retval): Likewise.
2116
2ff87f3f
L
21172012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2118
2119 * sysdeps/x86_64/preconfigure.in: New file.
2120 * sysdeps/x86_64/preconfigure: New generated file.
2121
c0df8e69
JM
21222012-03-22 Joseph Myers <joseph@codesourcery.com>
2123
48e44791
JM
2124 [BZ #13824]
2125 * math/e_exp2l.c: Include <float.h>.
2126 (__ieee754_exp2l): Handle overflow and underflow cases
2127 separately. Only pass fractional part of argument to
2128 __ieee754_expl.
2129 * math/libm-test.inc (exp2_test): Add more tests.
2130
c0df8e69
JM
2131 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2132 negating x to take absolute value.
2133 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2134 Likewise.
2135 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2136 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2137 Likewise.
2138 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2139 computing low part if x was negated.
2140 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2141
c8e43ba7
L
21422012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2143
2144 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2145 la_x32_gnu_pltexit.
2146 (pltexit): Cast int_retval to ptrdiff_t.
2147 * elf/tst-auditmod3b.c: Likewise.
2148 * elf/tst-auditmod4b.c: Likewise.
2149 * elf/tst-auditmod5b.c: Likewise.
2150 * elf/tst-auditmod6b.c: Likewise.
2151 * elf/tst-auditmod6c.c: Likewise.
2152 * elf/tst-auditmod7b.c: Likewise.
2153
2154 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2155 and x32_gnu_pltexit.
2156
2157 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2158 __ELF_NATIVE_CLASS.
2159 (La_x32_regs): New macro.
2160 (La_x32_retval): Likewise.
2161 (la_x32_gnu_pltenter): New function prototype.
2162 (la_x32_gnu_pltexit): Likewise.
2163
7998fa78
AS
21642012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2165
dcb33988
AS
2166 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2167 exponent.
2168
233fc563
AS
2169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2170
7998fa78
AS
2171 * configure.in (libc_cv_cc_nofma): Check for option to disable
2172 generation of FMA instructions.
2173 * configure: Regenerate.
2174 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2175 * sysdeps/ieee754/dbl-64/Makefile: New file.
2176 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2177 Remove brandred-fma4.
2178 (CFLAGS-brandred-fma4.c): Remove.
2179 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2180 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2181 define.
2182 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2183 define.
2184
8e95c99a
L
21852012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2186
2187 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2188 LLONG_MAX != LONG_MAX.
2189 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2190 (_fitoa_word): Likewise.
2191 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2192 LLONG_MAX != LONG_MAX.
2193 * stdio-common/_itowa.h: Include <_itoa.h>.
2194 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2195 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2196 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2197 only if not defined.
2198 (_ITOA_WORD_TYPE): Likewise.
2199 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2200 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2201
6f4db457
DM
22022012-03-21 David S. Miller <davem@davemloft.net>
2203
2204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2205
7785fe5a
L
22062012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2207
2208 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2209 of x86_64 when setting libc_cv_slibdir, libdir and
2210 libc_cv_localedir.
2211 * sysdeps/unix/sysv/linux/configure: Regenerated.
2212
4535cd55
JM
22132012-03-21 Joseph Myers <joseph@codesourcery.com>
2214
2215 * manual/lang.texi (Old Varargs): Remove section.
2216 (How Variadic): Update menu.
2217 (va_start): Do not mention varargs.h.
2218
17228132
TS
22192012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2220 Joseph Myers <joseph@codesourcery.com>
2221
2222 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2223 link test.
2224 * configure: Regenerated.
2225
8149f976
TS
22262012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2227
05f3d1f6
UD
2228 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2229 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2230 conformtest.pl
8149f976 2231
1a4ac776
JM
22322012-03-21 Joseph Myers <joseph@codesourcery.com>
2233
be22ce65
JM
2234 * NOTES: Remove.
2235 * Makefile (files-for-dist): Remove NOTES.
2236 (NOTES): Remove rule.
2237 * README: Don't refer to NOTES.
2238 * manual/creature.texi: Don't include macros.texi.
2239 * manual/intro.texi (creature.texi): Remove comment referring to
2240 NOTES.
2241
40b601fb
JM
2242 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2243 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2244 * configure: Regenerated.
2245 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2246 LIBC_TRY_CC_OPTION.
2247 (libc_cv_as_i686): Likewise.
2248 (libc_cv_cc_avx): Likewise.
2249 (libc_cv_cc_sse2avx): Likewise.
2250 (libc_cv_cc_fma4): Likewise.
2251 (libc_cv_cc_novzeroupper): Likewise.
2252 * sysdeps/i386/configure: Regenerated.
2253
1a4ac776
JM
2254 [BZ #13883]
2255 * sysdeps/i386/fpu/s_cexp.S: Remove.
2256 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2257 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2258 * math/libm-test.inc (cexp_test): Add more tests.
2259 * sysdeps/i386/fpu/libm-test-ulps: Update.
2260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2261
a458e7fe
AM
22622012-03-21 Allan McRae <allan@archlinux.org>
2263
2264 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2265
0cb7efc5
JM
22662012-03-21 Joseph Myers <joseph@codesourcery.com>
2267
2268 [BZ #13871]
2269 * math/w_exp2.c: Do not include <float.h>.
2270 (o_threshold, u_threshold): Remove.
2271 (__exp2): Calculate result before checking finiteness and calling
2272 __kernel_standard.
2273 * math/w_exp2f.c: Likewise.
2274 * math/w_exp2l.c: Likewise.
2275 * math/libm-test.inc (exp2_test): Require overflow exception for
2276 1e6 input.
2460d3aa
JM
2277
2278 [BZ #3866]
2279 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2280 range of signed 64-bit integers before using fistpll. Remove
2281 checks for whether integers fit in mantissa bits.
2282 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2283 the range of signed 32-bit integers before using fistpl. Remove
2284 checks for whether integers fit in mantissa bits.
2285 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2286 (__ieee754_powl): Test for y outside the range of signed 64-bit
2287 integers before using fistpll. Reduce 64-bit values to 63-bit
2288 ones as needed.
2289 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2290 divide-by-zero is raised for zero to large negative powers.
2291 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2292 (__ieee754_powl): Test for y outside the range of signed 64-bit
2293 integers before using fistpll. Reduce 64-bit values to 63-bit
2294 ones as needed.
2295 * math/libm-test.inc (pow_test): Add more tests.
2296
eb96ffb0
L
22972012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2298
2299 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2300 <stdio-common/_itoa.h>.
2301 * debug/segfault.c: Likewise.
2302 * elf/dl-cache.c: Likewise.
2303 * elf/dl-minimal.c: Likewise.
2304 * elf/dl-misc.c: Likewise.
2305 * elf/dl-sysdep.c: Likewise.
2306 * elf/dl-version.c: Likewise.
2307 * elf/rtld.c: Likewise.
2308 * hurd/hurdsock.c: Likewise.
2309 * hurd/lookup-retry.c: Likewise.
2310 * malloc/malloc.c: Likewise.
2311 * malloc/mtrace.c: Likewise.
2312 * nscd/nscd_getgr_r.c: Likewise.
2313 * nscd/nscd_getpw_r.c: Likewise.
2314 * nscd/nscd_getserv_r.c: Likewise.
2315 * posix/getopt_init.c: Likewise.
2316 * posix/wordexp.c: Likewise.
2317 * stdio-common/_itoa.c: Likewise.
2318 * stdio-common/printf_fphex.c: Likewise.
2319 * stdio-common/vfprintf.c: Likewise.
2320 * string/_strerror.c: Likewise.
2321 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2322 * sysdeps/i386/i686/hp-timing.h: Likewise.
2323 * sysdeps/mach/_strerror.c: Likewise.
2324 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2325 * sysdeps/mach/hurd/sethostid.c: Likewise.
2326 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2327 * sysdeps/mach/xpg-strerror.c: Likewise.
2328 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2329 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2330 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2331 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2332 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2333 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2334 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2335 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2336 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2337 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2338 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2339 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2340 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2341 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2342 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2343 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2344 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2345 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2346 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2347 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2348 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2349
2350 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2351
2352 * stdio-common/_itoa.h: Moved to ...
2353 * sysdeps/generic/_itoa.h: Here.
2354
2355 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2356
2357 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2358 instead of "_itoa.h" and "_itowa.h".
2359 * stdio-common/vfprintf.: Likewise.
2360
d1af992d
L
23612012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2362
2363 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2364 <bits/wordsize.h>.
2365 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2366 (__signbit): Likwise.
2367 (llrintf): Likwise.
2368 (llrint): Likwise.
2369
114883e0
L
23702012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2371
2372 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2373 __WORDSIZE != 64.
2374
c135cc1b
JM
23752012-03-20 Joseph Myers <joseph@codesourcery.com>
2376
2377 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2378 OVERFLOW_EXCEPTION_OK.
2379 * math/libm-test.inc ("Philosophy"): Update comment about
2380 exception testing.
2381 (OVERFLOW_EXCEPTION): Define.
2382 (OVERFLOW_EXCEPTION_OK): Likewise.
2383 (INVALID_EXCEPTION_OK): Renumber.
2384 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2385 (IGNORE_ZERO_INF_SIGN): Likewise.
2386 (test_exceptions): Handle FE_OVERFLOW.
2387 (exp10_test): Expect overflow exceptions.
2388 (exp2_test): Likewise.
2389 (expm1_test): Likewise.
2390 (nextafter_test): Likewise.
2391 (pow_test): Likewise.
2392 (scalbn_test): Likewise.
2393 (scalbln_test): Likewise.
2394
95443d88
L
23952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2396
2397 * sysdeps/x86_64/bits/atomic.h
2398 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2399 64bit integer.
2400 (atomic_exchange_acq): Likewise.
2401 (__arch_exchange_and_add_body): Likewise.
2402 (__arch_add_body): Likewise.
2403 (atomic_add_negative): Likewise.
2404 (atomic_add_zero): Likewise.
2405
490df6c4
L
24062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2407
c2722551 2408 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
2409 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2410
5e52b189
L
24112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2412
2413 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2414 Check __x86_64__ instead of __WORDSIZE.
2415
a9879d4c
L
24162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2417
2418 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2419
5df98260
DM
24202012-03-19 David S. Miller <davem@davemloft.net>
2421
e1497744
DM
2422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2423
5df98260
DM
2424 * sysdeps/sparc/fpu/fenv_private.h: New file.
2425 * sysdeps/sparc/fpu/math_private.h: Use it.
2426 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2427 Remove.
2428 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2429 (libc_feholdexcept_setroundl): Remove.
2430 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2431 Remove.
2432 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2433 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2434
b4c35121
L
24352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2436
2437 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2438 int64_t instead of long int.
2439 (INSERT_WORDS64): Likwise.
2440
56965fd7
L
24412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2442
2443 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2444 _Unwind_GetCFA return to _Unwind_Ptr first.
2445
83d1aec8
JM
24462012-03-19 Joseph Myers <joseph@codesourcery.com>
2447
1897ad44
JM
2448 [BZ #13629]
2449 * math/s_clog.c: Include <float.h>.
2450 (__clog): Scale large or subnormal inputs.
2451 * math/s_clogf.c: Likewise.
2452 * math/s_clogl.c: Likewise.
2453 * math/s_clog10.c: Include <float.h>.
2454 (M_LOG10_2): Define.
2455 (__clog10): Scale large or subnormal inputs.
2456 * math/s_clog10f.c: Likewise.
2457 * math/s_clog10l.c: Likewise.
2458 * math/libm-test.inc (clog_test): Add more tests.
2459 (clog10_test): Likewise.
2460 * sysdeps/i386/fpu/libm-test-ulps: Update.
2461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2462
7726d6a9
JM
2463 [BZ #11451]
2464 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2465 x and y.
2466 * math/libm-test.inc (atan2_test): Add another test.
2467
83d1aec8
JM
2468 * Makerules (common-objdir-compile): Remove.
2469 * sysdeps/unix/Makefile (config-generated): Do not add
2470 $(unix-generated) to variable.
2471 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2472 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2473 Remove rule.
2474 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2475 Likewise.
2476 [generic bits/local_lim.h] (before-compile): Do not append to
2477 variable.
2478 [generic bits/local_lim.h] (common-generated): Likewise.
2479 [generic sys/param.h] (before-compile): Do not append to variable.
2480 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2481 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2482 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2483 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2484 include.
2485 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2486 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2487 [generic sys/param.h] ($(addprefix
2488 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2489 [generic sys/param.h] (common-generated): Do not append to
2490 variable.
2491 [generic sys/param.h] (sysdep_headers): Likewise.
2492 [generic bits/errno.h] (before-compile): Do not append to
2493 variable.
2494 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2495 rule.
2496 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2497 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2498 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2499 [generic bits/errno.h] (common-generated): Do not append to
2500 variable.
2501 [generic bits/ioctls.h] (before-compile): Do not append to
2502 variable.
2503 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2504 rule.
2505 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2506 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2507 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2508 rule.
2509 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2510 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2511 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2512 [generic bits/ioctls.h] (common-generated): Do not append to
2513 variable.
2514 [generic sys/syscall.h] (syscall.h): Remove variable.
2515 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2516 rule.
2517 [generic sys/syscall.h] (before-compile): Do not append to
2518 variable.
2519 [generic sys/syscall.h] (common-generated): Likewise.
2520 * sysdeps/unix/errnos-tmpl.c: Remove file.
2521 * sysdeps/unix/errnos.awk: Likewise.
2522 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2523 * sysdeps/unix/ioctls.awk: Likewise.
2524 * sysdeps/unix/mk-local_lim.c: Likewise.
2525 * sysdeps/unix/snarf-ioctls: Likewise.
2526
4851a949
RH
25272012-03-19 Richard Henderson <rth@twiddle.net>
2528
bd37f2ee
RH
2529 * sysdeps/i386/fpu/fenv_private.h: New file.
2530 * sysdeps/i386/fpu/math_private.h: Use it.
2531 (math_opt_barrier, math_force_eval): Remove.
2532 (libc_feholdexcept_setround_53bit): Remove.
2533 (libc_feupdateenv_53bit): Remove.
2534 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2535 (math_opt_barrier, math_force_eval): Remove.
2536 (libc_feholdexcept): Remove.
2537 (libc_feholdexcept_setround): Remove.
2538 (libc_fetestexcept, libc_fesetenv): Remove.
2539 (libc_feupdateenv_test): Remove.
2540 (libc_feupdateenv, libc_feholdsetround): Remove.
2541 (libc_feresetround): Remove.
2542
d0adc922
RH
2543 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2544 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2545
0fe0f1f8
RH
2546 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2547 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2548 (libc_feupdateenv_testl): New.
2549 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2550 (libc_feupdateenv_testf): New.
2551 (libc_feupdateenv): Use libc_feupdateenv_test.
2552 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2553 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2554
eb92c487
RH
2555 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2556 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2557 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2558 (libc_feresetround_noex): New.
2559 (libc_feresetround_noexf): New.
2560 (libc_feresetround_noexl): New.
2561 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2562 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2563 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2564 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2565 SET_RESTORE_ROUND.
2566 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2567 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2568 (__cos): Likewise.
2569 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2570 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2571 SET_RESTORE_ROUND_NOEX.
2572 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2573 SET_RESTORE_ROUND_NOEXF.
2574 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2575 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2576 (libc_feholdsetroundf): New.
2577 (libc_feresetround, libc_feresetroundf): New.
2578
7d2e8012
RH
2579 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2580 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2581 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2582
b4dabbb4
RH
2583 * sysdeps/generic/math_private.h: Include <fenv.h>.
2584 (default_libc_feholdexcept): New.
2585 (default_libc_feholdexcept_setround): New.
2586 (default_libc_fesetenv, default_libc_feupdateenv): New.
2587 (libc_feholdexcept): Only define if undefined.
2588 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2589 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2590 (libc_feholdexcept_setroundl): Likewise.
2591 (libc_feholdexcept_setround_53bit): Likewise.
2592 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2593 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2594 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2595 (libc_feupdateenv_53bit): Likewise.
2596 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2597 (libc_feholdexcept): Convert from macro to inline function.
2598 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2599 (libc_fesetenv, libc_feupdateenv): Likewise.
2600
4851a949
RH
2601 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2602 not previously defined.
2603 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2604 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2605 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2606 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2607 * sysdeps/ieee754/flt-32/math_private.h: New file.
2608 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2609 math_private.h below SET_FLOAT_WORD.
2610 (__isnan, __isinf_ns, __finite): Remove.
2611 (__isnanf, __isinf_nsf, __finitef): Remove.
2612
e79d442e
AS
26132012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2614
2615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2616
90b80344
DM
26172012-03-17 David S. Miller <davem@davemloft.net>
2618
2619 [BZ #6471]
2620 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2621 for 2.16.
2622
edc21804
DM
26232012-03-16 David S. Miller <davem@davemloft.net>
2624
77e927af
DM
2625 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2626 warnings.
2627
374976dd
DM
2628 [BZ #6471]
2629 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2630 properly.
2631 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2632 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2633 sysdep_routines when subdir is sysvipc.
2634 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2635 __getshmlba helper.
2636
edc21804
DM
2637 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2638
473c3ef3
L
26392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2640
2641 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2642 [__LP64__].
2643
eb0f39b6
L
26442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2645
2646 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2647 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2648 (__lround): Renamed to ...
2649 (__llround): This. Replace long int with long long int.
2650 Define lround functions as aliases of llround functions.
2651 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2652
6b6cd74b
L
26532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2654
2655 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2656 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2657 adresses to uintptr_t. Replace "long int" and "unsigned long
2658 int" with "greg_t" on va_arg.
2659
f1a77b01
L
26602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2661
2662 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2663 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2664
2665 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2666 Move e_machine check before EI_CLASS check. Handle x32
2667 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2668 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2669 SKIP_EM_IA_64 and include
2670 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2671
2672 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2673 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2674 (add_system_dir): New macro.
2675
2676 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2677 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2678
11b90b9f
JM
26792012-03-16 Joseph Myers <joseph@codesourcery.com>
2680
c36e1d23
JM
2681 [BZ #2551]
2682 [BZ #2552]
2683 [BZ #2553]
2684 [BZ #2554]
2685 [BZ #2562]
2686 [BZ #2563]
2687 [BZ #2565]
2688 [BZ #2566]
2689 [BZ #2576]
2690 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2691 (y0): Likewise.
2692 * math/w_j0f.c (j0f): Likewise.
2693 (y0f): Likewise.
2694 * math/w_j0l.c (__j0l): Likewise.
2695 (__y0l): Likewise.
2696 * math/w_j1.c (j1): Likewise.
2697 (y1): Likewise.
2698 * math/w_j1f.c (j1f): Likewise.
2699 (y1f): Likewise.
2700 * math/w_j1l.c (__j1l): Likewise.
2701 (__y1l): Likewise.
2702 * math/w_jn.c (jn): Likewise.
2703 (yn): Likewise.
2704 * math/w_jnf.c (jnf): Likewise.
2705 (ynf): Likewise.
2706 * math/w_jnl.c (__jnl): Likewise.
2707 (__ynl): Likewise.
2708 * math/libm-test.inc (j0_test): Add more tests.
2709 (j1_test): Likewise.
2710 (jn_test): Likewise. Add trailing semicolon to existing test.
2711 (y0_test): Likewise.
2712 (y1_test): Likewise.
2713 * sysdeps/i386/fpu/libm-test-ulps: Update.
2714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2715
11b90b9f
JM
2716 [BZ #13851]
2717 [BZ #13854]
2718 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2719 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2720 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2721 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2722 (__tanl): Set errno for infinite argument.
2723 * sysdeps/i386/fpu/mptan.c: Remove.
2724 * sysdeps/i386/fpu/s_tan.S: Likewise.
2725 * sysdeps/i386/fpu/s_tanl.S: Likewise.
2726 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2727 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2728 * math/libm-test.inc (tan_test): Add more tests and enable more
2729 tests for double and long double.
2730 * sysdeps/i386/fpu/libm-test-ulps: Update.
2731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2732
6a1bd2a1
JK
27332012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2734
2735 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2736 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2737
10a803e0
RM
27382012-03-16 Roland McGrath <roland@hack.frob.com>
2739
2740 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2741 * configure.in: Use it for both main tree and add-ons.
2742 * configure: Regenerated.
2743
f196c7f7
L
27442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2745
2746 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2747
8848d99d
JM
27482012-03-16 Joseph Myers <joseph@codesourcery.com>
2749
96cbe7f4
JM
2750 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2751 in comment.
2752
8848d99d
JM
2753 [BZ #13851]
2754 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2755 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2756 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2757 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2758 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2759 infinite argument.
2760 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2761 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2762 != 0 for prec == 2.
2763 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2764 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2765 * sysdeps/i386/fpu/s_cosl.S: Likewise.
2766 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2767 * sysdeps/i386/fpu/s_sinl.S: Likewise.
2768 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2769 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2770 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2771 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2772 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2773 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2774 * math/libm-test.inc (cos_test): Add more tests and enable more
2775 tests for long double.
2776 (sin_test): Likewise.
2777 (sincos_test): Likewise.
2778 * sysdeps/i386/fpu/libm-test-ulps: Update.
2779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2780
dd7f4703
DM
27812012-03-16 David S. Miller <davem@davemloft.net>
2782
2783 * sysdeps/sparc/fpu/math_private.h: New file.
2784
006f1daa
DM
27852012-03-15 David S. Miller <davem@davemloft.net>
2786
c0c83bc8
DM
2787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2788 file.
e6a62e18 2789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
2790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2791 file.
e6a62e18
DM
2792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2793 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2794 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2795 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2796 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2797 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2798 sysdep routines.
2799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2800
88cb87d9
DM
2801 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2802 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2803
006f1daa 2804 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
2805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2806 sparc-ifunc.h
006f1daa 2807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
2808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2809 Likewise.
2810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2811 Likewise.
006f1daa
DM
2812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
2815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2816 Likewise.
006f1daa
DM
2817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
2821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2822 Likewise.
2823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2824 Likewise.
006f1daa
DM
2825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2829 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2830 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2831 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2832 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2833 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2834 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2835 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2836 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2837 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2838 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2839 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2840 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2841 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2842 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2843 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2844 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2845 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2846 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2847 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2848 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2849
11e0098e
AS
28502012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2851
2852 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2853 scaling.
2854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2855
e85b09d0
AJ
28562012-03-15 Andreas Jaeger <aj@suse.de>
2857
2858 [BZ #13852]
2859 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2860 ieee754/flt-32 implementation for sin, cos and sincos.
2861 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2862 * sysdeps/i386/fpu/s_cosf.S: Likewise.
2863 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2864 * sysdeps/i386/fpu/s_sinf.S: Likewise.
2865 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2866 ieee754/flt-32 implementation for tan.
2867
2868 * math/libm-test.inc (cos_test): Enable some large input tests for
2869 float as well
2870 (sin_test): Likewise.
2871 (sincos_test): Likewise.
2872 (tan_test): Add tests for large input.
2873
2874 * sysdeps/i386/fpu/libm-test-ulps: Update.
2875
81c64153
AJ
28762012-03-15 Andreas Jaeger <aj@suse.de>
2877
2878 [BZ #13658]
2879 * math/libm-test.inc (cos_test): Add more test cases.
2880 (sin_test): Likewise.
2881 (sincos_test): Likewise.
2882
7bbfa5c6
AJ
28832012-03-15 Andreas Jaeger <aj@suse.de>
2884
2885 [BZ #13837]
2886 * math/libm-test.inc (cos_test): Add a test case for large input
2887 value.
2888 (sin_test): Likewise.
2889 (sincos_test): Likewise.
2890
28912012-03-15 Andreas Jaeger <aj@suse.de>,
2892 Joseph Myers <joseph@codesourcery.com>
2893
2894 [BZ #13658]
0671f479 2895 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
2896 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2897 * sysdeps/i386/fpu/branred.c: Likewise.
2898 * sysdeps/i386/fpu/dosincos.c: Likewise.
2899 * sysdeps/i386/fpu/mpa.c: Likewise.
2900 * sysdeps/i386/fpu/s_cos.S: Likewise.
2901 * sysdeps/i386/fpu/s_sin.S: Likewise.
2902 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2903 * sysdeps/i386/fpu/sincos32.c: Likewise.
2904
2905 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2906 Define.
2907 (libc_feupdateenv_53bit): Define.
2908 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2909 Define.
2910 (libc_feupdateenv_53bit): Define.
2911
2912 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2913 53 bit (without extend i386 double precision).
2914
2915 * math/libm-test.inc (sincos_test): Add tests for large input.
2916 (sin): Likewise.
2917 (cos): Likewise.
2918
2919 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2920
9cad04ea
AS
29212012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2922
2923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2924
f7062b9a
DM
29252012-03-15 David S. Miller <davem@davemloft.net>
2926
2927 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2928 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2929 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2930 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2936 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2937 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2938 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2939 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2940 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2941 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
2942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2943 file.
f7062b9a 2944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
2945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2946 file.
f7062b9a 2947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
2948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2949 file.
f7062b9a 2950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
2951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2952 file.
f7062b9a
DM
2953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2954 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2955 fmin/fmax sysdep routines.
2956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2957
7bd951ff
DM
29582012-03-14 David S. Miller <davem@davemloft.net>
2959
559398ab
DM
2960 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2961 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2962 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2963 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2964 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2965 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2966 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2967 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2968 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2969 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2970 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2971 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2974 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2975 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2976 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2977 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2978 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2979 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2980 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2981 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2982 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2983 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2984 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2985 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2986 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2987 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
2988 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2989 routines.
2990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2991 file.
559398ab 2992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
2993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2994 file.
559398ab 2995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
2996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2997 file.
559398ab 2998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
2999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3000 file.
559398ab 3001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
3002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3003 file.
559398ab 3004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
3005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3006 file.
3007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3008 file.
3009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3010 file.
3011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3012 file.
3013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3014 New file.
3015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3016 file.
3017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3018 file.
559398ab 3019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
3020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3021 file.
559398ab 3022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
3023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3024 file.
559398ab 3025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
3026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3027 file.
559398ab 3028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
3029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3030 VIS3 routines.
559398ab
DM
3031
3032 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3033 New file.
3034
5a1c1e32
DM
3035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3036
eae47a36
DM
3037 * sysdeps/sparc/configure.in: New file.
3038 * sysdeps/sparc/configure: Generate.
3039 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3040 * configure: Regenerate.
3041 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3042 * config.make.in (have-as-vis3): New.
3043 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3044 available use -Av9d instead of -Av9a.
3045 * sysdeps/sparc/sparc64/Makefile: Likewise.
3046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
3047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3048 New file.
3049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3050 file.
3051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3052 New file.
3053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3054 file.
eae47a36
DM
3055 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3056 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3057 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3058 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3059 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3060
c0c83bc8
DM
3061 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3062 fzeros/fnegs to load 0x80000000 into a float register instead of
3063 using the stack.
7bd951ff
DM
3064 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3065
bd951ccb
JM
30662012-03-14 Joseph Myers <joseph@codesourcery.com>
3067
3068 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3069 bits/syscall.h.
3070 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3071 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3072 ($(inst_includedir)/bits/syscall.h): Remove rule.
3073 ($(objpfx)bits/syscall.d): Include instead of
3074 $(objpfx)syscall-list.d.
3075 (generated): Change syscall-list.h and syscall-list.d to
3076 bits/syscall.h and bits/syscall.d.
3077
bb4e6db2
RM
30782012-03-14 Roland McGrath <roland@hack.frob.com>
3079
3080 [BZ #13846]
3081 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3082
aa4a2ae1
JM
30832012-03-14 Joseph Myers <joseph@codesourcery.com>
3084
e456826d
JM
3085 [BZ #13841]
3086 * math/s_csqrt.c: Include <float.h>.
3087 (__csqrt): Scale large or subnormal inputs.
3088 * math/s_csqrtf.c: Likewise.
3089 * math/s_csqrtl.c: Likewise.
3090 * math/libm-test.inc (csqrt_test): Add more tests.
3091 * sysdeps/i386/fpu/libm-test-ulps: Update.
3092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3093
aa4a2ae1
JM
3094 [BZ #13840]
3095 * math/libm-test.inc (hypot_test): Add more tests.
3096
7c10fd35
DM
30972012-03-13 David S. Miller <davem@davemloft.net>
3098
3099 [BZ #13840]
3100 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3101 double-precision for the calculation instead of scaling.
3102
f453b98b
JM
31032012-03-13 Joseph Myers <joseph@codesourcery.com>
3104
3105 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3106 manipulate bits before adding and subtracting TWO52[sx].
3107 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3108 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3109 Likewise.
3110 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3111
09a3453f
DM
31122012-03-13 David S. Miller <davem@davemloft.net>
3113
8e59da90
DM
3114 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3115 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3116 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3117 rtld-global-offsets.h
3118 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3119
2a8ab7f2
DM
3120 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3121 large parameters.
3122
10f62770
DM
3123 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3124
5f0bdb18
DM
3125 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3126 'err' in the ifdef scope in which it is actually used.
3127
09a3453f
DM
3128 * nss/nss_db/db-init.c: Include string.h
3129
b4b2eb5e
DM
31302012-03-12 David S. Miller <davem@davemloft.net>
3131
98bb2f1c
DM
3132 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3133 masking out of the most significant byte of random value used.
3134 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3135 Fix coding style in previous change.
3136
b4b2eb5e
DM
3137 * sysdeps/unix/sysv/linux/kernel-features.h
3138 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3139 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3140 expression.
3141 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3142 later.
3143
6e226b09
DM
31442012-03-11 David S. Miller <davem@davemloft.net>
3145
a1bcbd40
DM
3146 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3147 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3148 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3149 for 'resultvar' otherwise things get truncated on 64-bit.
3150
cb9d6174
DM
3151 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3152 Fix masking out of the most significant byte of random value used.
3153
6e226b09
DM
3154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3155
058c132d
AS
31562012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3157
3158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3159
2d2cd515
DM
31602012-03-09 David S. Miller <davem@davemloft.net>
3161
3162 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3163 variables with appropriate CPP guards.
3164 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3165 frame pointer, not the stack pointer. Correct layout comments. Fix test
3166 on resulting framesize and the management of the outregs buffer for pltexit.
3167 Preserve floating point return values across _dl_call_pltexit call.
3168 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3169 framesize and the management of the outregs buffer for pltexit.
3170 Preserve floating point return values across _dl_call_pltexit
3171 call.
3172 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3173 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3174 (print_exit): Fix format string for return register value.
3175
9a07f9d0
JM
31762012-03-10 Joseph Myers <joseph@codesourcery.com>
3177
3178 * sunrpc/Makefile (others): Add rpcgen.
3179 ($(objpfx)rpcgen): Remove special build rule and dependency on
3180 libc.
3181 * sunrpc/rpcgen.c: New file.
3182
547b5e30
PE
31832012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3184
c524201a
PE
3185 [BZ #13673]
3186 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3187 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3188 * sysdeps/i386/crti.S: Likewise.
3189 * sysdeps/i386/crtn.S: Likewise.
3190 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3191 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3192 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3193 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3194 * sysdeps/sh/crti.S: Likewise.
3195 * sysdeps/sh/crtn.S: Likewise.
3196 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3197
7b6235f2
PE
3198 [BZ #13673]
3199 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3200 with URL.
3201 * locale/programs/locfile-kw.gperf: Likewise.
3202 * locale/programs/charmap-kw.h: Regenerated.
3203 * locale/programs/locfile-kw.h: Likewise.
3204
547b5e30
PE
3205 [BZ #13673]
3206 * intl/plural.y: Replace FSF snail mail address with URL.
3207 * intl/plural.c: Regenerated.
3208
5f0a5dae
RH
32092012-03-09 Richard Henderson <rth@twiddle.net>
3210
3211 * include/math_private.h: Remove file.
3212 * math/math_private.h: Move file ...
3213 * sysdeps/generic/math_private.h: ... here.
3214
b8c03620
RH
3215 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3216 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3217 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3218
4e234f5d 3219 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
3220 and <math_private.h>.
3221 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3222 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3223 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3224 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3225 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3226 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3227 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3228 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3229 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3230 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3231 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3232 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3233 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3234 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3235 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3236 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3237 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3238 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3239 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3240 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3241 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3242 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3243 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3244 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3245 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3246 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3247 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3248 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3249 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3250 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3251 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3252 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3253 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3254 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3255 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3256 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3257 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3258 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3259 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3260 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3261 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3262 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3263 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3264 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3265 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3266 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3267 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3268 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3269 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3270 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3271 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3272 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3273 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3274 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3275 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3276 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3277 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3278 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3279 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3280 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3281 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3282 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3283 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3284 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3285 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3286 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3287 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3288 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3289 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3290 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3291 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3292 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3293 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3294 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3295 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3296 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3297 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3298 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3299 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3300 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3301 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3302 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3303 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3304 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3305 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3306 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3307 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3308 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3309 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3310 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3311 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3312 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3313 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3314 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3315 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3316 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3317 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3318 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3319 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3320 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3321 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3322 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3323 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3324 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3325 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3326 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3327 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3328 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3329 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3330 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3331 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3332 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3333 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3334 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3335 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3336 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3337 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3338 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3339 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3340 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3341 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3342 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3343 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3344 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3345 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3346 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3347 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3348 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3349 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3350 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3351 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3352 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3353 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3354 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3355 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3356 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3357 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3358 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3359 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3360 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3361 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3362 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3363 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3364 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3365 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3366 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3367 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3368 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3369 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3370 * sysdeps/ieee754/k_standard.c: Likewise.
3371 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3372 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3373 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3374 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3375 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3376 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3377 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3378 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3379 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3380 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3381 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3382 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3383 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3384 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3385 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3386 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3387 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3388 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3389 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3390 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3391 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3392 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3393 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3394 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3395 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3396 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3397 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3398 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3399 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3400 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3401 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3402 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3403 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3404 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3405 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3406 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3407 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3408 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3409 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3410 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3411 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3412 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3413 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3414 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3415 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3416 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3417 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3418 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3419 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3420 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3421 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3422 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3423 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3424 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3425 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3426 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3427 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3428 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3429 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3430 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3431 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3432 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3433 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3434 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3435 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3436 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3437 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3438 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3439 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3440 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3441 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3442 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3443 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3444 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3445 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3446 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3447 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3448 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3449 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3450 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3451 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3452 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3453 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3454 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3455 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3456 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3457 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3458 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3459 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3460 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3461 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3462 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3463 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3464 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3465 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3466 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3467 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3468 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3469 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3470 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3471 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3472 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3473 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3474 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3475 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3476 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3477 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3478 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3479 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3480 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3481 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3482 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3483 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3484 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3485 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3486 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3487 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3488 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3489 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3490 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3491 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3492 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3493 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3494 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3495 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3496 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3497 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3498 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3499 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3500 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3501 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3502 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3503 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3504 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3505 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3506 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3507 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3508 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3509 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3510 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3511 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3512 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3513 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3514 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3515 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3516 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3517 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3518 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3519 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3520 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3521 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3522 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3523 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3524 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3525 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3526 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3527 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3528 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3529 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3530 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3531 * sysdeps/ieee754/s_lib_version.c: Likewise.
3532 * sysdeps/ieee754/s_matherr.c: Likewise.
3533 * sysdeps/ieee754/s_signgam.c: Likewise.
3534 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3535 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3536 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3537 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3538 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3539 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3540 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3541 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3542 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3543 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3544 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3545 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3546 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3547 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3548 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3549 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3550 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3551 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3552 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3553 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3554 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 3555
1991fa03
JM
35562012-03-09 Joseph Myers <joseph@codesourcery.com>
3557
3558 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3559 * sunrpc/rpc_main.c: Likewise.
3560 * sunrpc/rpc_svcout.c: Likewise.
3561
60d6f5a6
DM
35622012-03-09 David S. Miller <davem@davemloft.net>
3563
3564 * include/math_private.h: New file.
3565
4962050e
JM
35662012-03-09 Joseph Myers <joseph@codesourcery.com>
3567
02a6f887
JM
3568 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3569 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3570 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3571 from <bits/socket_type.h>.
3572 (enum __socket_type): Don't define here.
3573 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3574 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3575 bits/socket_type.h.
3576
c6e013c1
JM
3577 [BZ #13566]
3578 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3579 checking __USE_GNU.
3580
4962050e
JM
3581 * Makerules ($(inst_includedir)/%.h): New rule.
3582 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3583 (install-others): Remove variable setting.
3584 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3585
38842f45
RH
35862012-03-08 Richard Henderson <rth@twiddle.net>
3587
67bb6da6
RH
3588 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3589 from macro to inline function; merge with the
3590 !__LIBC_INTERNAL_MATH_INLINES version.
3591 (__ieee754_sqrtf): Likewise.
3592
15194b4b
RH
3593 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3594 to inline function.
3595 (__rintf, __floor, __floorf): Likewise.
3596
64e21ede
RH
3597 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3598 macro to inline function.
3599 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3600
38842f45
RH
3601 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3602 not <math/math_private.h>.
3603
c64bf5fe
DM
36042012-03-08 David S. Miller <davem@davemloft.net>
3605
3606 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3607 copyright year.
3608 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3609
82d86f28
TS
36102012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3611
3612 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3613 normalization.
3614 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3615 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3616
aea5d727
UD
36172012-03-08 Ulrich Drepper <drepper@gmail.com>
3618
3619 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3620 be defined individually, they must be defined as a block. Define
3621 S for printing a string instead of hidint the different by using a
3622 macro for adding the 'l'.
3623 * stdio-common/tst-fphex-wide.c: Adjust.
3624
70bca0a3
MP
36252012-03-07 Marek Polacek <polacek@redhat.com>
3626
3627 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3628
65b81130
MP
36292012-03-08 Marek Polacek <polacek@redhat.com>
3630
3631 [BZ #13806]
3632 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3633 * stdio-common/tst-fphex.c: Define a few macros to make the
3634 test reusable. Use them.
3635 * stdio-common/tst-fphex-wide.c: New file.
3636
07037eeb
JM
36372012-03-08 Joseph Myers <joseph@codesourcery.com>
3638
a7a93d50
JM
3639 [BZ #6911]
3640 * manual/macros.texi (gnusystems): New macro.
3641 (nongnusystems): Likewise.
3642 (gnulinuxhurdsystems): Likewise.
3643 (gnuhurdsystems): Likewise..
3644 (gnulinuxsystems): Likewise.
3645 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3646 variants of the GNU system, not "GNU system".
3647 * manual/conf.texi: Likewise.
3648 * manual/errno.texi: Likewise. Update example of errno macro
3649 expansion.
3650 * manual/filesys.texi: Likewise.
3651 (getumask): Document as specific to GNU/Hurd.
3652 * manual/install.texi: Likewise. Reword some references to
3653 GNU/Linux.
3654 * manual/intro.texi: Likewise.
3655 * manual/io.texi: Likewise.
3656 (File Name Portability): Detail which constraints are inapplicable
3657 to all GNU systems and which are only inapplicable to GNU/Hurd.
3658 * manual/job.texi: Likewise.
3659 * manual/llio.texi: Likewise.
3660 (O_NOCTTY): Document as present on GNU/Linux.
3661 * manual/maint.texi: Likewise.
3662 * manual/memory.texi: Likewise.
3663 * manual/pattern.texi: Likewise.
3664 * manual/pipe.texi: Likewise.
3665 * manual/process.texi: Likewise.
3666 * manual/resource.texi: Likewise.
3667 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3668 child on GNU/Hurd.
3669 * manual/setjmp.texi: Likewise.
3670 * manual/signal.texi: Likewise.
3671 * manual/startup.texi: Likewise.
3672 * manual/stdio.texi: Likewise.
3673 * manual/terminal.texi: Likewise.
3674 (ONLCR): Document as POSIX.
3675 (OXTABS): Document availability on GNU/Linux as XTABS.
3676 (ONOEOT): Document availability separately from other bits.
3677 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3678 * manual/time.texi: Likewise.
3679 * manual/users.texi: Likewise.
3680 * INSTALL: Regenerated.
3681 * sysdeps/gnu/errlist.c: Regenerated.
3682
07037eeb
JM
3683 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3684 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3685 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
3686 puts.
3687 * configure: Regenerated.
3688
d1d3431a
JM
36892012-03-07 Joseph Myers <joseph@codesourcery.com>
3690
af6a1e37
JM
3691 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3692 default includes instead of AC_HEADER_CHECK.
3693 * sysdeps/i386/configure: Regenerated.
3694
d1d3431a
JM
3695 [BZ #10716]
3696 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3697 * math/s_cacoshf.c (__cacoshf): Likewise.
3698 * math/s_cacoshl.c (__cacoshl): Likewise.
3699 * math/s_casinh.c (__casinh): Set signs of result from argument.
3700 * math/s_casinhf.c (__casinhf): Likewise.
3701 * math/s_casinhl.c (__casinhl): Likewise.
3702 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3703 (casinh_test): Add more tests.
3704 * sysdeps/i386/fpu/libm-test-ulps: Update.
3705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3706
482ff4da
UD
37072012-03-07 Ulrich Drepper <drepper@gmail.com>
3708
872fda05
UD
3709 * po/zh_TW.po: Update from translation team.
3710
a4300c7a
UD
3711 * login/Makefile (distribute): Remove variable.
3712 * catgets/Makefile: Likewise.
3713 * mach/Makefile: Likewise.
3714 * malloc/Makefile: Likewise.
3715 * misc/Makefile: Likewise.
3716 * iconv/Makefile: Likewise.
3717 * nscd/Makefile: Likewise.
3718 * hurd/Makefile: Likewise.
3719 * manual/Makefile: Likewise.
3720 * locale/Makefile: Likewise.
3721 * intl/Makefile: Likewise.
3722 * conform/Makefile: Likewise.
3723 * nss/Makefile: Likewise.
3724 * time/Makefile: Likewise.
3725 * soft-fp/Makefile: Likewise.
3726 * dirent/Makefile: Likewise.
3727 * gmon/Makefile: Likewise.
3728 * po/Makefile: Likewise.
3729 * rt/Makefile: Likewise.
3730 * socket/Makefile: Likewise.
3731 * math/Makefile: Likewise.
3732 * signal/Makefile: Likewise.
3733 * debug/Makefile: Likewise.
3734 * elf/Makefile: Likewise.
3735 * timezone/Makefile: Likewise.
3736 * stdlib/Makefile: Likewise.
3737 * iconvdata/Makefile: Likewise.
3738 * sunrpc/Makefile: Likewise.
3739 * io/Makefile: Likewise.
3740 * argp/Makefile: Likewise.
3741 * inet/Makefile: Likewise.
3742 * hesiod/Makefile: Likewise.
3743 * grp/Makefile: Likewise.
3744 * csu/Makefile: Likewise.
3745 * wctype/Makefile: Likewise.
3746 * crypt/Makefile: Likewise.
3747 * libio/Makefile: Likewise.
3748 * string/Makefile: Likewise.
3749 * nis/Makefile: Likewise.
3750 * resolv/Makefile: Likewise.
3751 * stdio-common/Makefile: Likewise.
3752 * wcsmbs/Makefile: Likewise.
3753 * dlfcn/Makefile: Likewise.
3754 * posix/Makefile: Likewise.
3755
3b7c4e74 3756 [BZ #6959]
482ff4da
UD
3757 * timezone/Makefile: Don't install timezone files, just the programs
3758 and scripts.
3759
f72ed77d
UD
37602012-03-06 Ulrich Drepper <drepper@gmail.com>
3761
a000466f
UD
3762 * nss/databases.def: Add missing gshadow entry.
3763
f72ed77d
UD
3764 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
3765
a53b7a4e
MP
37662012-03-06 Marek Polacek <polacek@redhat.com>
3767
3768 [BZ #13726]
3769 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3770 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3771 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3772 * stdio-common/tst-long-dbl-fphex.c: New file.
3773
e9258400
DM
37742012-03-06 David S. Miller <davem@davemloft.net>
3775
3776 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3777 (set_obp_int): New function.
3778 (get_obp_int): New function.
3779 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
3780 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3781 Avoid unused variable warnings on 'val' and use builtin_expect.
3782 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3783 __builtin_expect.
e9258400
DM
3784 (INLINE_CLONE_SYSCALL): Likewise.
3785
3bd2c723
DM
37862012-03-05 David S. Miller <davem@davemloft.net>
3787
3788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3789
bbb78d03
AS
37902012-03-05 Andreas Schwab <schwab@linux-m68k.org>
3791
884c5db4
AS
3792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3793
bbb78d03
AS
3794 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3795 only for |x| >= 40.
3796 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3797
1c9f702a 37982012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
3799
3800 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3801 Replace gettimeofday with __vdso_gettimeofday.
3802
7be16f82
RM
3803 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3804 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3805 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
3806
3807 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3808 time with __vdso_time.
3809
ed58a00f
JM
38102012-03-05 Joseph Myers <joseph@codesourcery.com>
3811
3812 * manual/lang.texi (size_t): Note types to which size_t may be
3813 equivalent with the GNU C Library, but do not describe when
3814 differences between them are significant.
3815
30ee4ced
AJ
38162012-03-05 Andreas Jaeger <aj@suse.de>
3817
3818 * sysdeps/i386/fpu/libm-test-ulps: Update.
3819
b7cd39e8
JM
38202012-03-05 Joseph Myers <joseph@codesourcery.com>
3821
3822 [BZ #3976]
3823 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3824 (__ieee754_pow): Save and restore rounding mode and use
3825 round-to-nearest for main computations.
3826 * math/libm-test.inc (pow_test_tonearest): New function.
3827 (pow_test_towardzero): Likewise.
3828 (pow_test_downward): Likewise.
3829 (pow_test_upward): Likewise.
3830 (main): Call the new functions.
3831 * sysdeps/i386/fpu/libm-test-ulps: Update.
3832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
3833
3834 [BZ #3976]
3835 * math/libm-test.inc (cosh_test_tonearest): New function.
3836 (cosh_test_towardzero): Likewise.
3837 (cosh_test_downward): Likewise.
3838 (cosh_test_upward): Likewise.
3839 (sinh_test_tonearest): Likewise.
3840 (sinh_test_towardzero): Likewise.
3841 (sinh_test_downward): Likewise.
3842 (sinh_test_upward): Likewise.
3843 (main): Call the new functions.
3844 * sysdeps/i386/fpu/libm-test-ulps: Update.
3845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3846
6c6a98c9
TV
38472012-03-05 Tom de Vries <tom@codesourcery.com>
3848
3849 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3850 default stack guard is set in last bytes.
3851 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3852
21bb2d2e 38532012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 3854
21bb2d2e 3855 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 3856
21bb2d2e
AJ
3857 [BZ #13656]
3858 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3859 possibly allocate from heap instead of stack.
3860 * stdio-common/bug-vfprintf-nargs.c: New file.
3861 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 3862
c6922934
AS
38632012-03-03 Andreas Schwab <schwab@linux-m68k.org>
3864
3865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3866
bc957d53
MP
38672012-03-03 Marek Polacek <polacek@redhat.com>
3868
3869 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3870 * math/math_private.h: Likewise.
3871 * stdlib/tst-strtod.c: Likewise.
3872 * sysdeps/i386/i486/bits/atomic.h: Likewise.
3873 * sysdeps/x86_64/bits/atomic.h: Likewise.
3874
6358490d
DM
38752012-03-02 David S. Miller <davem@davemloft.net>
3876
3877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3881 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3882 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3883 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3884 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3885
01ae168d
RM
38862012-03-02 Roland McGrath <roland@hack.frob.com>
3887
d9a17c07
RM
3888 [BZ #13792]
3889 * manual/examples/README: New file, says the example source files
3890 can be used under GPL>=2.
3891 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3892 line containing just "*/".
3893 * manual/examples/add.c: Add copyright header (GPL>=2).
3894 * manual/examples/argp-ex1.c: Likewise.
3895 * manual/examples/argp-ex2.c: Likewise.
3896 * manual/examples/argp-ex3.c: Likewise.
3897 * manual/examples/argp-ex4.c: Likewise.
3898 * manual/examples/atexit.c: Likewise.
3899 * manual/examples/db.c: Likewise.
3900 * manual/examples/dir.c: Likewise.
3901 * manual/examples/dir2.c: Likewise.
3902 * manual/examples/execinfo.c: Likewise.
3903 * manual/examples/filecli.c: Likewise.
3904 * manual/examples/filesrv.c: Likewise.
3905 * manual/examples/fmtmsgexpl.c: Likewise.
3906 * manual/examples/genpass.c: Likewise.
3907 * manual/examples/inetcli.c: Likewise.
3908 * manual/examples/inetsrv.c: Likewise.
3909 * manual/examples/isockad.c: Likewise.
3910 * manual/examples/longopt.c: Likewise.
3911 * manual/examples/memopen.c: Likewise.
3912 * manual/examples/memstrm.c: Likewise.
3913 * manual/examples/mkfsock.c: Likewise.
3914 * manual/examples/mkisock.c: Likewise.
3915 * manual/examples/mygetpass.c: Likewise.
3916 * manual/examples/pipe.c: Likewise.
3917 * manual/examples/popen.c: Likewise.
3918 * manual/examples/rprintf.c: Likewise.
3919 * manual/examples/search.c: Likewise.
3920 * manual/examples/select.c: Likewise.
3921 * manual/examples/setjmp.c: Likewise.
3922 * manual/examples/sigh1.c: Likewise.
3923 * manual/examples/sigusr.c: Likewise.
3924 * manual/examples/stpcpy.c: Likewise.
3925 * manual/examples/strdupa.c: Likewise.
3926 * manual/examples/strftim.c: Likewise.
3927 * manual/examples/strncat.c: Likewise.
3928 * manual/examples/subopt.c: Likewise.
3929 * manual/examples/swapcontext.c: Likewise.
3930 * manual/examples/termios.c: Likewise.
3931 * manual/examples/testopt.c: Likewise.
3932 * manual/examples/testpass.c: Likewise.
3933 * manual/examples/timeval_subtract.c: Likewise.
3934
01ae168d
RM
3935 [BZ #13792]
3936 * manual/time.texi (Elapsed Time): Move timeval_subtract example
3937 function to ...
3938 * manual/timeval_subtract.c.texi: ... here, new file.
3939
49efa33d
DM
39402012-03-02 David S. Miller <davem@davemloft.net>
3941
3942 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3943
28afd92d
JM
39442012-03-02 Joseph Myers <joseph@codesourcery.com>
3945
804360ed
JM
3946 [BZ #3976]
3947 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3948 (__sin): Save and restore rounding mode and use round-to-nearest
3949 for all computations.
3950 (__cos): Save and restore rounding mode and use round-to-nearest
3951 for all computations.
3952 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3953 <fenv.h>.
3954 (tan): Save and restore rounding mode and use round-to-nearest for
3955 all computations.
3956 * math/libm-test.inc (cos_test_tonearest): New function.
3957 (cos_test_towardzero): Likewise.
3958 (cos_test_downward): Likewise.
3959 (cos_test_upward): Likewise.
3960 (sin_test_tonearest): Likewise.
3961 (sin_test_towardzero): Likewise.
3962 (sin_test_downward): Likewise.
3963 (sin_test_upward): Likewise.
3964 (tan_test_tonearest): Likewise.
3965 (tan_test_towardzero): Likewise.
3966 (tan_test_downward): Likewise.
3967 (tan_test_upward): Likewise.
3968 (main): Call the new functions.
3969 * sysdeps/i386/fpu/libm-test-ulps: Update.
3970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3971
a6d06d7b
JM
3972 [BZ #10135]
3973 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3974 small n, then large n, before computing and testing k+n.
3975 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3976 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3977 Likewise.
3978 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3979 Likewise.
3980 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3981 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3982 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3983 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3984 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3985 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3986 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3987 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3988 * math/libm-test.inc (scalbn_test): Add more tests.
3989 (scalbln_test): Likewise.
3990
07e12bb3
JM
3991 * manual/filesys.texi (mode_t): Describe constraints on size and
3992 signedness, not exact equivalence to a particular type.
3993 (ino_t): Likewise.
3994 (ino64_t): Likewise.
3995 (dev_t): Likewise.
3996 (nlink_t): Likewise.
3997 (blkcnt_t): Likewise.
3998 (blkcnt64_t): Likewise.
3999 * manual/llio.texi (off_t): Likewise.
4000
28afd92d
JM
4001 [BZ #3976]
4002 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4003 (__ieee754_exp): Save and restore rounding mode and use
4004 round-to-nearest for all computations.
4005 * math/libm-test.inc (exp_test_tonearest): New function.
4006 (exp_test_towardzero): Likewise.
4007 (exp_test_downward): Likewise.
4008 (exp_test_upward): Likewise.
4009 (main): Call the new functions.
4010 * sysdeps/i386/fpu/libm-test-ulps: Update.
4011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4012
b1eeb65d
CD
40132012-03-01 Chris Demetriou <cgd@google.com>
4014
4015 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4016 have predictable order.
4017
53362a4b
DM
40182012-03-01 David S. Miller <davem@davemloft.net>
4019
3c969083
DM
4020 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4021
759707de
DM
4022 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4023 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4024 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4025 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4026
dfdb8ff2
DM
4027 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4028 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4029 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4031 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4032 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4033 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4034 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4035 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4036
ead89f96
DM
4037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4038
7f66bd07
DM
4039 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4040 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4041 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4042
53362a4b
DM
4043 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4044 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4045 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4046 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4047 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4048 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4049 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4050 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4051 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4052 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4053 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4054 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4055 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4056 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4057 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4058 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4059 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4060 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4061 * sysdeps/sparc/elf/configure: Regenerated.
4062
7b1902cb
JM
40632012-03-01 Joseph Myers <joseph@codesourcery.com>
4064
bec039bc
JM
4065 * configure.in (AS, LD): Require binutils 2.20 or later.
4066 * configure: Regenerated.
4067 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4068 as required minimum version.
4069 * INSTALL: Regenerated.
4070
7b1902cb
JM
4071 [BZ #2541]
4072 [BZ #4108]
4073 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4074 before squaring exponent.
4075 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4076 bottom long double and 27 bits of top long double before squaring
4077 exponent.
4078 * math/libm-test.inc (erfc_test): Add more tests.
4079 * sysdeps/i386/fpu/libm-test-ulps: Update.
4080 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4082
f775c276
KT
40832012-03-01 Kai Tietz <ktietz@redhat.com>
4084
4085 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4086 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4087 containing bit-fields.
4088 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4089 * soft-fp/single.h (_FP_UNION_S): Likewise.
4090 * soft-fp/double.h (_FP_UNION_D): Likewise.
4091
5b8a4d4a
JM
40922012-02-29 Joseph Myers <joseph@codesourcery.com>
4093
0bab47b6
JM
4094 [BZ #13786]
4095 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4096 not include ../strcmp.S.
4097 [USE_AS_STRNCASECMP_L]: Likewise.
4098 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4099 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4100 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4101 (__strncasecmp_l_ia32): Define as alias to
4102 __strncasecmp_l_nonascii.
4103
0fcad3e2
JM
4104 [BZ #5794]
4105 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4106 * sysdeps/i386/fpu/libm-test-ulps: Update.
4107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4108
5b8a4d4a
JM
4109 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4111
8fdceb2e
JL
41122012-02-29 Jeff Law <law@redhat.com>
4113
4114 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4115 out of bounds read.
4116
1f393a11
MP
41172012-02-29 Marek Polacek <polacek@redhat.com>
4118
4119 [BZ #13706]
4120 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4121 * elf/Makefile: Add rules to run tst-unused-dep.out.
4122
8847f037
DM
41232012-02-28 David S. Miller <davem@davemloft.net>
4124
4125 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4126 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4127 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4128 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4129 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4130 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4131
169d7f11
JM
41322012-02-29 Joseph Myers <joseph@codesourcery.com>
4133
4134 * math/libm-test.inc (llround_test): Move one test from
4135 lround_test. Use TEST_f_L in moved test.
4136 (lround_test): Move misplaced test to llround_test. Add testcase
4137 from bug 2561.
4138
39adf059
UD
41392012-02-28 Ulrich Drepper <drepper@gmail.com>
4140
4141 * sysdeps/x86_64/fpu/e_expf.S: New file.
4142 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4143
71b5d1c5
SB
41442012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4145
4146 [BZ #13637]
4147 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4148 of remain_len that may cause incomplete multi-byte character and
4149 false match.
4150 * posix/bug-regex33.c: New file.
4151 * posix/Makefile (tests): Add bug-regex33.
4152
1f77f049
JM
41532012-02-28 Joseph Myers <joseph@codesourcery.com>
4154
4155 * manual/macros.texi: New file.
4156 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4157 * manual/libc.texinfo: Include macros.texi.
4158 * manual/creatute.texi: Likewise.
4159 * manual/install.texi: Likewise.
4160 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4161 @glibcadj{} in references to the GNU C Library.
4162 * manual/charset.texi: Likewise.
4163 * manual/conf.texi: Likewise.
4164 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4165 when not using those macros.
4166 * manual/creature.texi: Likewise.
4167 * manual/crypt.texi: Likewise.
4168 * manual/errno.texi: Likewise.
4169 * manual/filesys.texi: Likewise.
4170 * manual/header.texi: Likewise.
4171 * manual/install.texi: Likewise.
4172 * manual/intro.texi: Likewise.
4173 * manual/io.texi: Likewise.
4174 * manual/job.texi: Likewise.
4175 * manual/lang.texi: Likewise.
4176 * manual/libc.texiinfo: Likewise.
4177 * manual/llio.texi: Likewise.
4178 * manual/locale.texi: Likewise.
4179 * manual/maint.texi: Likewise.
4180 * manual/math.texi: Likewise.
4181 * manual/memory.texi: Likewise.
4182 * manual/message.texi: Likewise.
4183 * manual/nss.texi: Likewise.
4184 * manual/pattern.texi: Likewise.
4185 * manual/process.texi: Likewise.
4186 * manual/resource.texi: Likewise.
4187 * manual/search.texi: Likewise.
4188 * manual/setjmp.texi: Likewise.
4189 * manual/signal.texi: Likewise.
4190 * manual/socket.texi: Likewise.
4191 * manual/startup.texi: Likewise.
4192 * manual/stdio.texi: Likewise.
4193 * manual/string.texi: Likewise.
4194 * manual/sysinfo.texi: Likewise.
4195 * manual/syslog.texi: Likewise.
4196 * manual/terminal.texi: Likewise.
4197 * manual/time.texi: Likewise.
4198 * manual/users.texi: Likewise.
4199 * INSTALL: Regenerated.
4200 * NOTES: Regenerated.
d40c5d54 4201 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 4202
450bf206
AS
42032012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4204
4205 * include/dirent.h: Include <dirstream.h> before
4206 <dirent/dirent.h>.
4207
741a235b
DM
42082012-02-28 David S. Miller <davem@davemloft.net>
4209
4210 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4211 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4212 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4213 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4214
d6b5aa58
DM
42152012-02-27 David S. Miller <davem@davemloft.net>
4216
1aff59a3
DM
4217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4219 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4220 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4221
d6b5aa58
DM
4222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4223 frame pointer instead of stack pointer relative arg slot.
4224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4225 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4226 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4227
433f48bf
CD
42282012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4229
4230 [BZ #3992]
4231 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4232
d674b76d
DM
42332012-02-27 David S. Miller <davem@davemloft.net>
4234
4235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4239 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4240 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4241 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4242 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4243
0e7727f7
JM
42442012-02-27 Joseph Myers <joseph@codesourcery.com>
4245
4246 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4247 later. Allow versions 5-9.
43be4ca2 4248 * configure: Regenerated.
0e7727f7
JM
4249 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4250 required minimum version and 4.6 as recommended version. Do not
4251 mention bugs in GCC 2.7 and 2.8.
43be4ca2 4252 * INSTALL: Regenerated.
0e7727f7 4253
a78bc654
DM
42542012-02-27 David S. Miller <davem@davemloft.net>
4255
428d5830
DM
4256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4260 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4261 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4262 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4263 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4264
a78bc654
DM
4265 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4266 manipulate bits before adding and subtracting TWO112[sx].
4267 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4268
4579f81c
RM
42692012-02-27 Roland McGrath <roland@hack.frob.com>
4270
36c8acb4
RM
4271 [BZ #13775]
4272 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4273 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4274 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4275 being in POSIX, because they are in 1003.1-2008.
4276
84ad622b
RM
4277 * rt/tst-aio.c: Include <fcntl.h>.
4278 * rt/tst-aio7.c: Likewise.
4279 * rt/tst-aio64.c: Likewise.
4280
4579f81c
RM
4281 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4282
abd923db
JM
42832012-02-27 Joseph Myers <joseph@codesourcery.com>
4284
4285 * manual/install.texi (--with-headers): Describe headers as
4286 interface headers, not private headers.
4287 (Specific advice for GNU/Linux systems): Describe use of headers
4288 from "make headers_install", not private headers from older
4289 kernels.
43be4ca2 4290 * INSTALL: Regenerated.
abd923db
JM
4291 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4292 Change to 2.6.19.
4293 * sysdeps/unix/sysv/linux/configure: Regenerated.
4294
6664049b
JM
4295 * manual/llio.texi (fclean): Remove documentation.
4296
bb8b6697
JM
4297 * manual/Makefile (libc-texi-generated): New variable. Include
4298 version.texi.
4299 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4300 $(libc-texi-generated), not duplicated list of files.
4301 (version.texi, stamp-version): New rules.
4302 (realclean): Remove $(libc-texi-generated), not individual files
4303 from that list. Do not remove dir-add.texinfo.
4304 * manual/libc.texinfo: Comment out uses of edition numbers and
4305 references to printed manual. Remove last-updated dates.
4306 (EDITION): Comment out.
4307 (ISBN): Likewise.
4308 (VERSION, UPDATED): Remove.
4309 (version.texi): Include.
4310
12e5c3b9
AS
43112012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4312
4313 * sysdeps/posix/spawni.c: Include <signal.h>.
4314 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4315 * sysdeps/pthread/aio_fsync.c: Likewise.
4316
4efeffc1 43172012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 4318
ba63ba08
UD
4319 * conform/Makefile (tests): Run only when not cross-compiling and
4320 when fast-check is not defined.
4321
d94a4670
UD
4322 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4323 * conform/data/limits.h-data: Fixes for POSIX2008.
4324 * conform/run-conformtest.sh: Run all tests.
4325 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4326 headers.
4327 * include/bits/dlfcn.h: Likewise.
4328 * include/langinfo.h: Likewise.
4329 * include/monetary.h: Likewise.
4330 * include/sys/poll.h: Likewise.
4331
4332 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4333 for __USE_GNU.
4334 * posix/spawn.h: Define __need_sigset_t.
4335 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4336 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4337 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4338 to get sigevent_t only.
4339 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4340 only for __USE_GNU.
4341 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4342 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4343 process_vm_writev only for __USE_GNU.
4344 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
4345
4346 * conform/Makefile: For now ignore errors from run-conformtest.
4347 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4348 POSIX to avoid namespace pollution. Don't prepend headers.
4349 * conform/data/aio.h-data: Fixes for POSIX testing.
4350 * conform/data/fcntl.h-data: Likewise.
4351 * conform/data/glob.h-data: Likewise.
4352 * conform/data/grp.h-data: Likewise.
4353 * conform/data/pthread.h-data: Likewise.
4354 * conform/data/pwd.h-data: Likewise.
4355 * conform/data/signal.h-data: Likewise.
4356 * conform/data/spawn.h-data: Likewise.
4357 * conform/data/stdio.h-data: Likewise.
4358 * conform/data/stdlib.h-data: Likewise.
4359 * conform/data/stropts.h-data: Likewise.
4360 * conform/data/sys/mman.h-data: Likewise.
4361 * conform/data/sys/stat.h-data: Likewise.
4362 * conform/data/sys/types.h-data: Likewise.
4363 * conform/data/sys/wait.h-data: Likewise.
4364 * conform/data/time.h-data: Likewise.
4365 * conform/data/unistd.h-data: Likewise.
4366 * conform/data/utime.h-data: Likewise.
4367
4368 * io/sys/stat.h: fchmod was always in POSIX.
4369 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4370 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4371 * rt/aio.h: Define __need_timespec before including <time.h>.
4372 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4373 struct. Add forward declaration of pthread_attr_t and use it in
4374 sigevent.
4375 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4376 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4377 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4378 always remove CLK_TCK definition.
4379
c20105c3
AS
43802012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4381
4382 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4383
7a270350
UD
43842012-02-25 Ulrich Drepper <drepper@gmail.com>
4385
31341567
UD
4386 * conform/run-conformtest.sh: New file.
4387 * conform/Makefile: Run run-conformtest for tests.
4388 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4389 support.
4390
4391 * conform/data/uchar.h-data: New file.
4392 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4393 * conform/data/arpa/inet.h-data: Likewise.
4394 * conform/data/assert.h-data: Likewise.
4395 * conform/data/complex.h-data: Likewise.
4396 * conform/data/cpio.h-data: Likewise.
4397 * conform/data/ctype.h-data: Likewise.
4398 * conform/data/dirent.h-data: Likewise.
4399 * conform/data/dlfcn.h-data: Likewise.
4400 * conform/data/errno.h-data: Likewise.
4401 * conform/data/fcntl.h-data: Likewise.
4402 * conform/data/float.h-data: Likewise.
4403 * conform/data/fmtmsg.h-data: Likewise.
4404 * conform/data/fnmatch.h-data: Likewise.
4405 * conform/data/ftw.h-data: Likewise.
4406 * conform/data/glob.h-data: Likewise.
4407 * conform/data/grp.h-data: Likewise.
4408 * conform/data/iconv.h-data: Likewise.
4409 * conform/data/inttypes.h-data: Likewise.
4410 * conform/data/langinfo.h-data: Likewise.
4411 * conform/data/libgen.h-data: Likewise.
4412 * conform/data/limits.h-data: Likewise.
4413 * conform/data/locale.h-data: Likewise.
4414 * conform/data/math.h-data: Likewise.
4415 * conform/data/monetary.h-data: Likewise.
4416 * conform/data/mqueue.h-data: Likewise.
4417 * conform/data/ndbm.h-data: Likewise.
4418 * conform/data/net/if.h-data: Likewise.
4419 * conform/data/netdb.h-data: Likewise.
4420 * conform/data/netinet/in.h-data: Likewise.
4421 * conform/data/nl_types.h-data: Likewise.
4422 * conform/data/poll.h-data: Likewise.
4423 * conform/data/pthread.h-data: Likewise.
4424 * conform/data/pwd.h-data: Likewise.
4425 * conform/data/regex.h-data: Likewise.
4426 * conform/data/sched.h-data: Likewise.
4427 * conform/data/search.h-data: Likewise.
4428 * conform/data/semaphore.h-data: Likewise.
4429 * conform/data/setjmp.h-data: Likewise.
4430 * conform/data/signal.h-data: Likewise.
4431 * conform/data/spawn.h-data: Likewise.
4432 * conform/data/stdarg.h-data: Likewise.
4433 * conform/data/stdio.h-data: Likewise.
4434 * conform/data/stdlib.h-data: Likewise.
4435 * conform/data/string.h-data: Likewise.
4436 * conform/data/strings.h-data: Likewise.
4437 * conform/data/stropts.h-data: Likewise.
4438 * conform/data/sys/ipc.h-data: Likewise.
4439 * conform/data/sys/mman.h-data: Likewise.
4440 * conform/data/sys/msg.h-data: Likewise.
4441 * conform/data/sys/resource.h-data: Likewise.
4442 * conform/data/sys/select.h-data: Likewise.
4443 * conform/data/sys/sem.h-data: Likewise.
4444 * conform/data/sys/shm.h-data: Likewise.
4445 * conform/data/sys/socket.h-data: Likewise.
4446 * conform/data/sys/stat.h-data: Likewise.
4447 * conform/data/sys/statvfs.h-data: Likewise.
4448 * conform/data/sys/time.h-data: Likewise.
4449 * conform/data/sys/timeb.h-data: Likewise.
4450 * conform/data/sys/times.h-data: Likewise.
4451 * conform/data/sys/types.h-data: Likewise.
4452 * conform/data/sys/uio.h-data: Likewise.
4453 * conform/data/sys/un.h-data: Likewise.
4454 * conform/data/sys/utsname.h-data: Likewise.
4455 * conform/data/sys/wait.h-data: Likewise.
4456 * conform/data/syslog.h-data: Likewise.
4457 * conform/data/tar.h-data: Likewise.
4458 * conform/data/termios.h-data: Likewise.
4459 * conform/data/utime.h-data: Likewise.
4460 * conform/data/utmpx.h-data: Likewise.
4461 * conform/data/varargs.h-data: Likewise.
4462 * conform/data/wchar.h-data: Likewise.
4463 * conform/data/wctype.h-data: Likewise.
4464 * conform/data/wordexp.h-data: Likewise.
4465
4466 * include/stropts.h: New file.
4467 * include/uchar.h: New file.
4468 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4469 * include/assert.h: Likewise.
4470 * include/ctype.h: Likewise.
4471 * include/dirent.h: Likewise.
4472 * include/dlfcn.h: Likewise.
4473 * include/fcntl.h: Likewise.
4474 * include/fnmatch.h: Likewise.
4475 * include/glob.h: Likewise.
4476 * include/grp.h: Likewise.
4477 * include/libio.h: Likewise.
4478 * include/locale.h: Likewise.
4479 * include/math.h: Likewise.
4480 * include/net/if.h: Likewise.
4481 * include/netdb.h: Likewise.
4482 * include/netinet/in.h: Likewise.
4483 * include/pthread.h: Likewise.
4484 * include/pwd.h: Likewise.
4485 * include/regex.h: Likewise.
4486 * include/sched.h: Likewise.
4487 * include/search.h: Likewise.
4488 * include/setjmp.h: Likewise.
4489 * include/signal.h: Likewise.
4490 * include/stdio.h: Likewise.
4491 * include/stdlib.h: Likewise.
4492 * include/string.h: Likewise.
4493 * include/sys/cdefs.h: Likewise.
4494 * include/sys/mman.h: Likewise.
4495 * include/sys/msg.h: Likewise.
4496 * include/sys/resource.h: Likewise.
4497 * include/sys/select.h: Likewise.
4498 * include/sys/socket.h: Likewise.
4499 * include/sys/stat.h: Likewise.
4500 * include/sys/statvfs.h: Likewise.
4501 * include/sys/time.h: Likewise.
4502 * include/sys/times.h: Likewise.
4503 * include/sys/uio.h: Likewise.
4504 * include/sys/utsname.h: Likewise.
4505 * include/sys/wait.h: Likewise.
4506 * include/termios.h: Likewise.
4507 * include/time.h: Likewise.
4508 * include/ulimit.h: Likewise.
4509 * include/unistd.h: Likewise.
4510 * include/utime.h: Likewise.
4511 * include/wchar.h: Likewise.
4512 * include/wctype.h: Likewise.
4513 * include/wordexp.h: Likewise.
4514
4515 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4516
7a270350
UD
4517 * time/time.h: TIME_UTC must be a macro.
4518 Make timespec_get available for ISO C11 only as well.
4519
7724defc
UD
45202012-02-24 Ulrich Drepper <drepper@gmail.com>
4521
4522 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4523 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4524
6b1d1d46
JM
45252012-02-24 Joseph Myers <joseph@codesourcery.com>
4526
4527 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 4528
0f8bbd69
JM
45292012-02-24 Joseph Myers <joseph@codesourcery.com>
4530
4531 * manual/texinfo.tex: Update to version 2012-01-19.16.
4532
66ab80bc
JM
45332012-02-24 Joseph Myers <joseph@codesourcery.com>
4534
4535 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4536
74981cc5
RM
45372012-02-24 Roland McGrath <roland@hack.frob.com>
4538
ee968201
RM
4539 [BZ #13738]
4540 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4541 * manual/fdl-1.3.texi: New file.
4542 * manual/fdl-1.1.texi: File removed.
4543
74981cc5
RM
4544 [BZ #13738]
4545 * manual/libc.texinfo (FDL_VERSION): New @set.
4546 Use it for mention of FDL in cover text.
4547 (Documentation License): Use it in @include file name.
4548
7bb764bc
JM
45492012-02-22 Joseph Myers <joseph@codesourcery.com>
4550 Roland McGrath <roland@hack.frob.com>
4551
4552 [BZ #5461]
4553 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4554 not LONG_LONG_MAX and LONG_LONG_MIN.
4555 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4556 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4557 name.
4558 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4559
6cbeae47
JM
45602012-02-22 Joseph Myers <joseph@codesourcery.com>
4561
4562 [BZ #2547]
4563 [BZ #11365]
4564 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4565 manipulate bits before adding and subtracting TWO23[sx].
4566 * math/libm-test.inc (nearbyint_test): Add more tests.
4567
fe45ce09
JM
45682012-02-22 Joseph Myers <joseph@codesourcery.com>
4569
4570 [BZ #2548]
4571 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4572 bits before adding and subtracting TWO23[sx].
4573 * math/libm-test.inc (rint_test): Add more tests.
4574 (rint_test_tonearest): Likewise.
4575 (rint_test_towardzero): Likewise.
4576 (rint_test_downward): Likewise.
4577 (rint_test_upward: Likewise.
4578
ff3b3d82
JM
45792012-02-22 Joseph Myers <joseph@codesourcery.com>
4580
4581 [BZ #10110]
4582 * include/stdc-predef.h: New file. Extracted from features.h.
4583 * include/features.h: Include stdc-predef.h.
4584 * Makefile (headers): Add stdc-predef.h.
4585 * CONFORMANCE (Compiler limitations): Update.
4586
ef0aab35
JM
45872012-02-22 Joseph Myers <joseph@codesourcery.com>
4588
4589 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4590
58639409
DM
45912012-02-21 David S. Miller <davem@davemloft.net>
4592
4593 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4594 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4595
c0e70b25
DM
45962012-02-20 David S. Miller <davem@davemloft.net>
4597
4598 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4599 using a normal save/restore sequence, rather than allocating a
4600 dummy stack frame just to store a frame pointer and restore.
4601 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4602
fb06851d
JM
46032012-02-21 Joseph Myers <joseph@codesourcery.com>
4604
4605 * manual/install.texi: Fix stray word in line-wrapped comment.
4606
7a8b71c3
DM
46072012-02-20 David S. Miller <davem@davemloft.net>
4608
d510c123
DM
4609 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4610 both binutils and gcc support GOTDATA.
4611
0722d7c2
DM
4612 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4613 "rd %pc" in the PIC register setup sequences.
4614
3d2b3019
DM
4615 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4616 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4617 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4618 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4619 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4620 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4621 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4622 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4623 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4624 (SYSCALL_ERROR_HANDLER): Likewise.
4625 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4626 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4627 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4628 (SYSCALL_ERROR_HANDLER): Likewise.
4629
c80098a9
DM
4630 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4631 (HAVE_GCC_GOTDATA): New.
4632 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4633 relocation support in both binutils and gcc.
4634 * sysdeps/sparc/elf/configure: Regenerate.
4635
3a2545a0
DM
4636 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4637 * sysdeps/sparc/sparc32/elf/configure: Delete.
4638 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4639 * sysdeps/sparc/sparc64/elf/configure: Delete.
4640 * sysdeps/sparc/elf/configure.in: New file.
4641 * sysdeps/sparc/elf/configure: Generate.
4642
7a8b71c3
DM
4643 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4644 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4645 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4646 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4647 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4648
f1e86fca
JM
46492012-02-21 Joseph Myers <joseph@codesourcery.com>
4650
4651 * manual/install.texi: Do not mention specific glibc version
4652 numbers.
4653 * manual/libc.texinfo (VERSION, UPDATED): Update.
4654 (@copying): Use @copyright{} and range of years.
4655
0e7dfaef
JM
46562012-02-21 Joseph Myers <joseph@codesourcery.com>
4657
4658 [BZ #13695]
4659 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4660 [crti.S not in sysdirs] (generated): Do not append.
4661 [crti.S not in sysdirs] (omit-deps): Likewise.
4662 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4663 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4664 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4665 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4666 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4667 Likewise.
4668 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4669 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4670 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4671 * csu/defs.awk: Remove file.
4672 * sysdeps/generic/initfini.c: Likewise.
4673 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4674 variable.
4675 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4676 Likewise.
4677
599af3ca
JM
46782012-02-20 Joseph Myers <joseph@codesourcery.com>
4679
4680 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4681 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4682 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4683 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4684 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4685 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4686 <bits/epoll.h>.
4687 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4688 (__EPOLL_PACKED): Define to empty if not defined by
4689 <bits/epoll.h>.
4690 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4691 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4692 bits/epoll.h.
4693
0e499750
JM
46942012-02-20 Joseph Myers <joseph@codesourcery.com>
4695
4696 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4697 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4698 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4699 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4700 <bits/timerfd.h>.
4701 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4702 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4703 bits/timerfd.h.
4704
5ad91f6e
JM
47052012-02-20 Joseph Myers <joseph@codesourcery.com>
4706
4707 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4708 in C locale.
4709 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4710 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4711 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4713
06b99b02
AJ
47142012-02-20 Aurelien Jarno <aurelien@aurel32.net>
4715
4716 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4717 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4718
7638c0fd
AS
47192012-02-19 Andreas Schwab <schwab@linux-m68k.org>
4720
4721 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4722 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4723 defined.
4724 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4725 Likewise.
4726 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4727 entry for 2.16.
4728
92221550
AJ
47292012-02-19 Aurelien Jarno <aurelien@aurel32.net>
4730
4731 * math/w_acos.c: Use non-signaling floating-point comparisons.
4732 * math/w_acosf.c: Likewise.
4733 * math/w_acosh.c: Likewise.
4734 * math/w_acoshf.c: Likewise.
4735 * math/w_acoshl.c: Likewise.
4736 * math/w_acosl.c: Likewise.
4737 * math/w_asin.c: Likewise.
4738 * math/w_asinf.c: Likewise.
4739 * math/w_asinl.c: Likewise.
4740 * math/w_atanh.c: Likewise.
4741 * math/w_atanhf.c: Likewise.
4742 * math/w_atanhl.c: Likewise.
4743 * math/w_exp2.c: Likewise.
4744 * math/w_exp2f.c: Likewise.
4745 * math/w_exp2l.c: Likewise.
4746 * math/w_j0.c: Likewise.
4747 * math/w_j0f.c: Likewise.
4748 * math/w_j0l.c: Likewise.
4749 * math/w_j1.c: Likewise.
4750 * math/w_j1f.c: Likewise.
4751 * math/w_j1l.c: Likewise.
4752 * math/w_jn.c: Likewise.
4753 * math/w_jnf.c: Likewise.
4754 * math/w_log.c: Likewise.
4755 * math/w_log10.c: Likewise.
4756 * math/w_log10f.c: Likewise.
4757 * math/w_log10l.c: Likewise.
4758 * math/w_log2.c: Likewise.
4759 * math/w_log2f.c: Likewise.
4760 * math/w_log2l.c: Likewise.
4761 * math/w_logf.c: Likewise.
4762 * math/w_logl.c: Likewise.
4763 * math/w_sqrt.c: Likewise.
4764 * math/w_sqrtf.c: Likewise.
4765 * math/w_sqrtl.c: Likewise.
4766 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4767 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4768 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4769 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4770 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4771
ebaf36eb
JM
47722012-02-19 Joseph Myers <joseph@codesourcery.com>
4773
4774 [BZ #9739]
4775 * manual/string.texi (strnlen): Use correct parameter name in
4776 equivalent expression.
4777
71c254a6
JM
47782012-02-19 Joseph Myers <joseph@codesourcery.com>
4779
4780 [BZ #11174]
4781 * manual/users.texi (seteuid): Consistently use neweuid for
4782 argument name.
4783
16d2c631
JM
47842012-02-19 Joseph Myers <joseph@codesourcery.com>
4785
4786 [BZ #13704]
4787 * manual/nss.texi (Services in the NSS configuration): Correct
4788 list of services in example configuration file.
4789
cd837b09
NB
47902012-02-19 Nick Bowler <nbowler@draconx.ca>
4791
4792 [BZ #11322]
4793 * manual/arith.texi: Remove statements about negative zero
4794 behaving identically to zero.
4795
02c4bbad
JM
47962012-02-18 Joseph Myers <joseph@codesourcery.com>
4797
4798 [BZ #5993]
4799 * manual/install.texi: Do not document upgrading from libc5.
4800
366842e7
JM
48012012-02-18 Joseph Myers <joseph@codesourcery.com>
4802
4803 [BZ #4596]
4804 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4805
dd54084d
DM
48062012-02-18 David S. Miller <davem@davemloft.net>
4807
4808 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4809 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4810 %o7 across the call.
4811 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4812 instead.
4813 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4814 SETUP_PIC_REG_LEAF.
4815 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4816 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4817 * sysdeps/sparc/crtn.S: Likewise.
4818
2bcc53a3
UD
48192012-02-17 Ulrich Drepper <drepper@gmail.com>
4820
4821 * aout/Makefile: Remove.
4822
09c093b5
RK
48232012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
4824
4825 [BZ #13058]
4826 * manual/examples/argp-ex1.c (main): Format definition in GNU
4827 style.
4828 * manual/examples/argp-ex2.c (main): Likewise.
4829 * manual/examples/argp-ex3.c (main): Likewise.
4830 * manual/examples/argp-ex4.c (main): Likewise.
4831 * manual/examples/longopt.c (main): Use new-style prototype
4832 definition.
4833 * manual/examples/strncat.c (main): Specify return type and use
4834 (void) for arguments.
4835 * manual/examples/subopt.c (main): Use char **argv argument.
4836
2ee633a2
JM
48372012-02-17 Joseph Myers <joseph@codesourcery.com>
4838
4839 [BZ #5077]
4840 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4841 rounding modes.
4842
0520adde
FB
48432012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
4844
4845 [BZ #6907]
4846 * manual/string.texi (strchr): Change when strchrnul is
4847 recommended.
4848
3f4081cd
DGM
48492012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
4850
4851 [BZ #174]
4852 * manual/locale.texi (setlocale): Document LOCPATH.
4853
d1b10e78
JM
48542012-02-17 Joseph Myers <joseph@codesourcery.com>
4855
4856 [BZ #10210]
4857 * manual/process.texi (execle): Move @dots{} before last argument.
4858
79c6869c
PB
48592012-02-17 Paul Bolle <pebolle@tiscali.nl>
4860
4861 [BZ #12047]
4862 * manual/charset.texi (Generic Charset Conversion): Fix typo
4863 (LC_TYPE -> LC_CTYPE).
4864
cc6e48bc
NB
48652012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
4866
4867 [BZ #5805]
4868 * manual/arith.texi (scalbn): Use @var{} on parameter names.
4869 (scalbnf): Likewise.
4870 (scalbnl): Likewise.
4871 (scalbln): Likewise.
4872 (scalblnf): Likewise.
4873 (scalblnl): Likewise.
4874 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4875 (vwarnx): Likewise.
4876 (verr): Likewise.
4877 (verrx): Likewise.
4878 * manual/filesys.texi (telldir): Use braces around return type.
4879 * manual/llio.texi (mmap): Add space after comma.
4880 (mmap64): Likewise.
4881 * manual/math.texi (jn): Use @var{} on parameter names.
4882 (jnf): Likewise.
4883 (jnl): Likewise.
4884 (yn): Likewise.
4885 (ynf): Likewise.
4886 (ynl): Likewise.
4887 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4888 line.
4889 * manual/resource.texi (ulimit): Use @dots{} instead of literal
4890 "...".
4891 (sched_get_priority_min): Remove semicolon on @deftypefun line.
4892 (sched_get_priority_max): Likewise.
4893 * manual/signal.texi (sigvec): Add space after comma.
4894 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4895 names.
4896 (if_indextoname): Likewise.
4897 (if_freenameindex): Likewise.
4898 (sendto): Use ',' instead of '.' in prototype.
4899 * manual/startup.texi (syscall): Use @dots{} instead of literal
4900 "...".
4901 * manual/stdio.texi (__fpending): Separate initial words of
4902 paragraph from @deftypefun line.
4903 * manual/syslog.texi (syslog): Use @dots{} instead of literal
4904 "...".
4905 (vsyslog): Use @var{} on parameter names.
4906 * manual/terminal.texi (stty): Use @var{} on parameter names.
4907 * manual/users.texi (getutmp): Use @var{} on parameter names.
4908 (getutmpx): Likewise.
4909
5b23062f
JM
49102012-02-17 Joseph Myers <joseph@codesourcery.com>
4911
4912 [BZ #6884]
4913 * manual/stdio.texi (fopen): Fix typos in description of
4914 ",ccs=STRING".
4915
8dee4833
AJ
49162012-02-17 Aurelien Jarno <aurelien@aurel32.net>
4917
4918 [BZ #4026]
4919 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4920 get clock_id definition.
4921
9078ce93
TS
49222012-02-17 Thomas Schwinge <thomas@schwinge.name>
4923
4924 [BZ #4822]
4925 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4926 (madvise): Cast every argument to void on its own.
4927
3835c55f
JM
49282012-02-17 Joseph Myers <joseph@codesourcery.com>
4929
4930 [BZ #9902]
4931 * manual/startup.texi (Exit Status): Fix typo.
4932
35c47e37
JM
49332012-02-17 Joseph Myers <joseph@codesourcery.com>
4934
4935 [BZ #10140]
4936 * manual/examples/argp-ex1.c: Include <stdlib.h>.
4937 * manual/examples/argp-ex2.c: Likewise.
4938 * manual/examples/argp-ex3.c: Likewise.
4939
e3b69ca7
RH
49402012-02-16 Richard Henderson <rth@redhat.com>
4941
4942 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4943 * sysdeps/s390/s390-32/initfini.c: Remove.
4944 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4945 * sysdeps/s390/s390-64/initfini.c: Remove.
4946
df83af67
KK
49472012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4948
4949 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4950 compiler output for sysdeps/generic/initfini.c.
4951 * sysdeps/sh/elf/initfini.c: Remove file.
4952
f63f3380
DM
49532012-02-16 David S. Miller <davem@davemloft.net>
4954
fb59b3a4
DM
4955 [BZ #11494]
4956 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4957
f63f3380
DM
4958 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4959 * sysdeps/sparc/crti.S: New file.
4960 * sysdeps/sparc/crtn.S: New file.
4961 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4962 * sysdeps/sparc/sparc64/Makefile: Likewise.
4963
df6a4a4a
MF
49642012-02-15 Mike Frysinger <vapier@gentoo.org>
4965
6dd8f3dc 4966 [BZ #3335]
df6a4a4a
MF
4967 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4968
1cac7236
RM
49692012-02-15 Roland McGrath <roland@hack.frob.com>
4970
d2c736f8
RM
4971 [BZ #4822]
4972 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4973
1cac7236
RM
4974 * mach/devstream.c (cookie_io_functions_t): Macro removed.
4975 (write, read, close): Likewise.
4976 Patch by Aurelien Jarno <aurelien@aurel32.net>.
4977
8e475601
JM
49782012-02-15 Joseph Myers <joseph@codesourcery.com>
4979
4980 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4981 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4982 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4983 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4984 <bits/signalfd.h>.
4985 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4986 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4987 bits/signalfd.h.
4988
ed656b40
MP
49892012-02-14 Marek Polacek <polacek@redhat.com>
4990
4991 * sysdeps/x86_64/crti.S: New file.
4992 * sysdeps/x86_64/crtn.S: New file.
4993 * sysdeps/x86_64/elf/initfini.c: Remove file.
4994
2a979d3a
JM
49952012-02-13 Joseph Myers <joseph@codesourcery.com>
4996
4997 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4998 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4999 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5000 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5001 <bits/inotify.h>.
5002 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5003 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5004 bits/inotify.h.
5005
2a418ac3
JM
50062012-02-13 Joseph Myers <joseph@codesourcery.com>
5007
5008 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5009 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5010 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5011 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5012 <bits/eventfd.h>.
5013 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5014 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5015 bits/eventfd.h.
5016
fb779be7
TS
50172012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5018
e19e83c5
RM
5019 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5020 __feraiseexcept instead of feraiseexcept.
7c35ffed 5021
fb779be7
TS
5022 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5023 nanosleep invocations.
5024 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5025 strings, and add error checking for a nanosleep invocations.
5026
59ba27a6
PE
50272012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5028
5029 Replace FSF snail mail address with URLs, as per GNU coding standards.
5030 Most of the snail mail addresses were wrong anyway, and omitting
5031 them makes the source code easier to maintain. Almost all of the
5032 changes are to license notices and to locale LC_IDENTIFICATION
5033 addresses, except for this one:
5034 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5035 not its snail mail address.
5036
57b957eb
RH
50372012-02-09 Richard Henderson <rth@twiddle.net>
5038
af850b1c
RH
5039 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5040 of kernel-features.h.
5041
57b957eb
RH
5042 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5043
6b73181a
MP
50442012-02-08 Marek Polacek <polacek@redhat.com>
5045
5046 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5047 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5048 * sysdeps/gnu/_G_config.h: Likewise.
5049 * sysdeps/generic/_G_config.h: Likewise.
5050
26ecc33a
AS
50512012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5052
6c6dbc63
AS
5053 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5054 tests.
5055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5056
e216c012
AS
5057 * sysdeps/powerpc/powerpc32/crti.S: New file.
5058 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5059 * sysdeps/powerpc/powerpc64/crti.S: New file.
5060 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5061
26ecc33a
AS
5062 * Makeconfig (have-initfini): Don't set.
5063 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5064 * configure.in (nopic_initfini): Don't substitute.
5065 * config.h.in (HAVE_INITFINI): Don't #undef.
5066 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5067 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5068
3add8e13
JM
50692012-02-08 Joseph Myers <joseph@codesourcery.com>
5070
5071 Support crti.S and crtn.S provided directly by architectures.
5072 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5073 [crti.S in sysdirs] (omit-deps): Likewise.
5074 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5075 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5076 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5077 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5078 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5079 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5080 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5081 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5082 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5083 compiler output for sysdeps/generic/initfini.c.
5084 * sysdeps/i386/elf/Makefile: Remove file.
5085 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5086
a22f12b4
MP
50872012-02-07 Marek Polacek <polacek@redhat.com>
5088
5089 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5090 * sysdeps/gnu/_G_config.h: Likewise.
5091 * sysdeps/mach/hurd/_G_config.h: Likewise.
5092
148cf100
MP
50932012-02-07 Marek Polacek <polacek@redhat.com>
5094
5095 * math/Makefile (tests): Add tst-CMPLX2.
5096 * math/tst-CMPLX2.c: New file.
5097
cfdc0dd7
AS
50982012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5099
84ba42c4
AS
5100 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5101
cfdc0dd7
AS
5102 * math/libm-test.inc (jn_test): Add missing L suffix.
5103
622c86f4
MP
51042012-02-06 Marek Polacek <polacek@redhat.com>
5105
5106 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5107 * sysdeps/i386/fpu/e_powf.S: Likewise.
5108 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5109 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5110 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5111 * sysdeps/i386/fpu/e_pow.S: Likewise.
5112 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5113 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5114 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5115 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5116 * sysdeps/i386/fpu/e_log2.S: Likewise.
5117 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5118 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5119 * sysdeps/i386/fpu/e_powl.S: Likewise.
5120 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5121 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5122 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5123 * sysdeps/i386/fpu/e_logl.S: Likewise.
5124 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5125 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5126 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5127 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5128 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5129 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5130 * sysdeps/i386/fpu/e_log.S: Likewise.
5131 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5132 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5133 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5134 * sysdeps/i386/fpu/e_logf.S: Likewise.
5135 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5136 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5137 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5138 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5139 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5140 * sysdeps/i386/fpu/e_log10.S: Likewise.
5141 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5142 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5143 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5144 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5145 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5146 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5147 * sysdeps/i386/asm-syntax.h: Likewise.
5148 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5149 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5150 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5151 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5152 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5153 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5154 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5155 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5156 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5157 * sysdeps/powerpc/sysdep.h: Likewise.
5158 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5159 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5160
d4a54ac6
JM
51612012-02-06 Joseph Myers <joseph@codesourcery.com>
5162
5163 [BZ #411]
5164 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5165
314054ea
JM
51662012-02-06 Joseph Myers <joseph@codesourcery.com>
5167
5168 * sysdeps/i386/sysdep.h: Include <features.h>.
5169 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5170 version.
5171
d8e0ca50
JM
51722012-02-05 Joseph Myers <joseph@codesourcery.com>
5173
5174 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5175 Define.
5176 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5177 LOAD_PIC_REG_STR.
5178
b1da7dd9
JM
51792012-02-03 Joseph Myers <joseph@codesourcery.com>
5180
5181 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5182 (SETUP_PIC_REG): Use GET_PC_THUNK.
5183 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5184 macro.
5185
9a1d9254
JM
51862012-02-03 Joseph Myers <joseph@codesourcery.com>
5187
5188 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5189 for non-PIC compilation.
5190 (SETUP_PIC_REG): Add .p2align directive.
5191 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5192 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5193 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5194 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5195 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5196 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5197 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5198 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5199 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5200 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5201 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5202 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5203 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5204 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5205 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5206 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5207 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5208 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5209 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5210 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5211 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5212 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5213 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5214 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5215 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5216 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5217 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5218 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5219 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5220 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5221 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5222 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5223 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5224 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5225 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5226 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5227 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5228 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5229 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5230 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5231 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5232
65dc3b75
JM
52332012-02-03 Joseph Myers <joseph@codesourcery.com>
5234
5235 * math/tst-CMPLX.c: Include <stdio.h>.
5236
d55bf177
JM
52372012-01-31 Joseph Myers <joseph@codesourcery.com>
5238
5239 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5240 float.
5241 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5242 * sysdeps/sparc/bits/mathdef.h: Likewise.
5243
69db4f8f
MP
52442012-01-31 Marek Polacek <polacek@redhat.com>
5245
5246 * libio/libio.h: Don't define _PARAMS.
5247 * locale/programs/config.h: Don't define PARAMS.
5248 * stdlib/strtol_l.c: Likewise.
5249 (__strtol_l): Remove PARAMS from the prototype.
5250
41b81892
UD
52512012-01-31 Ulrich Drepper <drepper@gmail.com>
5252
3b49edc0
UD
5253 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5254 names. Just use the correct names. Remove unnecessary wrapper
5255 functions.
5256 * malloc/arena.c: Likewise.
5257 * malloc/hooks.c: Likewise.
5258
41b81892
UD
5259 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5260 ARENA_TEST says not to. Simplify test for creation of a new arena.
5261 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5262
27a25b6e
UD
52632012-01-30 Ulrich Drepper <drepper@gmail.com>
5264
5265 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5266 into tail calls.
5267 (update_get_addr): New function.
5268 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5269 GET_ADDR_MODULE parameter.
5270
c8a89e7d
JM
52712012-01-30 Joseph Myers <joseph@codesourcery.com>
5272
5273 * crypt/cert.c: Remove __STDC__ conditionals.
5274 * crypt/crypt-entry.c: Likewise.
5275 * crypt/crypt_util.c: Likewise.
5276 * libio/filedoalloc.c: Likewise.
5277 * libio/fileops.c: Likewise.
5278 * libio/genops.c: Likewise.
5279 * libio/iofclose.c: Likewise.
5280 * libio/iofdopen.c: Likewise.
5281 * libio/iofopen.c: Likewise.
5282 * libio/iofopen64.c: Likewise.
5283 * libio/iogetdelim.c: Likewise.
5284 * libio/iopopen.c: Likewise.
5285 * libio/obprintf.c: Likewise.
5286 * libio/oldfileops.c: Likewise.
5287 * libio/oldiofclose.c: Likewise.
5288 * libio/oldiofdopen.c: Likewise.
5289 * libio/oldiofopen.c: Likewise.
5290 * libio/oldiopopen.c: Likewise.
5291 * libio/wfiledoalloc.c: Likewise.
5292 * libio/wgenops.c: Likewise.
5293 * locale/programs/xmalloc.c: Likewise.
5294 * misc/syslog.c: Likewise.
5295 * stdio-common/xbug.c: Likewise.
5296 * string/memchr.c: Likewise.
5297 * string/memcmp.c: Likewise.
5298 * string/memrchr.c: Likewise.
5299 * string/rawmemchr.c: Likewise.
5300 * sysdeps/posix/getcwd.c: Likewise.
5301 * time/strftime_l.c: Likewise.
5302
3b100462
JM
53032012-01-30 Joseph Myers <joseph@codesourcery.com>
5304
5305 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
5306 * config.make.in (config-cflags-sse2avx): Define.
5307 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5308 Fix typo.
5309
607998af
CM
53102012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5311
5312 * scripts/config.guess: Update from upstream config git repository.
5313 * scripts/config.sub: Likewise.
5314
3601428f
CM
53152012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5316
3ac8b282
CM
5317 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5318 (EM_NUM): Update.
5319 (R_TILEPRO_*, R_TILEGX_*): New macros.
5320
e034841e
CM
5321 * scripts/firstversions.awk: Fix bug in version range handling.
5322
540d7568
CM
5323 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5324
3601428f
CM
5325 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5326
463de862
CM
5327 * include/sys/epoll.h: New file.
5328 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5329 libc_hidden_def.
5330
73139a76
UD
53312012-01-28 Ulrich Drepper <drepper@gmail.com>
5332
96bc5b45
UD
5333 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5334 Avoid unnecessary __WORDSIZE == 64 test.
5335 (fmaxf): Use VEX format if possible.
5336 (fmax): Likewise.
5337 (fminf): Likewise.
5338 (fmin): Likewise.
5339
56f6f6a2
UD
5340 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5341 * math/math_private.h: Remove libc_fegetround* and
5342 libc_fesetround*.
5343 * sysdeps/i386/configure.in: Check for -msse2avx.
5344 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5345 also if SSE2AVX is defined.
5346 Remove libc_fegetround* and libc_fesetround*.
5347 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5348 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5349 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5350 of HAS_YMM_USABLE.
5351 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5352 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5353 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5354 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5355 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5356
73139a76
UD
5357 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5358
d73f93a4
AZ
53592012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5360
5361 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5362 size is not set.
5363 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5364
6ee65ed6
UD
53652012-01-27 Ulrich Drepper <drepper@gmail.com>
5366
5367 [BZ #13618]
5368 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5369 relocation.
5370 * Makeconfig (libm): Define.
5371 * elf/Makefile: Add rules to build and run tst-relsort1.
5372 * elf/tst-relsort1.c: New file.
5373 * elf/tst-relsort1mod1.c: New file.
5374 * elf/tst-relsort1mod2.c: New file.
5375
8db21882
JM
53762012-01-27 Joseph Myers <joseph@codesourcery.com>
5377
5378 * math/s_ldexp.c: Remove __STDC__ conditionals.
5379 * math/s_ldexpf.c: Likewise.
5380 * math/s_ldexpl.c: Likewise.
5381 * math/s_nextafter.c: Likewise.
5382 * math/s_nexttowardf.c: Likewise.
5383 * math/s_significand.c: Likewise.
5384 * math/s_significandf.c: Likewise.
5385 * math/s_significandl.c: Likewise.
5386 * math/w_jnl.c: Likewise.
5387 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5388 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5389 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5390 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5391 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5392 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5393 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5394 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5395 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5396 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5397 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5398 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5399 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5400 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5401 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5402 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5403 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5404 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5405 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5406 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5407 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5408 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5409 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5410 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5411 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5412 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5413 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5414 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5415 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5416 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5417 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5418 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5419 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5420 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5421 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5422 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5423 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5424 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5425 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5426 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5427 * sysdeps/ieee754/k_standard.c: Likewise.
5428 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5429 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5430 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5431 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5432 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5433 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5434 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5435 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5436 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5437 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5438 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5439 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5440 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5441 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5442 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5443 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5444 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5445 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5446 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5447 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5448 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5449 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5450 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5451 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5452 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5453 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5454 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5455 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5456 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5457 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5458 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5459 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5460 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5461 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5462 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5463 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5464 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5465 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5466 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5467 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5468 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5469 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5470 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5471 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5472 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5473 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5474 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5475 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5476 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5477 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5478 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5479 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5480 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5481 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5482 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5483 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5484 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5485 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5486 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5487 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5488 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5489 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5490 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5491 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5492 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5493 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5494 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5495 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5496 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5497 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5498 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5499 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5500 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5501 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5502 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5503 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5504 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5505 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5506 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5507 * sysdeps/ieee754/s_matherr.c: Likewise.
5508 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5509 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5510 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5511 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5512
965a54a4
JM
55132012-01-26 Joseph Myers <joseph@codesourcery.com>
5514
5515 * crypt/md5.h: Remove __STDC__ conditionals.
5516 * libio/libioP.h: Likewise.
5517 * locale/programs/config.h: Likewise.
5518 * sysdeps/generic/sysdep.h: Likewise.
5519 * sysdeps/i386/asm-syntax.h: Likewise.
5520 * sysdeps/s390/asm-syntax.h: Likewise.
5521 * sysdeps/unix/sysdep.h: Likewise.
5522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5524
7071ad79
JM
55252012-01-26 Joseph Myers <joseph@codesourcery.com>
5526
5527 * libio/libio.h: Remove __STDC__ conditionals.
5528 * malloc/obstack.h: Likewise.
5529 * math/complex.h: Likewise.
5530 * math/math.h: Likewise.
5531 * sysdeps/generic/_G_config.h: Likewise.
5532 * sysdeps/gnu/_G_config.h: Likewise.
5533 * sysdeps/mach/hurd/_G_config.h: Likewise.
5534 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5535 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5536 * sysdeps/sparc/bits/mathdef.h: Likewise.
5537
afc5ed09
UD
55382012-01-26 Ulrich Drepper <drepper@gmail.com>
5539
5540 [BZ #13583]
5541 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 5542 Clean up HAS_* macros.
afc5ed09 5543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
5544 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5545 possible.
5546 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5547 HAS_AVX.
5548 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5549 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5550 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5551 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5552 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 5553
bdb6de1d
JM
55542012-01-25 Joseph Myers <joseph@codesourcery.com>
5555
5556 * elf/tst-unique3.cc (gets): Remove declaration.
5557 * elf/tst-unique3lib.cc (gets): Likewise.
5558 * elf/tst-unique3lib2.cc (gets): Likewise.
5559 * elf/tst-unique4.cc (gets): Likewise.
5560
b15549e6
UD
55612012-01-24 Ulrich Drepper <drepper@gmail.com>
5562
5563 * include/stdio.h: Add C++ protection. Add gets declarations and
5564 definitions.
5565 * debug/tst-chk1.c: Don't declare gets here.
5566 * stdio-common/tst-gets.c: Likewise.
5567
a037381f
JM
55682012-01-24 Joseph Myers <joseph@codesourcery.com>
5569
5570 * posix/glob: Remove directory.
5571
f1d4aa75
JM
55722012-01-24 Joseph Myers <joseph@codesourcery.com>
5573
5574 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5575
81c0c964
PT
55762012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5577
5578 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5579 of the non-standard EPFNOSUPPORT.
5580
0ea698ae
ST
55812011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5582
5583 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5584 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5585 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5586
d220b117
UD
55872012-01-21 Ulrich Drepper <drepper@gmail.com>
5588
5589 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5590
3e1aa84e
UD
55912012-01-20 Ulrich Drepper <drepper@gmail.com>
5592
5593 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5594 transient errors.
5595 * nscd/grpcache.c (cache_addgr): Likewise.
5596 * nscd/hstcache.c (cache_addhst): Likewise.
5597 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5598 * nscd/pwdcache.c (cache_addpw): Likewise.
5599 * nscd/servicescache.c (cache_addserv): Likewise.
5600
400aa020
UD
56012012-01-16 Ulrich Drepper <drepper@gmail.com>
5602
d77e7869
UD
5603 * malloc/malloc.c: Various cleanups.
5604 * malloc/hooks.c: Likewise.
5605
400aa020
UD
5606 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5607 * stdlib/bug-fmtmsg1.c: New file.
5608
5609 * stdlib/fmtmsg.c (init): Add missing unlock.
5610 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5611
e0a309cf
MP
56122012-01-12 Marek Polacek <polacek@redhat.com>
5613
5614 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5615 and _GNU_SOURCE.
5616
929d11c7
WS
56172012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5618
5619 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5620 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5621 macro to ensure uniqueness of label name.
5622 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5623 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5624
41d0e869
UD
56252012-01-11 Ulrich Drepper <drepper@gmail.com>
5626
0cc5ed3b
UD
5627 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5628
41d0e869
UD
5629 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5630 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5631 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5632 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5633
a47a831a
UD
56342012-01-10 Ulrich Drepper <drepper@gmail.com>
5635
daa891c0
UD
5636 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5637
5638 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5639 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5640 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5641
e58ef0f2
UD
5642 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5643
a47a831a 5644 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
5645 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5646 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 5647 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
5648
5649 * math/bits/math-finite.h: Add ldexp support.
5650
a0bfc9c7
MP
56512012-01-10 Marek Polacek <polacek@redhat.com>
5652
5653 * locale/programs/localedef.h (show_archive_content): Add noreturn
5654 attribute.
5655
d6e97a1d
UD
56562012-01-09 Ulrich Drepper <drepper@gmail.com>
5657
5658 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5659
d5835c26
UD
56602012-01-08 Ulrich Drepper <drepper@gmail.com>
5661
e5f484c6
UD
5662 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5663
d5835c26
UD
5664 * io/Makefile (headers): Add bits/poll2.h.
5665
d1f741e9
WS
56662011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5667
5668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5669 typo #include statement.
5670
ec09c1c4
UD
56712012-01-08 Ulrich Drepper <drepper@gmail.com>
5672
5673 * include/sys/cdefs.h: Define __attribute_alloc_size.
5674 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5675 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5676 * elf/pldd.c: Likewise.
5677 * iconv/iconv_charmap.c: Likewise.
5678 * iconv/iconvconfig.c: Likewise.
5679 * iconv/strtab.c: Likewise.
5680 * locale/programs/locale.c: Likewise.
5681 * locale/programs/localedef.h: Likewise.
5682 * locale/programs/simple-hash.c: Likewise.
5683 * nscd/nscd.h: Likewise.
5684 * nss/makedb.c: Likewise.
5685 * sysdeps/generic/ldconfig.h: Likewise.
5686 * locale/programs/localedef.c: Remove xmalloc prototype.
5687 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5688
20b38e03
PP
56892012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5690
5691 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5692 appropriate.
5693
a0da5fe1
UD
56942012-01-08 Ulrich Drepper <drepper@gmail.com>
5695
1d5a644a 5696 * math/Makefile (tests): Add tst-CMPLX.
669704fd 5697 * math/tst-CMPLX.c: New file.
1d5a644a 5698
8784a6db
UD
5699 * math/complex.h (CMPLXL): Fix typo.
5700
d9a216c0
UD
5701 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5702 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5703 GLIBC_2.16.
5704 * debug/tst-chk1.c: Add poll and ppoll tests.
5705 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5706 * include/sys/poll.h: Add hidden proto for ppoll.
5707 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5708 * sysdeps/mach/hurd/ppoll.c: Likewise.
5709 * io/ppoll.c: Likewise.
5710 * debug/poll_chk.c: New file.
5711 * debug/ppoll_chk.c: New file.
5712 * include/bits/poll2.h: New file.
5713 * io/bits/poll2.h: New file.
5714
ac097f5c
UD
5715 [BZ #1350]
5716 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5717
2119dcfa
UD
5718 * configure.in: static is always set to yes. Remove.
5719 * config.make.in: Don't set build-static.
5720 * Makeconfig: Remove use of build-static.
5721 * dlfcn/Makefile: Likewise.
5722 * elf/Makefile: Likewise.
5723 * math/Makefile: Likewise.
5724 * misc/Makefile: Likewise.
5725 * nptl/Makefile: Likewise.
5726 * sysdeps/mach/hurd/Makefile: Likewise.
5727
121766a9
UD
5728 * configure.in: PWD_P is not used anymore.
5729 * config.make.in: Remove PWD_P entry.
5730
51a1d39c 5731 * configure.in: Remove last remnants of RANLIB.
8720d066 5732 No need to check for signed size_t anymore.
215f4bdc
UD
5733 Don't set libc_commonpagesize and libc_relro_required here for Alpha
5734 and IA-64.
3857022a 5735 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
5736 * aclocal.m4: Likewise.
5737
d3ed7225
UD
5738 * wcsmbs/mbrtoc16.c: Implement using towc function.
5739 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5740 * wcsmbs/wcsmbsload.c: Likewise.
5741 * iconv/gconv_simple.c: Likewise.
5742 * iconv/gconv_int.h: Likewise.
5743 * iconv/gconv_builtin.h: Likewise.
5744 * iconv/iconv_prog.c: Remove CHAR16 handling.
5745
5746 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5747
5748 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5749
a0da5fe1
UD
5750 * configure.in: Remove --with-elf and --enable-bounded options.
5751 Dont set base_machine for ia64. More non-ELF conditions removed.
5752 Remove testing and setting of leading underscore information.
5753 * config.make.in (build-bounded): Set to no.
5754 * config.h.in: Remove NO_UNDERSCORES entry.
5755 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
5756 them.
5757 * csu/start.c: Remove !NO_UNDERSCORE code.
5758 * locale/localeinfo.h: Likewise.
5759 * sysdeps/generic/machine-gmon.h: Likewise.
5760 * sysdeps/generic/sysdep.h: Likewise.
5761 * sysdeps/i386/sysdep.h: Likewise.
5762 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5763 * sysdeps/mach/sysdep.h: Likewise.
5764 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5765 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5766 * sysdeps/sh/sysdep.h: Likewise.
5767 * sysdeps/sparc/sparc32/alloca.S: Likewise.
5768 * sysdeps/unix/i386/sysdep.S: Likewise.
5769 * sysdeps/unix/sparc/start.c: Likewise.
5770 * sysdeps/unix/sparc/sysdep.S: Likewise.
5771 * sysdeps/unix/sparc/sysdep.h: Likewise.
5772 * sysdeps/unix/start.c: Likewise.
5773 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5774 * sysdeps/x86_64/sysdep.h: Likewise.
5775
df78418a
UD
57762012-01-07 Ulrich Drepper <drepper@gmail.com>
5777
a784e502
UD
5778 [BZ #13553]
5779 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5780 for non-gcc.
5781 * argp/argp-fmtstream.h: Use const instead __const.
5782 * argp/argp.h: Likewise.
5783 * assert/assert.h: Likewise.
5784 * bits/fenv.h: Likewise.
5785 * bits/sched.h: Likewise.
5786 * bits/sigset.h: Likewise.
5787 * bits/sigthread.h: Likewise.
5788 * catgets/nl_types.h: Likewise.
5789 * conform/data/pthread.h-data: Likewise.
5790 * crypt/crypt-private.h: Likewise.
5791 * crypt/crypt.h: Likewise.
5792 * crypt/crypt_util.c: Likewise.
5793 * ctype/ctype.h: Likewise.
5794 * debug/execinfo.h: Likewise.
5795 * debug/mbsnrtowcs_chk.c: Likewise.
5796 * debug/mbsrtowcs_chk.c: Likewise.
5797 * debug/wcsnrtombs_chk.c: Likewise.
5798 * debug/wcsrtombs_chk.c: Likewise.
5799 * debug/wcstombs_chk.c: Likewise.
5800 * dirent/dirent.h: Likewise.
5801 * dlfcn/dlfcn.h: Likewise.
5802 * elf/neededtest4.c: Likewise.
5803 * grp/grp.h: Likewise.
5804 * gshadow/gshadow.h: Likewise.
5805 * iconv/gconv.h: Likewise.
5806 * iconv/gconv_int.h: Likewise.
5807 * iconv/gconv_simple.c: Likewise.
5808 * iconv/iconv.h: Likewise.
5809 * iconv/loop.c: Likewise.
5810 * iconv/skeleton.c: Likewise.
5811 * include/aio.h: Likewise.
5812 * include/aliases.h: Likewise.
5813 * include/argz.h: Likewise.
5814 * include/arpa/inet.h: Likewise.
5815 * include/assert.h: Likewise.
5816 * include/dirent.h: Likewise.
5817 * include/dlfcn.h: Likewise.
5818 * include/execinfo.h: Likewise.
5819 * include/fcntl.h: Likewise.
5820 * include/fenv.h: Likewise.
5821 * include/glob.h: Likewise.
5822 * include/grp.h: Likewise.
5823 * include/libintl.h: Likewise.
5824 * include/mntent.h: Likewise.
5825 * include/netdb.h: Likewise.
5826 * include/pwd.h: Likewise.
5827 * include/rpc/netdb.h: Likewise.
5828 * include/sched.h: Likewise.
5829 * include/search.h: Likewise.
5830 * include/shadow.h: Likewise.
5831 * include/signal.h: Likewise.
5832 * include/stdio.h: Likewise.
5833 * include/stdlib.h: Likewise.
5834 * include/string.h: Likewise.
5835 * include/sys/socket.h: Likewise.
5836 * include/sys/stat.h: Likewise.
5837 * include/sys/statfs.h: Likewise.
5838 * include/sys/statvfs.h: Likewise.
5839 * include/sys/syslog.h: Likewise.
5840 * include/sys/time.h: Likewise.
5841 * include/sys/uio.h: Likewise.
5842 * include/time.h: Likewise.
5843 * include/unistd.h: Likewise.
5844 * include/utmp.h: Likewise.
5845 * include/wchar.h: Likewise.
5846 * include/wctype.h: Likewise.
5847 * inet/aliases.h: Likewise.
5848 * inet/arpa/inet.h: Likewise.
5849 * inet/netinet/ether.h: Likewise.
5850 * inet/netinet/in.h: Likewise.
5851 * intl/libintl.h: Likewise.
5852 * io/bits/fcntl2.h: Likewise.
5853 * io/fcntl.h: Likewise.
5854 * io/ftw.h: Likewise.
5855 * io/sys/poll.h: Likewise.
5856 * io/sys/stat.h: Likewise.
5857 * io/sys/statfs.h: Likewise.
5858 * io/sys/statvfs.h: Likewise.
5859 * io/utime.h: Likewise.
5860 * libio/bits/stdio.h: Likewise.
5861 * libio/bits/stdio2.h: Likewise.
5862 * libio/libio.h: Likewise.
5863 * libio/libioP.h: Likewise.
5864 * libio/stdio.h: Likewise.
5865 * locale/lc-ctype.c: Likewise.
5866 * locale/locale.h: Likewise.
5867 * login/utmp.h: Likewise.
5868 * malloc/arena.c: Likewise.
5869 * malloc/malloc.c: Likewise.
5870 * malloc/malloc.h: Likewise.
5871 * malloc/mcheck.c: Likewise.
5872 * malloc/mtrace.c: Likewise.
5873 * math/bits/mathcalls.h: Likewise.
5874 * math/fenv.h: Likewise.
5875 * math/math_private.h: Likewise.
5876 * misc/bits/error.h: Likewise.
5877 * misc/bits/syslog.h: Likewise.
5878 * misc/err.h: Likewise.
5879 * misc/error.h: Likewise.
5880 * misc/fstab.h: Likewise.
5881 * misc/mntent.h: Likewise.
5882 * misc/regexp.h: Likewise.
5883 * misc/search.h: Likewise.
5884 * misc/sgtty.h: Likewise.
5885 * misc/sys/mman.h: Likewise.
5886 * misc/sys/syslog.h: Likewise.
5887 * misc/sys/uio.h: Likewise.
5888 * misc/sys/xattr.h: Likewise.
5889 * misc/ttyent.h: Likewise.
5890 * nis/rpcsvc/ypclnt.h: Likewise.
5891 * nss/nss.h: Likewise.
5892 * posix/bits/unistd.h: Likewise.
5893 * posix/fnmatch.h: Likewise.
5894 * posix/glob.h: Likewise.
5895 * posix/sched.h: Likewise.
5896 * posix/spawn.h: Likewise.
5897 * posix/sys/wait.h: Likewise.
5898 * posix/unistd.h: Likewise.
5899 * posix/wordexp.h: Likewise.
5900 * pwd/pwd.h: Likewise.
5901 * resolv/netdb.h: Likewise.
5902 * resource/sys/resource.h: Likewise.
5903 * rt/aio.h: Likewise.
5904 * rt/bits/mqueue2.h: Likewise.
5905 * rt/mqueue.h: Likewise.
5906 * shadow/shadow.h: Likewise.
5907 * signal/signal.h: Likewise.
5908 * socket/send.c: Likewise.
5909 * socket/sendto.c: Likewise.
5910 * socket/sys/socket.h: Likewise.
5911 * stdio-common/printf.h: Likewise.
5912 * stdlib/bits/stdlib.h: Likewise.
5913 * stdlib/fmtmsg.h: Likewise.
5914 * stdlib/monetary.h: Likewise.
5915 * stdlib/stdlib.h: Likewise.
5916 * stdlib/ucontext.h: Likewise.
5917 * streams/stropts.h: Likewise.
5918 * string/argz.h: Likewise.
5919 * string/bits/string2.h: Likewise.
5920 * string/string.h: Likewise.
5921 * string/strings.h: Likewise.
5922 * sunrpc/rpc/auth.h: Likewise.
5923 * sunrpc/rpc/auth_des.h: Likewise.
5924 * sunrpc/rpc/clnt.h: Likewise.
5925 * sunrpc/rpc/netdb.h: Likewise.
5926 * sunrpc/rpc/pmap_clnt.h: Likewise.
5927 * sunrpc/rpc/xdr.h: Likewise.
5928 * sysdeps/generic/inttypes.h: Likewise.
5929 * sysdeps/generic/net/if.h: Likewise.
5930 * sysdeps/generic/sys/swap.h: Likewise.
5931 * sysdeps/gnu/net/if.h: Likewise.
5932 * sysdeps/gnu/utmpx.h: Likewise.
5933 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5934 * sysdeps/i386/i486/bits/string.h: Likewise.
5935 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5936 * sysdeps/s390/bits/string.h: Likewise.
5937 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5938 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5939 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5940 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5941 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5942 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5943 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5944 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5945 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5946 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5947 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5948 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5949 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5950 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5951 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5952 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5953 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5954 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5955 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5956 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5957 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5958 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5959 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5960 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5961 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5962 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5963 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5964 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5965 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5966 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5967 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5968 * sysvipc/sys/ipc.h: Likewise.
5969 * sysvipc/sys/msg.h: Likewise.
5970 * sysvipc/sys/sem.h: Likewise.
5971 * sysvipc/sys/shm.h: Likewise.
5972 * termios/termios.h: Likewise.
5973 * time/sys/time.h: Likewise.
5974 * time/time.h: Likewise.
5975 * wcsmbs/bits/wchar2.h: Likewise.
5976 * wcsmbs/uchar.h: Likewise.
5977 * wcsmbs/wchar.h: Likewise.
5978 * wctype/wctype.h: Likewise.
5979
0269750c
UD
5980 [BZ #13551]
5981 * Makeconfig: Remove all but ELF support including AIX support.
5982 * Makerules: Likewise.
5983 * config.h.in: Likewise.
5984 * config.make.in: Likewise.
5985 * configure: Likewise.
5986 * configure.in: Likewise.
5987 * csu/Makefile: Likewise.
5988 * csu/version.c: Likewise.
5989 * debug/Makefile: Likewise.
5990 * dlfcn/Makefile: Likewise.
5991 * elf/Makefile: Likewise.
5992 * extra-lib.mk: Likewise.
5993 * iconv/Makefile: Likewise.
5994 * include/libc-symbols.h: Likewise.
5995 * include/shlib-compat.h: Likewise.
5996 * resolv/Makefile: Likewise.
5997 * resolv/res_libc.c: Likewise.
5998 * rt/Makefile: Likewise.
5999 * sysdeps/i386/asm-syntax.h: Likewise.
6000 * sysdeps/i386/sysdep.h: Likewise.
6001 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6002 * sysdeps/mach/sysdep.h: Likewise.
6003 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6004 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6005 * sysdeps/s390/asm-syntax.h: Likewise.
6006 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6007 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6008 * sysdeps/sh/sysdep.h: Likewise.
6009 * sysdeps/unix/sparc/sysdep.h: Likewise.
6010 * sysdeps/wordsize-32/divdi3.c: Likewise.
6011 * sysdeps/x86_64/sysdep.h: Likewise.
6012
00bbd29b
UD
6013 * argp/Versions: Remove _argp_unlock_xxx.
6014
6015 [BZ #13559]
6016 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6017 * abilist/libBrokenLocale.abilist: Likewise.
6018 * abilist/libanl.abilist: Likewise.
6019 * abilist/libc.abilist: Likewise.
6020 * abilist/libcrypt.abilist: Likewise.
6021 * abilist/libdl.abilist: Likewise.
6022 * abilist/libm.abilist: Likewise.
6023 * abilist/libnsl.abilist: Likewise.
6024 * abilist/libpthread.abilist: Likewise.
6025 * abilist/libresolv.abilist: Likewise.
6026 * abilist/librt.abilist: Likewise.
6027 * abilist/libthread_db.abilist: Likewise.
6028 * abilist/libutil.abilist: Likewise.
6029 * abilist/libnss_db.abilist: New file.
6030
6031 * scripts/abilist.awk: Add support for indirect functions.
6032
a2693a0e
UD
6033 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6034
3f05895f
UD
6035 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6036
ecb6fb48
UD
6037 * shlib-versions: Remove entries for ports architectures.
6038
664f8cb9
UD
6039 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6040 files in ports.
6041 * elf/stackguard-macros.h: Remove support for IA-64.
6042 * elf/tst-auditmod1.c: Likewise.
6043 * sysdeps/generic/ldsodefs.h: Likewise.
6044
7ae81d88
UD
6045 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6046 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6047 configure files.
6048
bdeba135
UD
6049 [BZ #13552]
6050 * configure.in: Remove --enable-omitfp support.
6051 * FAQ.in: Adjust.
6052 * config.make.in: Likewise.
6053 * Makeconfig: Likewise.
6054 * manual/install.texi: Likewise.
6055
d75a0a62
UD
6056 In case anyone cares, the IA-64 architecture could move to ports.
6057 * sysdeps/ia64/*: Removed.
6058 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 6059 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 6060
dcc9756b
UD
6061 [BZ #13555]
6062 * configure.in: Remove entries for unsupported architectures.
6063
d3761ebc 6064 [BZ #13533]
9954432e
UD
6065 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6066 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6067 routines.
6068 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6069 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6070 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6071 fall back to using wcrtomb.
6072 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6073 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6074 renaming.
6075 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6076 * wcsmbs/tst-c16c32-1.c: New file.
6077
6078 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6079 local variable.
6080
c3a87236
UD
6081 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6082
28926a1b
UD
6083 * elf/tst-unique3.cc: Add explicit declaration of gets.
6084 * elf/tst-unique3lib.cc: Likewise.
6085 * elf/tst-unique3lib2.cc: Likewise.
6086 * elf/tst-unique4.cc: Likewise.
6087
df78418a
UD
6088 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6089
8ecd6b2a
JM
60902012-01-06 Joseph Myers <joseph@codesourcery.com>
6091
6092 [BZ #13566]
6093 * assert/assert.h (static_assert): Don't define for C++.
6094 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6095 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6096
9f115170
UD
60972012-01-03 Ulrich Drepper <drepper@gmail.com>
6098
5e0d0300
UD
6099 * iconv/loop.c (single loop): Fix assertion in storing of
6100 remaining bytes.
6101
9f115170
UD
6102 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6103
81fb02b0
UD
61042012-01-01 Ulrich Drepper <drepper@gmail.com>
6105
6106 * posix/getconf.c: Update copyright year.
6107 * nss/getent.c: Likewise.
a316c1f6 6108 * nss/makedb.c: Likewise.
81fb02b0
UD
6109 * iconv/iconvconfig.c: Likewise.
6110 * iconv/iconv_prog.c: Likewise.
6111 * elf/ldconfig.c: Likewise.
a316c1f6
UD
6112 * elf/pldd.c: Likewise.
6113 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
6114 * catgets/gencat.c: Likewise.
6115 * csu/version.c: Likewise.
6116 * elf/ldd.bash.in: Likewise.
6117 * elf/sprof.c (print_version): Likewise.
6118 * locale/programs/locale.c: Likewise.
6119 * locale/programs/localedef.c: Likewise.
a316c1f6 6120 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
6121 * nscd/nscd.c (print_version): Likewise.
6122 * debug/xtrace.sh: Likewise.
6123 * malloc/memusage.sh: Likewise.
6124 * malloc/mtrace.pl: Likewise.
6125 * debug/catchsegv.sh: Likewise.
6126
2ba92745
JJ
61272011-12-30 Jakub Jelinek <jakub@redhat.com>
6128
6129 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6130 pure attribute.
6131
dadebdae
UD
61322011-12-24 Ulrich Drepper <drepper@gmail.com>
6133
d3761ebc 6134 [BZ #13533]
db6af3eb
UD
6135 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6136 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6137 transformations.
6138 * iconv/gconv_int.h: Likewise.
6139 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6140 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6141 from libc for GLIBC_2.16.
6142 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6143 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6144 * wcsmbs/uchar.h: Really define mbstate_t.
6145 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6146 * wcsmbs/c16rtomb.c: New file.
6147 * wcsmbs/mbrtoc16.c: New file.
6148 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6149 for C/POSIX locale.
6150 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6151 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6152
dadebdae
UD
6153 * wcsmbs/wchar.h: Add missing __restrict.
6154
67371b56
UD
61552011-12-23 Ulrich Drepper <drepper@gmail.com>
6156
74033a25
UD
6157 [BZ #13532]
6158 * time/Makefile (routines): Add timespec_get.
6159 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6160 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6161 timespec for ISO C11.
6162 * time/timespec_get.c: New file.
6163 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6164 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6165
380d7e87
UD
6166 [BZ #13531]
6167 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6168 * stdlib/stdlib.h: Declare aligned_alloc.
6169 * Versions.def: Add GLIBC_2.16 for libc.
6170 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6171
4e9e7a35
UD
6172 [BZ 13527]
6173 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6174 ISO C11.
6175
380d7e87 6176 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
6177 code.
6178
03a71829
UD
6179 [BZ #13528]
6180 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6181
839e283e
UD
6182 [BZ #13529]
6183 * assert/assert.h (static_assert): Define.
6184
ce5294e2 6185 * version.h: Update for 2.16 development version.
90fa7312 6186
8d44e150 6187 [BZ #13526]
d7809905
UD
6188 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6189 _ISOC11_SOURCE.
6190
c0da14cd
UD
6191 * version.h (RELEASE): Bump for 2.15 release.
6192 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6193
530a3249
MP
6194 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6195 Patch by Marek Polacek <mpolacek@redhat.com>.
6196
67371b56
UD
6197 * bits/byteswap.h: Protect long long constants with __extension__.
6198 * sysdeps/i386/bits/byteswap.h: Likewise.
6199 * sysdeps/ia64/bits/byteswap.h: Likewise.
6200 * sysdeps/s390/bits/byteswap.h: Likewise.
6201 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6202
15db4de1
LD
62032011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6204
6205 [BZ #13540]
bbe315ea
LD
6206 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6207 destination buffer.
15db4de1
LD
6208 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6209
2b2596b1
MP
62102011-12-23 Marek Polacek <polacek@redhat.com>
6211
6212 * elf/dl-addr.c (determine_info): Add inline keyword.
6213 * elf/tst-auditmod4b.c (check_avx): Likewise.
6214 * elf/tst-auditmod6b.c (check_avx): Likewise.
6215 * elf/tst-auditmod6c.c (check_avx): Likewise.
6216 * elf/tst-auditmod7b.c (check_avx): Likewise.
6217
70c6c246
UD
62182011-12-23 Ulrich Drepper <drepper@gmail.com>
6219
6220 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6221 !__SSE_MATH__.
6222
c044cf14
LD
62232011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6224
15db4de1 6225 [BZ #13540]
c044cf14
LD
6226 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6227 processing for last bytes.
6228
6b13d9d9
BH
62292011-08-06 Bruno Haible <bruno@clisp.org>
6230
d455f537
BH
6231 [BZ #13061]
6232 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6233 U+0385, not to U+1FEE.
6234
6b13d9d9
BH
6235 [BZ #13062]
6236 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6237 entry for U+00A5 U+0301.
6238
db910efd
UD
62392011-12-22 Ulrich Drepper <drepper@gmail.com>
6240
27deeafc
UD
6241 [BZ #13166]
6242 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6243 buffer for the output is too small.
6244
aed9d171
UD
6245 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6246 optimization.
6247
db910efd
UD
6248 [BZ #13185]
6249 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6250 SSE flags if possible.
6251
2bd779ae
LD
62522011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6253
e7f9dac3 6254 [BZ #13540]
2bd779ae
LD
6255 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6256 processing for last bytes.
6257
154bfc16
JM
62582011-12-22 Joseph Myers <joseph@codesourcery.com>
6259
6260 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6261 (syscall-list-default-options, syscall-list-default-condition)
6262 (syscall-list-includes): Define.
6263 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6264 list of ABIs and options and #if conditions for each ABI. Do not
6265 handle common syscalls between ABIs specially.
6266 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6267 Remove.
6268 (syscall-list-variants, syscall-list-32bit-options)
6269 (syscall-list-32bit-condition, syscall-list-64bit-options)
6270 (syscall-list-64bit-condition): Define.
6271 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6272 (syscall-list-variants, syscall-list-32bit-options)
6273 (syscall-list-32bit-condition, syscall-list-64bit-options)
6274 (syscall-list-64bit-condition): Define.
6275 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6276 Remove.
6277 (syscall-list-variants, syscall-list-32bit-options)
6278 (syscall-list-32bit-condition, syscall-list-64bit-options)
6279 (syscall-list-64bit-condition): Define.
6280 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6281 Remove.
6282 (syscall-list-variants, syscall-list-32bit-options)
6283 (syscall-list-32bit-condition, syscall-list-64bit-options)
6284 (syscall-list-64bit-condition): Define.
6285
21eaf3a5
UD
62862011-12-22 Ulrich Drepper <drepper@gmail.com>
6287
16c6f992
UD
6288 * locale/iso-639.def: Add brx entry.
6289
41043168
UD
6290 [BZ #13328]
6291 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6292 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6293
21eaf3a5
UD
6294 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6295 __feraiseexcept_renamed.
6296
e3a851a2
UD
62972011-12-21 Ulrich Drepper <drepper@gmail.com>
6298
4920765e
UD
6299 [BZ #13538]
6300 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6301 EPOLLET with unsigned values.
6302 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6303 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6304
e3a851a2
UD
6305 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6306 to large cancellation.
6307 * math/s_cacoshf.c: Likewise.
6308 * math/s_cacoshl.c: Likewise.
6309
b27e24b8
RK
63102011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6311
6312 [BZ #13305]
aebefeee 6313 [BZ #12786]
b27e24b8
RK
6314 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6315 * math/s_cacoshf.c: Likewise.
6316 * math/s_cacoshl.c: Likewise.
6317
ee190f67
UD
63182011-12-21 Ulrich Drepper <drepper@gmail.com>
6319
6320 [BZ #13439]
6321 * iconv/gconv.h: Define __GCONV_SWAP.
6322 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6323 * iconvdata/utf-16.c: Likewise.
6324 * iconvdata/utf-32.c: Likewise.
6325
707f25df
AS
63262011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6327
6328 [BZ #13524]
6329 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6330 numerator after shifting it by one limb.
6331
d2daaa1e
RÁE
63322011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6333
6334 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6335 under [__USE_EXTERN_INLINES].
6336
a4647e72
UD
63372011-12-17 Ulrich Drepper <drepper@gmail.com>
6338
6339 [BZ #13446]
6340 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6341
f0b264f1
AZ
63422011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6343
6344 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6345 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6346 optimized code.
6347 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6348 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6349 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6350 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6351 for strncasecmp/strncasecmp_l compilation.
6352 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6353 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6354
8ef4f244
MP
63552011-12-08 Marek Polacek <mpolacek@redhat.com>
6356
6357 [BZ #13484]
6358 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6359 of __asm__.
6360
97ac2654
UD
63612011-12-17 Ulrich Drepper <drepper@gmail.com>
6362
6363 [BZ #13506]
6364 * time/tzfile.c (__tzfile_read): Check values from file header.
6365
91d2a845
WS
63662011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6367
6368 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6369 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6370 * powerpc/powerpc32/dl-start.S: Likewise.
6371 * powerpc/powerpc32/elf/start.S: Likewise.
6372 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6373 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6374 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6375 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6376 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6377 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6378 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6379 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6380 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6381 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6382 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6383 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6384 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6385 * powerpc/powerpc32/memset.S: Likewise.
6386 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6387 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6388 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6389 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6390 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6391 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6392 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6393 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6394 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6395 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6396 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6397 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6398 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6399
a1267ba1
AZ
64002011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6401
6402 * math/libm-test.inc: Added more nearbyint tests.
6403 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6404 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6405 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6406 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6407
ad8ac1bd
RL
64082011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6409
6410 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6411 FD_CLOEXEC.
6412
1d3e4b61
UD
64132011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6414
6415 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6416 Add wcscpy-ssse3 wcscpy-c.
6417 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6418 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6419 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6420 * sysdeps/x86_64/wcschr.S: New file.
6421 * sysdeps/x86_64/wcsrchr.S: New file.
6422 * string/test-strcmp.c: Remove checking of wcscmp function for
6423 wrong alignments.
6424 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6425 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6426 wcsrchr-sse2 wcsrchr-c.
6427 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6428 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6429 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6430 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6431 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6432 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6433 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6434 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6435 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6436 * wcsmbc/wcschr.c (WCSCHR): New macro.
6437
5b330a2d
UD
64382011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6439
6440 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6441 * wcsmbs/test-wcsrchr.c: New file.
6442 * string/test-strrchr.c: Add wcsrchr support.
6443 (WIDE): New macro.
6444 * wcsmbs/test-wcscpy.c: New file.
6445 * string/test-strcpy.c: Add wcscpy support.
6446 (WIDE): New macro.
26428b7c 6447
f039c043
UD
64482011-12-10 Ulrich Drepper <drepper@gmail.com>
6449
6450 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6451 the inner loop.
6452
850fb039
AS
64532011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6454
6455 [BZ #13472]
6456 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6457
4efbd5cb
UD
64582011-12-04 Ulrich Drepper <drepper@gmail.com>
6459
52ff5dd0 6460 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 6461 Minor optimizations.
52ff5dd0 6462
4efbd5cb
UD
6463 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6464 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6465 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6466
8a426e12
UD
64672011-12-03 Ulrich Drepper <drepper@gmail.com>
6468
aff2453d
UD
6469 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6470 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6471 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6472 for gcc to avoid warnings.
6473 * inet/Makefile (tests): Add tst-checks.
6474 * inet/tst-checks.c: New file.
6475
6476 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6477 warning.
6478
6479 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6480 __wmemcmp_sse2.
6481
6482 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6483 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6484
8a426e12
UD
6485 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6486
9bea3473
UD
64872011-12-02 Ulrich Drepper <drepper@gmail.com>
6488
3a965496
UD
6489 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6490 problem.
6491
9bea3473
UD
6492 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6493
f101631b
UD
64942011-11-29 Joseph Myers <joseph@codesourcery.com>
6495
6496 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6497 conditional on GCC version.
6498 (__arch_compare_and_exchange_val_8_acq)
6499 (__arch_compare_and_exchange_val_16_acq)
6500 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6501 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6502 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6503
a98275aa
UD
65042011-12-02 Joseph Myers <joseph@codesourcery.com>
6505
6506 * sysdeps/sh/backtrace.c: New file.
6507
d4cc29a2
AS
65082011-12-02 Andreas Schwab <schwab@redhat.com>
6509
6510 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6511 parenthesis.
6512
6257af2d
AS
65132011-12-01 Andreas Schwab <schwab@redhat.com>
6514
6515 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6516 falling back to utime.
6517
b5f44c1a
AS
65182011-11-30 Andreas Schwab <schwab@redhat.com>
6519
6520 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6521 expectations for float.
6522
f3a6cc0a
AS
65232011-11-29 Andreas Schwab <schwab@redhat.com>
6524
6525 * locale/weight.h (findidx): Add parameter len.
6526 * locale/weightwc.h (findidx): Likewise.
6527 * posix/fnmatch_loop.c (FCT): Adjust caller.
6528 * posix/regcomp.c (build_equiv_class): Likewise.
6529 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6530 * posix/regexec.c (check_node_accept_bytes): Likewise.
6531 * string/strcoll_l.c (STRCOLL): Likewise.
6532 * string/strxfrm_l.c (STRXFRM): Likewise.
6533
9d65ea3a
UD
65342011-11-17 Ulrich Drepper <drepper@gmail.com>
6535
6536 * Makefile.in: Remove CVSOPT handling.
6537 * configure.in: Remove use of AC_REVISION.
6538 * iconvdata/Makefile (distribute): No need to filter out CVS.
6539 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6540 handling.
6541
5583a086
AS
65422011-11-16 Andreas Schwab <schwab@redhat.com>
6543
6544 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6545 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6546 [USE_AS_STRNCASECMP_L]: Likewise.
6547 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6548 NO_TLS_DIRECT_SEG_REFS.
6549 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6550 Fix argument offsets for non-PIC.
6551 [USE_AS_STRNCASECMP_L]: Likewise.
6552 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6553 NO_TLS_DIRECT_SEG_REFS.
6554
d62a8200
UD
65552011-11-15 Ulrich Drepper <drepper@gmail.com>
6556
9d65ea3a 6557 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
6558 O_CLOEXEC.
6559 * locale/loadlocale.c (_nl_load_locale): Likewise.
6560
09f93bd3
AS
65612011-11-15 Andreas Schwab <schwab@redhat.com>
6562
446514f9
AS
6563 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6564 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6565 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6566 (SYSCALL_GETTIME): Set errno on error.
6567
09f93bd3
AS
6568 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6569 count references to noai6ai_cached.
6570
312be3f9
UD
65712011-11-15 Ulrich Drepper <drepper@gmail.com>
6572
6573 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6574
6575 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6576 FD_CLOEXEC for /proc/self/maps.
6577
6578 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6579 FD_CLOEXEC for /proc/meminfo.
6580
6581 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6582 gai.conf.
6583
6584 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6585 FD_CLOEXEC for given file.
6586
6587 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6588
6589 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6590 FD_CLOEXEC for /etc/hosts.
6591 (_gethtent): Likewise.
6592
6593 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6594
6595 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6596 cancellation and set FD_CLOEXEC for /etc/netgroup.
6597
6598 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6599 reading /etc/publickey.
6600
6601 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6602 allow cancellation when reading /etc/group.
6603
6604 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6605 cancellation.
6606 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6607
6608 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6609 when using data file.
6610
6611 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6612
6613 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6614 (write_nis_obj): Use "c" and "e" in fopen.
6615
6616 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6617
6618 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6619
6620 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6621
6622 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6623
6624 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6625 locale.alias.
6626
6627 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6628
6629 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6630
6631 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6632
6633 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6634 file parsing and set FD_CLOEXEC.
6635
82af0fa8
UD
66362011-11-14 Ulrich Drepper <drepper@gmail.com>
6637
6638 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6639
a5fb313c
AS
66402011-11-14 Andreas Schwab <schwab@redhat.com>
6641
6642 * malloc/arena.c (arena_get2): Don't call reused_arena when
6643 _int_new_arena failed.
6644
6abf3465
UD
66452011-11-14 Ulrich Drepper <drepper@gmail.com>
6646
6647 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6648 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6649 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6650 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6651 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6652 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6653 to compile strcasecmp and strncasecmp.
6654 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6655 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6656
6657 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6658
76e3966e
UD
66592011-11-13 Ulrich Drepper <drepper@gmail.com>
6660
6661 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6662 locale-defines.sym to gen-as-const-headers.
6663 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6664 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6665 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6666 to compile strcasecmp and strncasecmp.
6667 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6668 strcasecmp_l and strncasecmp_l.
6669 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6670 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6671 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6672 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6673 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6674 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6675 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6676 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6677 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6678 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6679 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6680
ab26144e
UD
66812011-11-12 Ulrich Drepper <drepper@gmail.com>
6682
7edb22ef
UD
6683 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6684 result of SYSDEP_GETTIME_CPU to retval.
6685 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6686 parameter list to macro. Remove trailing semicolon. Adjust users.
6687
9694fc44
UD
6688 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6689 variable.
6690
8ad89ef8
UD
6691 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6692 mantissa words.
6693 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6694
0c822ef9
UD
6695 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6696 from unused variable.
6697
874e0564
UD
6698 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6699 DWARF definitions.
6700 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6701 for assembling.
6702
3a2edc79
UD
6703 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6704 over namespaces.
6705
f3c2577f
UD
6706 * sunrpc/rpc_prot.c (rejected): Fix case value.
6707
294ce126
UD
6708 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6709 unsigned long long int to avoid warnings in shift.
6710
5e2b63c6
UD
6711 * posix/regex_internal.c (re_string_reconstruct): Actually use result
6712 of use of trans.
6713 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6714 variable tmp.
6715
e7f4b08e
UD
6716 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6717 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6718 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6719
ab26144e
UD
6720 * nis/nis_table.c (nis_list): Use variable of correct type for
6721 result of __follow_path call.
6722
8a6d5255
AZ
67232011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6724
6725 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6726 of math functions ceil, trunc, floor, round, and sqrt, when
6727 avaliable on the platform.
6728 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6729 name clash.
6730 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6731 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6732 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6733
aaddc98c
MP
67342011-10-30 Marek Polacek <mpolacek@redhat.com>
6735
6736 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6737 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6738
95b7042b
RM
67392011-11-11 Roland McGrath <roland@hack.frob.com>
6740
6741 * include/unistd.h: Fix __readlink return type.
6742 Reported by Chris Metcalf <cmetcalf@tilera.com>.
6743
57769839
UD
67442011-11-11 Ulrich Drepper <drepper@gmail.com>
6745
6746 * stdlib/ucontext.h: Undo last change for makecontext.
6747
edc5984d
AS
67482011-11-11 Andreas Schwab <schwab@redhat.com>
6749
98591e58
AS
6750 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6751
edc5984d
AS
6752 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6753 * setjmp/setjmp.h: Mark functions as non-leaf.
6754 * setjmp/bits/setjmp2.h: Likewise.
6755 * stdlib/ucontext.h: Likewise.
6756
77cdc054
AS
67572011-11-10 Andreas Schwab <schwab@redhat.com>
6758
6759 * malloc/arena.c (_int_new_arena): Don't increment narenas.
6760 (reused_arena): Don't check arena limit.
6761 (arena_get2): Atomically check arena limit.
6762
fe72eebd
UD
67632011-11-08 Ulrich Drepper <drepper@gmail.com>
6764
5f078c32
UD
6765 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6766 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6767
fe72eebd
UD
6768 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6769 instructions.
6770
ae1bc2fa
AS
67712011-11-07 Andreas Schwab <schwab@redhat.com>
6772
7583a88d
AS
6773 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6774 handler when locking.
6775
ae1bc2fa
AS
6776 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6777 Fix size of allocated buffer.
6778
10fb0bfa
AS
67792011-11-04 Andreas Schwab <schwab@redhat.com>
6780
998832a4
AS
6781 [BZ #10103]
6782 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6783 declarations for long double functions.
6784 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6785
10fb0bfa
AS
6786 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6787
3d7ba52b
AS
67882011-11-03 Andreas Schwab <schwab@redhat.com>
6789
a9ae54a1
AS
6790 * nscd/nscd.c (main): Don't start AVC thread until credentials are
6791 installed.
6792
3d7ba52b
AS
6793 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6794 is disabled.
6795
bc8db248
ST
67962011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6797
6798 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6799
45b96dd6
AS
68002011-11-01 Andreas Schwab <schwab@linux-m68k.org>
6801
647776f6
AS
6802 * include/alloca.h (stackinfo_alloca_round): Define.
6803 (extend_alloca): Use it.
6804 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6805 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6806 here.
6807
d91a8b93
AS
6808 * scripts/check-local-headers.sh: Ignore libaudit.h.
6809
45b96dd6
AS
6810 * nscd/Makefile (extra-objs): Make recursively expanded.
6811
432d41ce
UD
68122011-11-01 Ulrich Drepper <drepper@gmail.com>
6813
34372fc6
UD
6814 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6815 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6816
fadb59f8
UD
6817 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6818 * posix/tst-rfc3484-2.c: Likewise.
6819 * posix/tst-rfc3484-3.c: Likewise.
6820
78239589
UD
6821 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6822 process_vm_writev.
6823 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6824 process_vm_writev.
6825 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6826 process_vm_writev from libc using GLIBC_2.15 version.
6827
432d41ce
UD
6828 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6829
02f9c6cf
PP
68302011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6831
6832 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6833 stack usage.
6834
3a2c0242
UD
68352011-10-31 Ulrich Drepper <drepper@gmail.com>
6836
f4ec4833
UD
6837 [BZ #13367]
6838 * nss/getent.c (initgroups_keys): Show error message in case no group
6839 names are given.
6840
3a2c0242
UD
6841 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6842 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6843 __bump_nl_timestamp.
6844 * nscd/connections (nscd_init): When host database is served open
6845 netlink socket and request notification about configuration changes.
6846 (main_loop_poll): Track netlink file descriptor and bump timestamp
6847 in case data becomes available.
6848 (main_loop_epoll): Likewise.
6849 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6850 (database_pers_head): Add extra_data fileds.
6851 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6852 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6853 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6854 Adjust caller.
6855 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6856 in6ai data, call __free_in6ai.
6857 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6858 Add -DHAVE_NETLINK.
6859 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
6860 interface information. Reuse previous data if netlink timestamp
6861 is not changed.
6862 (__bump_nl_timestamp): New function.
6863 (__free_in6ai): New function.
6864
636064eb
UD
68652011-10-30 Ulrich Drepper <drepper@gmail.com>
6866
6867 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6868 close_not_cancel_no_status here.
6869 (__check_pf): Reorganize code a bit to not call close twice if OOM.
6870
9beb2334
UD
68712011-10-29 Ulrich Drepper <drepper@gmail.com>
6872
6ef76f3b
UD
6873 [BZ #13276]
6874 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6875 return value.
6876
0ffc4f3e 6877 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
6878 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6879 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6880
cb95113e
UD
68812011-07-03 Andreas Jaeger <aj@suse.de>
6882
6883 [BZ #10709]
6884 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6885 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6886 * math/libm-test.inc (sin_test): Add test case.
6887
a1b560ff
UD
68882011-10-29 Ulrich Drepper <drepper@gmail.com>
6889
c9aaface
UD
6890 [BZ #13337]
6891 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6892 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6893
d272e7f1
UD
6894 * elf/chroot_canon.c (chroot_canon): Cleanups.
6895
1bc33071
UD
6896 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6897
1760874d
TJ
6898 [BZ #13335]
6899 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6900 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6901
51d91b18
UD
6902 * string/test-strchr.c: Make usable for strchrnul testing.
6903 * string/test-strchrnul.c: New file.
6904 * string/Makefile (strop-tests): Add strchrnul.
6905
a1b560ff 6906 * po/it.po: Update from translation team.
b611fb81 6907 * po/es.po: Likewise.
a1b560ff 6908
a5b81e1f
UD
69092011-10-28 Ulrich Drepper <drepper@gmail.com>
6910
fd52bc6d
UD
6911 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6912 the three constants needed as parameters. Drop the others.
6913 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6914 __m128i_strloadu_tolower.
52e4b9eb
UD
6915 Create and initialize variable zero and use it in all the places
6916 where _mm_setzero_si128 was used.
fd52bc6d 6917
a5b81e1f
UD
6918 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6919 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6920 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6921 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6922 anymore.
6923 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6924 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6925 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6926 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6927 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6928 __mpranred, __mptan.
6929 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6930 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6931 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6932 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6933 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6934 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6935 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6936 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6937 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6938
b4343346
AS
69392011-10-28 Andreas Schwab <schwab@redhat.com>
6940
0c92d8a8
AS
6941 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6942 redefine if SHARED.
6943 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6944
b4343346
AS
6945 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6946 wide char related routines to wcsmbs subdir.
6947
3871f58f
AS
69482011-10-27 Andreas Schwab <schwab@redhat.com>
6949
6950 [BZ #13344]
6951 * misc/sys/cdefs.h (__THROWNL): Define.
6952 * posix/unistd.h: Use __THREADNL instead of __THREAD
6953 for memory synchronization functions.
6954
94d44d9f
RM
69552011-10-26 Roland McGrath <roland@hack.frob.com>
6956
21b64b15 6957 [BZ #13349]
94d44d9f
RM
6958 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6959 doesn't exist.
6960 * manual/stdio.texi (Obstack Streams): Node removed.
6961
f6ce9294
AS
69622011-10-26 Andreas Schwab <schwab@redhat.com>
6963
80479147
AS
6964 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6965 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6966 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6967
f6ce9294
AS
6968 * math/math_private.h (math_force_eval): Allow non-addressable
6969 arguments.
6970 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6971
618280a1
UD
69722011-10-25 Ulrich Drepper <drepper@gmail.com>
6973
e0016b11
UD
6974 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6975 file is not needed.
6976
6977 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6978 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6979 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6980 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6981 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6982 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6983 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6984 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6985 Add AVX variants.
6986 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6987 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6988 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6989 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6990 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6991 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6992 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6993 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6994 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6995 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6996 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6997 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6998 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6999 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7000 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7001 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7002 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7003 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7004 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7005
7006 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7007 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7008
618280a1
UD
7009 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7010 place. Use VEX encoding when compiling for AVX.
7011
37822576
AS
70122011-10-25 Andreas Schwab <schwab@redhat.com>
7013
1f1e1947
AS
7014 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7015 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7016
37822576
AS
7017 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7018
31ea014d
UD
70192011-10-25 Ulrich Drepper <drepper@gmail.com>
7020
d7826aa1 7021 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 7022 useless if() expression.
d7826aa1
UD
7023 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7024 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7025 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7026 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7027 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7028 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7029 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7030 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7031 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7032 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7033 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7034 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7035 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7036 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7037 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7038 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7039 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7040 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7041 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7042
31ea014d
UD
7043 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7044
16437fec
AS
70452011-10-25 Andreas Schwab <schwab@redhat.com>
7046
7047 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7048 condition.
7049 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7050
31d3cc00
UD
70512011-10-25 Ulrich Drepper <drepper@gmail.com>
7052
7053 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7054 .text section. Avoid duplicate constants.
7055 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7056 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7057 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7058 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7059 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7060 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7061 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7062 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7063 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7064 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7065 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7066 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7067 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7068 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7069 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7070 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7071 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7072 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7073 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7074 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7075 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7076 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7077 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7078 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7079 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7080 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7081 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7082 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7083 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7084 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7085 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7086 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7087 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7088 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7089 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7090 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7091 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7092 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7093 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7094 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7095 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7096 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7097 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7098 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7099 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7100
58985aa9
UD
71012011-10-24 Ulrich Drepper <drepper@gmail.com>
7102
202c9deb
UD
7103 * sysdeps/x86_64/dla.h: Move to ...
7104 * sysdeps/x86_64/fpu/dla.h: ...here.
7105 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7106 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 7107
af968f62
UD
7108 * config.make.in: Add have-mfma4 entry.
7109 * configure.in: Substitute libc_cv_cc_fma4.
7110 * math/Makefile (dbl-only-routines): Add sincostab.
7111 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7112 Use __sincostab not sincos.
7113 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7114 name is a macro.
7115 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7116 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7117 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7118 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7119 using __copysign.
7120 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7121 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7122 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7123 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7124 and __inv.
7125 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7126 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7127 __copysign.
7128 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7129 define aliases when function name is a macro.
7130 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7131 sysdeps/ieee754/dbl-64/sincos.tbl.
7132 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7133 fma4-enabled routines.
7134 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7135 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7136 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7137 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7138 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7139 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7140 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7141 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7142 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7143 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7144 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7145 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7146 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7147 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7148 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7149 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7150 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7151 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7152 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7153 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7154 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7155 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7156 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7157 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7158 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7159 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7160 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7161 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7162 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7163 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7164
58985aa9
UD
7165 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7166 rename.
7167 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7168 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7169 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7170 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7171 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7172 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7173 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7174 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7175
a201fbcf
AS
71762011-10-24 Andreas Schwab <schwab@redhat.com>
7177
7178 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7179
fc2ee42a
LD
71802011-10-23 Ulrich Drepper <drepper@gmail.com>
7181
bb3129bd
UD
7182 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7183
0275fff8
UD
7184 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7185 prediction.
7186 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7187
2fa2ae85
UD
7188 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7189 Remove unused variable magic_bits.
7190 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7191
fc2ee42a
LD
7192 * string/strnlen.c: Define and use STRNLEN macro.
7193 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7194 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7195 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7196 * wcsmbs/wcslen.c: Define and use WCSLEN.
7197 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7198 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7199 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7200 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7201 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7202 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7203 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7204
ce7dd29f
LD
72052011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7206
7207 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7208 strnlen-sse2-no-bsf.
7209 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7210 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7211 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7212 Add strnlen support.
7213 (USE_AS_STRNLEN): New macro.
7214 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7215 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7216 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7217 * sysdeps/x86_64/wcslen.S: New file.
7218
979c70a3
MZ
72192011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7220
7221 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7222 XMM-moves are used for copying on small sizes.
7223
2d09f82f
LD
72242011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7225
7226 * wcsmbs/Makefile (strop-tests): Add wcschr.
7227 * wcsmbs/test-wcschr.c: New file.
7228 * string/test-strchr.c: Update.
7229 Add wcschr support.
7230 (WIDE): New macro.
7231
619fccca
LD
72322011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7233
2d09f82f 7234 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
7235 * wcsmbs/test-wcslen.c: New file.
7236 * string/test-strlen.c: Update.
7237 Add wcslen support.
7238 (WIDE): New macro.
7239
09f699ea
UD
72402011-10-23 Ulrich Drepper <drepper@gmail.com>
7241
7242 * po/it.po: Update from translation team.
7243
95584d3b
LD
72442011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7245
7246 * sysdeps/x86_64/wcscmp.S: Update.
7247 Fix wrong comparison semantics.
7248 wcscmp shall use signed comparison not unsigned.
7249 Don't use substraction to avoid overflow bug.
7250 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7251 * wcsmbc/wcscmp.c: Likewise.
7252 * string/test-strcmp.c: Likewise.
7253 Add new tests to check cases with negative values.
7254
c8b3296b
UD
72552011-10-23 Ulrich Drepper <drepper@gmail.com>
7256
7257 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7258 * sysdeps/x86_64/dla.h: ...here. New file.
7259 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7260 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7261 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7262 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7263 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7264 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7265 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7266 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7267 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7268
246ad57a
AS
72692011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7270
7271 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7272 __ynl_finite aliases.
7273
a1a87169
UD
72742011-10-22 Ulrich Drepper <drepper@gmail.com>
7275
0d355eb7
UD
7276 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7277
a1a87169
UD
7278 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7279 define DLA_FMA.
7280 [DLA_FMA] (EMULV): Use DLA_FMA.
7281 [DLA_FMA] (MUL12): Use EMULV.
7282 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7283 that are not needed.
7284 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7285 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7286 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7287 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7288 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7289 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7290 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7291
ee2aafe0
AS
72922011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7293
7294 * math/s_nan.c: Undef __nan.
7295 * math/s_nanf.c: Undef __nanf.
7296 * math/s_nanl.c: Undef __nanl.
7297 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7298 "math_private.h".
7299
bc62c2fb
UD
73002011-10-22 Ulrich Drepper <drepper@gmail.com>
7301
77425c63
UD
7302 * math/s_catan.c: Add branch predictions.
7303 * math/s_catanf.c: Likewise.
7304 * math/s_catanh.c: Likewise.
7305 * math/s_catanhf.c: Likewise.
7306 * math/s_catanhl.c: Likewise.
7307 * math/s_catanl.c: Likewise.
7308 * math/s_cexp.c: Likewise.
7309 * math/s_cexpf.c: Likewise.
7310 * math/s_cexpl.c: Likewise.
7311 * math/s_clog.c: Likewise.
7312 * math/s_clog10.c: Likewise.
7313 * math/s_clog10f.c: Likewise.
7314 * math/s_clog10l.c: Likewise.
7315 * math/s_clogf.c: Likewise.
7316 * math/s_clogl.c: Likewise.
7317 * math/s_csqrt.c: Likewise.
7318 * math/s_csqrtf.c: Likewise.
7319 * math/s_csqrtl.c: Likewise.
7320 * math/s_ctanf.c: Likewise.
7321 * math/s_ctanh.c: Likewise.
7322 * math/s_ctanhf.c: Likewise.
7323 * math/s_ctanhl.c: Likewise.
7324 * math/s_ctanl.c: Likewise.
7325
bc62c2fb
UD
7326 * math/math_private.h: Define __nan, __nanf, __nanl.
7327 * math/s_cacosh.c: Include <math_private.h>.
7328 * math/s_cacoshl.c: Likewise.
7329 * math/s_casinh.c: Likewise.
7330 * math/s_casinhf.c: Likewise.
7331 * math/s_casinhl.c: Likewise.
7332 * math/s_ccos.c: Rely entire on ccosh.
7333 * math/s_ccosf.c: Rely entire on ccoshf.
7334 * math/s_ccosl.c: Rely entirely on ccoshl.
7335 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7336 Remove tests for FE_INVALID.
7337 * math/s_ccoshf.c: Likewise.
7338 * math/s_ccoshl.c: Likewise.
7339 * math/s_csin.c: Likewise.
7340 * math/s_csinf.c: Likewise.
7341 * math/s_csinh.c Likewise.
7342 * math/s_csinhf.c: Likewise.
7343 * math/s_csinhl.c: Likewise.
7344 * math/s_csinl.c: Likewise.
7345 * math/s_ctan.c: Likewise.
7346 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7347 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7348 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7349
8ec250a4
UD
73502011-10-21 Ulrich Drepper <drepper@gmail.com>
7351
c196fed8
UD
7352 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7353 compilation problems.
7354
8ec250a4
UD
7355 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7356 __builtin_expect.
7357
8d4f46c6
UD
73582011-10-20 Ulrich Drepper <drepper@gmail.com>
7359
ed72b654
UD
7360 * sysdeps/i386/configure.in: Test for -mfma4 option.
7361 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7362 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7363 COMMON_CPUID_INDEX_80000001.
7364 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7365 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7366 use it if FMA3 is not supported.
7367 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7368
8d4f46c6
UD
7369 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7370 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7371
d45c60c2
AS
73722011-10-20 Andreas Schwab <schwab@redhat.com>
7373
7374 [BZ #12892]
7375 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7376 it would create a cycle with a link time dependency.
7377
d9a4d2ab
UD
73782011-10-19 Ulrich Drepper <drepper@gmail.com>
7379
855d1560
UD
7380 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7381 instruction.
7382 * string/Makefile (strop-tests): Add rawmemchr.
7383 * string/test-rawmemchr.c: New file.
7384
d9a4d2ab
UD
7385 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7386 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7387 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7388 when compiling str{,n}casecmp and when AVX is available. Hook up
7389 new optimized code in initializers.
7390
8f3b1ffe
AS
73912011-10-19 Andreas Schwab <schwab@redhat.com>
7392
7393 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7394 __feraiseexcept instead of feraiseexcept.
7395
d38f1dba
UD
73962011-10-18 Ulrich Drepper <drepper@gmail.com>
7397
d9a8d0ab
UD
7398 * math/math_private.h: Define defaults for libc_fetestexcept and
7399 libc_feupdateenv.
7400 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7401 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7402 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7403 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7404 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7405 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7406 libc_fetestexcept and libc_feupdateenv.
7407
4855e3dd
UD
7408 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7409 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7410 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7411 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7412 libc_feholdexcept_setround.
7413
581d30e3
UD
7414 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7415 Add s_nearbyint-c and s_nearbyintf-c.
7416 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7417 nearbyintf inlines.
7418 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7419 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7420 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7421 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7422
d38f1dba
UD
7423 * math/math_private.h: Define defaults for libc_fegetround,
7424 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7425 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7426 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7427 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7428 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7429 standard functions.
7430 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7431 Remove comments and hacks for old compiler versions.
7432 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7433 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7434 libc_feholdexceptl.
7435
caa6c9d8
AS
74362011-10-18 Andreas Schwab <schwab@redhat.com>
7437
7438 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
7439 (__feraiseexcept_renamed): Add __NTH.
7440 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
7441 namespace violations.
7442
97c066e6
UD
74432011-10-17 Ulrich Drepper <drepper@gmail.com>
7444
99ce7b04
UD
7445 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7446
1004d182
UD
7447 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7448
228a984d
UD
7449 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7450 recently added interfaces.
7451 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7452
c8553a6a
UD
7453 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7454 about macro parameter expansion.
7455
ed22dcf6
UD
7456 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7457 __NO_MATH_INLINES is defined. Cleanups.
7458
7459 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7460 and __floorf is target has SSE4.1.
7461 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7462 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7463 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7464 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7465
b171c137
UD
7466 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7467 name.
7468 (floorf): Likewise.
7469
97c066e6
UD
7470 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7471
629f62ef
AS
74722011-10-17 Andreas Schwab <schwab@redhat.com>
7473
49a43d80
AS
7474 * misc/sys/cdefs.h: Fix last change.
7475
629f62ef
AS
7476 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7477 database lookup.
7478
e453f6cd
UD
74792011-10-16 Ulrich Drepper <drepper@gmail.com>
7480
aa78043a
UD
7481 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7482
ad0f5cad
UD
7483 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7484 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7485 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7486 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7487 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7488 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7489 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7490 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7491 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7492 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7493 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7494 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7495 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7496 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7497 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7498 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7499 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7500 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7501 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7502 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7503 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7504 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7505
7506 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7507 ceil, ceilf, floor, floorf.
7508
7509 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7510 Perform IRELATIVE relocations last.
7511
e453f6cd
UD
7512 * elf/do-rel.h: Add another parameter nrelative, replacing the
7513 local variable with the same name. Change name of the function
7514 to end in Rel or Rela (uppercase).
7515 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7516 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7517 elf_dynamic_do_##reloc function.
7518
fd5bdc09
UD
75192011-10-15 Ulrich Drepper <drepper@gmail.com>
7520
79b195b5
UD
7521 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7522 is sufficient, at least on modern CPUs.
7523
d4a28569
UD
7524 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7525
b61099b5
UD
7526 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7527 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7528
bcf01e6d
UD
7529 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7530 __expl_finite.
7531 * math/bits/math-finite.h: Add entries for exp.
7532 * math/e_expl.c: Add __*_finite alias.
7533 * sysdeps/i386/fpu/e_exp.S: Likewise.
7534 * sysdeps/i386/fpu/e_expf.S: Likewise.
7535 * sysdeps/i386/fpu/e_expl.c: Likewise.
7536 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7537 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7538 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7539 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7540 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7541 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7542 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7543
ba1a0d59
UD
7544 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7545 is sufficient, at least on modern CPUs.
7546
fd5bdc09
UD
7547 * ctype/ctype-info.c (__ctype_init): Define.
7548 * include/ctype.h (__ctype_init): Declare.
7549 (__ctype_b_loc): The variable is always initialized.
7550 (__ctype_toupper_loc): Likewise.
7551 (__ctype_tolower_loc): Likewise.
7552 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7553 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7554
7872cfb0
AS
75552011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7556
b468825a
AS
7557 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7558
7872cfb0
AS
7559 * configure.in: Also look in $cxxmachine/include for C++ system
7560 headers.
7561
be13f7bf
LD
75622011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7563
7564 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7565 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7566 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7567 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7568 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7569 (USE_AS_WMEMCMP): New macro.
7570 Fixing indents.
7571 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7572 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7573 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7574 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7576 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7577 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7578 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7579 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7580 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7581 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7582 (USE_AS_WMEMCMP): New macro.
7583 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7584 * sysdeps/string/test-memcmp.c: Update.
7585 Fix simple_wmemcmp.
7586 Add new tests.
7587 * wcsmbs/wmemcmp.c: Update.
7588 (WMEMCMP): New macro.
7589 Fix overflow bug.
7590
556a2007
AJ
75912011-10-12 Andreas Jaeger <aj@suse.de>
7592
7593 [BZ #13268]
7594 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7595
538faaa7
UD
75962011-10-15 Ulrich Drepper <drepper@gmail.com>
7597
ab6737ff
UD
7598 * libio/iofwide.c (do_length): Avoid warning.
7599
538faaa7
UD
7600 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7601
396a21b1
UD
76022011-10-14 Ulrich Drepper <drepper@gmail.com>
7603
cdf2901f
UD
7604 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7605
38ad40ce
UD
7606 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7607 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7608 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7609 * sysdeps/i386/i686/fpu/e_log.S: New file.
7610 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7611 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7612
396a21b1
UD
7613 * ctype/ctype.h: Add support for inlined isXXX functions when
7614 compiling C++ code.
7615
6b1f68c9
AS
76162011-10-14 Andreas Schwab <schwab@redhat.com>
7617
349290c0
AS
7618 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7619
6b1f68c9
AS
7620 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7621
f2282d42
RM
76222011-10-13 Roland McGrath <roland@hack.frob.com>
7623
7624 [BZ #13291]
7625 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7626
5298ffa8
AS
76272011-10-13 Andreas Schwab <schwab@redhat.com>
7628
714fad23
AS
7629 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7630 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7631 feraiseexcept.
7632
81dcc7fb
AS
7633 * sysdeps/x86_64/memrchr.S: Check for zero size.
7634
5298ffa8
AS
7635 * string/stratcliff.c: Add memrchr tests.
7636
951fbcec
LD
76372011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7638
7639 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7640 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7641 rawmemchr-sse2 rawmemchr-sse2-bsf.
7642 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7643 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7644 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7645 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7646 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7647 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7648 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7649 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7650 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7651 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7652 * string/memrchr.c (MEMRCHR): New macro.
7653
0ac5ae23
UD
76542011-10-12 Ulrich Drepper <drepper@gmail.com>
7655
7656 Add integration with gcc's -ffinite-math-only and optimize wrapper
7657 functions in libm.
7658 * Versions.def: Define GLIBC_2.15 version for libm.
7659 * math/Makefile (headers): Add bits/math-finite.h.
7660 * math/bits/math-finite.h: New file.
7661 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7662 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7663 * math/e_acoshl.c: Add __*_finite alias.
7664 * math/e_acosl.c: Likewise.
7665 * math/e_asinl.c: Likewise.
7666 * math/e_atan2l.c: Likewise.
7667 * math/e_atanhl.c: Likewise.
7668 * math/e_coshl.c: Likewise.
7669 * math/e_exp10.c: Likewise.
7670 * math/e_exp10f.c: Likewise.
7671 * math/e_exp10l.c: Likewise.
7672 * math/e_exp2l.c: Likewise.
7673 * math/e_fmodl.c: Likewise.
7674 * math/e_gammal_r.c: Likewise.
7675 * math/e_hypotl.c: Likewise.
7676 * math/e_j0l.c: Likewise.
7677 * math/e_j1l.c: Likewise.
7678 * math/e_jnl.c: Likewise.
7679 * math/e_lgammal_r.c: Likewise.
7680 * math/e_log10l.c: Likewise.
7681 * math/e_log2l.c: Likewise.
7682 * math/e_logl.c: Likewise.
7683 * math/e_powl.c: Likewise.
7684 * math/e_sinhl.c: Likewise.
7685 * math/e_sqrtl.c: Likewise.
7686 * math/e_scalb.c: Completely rewritten and optimized.
7687 * math/e_scalbf.c: Likewise.
7688 * math/e_scalbl.c: Likewise.
7689 * math/w_acos.c: Likewise.
7690 * math/w_acosf.c: Likewise.
7691 * math/w_acosl.c: Likewise.
7692 * math/w_acosh.c: Likewise.
7693 * math/w_acoshf.c: Likewise.
7694 * math/w_acoshl.c: Likewise.
7695 * math/w_asin.c: Likewise.
7696 * math/w_asinf.c: Likewise.
7697 * math/w_asinl.c: Likewise.
7698 * math/w_atan2.c: Likewise.
7699 * math/w_atan2f.c: Likewise.
7700 * math/w_atan2l.c: Likewise.
7701 * math/w_atanh.c: Likewise.
7702 * math/w_atanhf.c: Likewise.
7703 * math/w_atanhl.c: Likewise.
7704 * math/w_exp10.c: Likewise.
7705 * math/w_exp10f.c: Likewise.
7706 * math/w_exp10l.c: Likewise.
7707 * math/w_fmod.c: Likewise.
7708 * math/w_fmodf.c: Likewise.
7709 * math/w_fmodl.c: Likewise.
7710 * math/w_j0.c: Likewise.
7711 * math/w_j0f.c: Likewise.
7712 * math/w_j0l.c: Likewise.
7713 * math/w_j1.c: Likewise.
7714 * math/w_j1f.c: Likewise.
7715 * math/w_j1l.c: Likewise.
7716 * math/w_jn.c: Likewise.
7717 * math/w_jnf.c: Likewise.
7718 * math/w_log.c: Likewise.
7719 * math/w_logf.c: Likewise.
7720 * math/w_logl.c: Likewise.
7721 * math/w_log10.c: Likewise.
7722 * math/w_log10f.c: Likewise.
7723 * math/w_log10l.c: Likewise.
7724 * math/w_log2.c: Likewise.
7725 * math/w_log2f.c: Likewise.
7726 * math/w_log2l.c: Likewise.
7727 * math/w_pow.c: Likewise.
7728 * math/w_powf.c: Likewise.
7729 * math/w_powl.c: Likewise.
7730 * math/w_remainder.c: Likewise.
7731 * math/w_remainderf.c: Likewise.
7732 * math/w_remainderl.c: Likewise.
7733 * math/w_scalb.c: Likewise.
7734 * math/w_scalbf.c: Likewise.
7735 * math/w_scalbl.c: Likewise.
7736 * math/w_sqrt.c: Likewise.
7737 * math/w_sqrtf.c: Likewise.
7738 * math/w_sqrtl.c: Likewise.
7739 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7740 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
7741 used.
7742 * math/math_private.h: Declare __kernel_standard_f.
7743 * math/w_cosh.c: Remove cruft and optimize a bit.
7744 * math/w_coshf.c: Likewise.
7745 * math/w_coshl.c: Likewise.
7746 * math/w_exp2.c: Likewise.
7747 * math/w_exp2f.c: Likewise.
7748 * math/w_exp2l.c: Likewise.
7749 * math/w_hypot.c: Likewise.
7750 * math/w_hypotf.c: Likewise.
7751 * math/w_hypotl.c: Likewise.
7752 * math/w_lgamma.c: Likewise.
7753 * math/w_lgamma_r.c: Likewise.
7754 * math/w_lgammaf.c: Likewise.
7755 * math/w_lgammaf_r.c: Likewise.
7756 * math/w_lgammal.c: Likewise.
7757 * math/w_lgammal_r.c: Likewise.
7758 * math/w_sinh.c: Likewise.
7759 * math/w_sinhf.c: Likewise.
7760 * math/w_sinhl.c: Likewise.
7761 * math/w_tgamma.c: Likewise.
7762 * math/w_tgammaf.c: Likewise.
7763 * math/w_tgammal.c: Likewise.
7764 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7765 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7766 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7767 Minor optimizations. Pretty printing. Remove cruft.
7768 * sysdeps/i386/fpu/e_acosf.S: Likewise.
7769 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7770 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7771 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7772 * sysdeps/i386/fpu/e_acosl.c: Likewise.
7773 * sysdeps/i386/fpu/e_asin.S: Likewise.
7774 * sysdeps/i386/fpu/e_asinf.S: Likewise.
7775 * sysdeps/i386/fpu/e_atan2.S: Likewise.
7776 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7777 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7778 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7779 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7780 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7781 * sysdeps/i386/fpu/e_exp10.S: Likewise.
7782 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7783 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7784 * sysdeps/i386/fpu/e_exp2.S: Likewise.
7785 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7786 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7787 * sysdeps/i386/fpu/e_fmod.S: Likewise.
7788 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7789 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7790 * sysdeps/i386/fpu/e_hypot.S: Likewise.
7791 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7792 * sysdeps/i386/fpu/e_log.S: Likewise.
7793 * sysdeps/i386/fpu/e_log10.S: Likewise.
7794 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7795 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7796 * sysdeps/i386/fpu/e_log2.S: Likewise.
7797 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7798 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7799 * sysdeps/i386/fpu/e_logf.S: Likewise.
7800 * sysdeps/i386/fpu/e_logl.S: Likewise.
7801 * sysdeps/i386/fpu/e_pow.S: Likewise.
7802 * sysdeps/i386/fpu/e_powf.S: Likewise.
7803 * sysdeps/i386/fpu/e_powl.S: Likewise.
7804 * sysdeps/i386/fpu/e_remainder.S: Likewise.
7805 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7806 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7807 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7808 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7809 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7810 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7811 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7812 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7813 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7814 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7815 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7816 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7817 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7818 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7819 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7820 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7821 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7822 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7823 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7824 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7825 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7826 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7827 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7828 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7829 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7830 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7831 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7832 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7833 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7834 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7835 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7836 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7837 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7838 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7839 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7840 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7841 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7842 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7843 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7844 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7845 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7846 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7847 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7848 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7849 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7850 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7851 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7852 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7853 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7854 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7855 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7856 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7857 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7858 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7859 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7860 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7861 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7862 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7863 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7864 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7865 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7866 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7867 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7868 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7869 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7870 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7871 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7872 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7873 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7874 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7875 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7876 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7877 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7878 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7879 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7880 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7881 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7882 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7883 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7884 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7885 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7886 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7887 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7888 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7889 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7890 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7891 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7892 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7893 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7894 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7895 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7896 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7897 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7898 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7899 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7900 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7901 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7902 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7903 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7904 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7905 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7906 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7907 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7908 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7909 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7910 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7911 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7912 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7913 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7914 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7915 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7916 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7917 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7918 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7919 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7920 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7921 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7922 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7923 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
7924 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7925 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7926 (__isnanf): Likewise.
7927 (__isinf_ns): Likewise.
7928 (__isinf_nsf): Likewise.
7929 (__finite): Likewise.
7930 (__finitef): Likewise.
7931 (__ieee754_sqrt): Define as macro.
7932 (__ieee754_sqrtf): Define as macro.
7933 (__ieee754_sqrtl): Define as macro.
7934 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7935 inlined copy.
7936 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7937 __FINITE_MATH_ONLY__ consistent.
7938 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7939
12cc2fcd
AS
79402011-10-10 Andreas Schwab <schwab@linux-m68k.org>
7941
a843a204
AS
7942 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7943 of rawmemchr.
7944
12cc2fcd
AS
7945 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7946
c853acd5
UD
79472011-10-09 Ulrich Drepper <drepper@gmail.com>
7948
7949 * po/ja.po: Update from translation team.
7950
c658d255
RM
79512011-10-08 Roland McGrath <roland@hack.frob.com>
7952
110946e4
RM
7953 * locale/programs/locarchive.c (prepare_address_space): New function.
7954 (create_archive, enlarge_archive, open_archive): Use it.
7955
50604220
RM
7956 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7957 inside [SHARED], where it is used.
7958
c658d255
RM
7959 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7960
7961 * nss/getent.c (netgroup_keys): Remove unused variable.
7962 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7963
6a621eb7
UD
79642011-10-08 Ulrich Drepper <drepper@gmail.com>
7965
7edb55ce
UD
7966 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7967 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7968 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7969 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7970 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7971 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7972 * math/Makefile (libm-calls): Add s_isinf_ns.
7973 * math/divtc3.c: Use __isinf_nsl instead of isinf.
7974 * math/multc3.c: Likewise.
7975 * math/s_casin.c: Likewise.
7976 * math/s_casinf.c: Likewise.
7977 * math/s_casinl.c: Likewise.
7978 * math/s_ccos.c: Likewise.
7979 * math/s_ccosf.c: Likewise.
7980 * math/s_ccosl.c: Likewise.
7981 * math/s_ctan.c: Likewise.
7982 * math/s_ctanf.c: Likewise.
7983 * math/s_ctanh.c: Likewise.
7984 * math/s_ctanhf.c: Likewise.
7985 * math/s_ctanhl.c: Likewise.
7986 * math/s_ctanl.c: Likewise.
7987 * math/w_fmod.c: Likewise.
7988 * math/w_fmodf.c: Likewise.
7989 * math/w_fmodl.c: Likewise.
7990 * math/w_remainder.c: Likewise.
7991 * math/w_remainderf.c: Likewise.
7992 * math/w_remainderl.c: Likewise.
7993 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7994 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7995 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7996 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7997 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7998 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7999 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8000 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8001
187da0ae
UD
8002 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8003 of the number.
8004 * stdio-common/printf_fphex.c: Likewise.
8005 * stdio-common/printf_size.c: Likewise.
8006
9277c064
UD
8007 * math/e_exp10.c: Include math_private.h using <...> not "...".
8008 * math/e_exp10f.c: Likewise.
8009 * math/e_exp10l.c: Likewise.
8010 * math/e_exp2l.c: Likewise.
8011 * math/e_j0l.c: Likewise.
8012 * math/e_j1l.c: Likewise.
8013 * math/e_jnl.c: Likewise.
8014 * math/e_lgammal_r.c: Likewise.
8015 * math/e_rem_pio2l.c: Likewise.
8016 * math/e_scalb.c: Likewise.
8017 * math/e_scalbf.c: Likewise.
8018 * math/e_scalbl.c: Likewise.
8019 * math/k_cosl.c: Likewise.
8020 * math/k_sinl.c: Likewise.
8021 * math/k_tanl.c: Likewise.
8022 * math/s_cacoshf.c: Likewise.
8023 * math/s_catan.c: Likewise.
8024 * math/s_catanf.c: Likewise.
8025 * math/s_catanh.c: Likewise.
8026 * math/s_catanhf.c: Likewise.
8027 * math/s_catanhl.c: Likewise.
8028 * math/s_catanl.c: Likewise.
8029 * math/s_ccosh.c: Likewise.
8030 * math/s_ccoshf.c: Likewise.
8031 * math/s_ccoshl.c: Likewise.
8032 * math/s_cexp.c: Likewise.
8033 * math/s_cexpf.c: Likewise.
8034 * math/s_cexpl.c: Likewise.
8035 * math/s_clog.c: Likewise.
8036 * math/s_clog10.c: Likewise.
8037 * math/s_clog10f.c: Likewise.
8038 * math/s_clog10l.c: Likewise.
8039 * math/s_clogf.c: Likewise.
8040 * math/s_clogl.c: Likewise.
8041 * math/s_csin.c: Likewise.
8042 * math/s_csinf.c: Likewise.
8043 * math/s_csinh.c: Likewise.
8044 * math/s_csinhf.c: Likewise.
8045 * math/s_csinhl.c: Likewise.
8046 * math/s_csinl.c: Likewise.
8047 * math/s_csqrt.c: Likewise.
8048 * math/s_csqrtf.c: Likewise.
8049 * math/s_csqrtl.c: Likewise.
8050 * math/s_ctan.c: Likewise.
8051 * math/s_ctanf.c: Likewise.
8052 * math/s_ctanh.c: Likewise.
8053 * math/s_ctanhf.c: Likewise.
8054 * math/s_ctanhl.c: Likewise.
8055 * math/s_ctanl.c: Likewise.
8056 * math/s_ldexp.c: Likewise.
8057 * math/s_ldexpf.c: Likewise.
8058 * math/s_ldexpl.c: Likewise.
8059 * math/s_significand.c: Likewise.
8060 * math/s_significandf.c: Likewise.
8061 * math/s_significandl.c: Likewise.
8062 * math/w_acos.c: Likewise.
8063 * math/w_acosf.c: Likewise.
8064 * math/w_acosh.c: Likewise.
8065 * math/w_acoshf.c: Likewise.
8066 * math/w_acoshl.c: Likewise.
8067 * math/w_acosl.c: Likewise.
8068 * math/w_asin.c: Likewise.
8069 * math/w_asinf.c: Likewise.
8070 * math/w_asinl.c: Likewise.
8071 * math/w_atan2.c: Likewise.
8072 * math/w_atan2f.c: Likewise.
8073 * math/w_atan2l.c: Likewise.
8074 * math/w_atanh.c: Likewise.
8075 * math/w_atanhf.c: Likewise.
8076 * math/w_atanhl.c: Likewise.
8077 * math/w_cosh.c: Likewise.
8078 * math/w_coshf.c: Likewise.
8079 * math/w_coshl.c: Likewise.
8080 * math/w_dremf.c: Likewise.
8081 * math/w_exp10.c: Likewise.
8082 * math/w_exp10f.c: Likewise.
8083 * math/w_exp10l.c: Likewise.
8084 * math/w_exp2.c: Likewise.
8085 * math/w_exp2f.c: Likewise.
8086 * math/w_fmod.c: Likewise.
8087 * math/w_fmodf.c: Likewise.
8088 * math/w_fmodl.c: Likewise.
8089 * math/w_hypot.c: Likewise.
8090 * math/w_hypotf.c: Likewise.
8091 * math/w_hypotl.c: Likewise.
8092 * math/w_j0.c: Likewise.
8093 * math/w_j0f.c: Likewise.
8094 * math/w_j0l.c: Likewise.
8095 * math/w_j1.c: Likewise.
8096 * math/w_j1f.c: Likewise.
8097 * math/w_j1l.c: Likewise.
8098 * math/w_jn.c: Likewise.
8099 * math/w_jnf.c: Likewise.
8100 * math/w_jnl.c: Likewise.
8101 * math/w_lgamma.c: Likewise.
8102 * math/w_lgamma_r.c: Likewise.
8103 * math/w_lgammaf.c: Likewise.
8104 * math/w_lgammaf_r.c: Likewise.
8105 * math/w_lgammal.c: Likewise.
8106 * math/w_lgammal_r.c: Likewise.
8107 * math/w_log.c: Likewise.
8108 * math/w_log10.c: Likewise.
8109 * math/w_log10f.c: Likewise.
8110 * math/w_log10l.c: Likewise.
8111 * math/w_log2.c: Likewise.
8112 * math/w_log2f.c: Likewise.
8113 * math/w_log2l.c: Likewise.
8114 * math/w_logf.c: Likewise.
8115 * math/w_logl.c: Likewise.
8116 * math/w_pow.c: Likewise.
8117 * math/w_powf.c: Likewise.
8118 * math/w_powl.c: Likewise.
8119 * math/w_remainder.c: Likewise.
8120 * math/w_remainderf.c: Likewise.
8121 * math/w_remainderl.c: Likewise.
8122 * math/w_scalb.c: Likewise.
8123 * math/w_scalbf.c: Likewise.
8124 * math/w_scalbl.c: Likewise.
8125 * math/w_sinh.c: Likewise.
8126 * math/w_sinhf.c: Likewise.
8127 * math/w_sinhl.c: Likewise.
8128 * math/w_sqrt.c: Likewise.
8129 * math/w_sqrtf.c: Likewise.
8130 * math/w_sqrtl.c: Likewise.
8131 * math/w_tgamma.c: Likewise.
8132 * math/w_tgammaf.c: Likewise.
8133 * math/w_tgammal.c: Likewise.
8134
6a621eb7
UD
8135 * po/ja.po: Update from translation team.
8136
bf582445
AJ
81372011-09-29 Andreas Jaeger <aj@suse.de>
8138
f9efbf3a
AJ
8139 [BZ #13179]
8140 * sunrpc/netname.c (netname2host): Fix logic.
8141
bf582445
AJ
8142 [BZ #6779]
8143 [BZ #6783]
8144 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8145 correctly.
8146 * math/w_remainder.c (__remainder): Likewise.
8147 * math/w_remainderf.c (__remainderf): Likewise.
8148 * math/libm-test.inc (remainder_test): Add test cases.
8149
48693bea
AK
81502011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8151
8152 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8153 sdiv_qrnnd.
8154
42622229
LD
81552011-10-07 Ulrich Drepper <drepper@gmail.com>
8156
8157 * string/test-memcmp.c: Avoid unncessary #defines.
8158 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8159
093ecf92
LD
81602011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8161
8162 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8163 Use new sse2 version for core i3 - i7 as it's faster
8164 than sse42 version.
8165 (bit_Prefer_PMINUB_for_stringop): New.
8166 * sysdeps/x86_64/rawmemchr.S: Update.
8167 Replace with faster SSE2 version.
8168 * sysdeps/x86_64/memrchr.S: New file.
8169 * sysdeps/x86_64/memchr.S: Update.
8170 Replace with faster SSE2 version.
8171
fde56e5c
MP
81722011-09-12 Marek Polacek <mpolacek@redhat.com>
8173
8174 * elf/dl-load.c (lose): Add cast to avoid warning.
8175
21fd49a9
UD
81762011-10-07 Ulrich Drepper <drepper@gmail.com>
8177
5a06e643
UD
8178 * po/ca.po: Update from translation team.
8179
684ae515
UD
8180 * inet/getnetgrent_r.c: Hook up nscd.
8181 * nscd/Makefile (routines): Add nscd_netgroup.
8182 (nscd-modules): Add netgroupcache.
8183 (CFLAGS-netgroupcache.c): Define.
8184 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8185 (cache_search): Add const to second parameter.
8186 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8187 INNETGR.
8188 (dbs): Add netgrdb entry.
8189 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8190 (verify_persistent_db): Handle netgrdb.
8191 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8192 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8193 GETFDNETGR.
8194 (netgroup_response_header): Define.
8195 (innetgroup_response_header): Define.
8196 (datahead): Add netgroup_response_header and innetgroup_response_header
8197 elements.
8198 * nscd/nscd.conf: Add entries for netgroup cache.
8199 * nscd/nscd.h (dbtype): Add netgrdb.
8200 (_PATH_NSCD_NETGROUP_DB): Define.
8201 (netgroup_iov_disabled): Declare.
8202 (xmalloc, xcalloc, xrealloc): Move declarations here.
8203 (cache_search): Adjust prototype.
8204 Add netgroup-related prototypes.
8205 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8206 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8207 (__nscd_innetgr): Declare.
8208 * nscd/selinux.c (perms): Use access_vector_t as element type and
8209 add netgroup-related initializers.
8210 * nscd/netgroupcache.c: New file.
8211 * nscd/nscd_netgroup.c: New file.
8212 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8213 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8214 For four parameters use innetgr.
8215 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8216 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8217 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8218 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8219
21fd49a9
UD
8220 * nscd/connections.c (register_traced_file): Don't register file
8221 for disabled databases.
8222
054c0457
UD
82232011-10-06 Ulrich Drepper <drepper@gmail.com>
8224
32b63198
UD
8225 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8226
054c0457
UD
8227 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8228 from tree and freeing node.
8229
64031225
JO
82302011-09-25 Jiri Olsa <jolsa@redhat.com>
8231
8232 * nss/nsswitch.c (__nss_database_lookup): Handle
8233 nss_parse_service_list out of memory case.
8234
0490345c
JO
82352011-09-15 Jiri Olsa <jolsa@redhat.com>
8236
8237 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8238 out of memory case.
8239
3a62d00d
AS
82402011-10-04 Andreas Schwab <schwab@redhat.com>
8241
8242 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8243 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8244 pass it down.
8245 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8246 elf_machine_rela, elf_machine_lazy_rel.
8247 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8248 (ELF_DYNAMIC_DO_REL): Likewise.
8249 (ELF_DYNAMIC_DO_RELA): Likewise.
8250 (ELF_DYNAMIC_RELOCATE): Likewise.
8251 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8252 to ELF_DYNAMIC_DO_REL.
8253 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8254 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8255 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8256 elf_machine_rela.
8257 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8258 skip_ifunc, don't call ifunc function if non-zero.
8259 (elf_machine_rela): Likewise.
8260 (elf_machine_lazy_rel): Likewise.
8261 (elf_machine_lazy_rela): Likewise.
8262 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8263 (elf_machine_lazy_rel): Likewise.
8264 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8265 Likewise.
8266 (elf_machine_lazy_rel): Likewise.
8267 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8268 Likewise.
8269 (elf_machine_lazy_rel): Likewise.
8270 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8271 (elf_machine_lazy_rel): Likewise.
8272 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8273 (elf_machine_lazy_rel): Likewise.
8274 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8275 (elf_machine_lazy_rel): Likewise.
8276 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8277 (elf_machine_lazy_rel): Likewise.
8278 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8279 (elf_machine_lazy_rel): Likewise.
8280 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8281 (elf_machine_lazy_rel): Likewise.
8282
68577918
UD
82832011-09-28 Ulrich Drepper <drepper@gmail.com>
8284
8285 * nss/nss_files/files-init.c (_nss_files_init): Use static
8286 initialization for all the *_traced_file variables.
8287
68822d74
AS
82882011-09-28 Andreas Schwab <schwab@redhat.com>
8289
8290 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8291
2056100b
RM
82922011-09-27 Roland McGrath <roland@hack.frob.com>
8293
8294 [BZ #13226]
8295 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8296
32c76b63
AS
82972011-09-27 Andreas Schwab <schwab@redhat.com>
8298
8299 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8300 Reread the line before reparsing it.
8301
bf972c9d
AS
83022011-09-26 Andreas Schwab <schwab@redhat.com>
8303
8304 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8305
e057a1b5
JM
83062011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8307 Maxim Kuvyrkov <maxim@codesourcery.com>
8308 Joseph Myers <joseph@codesourcery.com>
8309
8310 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8311 if needed for __stack_chk_guard.
8312
bc7e1c36
RM
83132011-09-19 Roland McGrath <roland@hack.frob.com>
8314
ecb1482f
RM
8315 * sysdeps/posix/spawni.c (script_execute): Always define it.
8316 It will be optimized away if unused.
8317 (maybe_script_execute): New function.
8318 (__spawni): Call it.
8319
bc7e1c36
RM
8320 * Makerules: Don't include tls.make.
8321 (config-tls): Always set to thread.
8322 * tls.make.c: File removed.
8323
1c3b002b
MF
83242011-09-19 Mike Frysinger <vapier@gentoo.org>
8325
8326 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8327 * config.make.in (CPPFLAGS-config): New substituted variable.
8328
2840865d
UD
83292011-09-15 Ulrich Drepper <drepper@gmail.com>
8330
88738eb6
UD
8331 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8332
cbf645a6 8333 [BZ #13192]
2840865d
UD
8334 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8335 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8336
b402e91a
RM
83372011-09-15 Roland McGrath <roland@hack.frob.com>
8338
8339 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8340 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8341 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8342 (CALL_FAIL): Likewise.
8343 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8344 (CALL_FAIL): Macro removed.
8345 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8346
4c1a1f71
UD
83472011-09-15 Ulrich Drepper <drepper@gmail.com>
8348
8349 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8350 for __FINITE_MATH_ONLY__ == 1.
8351
edc121be
AS
83522011-09-15 Andreas Schwab <schwab@redhat.com>
8353
8354 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8355 __ieee754_sqrt instead of sqrt.
8356 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8357 __ieee754_sqrtf instead of sqrtf.
8358 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8359 __floorf instead of floorf.
8360 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8361 __floorf, __truncf instead of floorf, truncf.
8362
cd205654
UD
83632011-09-14 Ulrich Drepper <drepper@gmail.com>
8364
ee4d0315
UD
8365 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8366
cd205654
UD
8367 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8368 __extern_always_inline.
8369 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8370 32-bit.
8371
48b67d71
AS
83722011-09-14 Andreas Schwab <schwab@redhat.com>
8373
8374 * elf/rtld.c (dl_main): Also relocate in dependency order when
8375 doing symbol dependency testing.
8376
1ae12c75
AS
83772011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8378
8379 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8380 Always define `refsym'.
8381
995a80df
AS
83822011-09-13 Andreas Schwab <schwab@redhat.com>
8383
e529793b
AS
8384 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8385 (__FD_ELT): Renamed from __FDELT.
8386 * misc/bits/select2.h (__FD_ELT): Likewise.
8387 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8388 __FD_MASK instead of __FDELT, __FDMASK.
8389 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8390 Likewise.
8391 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8392 Likewise.
8393
52d4fef8
AS
8394 * elf/Makefile (gen-ldd): Fix pattern.
8395
995a80df
AS
8396 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8397 (init_tls): Likewise.
8398
8682f8b0
UD
83992011-09-12 Ulrich Drepper <drepper@gmail.com>
8400
8401 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8402
de82006d
AS
84032011-09-12 Andreas Schwab <schwab@redhat.com>
8404
a7c8e6a1
AS
8405 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8406 `struct cmsghdr *' instead of `void *'.
8407 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8408 Likewise.
8409
0f31fe77
AS
84102011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8411
8412 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8413 if non-absolute.
8414 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8415 ldd_rewrite_script.
0f31fe77 8416
32b4c839
UD
84172011-09-11 Ulrich Drepper <drepper@gmail.com>
8418
83cd1420
UD
8419 * configure.in: Remove --with-tls option.
8420 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8421 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8422 out in case it is missing.
8423 * sysdeps/ia64/elf/configure.in: Likewise.
8424 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8425 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8426 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8427 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8428 * sysdeps/sh/elf/configure.in: Likewise.
8429 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8430 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8431 * sysdeps/x86_64/elf/configure.in: Likewise.
8432 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8433 * sysdeps/mach/hurd/tls.h: Likewise.
8434
633f745d
UD
8435 [BZ #13067]
8436 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8437
f318beb8
UD
8438 [BZ #13090]
8439 * configure.in: Fix use of AC_INIT.
8440
32b4c839
UD
8441 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8442
3ce1f295
UD
84432011-09-10 Ulrich Drepper <drepper@gmail.com>
8444
bb016596
UD
8445 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8446 __set_errno.
8e58439c
UD
8447 * malloc/hooks.c: Likewise.
8448
aebae053 8449 [BZ #11929]
02d46fc4
UD
8450 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8451 variables statically.
8452 (narenas): Initialize.
8453 (list_lock): Initialize.
bb016596
UD
8454 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8455 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
8456 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8457 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8458 Add initializers to main_arena and mp_.
8459 (malloc_state): Remove pagesize member. Change all users to use
8460 GLRO(dl_pagesize).
8461
8462 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8463 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8464 is always initialized.
8465
22a89187
UD
8466 * malloc/malloc.c: Removed unused configurations and dead code.
8467 * malloc/arena.c: Likewise.
8468 * malloc/hooks.c: Likewise.
02d46fc4 8469 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 8470
d063d164
UD
8471 * include/tls.h: Removed. USE___THREAD must always be defined.
8472 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8473 * elf/dl-libc.c: Likewise.
8474 * elf/dl-tsd.c: Likewise.
8475 * include/errno.h: Likewise.
8476 * include/netdb.h: Likewise.
8477 * include/resolv.h: Likewise.
8478 * inet/herrno-loc.c: Likewise.
8479 * inet/herrno.c: Likewise.
8480 * malloc/arena.c: Likewise.
8481 * malloc/hooks.c: Likewise.
8482 * malloc/malloc.c: Likewise.
8483 * resolv/res-state.c: Likewise.
8484 * resolv/res_libc.c: Likewise.
8485 * sysdeps/i386/dl-machine.h: Likewise.
8486 * sysdeps/ia64/dl-machine.h: Likewise.
8487 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8488 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8489 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8490 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8491 * sysdeps/sh/dl-machine.h: Likewise.
8492 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8493 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8494 * sysdeps/unix/i386/sysdep.S: Likewise.
8495 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8496 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8497 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8498 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8499 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8500 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8501 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8502 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8503 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8504 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8505 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8506 * sysdeps/x86_64/dl-machine.h: Likewise.
8507 * tls.make.c: Likewise.
8508
3ce1f295
UD
8509 * configure.in: Remove --with-__thread option. Make tests for
8510 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8511 tls_model attribute fail if no support is available. Remove
8512 USE_IN_LIBIO.
8513 * Makeconfig: Adjust for dropped configure option. All features are
8514 now mandatory.
8515 * Makerules: Likewise.
8516 * Versions.def: Likewise.
8517 * argp/argp-fmtstream.c: Likewise.
8518 * argp/argp-fmtstream.h: Likewise.
8519 * argp/argp-help.c: Likewise.
8520 * assert/assert.c: Likewise.
8521 * config.h.in: Likewise.
8522 * config.make.in: Likewise.
8523 * configure: Likewise.
8524 * configure.in: Likewise.
8525 * csu/Versions: Likewise.
8526 * csu/init.c: Likewise.
8527 * elf/tst-audit2.c: Likewise.
8528 * elf/tst-tls10.c: Likewise.
8529 * elf/tst-tls10.h: Likewise.
8530 * elf/tst-tls11.c: Likewise.
8531 * elf/tst-tls12.c: Likewise.
8532 * elf/tst-tls14.c: Likewise.
8533 * elf/tst-tlsmod11.c: Likewise.
8534 * elf/tst-tlsmod12.c: Likewise.
8535 * elf/tst-tlsmod13.c: Likewise.
8536 * elf/tst-tlsmod13a.c: Likewise.
8537 * elf/tst-tlsmod14a.c: Likewise.
8538 * elf/tst-tlsmod15b.c: Likewise.
8539 * elf/tst-tlsmod16a.c: Likewise.
8540 * elf/tst-tlsmod16b.c: Likewise.
8541 * elf/tst-tlsmod7.c: Likewise.
8542 * elf/tst-tlsmod8.c: Likewise.
8543 * elf/tst-tlsmod9.c: Likewise.
8544 * gmon/gmon.c: Likewise.
8545 * grp/fgetgrent_r.c: Likewise.
8546 * grp/putgrent.c: Likewise.
8547 * hurd/fopenport.c: Likewise.
8548 * include/libc-symbols.h: Likewise.
8549 * include/tls.h: Likewise.
8550 * intl/gettextP.h: Likewise.
8551 * intl/loadinfo.h: Likewise.
8552 * locale/global-locale.c: Likewise.
8553 * locale/localeinfo.h: Likewise.
8554 * mach/devstream.c: Likewise.
8555 * malloc/arena.c: Likewise.
8556 * malloc/set-freeres.c: Likewise.
8557 * misc/err.c: Likewise.
8558 * misc/getttyent.c: Likewise.
8559 * misc/mntent_r.c: Likewise.
8560 * posix/getopt.c: Likewise.
8561 * posix/wordexp.c: Likewise.
8562 * pwd/fgetpwent_r.c: Likewise.
8563 * resolv/Versions: Likewise.
8564 * resolv/res_hconf.c: Likewise.
8565 * shadow/fgetspent_r.c: Likewise.
8566 * shadow/putspent.c: Likewise.
8567 * stdio-common/printf_fphex.c: Likewise.
8568 * stdio-common/tmpfile.c: Likewise.
8569 * stdlib/abort.c: Likewise.
8570 * stdlib/fmtmsg.c: Likewise.
8571 * sunrpc/auth_unix.c: Likewise.
8572 * sunrpc/clnt_perr.c: Likewise.
8573 * sunrpc/clnt_tcp.c: Likewise.
8574 * sunrpc/clnt_udp.c: Likewise.
8575 * sunrpc/clnt_unix.c: Likewise.
8576 * sunrpc/openchild.c: Likewise.
8577 * sunrpc/svc_simple.c: Likewise.
8578 * sunrpc/svc_tcp.c: Likewise.
8579 * sunrpc/svc_udp.c: Likewise.
8580 * sunrpc/svc_unix.c: Likewise.
8581 * sunrpc/xdr.c: Likewise.
8582 * sunrpc/xdr_array.c: Likewise.
8583 * sunrpc/xdr_rec.c: Likewise.
8584 * sunrpc/xdr_ref.c: Likewise.
8585 * sunrpc/xdr_stdio.c: Likewise.
8586
1248c1c4
PB
85872011-09-09 Ulrich Drepper <drepper@gmail.com>
8588
8589 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8590
85912011-07-03 Andreas Jaeger <aj@suse.de>
8592
8593 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8594 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8595 regenerate with gen-libm-tests.pl.
8596
85972010-05-12 Petr Baudis <pasky@suse.cz>
8598
8599 [BZ #11589]
8600 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8601 around j0() zero points by switching to j1().
8602 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8603 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8604 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8605 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8606
f22e1074
UD
86072011-09-09 Ulrich Drepper <drepper@gmail.com>
8608
f19009c1
UD
8609 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8610 instead of 0.
8611 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8612 instead of 0. .
8613 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8614 Patch in part by Pavel Roskin <proski@gnu.org>.
8615
3f8cc204
UD
8616 [BZ #13138]
8617 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8618 realloc.
8619 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8620 Free memory block if necessary.
8621
f22e1074
UD
8622 [BZ #12847]
8623 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8624 be NULL. Don't lock in this case.
8625
0a2349f9
RM
86262011-09-09 Roland McGrath <roland@hack.frob.com>
8627
8628 * elf/elf.h (ELFOSABI_GNU): New macro.
8629 (ELFOSABI_LINUX): Define to that.
8630
f3cdd467
DZ
86312011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8632
8633 * string/strncat.c (strncat): Undef the symbol in case it has been
8634 defined in bits/string.h.
8635
74718d13
UD
86362011-09-09 Ulrich Drepper <drepper@gmail.com>
8637
633e9e0f
UD
8638 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8639
0a2349f9 8640 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
8641 link map.
8642
f9924780
AJ
86432011-08-17 Andreas Jaeger <aj@suse.de>
8644
8645 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8646
7f5517aa
PP
86472011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8648 Ian Lance Taylor <iant@google.com>
8649
8650 * math/libm-test.inc (lround_test): New testcase.
8651 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8652
762011fe
UD
86532011-09-08 Ulrich Drepper <drepper@gmail.com>
8654
92963737
UD
8655 * Makefile: Remove support for automatic cvs check-ins.
8656 * Makerules: Likewise.
8657 * config.make.in: Likewise.
8658 * configure.in: Likewise.
8659 * intl/Makefile: Likewise.
8660 * locale/Makefile: Likewise.
8661 * po/Makefile: Likewise.
8662 * posix/Makefile: Likewise.
8663 * sysdeps/gnu/Makefile: Likewise.
8664 * sysdeps/mach/hurd/Makefile: Likewise.
8665 * sysdeps/sparc/sparc32/Makefile: Likewise.
8666
b0727fd8
JS
8667 [BZ #13118]
8668 * posix/Makefile (bug-regex32-ENV): Define.
8669 Patch by John Stanley <jpsinthemix@verizon.net>.
8670
a0f33f99
UD
8671 * misc/Makefile (headers): Add bits/select2.h.
8672 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8673 * misc/bits/select2.h: New file.
8674 * include/bits/select2.h: New file.
8675 * debug/Makefile (routines): Add fdelt_chk.
8676 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8677 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8678 FD_ISSET.
8679 * debug/fdelt_chk.c: New file.
8680
762011fe
UD
8681 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8682 * wcsmbs/test-wmemcmp.c: Likewise.
8683 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 8684 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
8685
86862011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8687
8688 * string/Makefile (strop-tests): Add memcmp.
8689 * string/test-wmemcmp.c: New file.
8690 * string/test-memcmp.c: Add wmemcmp support.
8691
7f513ec8
RM
86922011-09-08 Roland McGrath <roland@hack.frob.com>
8693
0442afb4
RM
8694 [BZ #13153]
8695 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8696 2011-07-19 change.
8697
7f513ec8
RM
8698 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8699 garbage value in a __mach_port_mod_refs call in the cases of the
8700 task-self and thread-self ports.
8701
a12b2239
ST
87022011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8703
8704 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8705
610f9ab4
AS
87062011-09-08 Andreas Schwab <schwab@redhat.com>
8707
7f513ec8 8708 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 8709
48882a1a
LD
87102011-09-07 Ulrich Drepper <drepper@gmail.com>
8711
b49865be
UD
8712 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8713
fdc86bc9
UD
8714 * elf/dl-libc.c (dlerror_run): Pass back error code from
8715 dl_catch_error.
8716
c966526a
UD
8717 [BZ #13123]
8718 * elf/dl-load.c (lose): Free l_origin if it is valid.
8719
48882a1a
LD
8720 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8721 names.
8722 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8723 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8724 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8725 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8726 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8727 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8728
77a2a8b4
AZ
87292011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8730
8731 * sysdeps/powerpc/fpu/e_hypot.c: New file.
8732 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8733 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8734 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8735 * sysdeps/powerpc/fpu/k_cosf.c: New file.
8736 * sysdeps/powerpc/fpu/k_sinf.c: New file.
8737 * sysdeps/powerpc/fpu/s_cosf.c: New file.
8738 * sysdeps/powerpc/fpu/s_sinf.c: New file.
8739 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8740 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8741
24f579d8
AM
87422011-08-15 Alan Modra <amodra@gmail.com>
8743
8744 [BZ #13092]
8745 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8746 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8747 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
8748 ppc_mcount to static-only-routines.
8749 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8750 __mcount_internal.
8751 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8752 __mcount_internal with usual JUMPTARGET. Remove useless nop.
8753
3d4837df
UD
87542011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
8755
8756 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8757 for finite and infinity parameters.
8758
22700377
WS
87592011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8760
8761 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8762 and add nop instructions for throughput optimization.
8763 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8764
5025581e
WS
87652011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
8766
8767 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8768 aligned copy for power7 with vector-scalar instructions.
8769 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8770
08a300c9
L
87712011-07-24 H.J. Lu <hongjiu.lu@intel.com>
8772
8773 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8774 AVX check.
8775
59178ef9
AS
87762011-09-07 Andreas Schwab <schwab@redhat.com>
8777
8778 [BZ #13144]
8779 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8780 last change.
8781
e38ba7ab
UD
87822011-09-07 Ulrich Drepper <drepper@gmail.com>
8783
8784 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8785 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8786 syscall wrapper around clock_gettime in __vdso_clock_gettime.
8787 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8788 clock_gettime.
8789
d53a73ac
UD
87902011-09-06 Ulrich Drepper <drepper@gmail.com>
8791
fc8bffcc
UD
8792 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8793 Forgot to demangle the pointer.
8794
ceaa0c5d
UD
8795 * sysdeps/i386/sysdep.h: Define atom_text_section.
8796 * sysdeps/x86_64/sysdep.h: Likewise.
8797 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8798 section with atom_text_section.
8799 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8800 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8801 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8802 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8803 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8804
a77d3c17
UD
8805 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8806 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8807 already be defined. Change to take two parameters and don't assign
8808 result to variable. Adjust all users.
8809 Define INTERNAL_GETTIME if not already defined.
8810 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8811 call.
8812 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8813 HAVE_CLOCK_GETTIME_VSYSCALL.
8814 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8815
d53a73ac
UD
8816 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8817 gettimeofday vsyscall, just use time.
8818
a8f84144
AS
88192011-09-06 Andreas Schwab <schwab@redhat.com>
8820
8821 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8822 <errno.h>.
8823
ef606249
UD
88242011-09-06 Ulrich Drepper <drepper@gmail.com>
8825
8826 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8827 syscall on x86-64.
8828 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8829 syscall.
8830 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8831 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8832 syscall if possible.
8833
6585cb60
UD
88342011-09-05 Ulrich Drepper <drepper@gmail.com>
8835
8836 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8837 e_ident. Don't pass to find_mapsXX.
8838 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8839
a5f524e4
LD
88402011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8841
8842 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8843 strchr-sse2-no-bsf strrchr-sse2-no-bsf
8844 * sysdeps/x86_64/multiarch/strchr.S: Update.
8845 Check bit_slow_BSF bit.
8846 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8847 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8848 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8849
554881ef
UD
88502011-09-05 Ulrich Drepper <drepper@gmail.com>
8851
d96de963
UD
8852 [BZ #13134]
8853 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8854 before glibc 2.15.
8855 (tryshell): Define.
8856 (__spawni): Change last parameter to be flag. Test
8857 SPAWN_XFLAGS_USE_PATH flag to use path or not.
8858 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8859 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8860 * posix/spawni.c: Likewise.
8861 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8862 * posix/spawnp.c: Likewise. Change normal version to use
8863 SPAWN_XFLAGS_USE_PATH.
8864 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8865 SPAWN_XFLAGS_TRY_SHELL.
8866
d48e5868
UD
8867 [BZ #13150]
8868 * posix/glob.h: Remove gcc 1.x support.
8869
554881ef
UD
8870 [BZ #13068]
8871 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8872
693fb948
LD
88732011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8874
8875 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8876 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8877 strrchr-sse2-bsf
8878 * sysdeps/i386/i686/multiarch/strchr.S: New file.
8879 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8880 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8881 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8882 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8883 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8884
1b48c537
UD
88852011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8886
49d42c37
UD
8887 * sysdeps/x86_64/wcscmp.S: New file.
8888
1b48c537
UD
8889 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8890 wcscmp-c wcscmp-sse2
8891 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8892 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8893 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8894 * wcsmbs/wcscmp.c: Allow renaming.
8895
15c95c5d
DM
88962011-09-05 David S. Miller <davem@davemloft.net>
8897
8898 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8899 stack slot, rather than the struct return pointer slot.
8900 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8901 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8903 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8904
2f0ad8f3
UD
89052011-09-05 Ulrich Drepper <drepper@gmail.com>
8906
d88ae418
UD
8907 * po/ja.po: Update from translation team.
8908
2f0ad8f3
UD
8909 [BZ #13144]
8910 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8911 kernel in 64-bit binaries.
8912
5f4318d1
DM
89132011-09-01 David S. Miller <davem@davemloft.net>
8914
8915 * elf/elf.h (HWCAP_SPARC_*): Move to..
8916 * sysdeps/sparc/sysdep.h: this new file and add new values.
8917 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8918 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8919 _DL_HWCAP_COUNT to 24.
8920 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8921 entries.
8922 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8923 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8924 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8925 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8926 instead of magic constants.
8927 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8928
3ba57516
DM
89292011-08-31 David S. Miller <davem@davemloft.net>
8930
8931 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8932 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8933 Reimplement to do errno handling inline.
8934 (SYSCALL_ERROR_HANDLER): New macro.
8935 (__SYSCALL_STRING): Do not do errno handling in asm.
8936 (__CLONE_SYSCALL_STRING): Delete.
8937 (__INTERNAL_SYSCALL_STRING): Delete.
8938 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8939 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8940 (PSEUDO): Reimplement to do errno handling inline.
8941 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8942 (SYSCALL_ERROR_HANDLER): New macro.
8943 (__SYSCALL_STRING): Do not do errno handling in asm.
8944 (__CLONE_SYSCALL_STRING): Delete.
8945 (__INTERNAL_SYSCALL_STRING): Delete.
8946 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8947 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8948 i386.
8949 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8950 (inline_syscall*): Add 'err' argument.
8951 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8952 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8953 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8954 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8955
8956 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8957 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8958
2bc17433
AS
89592011-08-30 Andreas Schwab <schwab@redhat.com>
8960
8961 * elf/rtld.c (dl_main): Relocate objects in dependency order.
8962
fbeb5f4d
JO
89632011-08-29 Jiri Olsa <jolsa@redhat.com>
8964
8965 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8966 directive.
8967
ad69cc26
DM
89682011-08-24 David S. Miller <davem@davemloft.net>
8969
8970 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8971
39dd69df
AS
89722011-08-24 Andreas Schwab <schwab@redhat.com>
8973
8974 * elf/Makefile: Add rules to build and run unload8 test.
8975 * elf/unload8.c: New file.
8976 * elf/unload8mod1.c: New file.
8977 * elf/unload8mod1x.c: New file.
8978 * elf/unload8mod2.c: New file.
8979 * elf/unload8mod3.c: New file.
8980
8981 * elf/dl-close.c (_dl_close_worker): Reset private search list if
8982 it wasn't used.
8983
2c0b250a
DM
89842011-08-23 David S. Miller <davem@davemloft.net>
8985
8986 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8987 subtract stack bias.
8988 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8989 %sp not %fp in calculations.
8990 (_JMPBUF_UNWINDS_ADJ): Likewise.
8991
22044b48
DM
8992 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8993 (aio_suspend): Call it to force an exception region around the
8994 AIO_MISC_WAIT() invocation.
8995
2cae4995
AS
89962011-08-23 Andreas Schwab <schwab@redhat.com>
8997
8998 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8999 backslash.
9000
873a772e
AJ
90012011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9002
9003 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9004 protection macro.
9005 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9006 and <dl-machine.h>.
9007 (Elf64_FuncDesc): Remove.
9008
25ad0df1
DM
90092011-08-22 David S. Miller <davem@davemloft.net>
9010
9011 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9012 sigaltstack check, add missing cfi directives.
9013 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9014 missing cfi directives, and sigaltstack handling.
9015
e888bcbe
AS
90162011-08-16 Andreas Schwab <schwab@redhat.com>
9017
9018 [BZ #11724]
9019 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9020 object is seen twice.
9021 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9022
9023 * elf/Makefile (distribute): Add tst-initorder2.c.
9024 (tests): Add tst-initorder2.
9025 (modules-names): Add tst-initorder2a tst-initorder2b
9026 tst-initorder2c tst-initorder2d. Add rules to build them.
9027 ($(objpfx)tst-initorder2.out): New rule.
9028 * elf/tst-initorder2.c: New file.
9029 * elf/tst-initorder2.exp: New file.
9030
87162f46
AS
90312011-08-22 Andreas Schwab <schwab@redhat.com>
9032
70538b7f
AS
9033 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9034
f55ffe58
AS
9035 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9036 dependencies back to end of function.
9037
87162f46
AS
9038 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9039 $(elfobjdir)/ld.so.
9040
91b392a4
UD
90412011-08-21 Ulrich Drepper <drepper@gmail.com>
9042
9043 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9044 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9045 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9046 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9047 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9048 of __vdso_gettimeofday.
9049 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9050 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9051 attribute_hidden.
9052 (_libc_vdso_platform_setup): Remove initialization of
9053 __vdso_gettimeofday and __vdso_time.
9054
5c43483f
UD
90552011-08-20 Ulrich Drepper <drepper@gmail.com>
9056
775a77e7
UD
9057 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9058 and fgetc_unlocked.
9059 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9060 getc_unlocked.
89f447ed 9061
49c74ba9
UD
9062 * elf/dl-open.c (add_to_global): Report additions to the global scope
9063 for LD_DEBUG=scopes.
9064 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 9065 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 9066
5c43483f
UD
9067 [BZ #13114]
9068 * stdio-common/Makefile (tests): Add bug24.
9069 * stdio-common/bug24.c: New file.
9070
a101b025
AJ
90712011-08-19 Andreas Jaeger <aj@suse.de>
9072
9073 [BZ #13114]
9074 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9075 non-existant file when using close-on-exec mode.
9076
c88f1766
UD
90772011-08-20 Ulrich Drepper <drepper@gmail.com>
9078
0276a718
UD
9079 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9080 the very first instruction.
9081
c88f1766
UD
9082 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9083 the CFI state in the end.
9084 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9085 inclusion of dl-trampoline.h.
9086 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9087
51ccffa0
AS
90882011-08-19 Andreas Schwab <schwab@redhat.com>
9089
94d7165f
AS
9090 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9091 expectations for long double.
9092
51ccffa0
AS
9093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9094 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9095
fd708658 90962011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
9097
9098 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9099 artificual limit depends upon the system page size.
9100
44f0a71e
UD
91012011-08-17 Ulrich Drepper <drepper@gmail.com>
9102
9103 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9104 * resolv/Makefile: Define CFLAGS-libresolv.
9105
8de79a24
AS
91062011-08-17 Andreas Schwab <schwab@redhat.com>
9107
9108 * nss/makedb.c (compute_tables): Make variables used in nested
9109 function static.
9110
27724598
UD
91112011-08-17 Ulrich Drepper <drepper@gmail.com>
9112
c5305d88
UD
9113 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9114 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9115 if buffer was too small.
9116
27724598
UD
9117 * elf/pldd.c (main): Attach to all threads in the process.
9118 Rewrite /proc handling to use *at functions.
9119
076fe015
UD
91202011-08-16 Ulrich Drepper <drepper@gmail.com>
9121
174baab3
UD
9122 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9123 specifies first scope to show.
9124 (dl_open_worker): Update callers. Move printing scope of new
9125 object to before the relocation.
44f0a71e 9126 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
9127 * sysdeps/generic/ldsodefs.h: Update declaration.
9128
076fe015
UD
9129 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9130 string for the scope number.
9131
a60df2c3
UD
91322011-08-14 Ulrich Drepper <drepper@gmail.com>
9133
9134 * nscd/servicescache.c (cache_addserv): Make sure written is always
9135 initialized.
9136
5e4287d1
RM
91372011-08-14 Roland McGrath <roland@hack.frob.com>
9138
85ae0589
RM
9139 * sysdeps/i386/i486/bits/atomic.h
9140 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9141 statement expression, so as to suppress "set but not used" warning.
9142 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9143
69f63097
RM
9144 * string/strncat.c (STRNCAT): Use prototype definition.
9145
675456ef
RM
9146 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9147 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9148 -Iprograms here.
9149 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9150 (localedef-modules): Add localedef.
9151 (locale-modules): Add locale.
9152
5e4287d1
RM
9153 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9154 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9155 to avoid a warning.
9156
9c96ff23
DM
91572011-08-14 David S. Miller <davem@davemloft.net>
9158
9159 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9160 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9161
f9ddf089
UD
91622011-08-13 Ulrich Drepper <drepper@gmail.com>
9163
44f0a71e 9164 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
9165 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9166 * elf/rtld.c (dl_main): Set l_name of vDSO.
9167 Call _dl_show_scope when DL_DEBUG_SCOPES.
9168 (process_dl_debug): Recognize scopes flag and also set it for all.
9169 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9170 Declare _dl_show_scope.
9171
1dc27704
UD
9172 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9173 (do_dlopen): Pass caller_dlopen to dl_open.
9174 (__libc_dlopen_mode): Initialize caller_dlopen.
9175
f9ddf089
UD
9176 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9177 of libc. Make tolower call locale-independent. Optimize a bit by
9178 using isdigit instead of isalnum.
9179 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9180
9ac533d3
UD
91812011-08-12 Ulrich Drepper <drepper@gmail.com>
9182
9183 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9184 was a dependency or dynamically loaded.
9185
89edf2e9
UD
91862011-08-11 Ulrich Drepper <drepper@gmail.com>
9187
8e999d29
UD
9188 * intl/l10nflist.c: Allow architecture-specific pop function.
9189 * sysdeps/x86_64/l10nflist.c: New file.
9190
89edf2e9
UD
9191 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9192 classification.
9193
14d96785
AS
91942011-08-10 Andreas Schwab <schwab@redhat.com>
9195
9196 * include/dirent.h: Add libc_hidden_proto for scandirat and
9197 scandirat64. Don't declare __scandirat64.
9198 * dirent/scandirat.c: Add libc_hidden_def.
9199 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9200 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9201
6761ac04
DM
92022011-08-10 David S. Miller <davem@davemloft.net>
9203
9204 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9205 enum.
9206 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9207 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9208 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9209
c55fbd1e
UD
92102011-08-09 Ulrich Drepper <drepper@gmail.com>
9211
9212 * Versions.def [libc]: Add GLIBC_2.15.
9213 * dirent/Makefile (routines): Add scandirat and scandirat64.
9214 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9215 GLIBC_2.15.
9216 * dirent/dirent.h: Declare scandirat and scandirat64.
9217 * dirent/scandirat.c: New file.
9218 * dirent/scandirat64.c: New file.
9219 * sysdeps/wordsize-64/scandirat.c: New file.
9220 * sysdeps/wordsize-64/scandirat64.c: New file.
9221 * dirent/opendir.c: Define opendirat.
9222 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9223 using scandirat.
9224 * dirent/scandir64.c: Adjust for scandir.c change.
9225 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9226 __scandirat64, and __scandir_cancel_handler.
9227 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9228 additional parameter and use openat instead of open (outside of ld.so).
9229 Add new __opendir as wrapper around __opendirat.
9230 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9231 here without requiring old scandirat implementation.
9232
879165f2
UD
92332011-08-08 Ulrich Drepper <drepper@gmail.com>
9234
9235 * dirent/scandir.c (cancel_handler): Renamed to
9236 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9237 defined. Adjust users.
9238 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9239 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9240
cb7e923b
UD
92412011-08-04 Ulrich Drepper <drepper@gmail.com>
9242
16292edd
UD
9243 * string/test-string.h (IMPL): Use __STRING to expand name and then
9244 stringify it.
9245
cb7e923b
UD
9246 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9247 of cleanups.
9248
cff82933
LD
92492011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9250
9251 * string/Makefile: Update.
9252 (strop-tests): Append strncat.
9253 * string/test-wcscmp.c: New file.
9254 New comprehensive test for wcscmp.
9255 * string/test-strcmp.c: Update.
9256 (WIDE): New define.
9257
9be9bfcc
AS
92582011-07-22 Andreas Schwab <schwab@redhat.com>
9259
9260 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9261 line.
9262
2e96f1c7
AS
92632011-07-26 Andreas Schwab <schwab@redhat.com>
9264
9265 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9266 encoding to ACE if AI_IDN.
9267
85188888
JJ
92682011-08-01 Jakub Jelinek <jakub@redhat.com>
9269
9270 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9271 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9272
5fa16e9b
LD
92732011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9274
9275 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9276 Fix overflow bug in strncat.
9277 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9278
9279 * string/test-strncat.c: Update.
9280 Add new tests for checking overflow bugs.
9281
92822011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9283
9284 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9285 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9286 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9287 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9288 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9289 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9290 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9291 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9292 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9293
9294 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9295 (USE_AS_STRCAT): Define.
9296 Add strcat and strncat support.
9297 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9298
8c1a459f
AS
92992011-07-25 Andreas Schwab <schwab@redhat.com>
9300
9301 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9302 __n bigger than INT_MAX+1.
9303 (__strncmp_g): Likewise.
9304
bba33c28
UD
93052011-07-23 Ulrich Drepper <drepper@gmail.com>
9306
798be72d
UD
9307 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9308 * libio/stido.h: Likewise.
9309
8accd4dc
UD
9310 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9311 (AF_NFC): Define.
9312 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9313 (AF_NFC): Define.
9314
cbff0d96
UD
9315 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9316 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9317 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9318 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9319 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9320
9191c04a
UD
9321 [BZ #13021]
9322 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9323 installed.
9324
bba33c28
UD
9325 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9326 typo.
9327 (_dl_x86_64_save_sse): Likewise.
9328
90f139dd
UD
93292011-07-22 Ulrich Drepper <drepper@gmail.com>
9330
1aae088a
UD
9331 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9332 OSXSAVE.
9333 (_dl_x86_64_save_sse): Likewise.
9334
8e2045f5
UD
9335 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9336
90f139dd
UD
9337 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9338
1d002f25
AS
93392011-07-21 Andreas Schwab <schwab@redhat.com>
9340
9341 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9342 change.
9343 (_dl_x86_64_save_sse): Use correct AVX check.
9344
21137f89
UD
93452011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9346
9347 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9348 bug in strncpy/strncat.
9349 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9350
a65c0b7a
UD
93512011-07-21 Ulrich Drepper <drepper@gmail.com>
9352
9353 * string/tester.c (test_strcat): Add tests for different alignments
9354 of source and destination.
9355 (test_strncat): Likewise.
9356
6986b98a
UD
93572011-07-20 Ulrich Drepper <drepper@gmail.com>
9358
90bb2039
UD
9359 [BZ #12852]
9360 * posix/glob.c (glob): Check passed in values before using them in
9361 expressions to avoid some overflows.
9362 (glob_in_dir): Likewise.
9363
5644ef54
UD
9364 [BZ #13007]
9365 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9366 check for AVX enablement so that we don't crash with old kernels and
9367 new hardware.
9368 * elf/tst-audit4.c: Add same checks here.
9369 * elf/tst-audit6.c: Likewise.
9370
9371 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 9372
bfc9dc9b
AS
93732011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9374
9375 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9376
702e64bb
UD
93772011-07-20 Ulrich Drepper <drepper@gmail.com>
9378
9379 * po/cs.po: Update from translation team.
9380 * po/bg.po: Likewise.
9381
295e904f
MP
93822011-07-12 Marek Polacek <mpolacek@redhat.com>
9383
9384 * misc/sys/cdefs.h: Add support for const attribute.
9385 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9386 to gnu_dev_{major,minor,makedev} functions.
9387
3ff94596
MP
93882011-07-20 Marek Polacek <mpolacek@redhat.com>
9389
9390 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9391
28b59fca
AS
93922011-07-20 Andreas Schwab <schwab@redhat.com>
9393
9394 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9395 strlen results.
9396
19df733e
AK
93972011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9398
9399 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9400 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9401 register in order to avoid conflicts with the soft frame pointer
9402 being held in r11 when necessary.
9403 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9404 (INTERNAL_VSYSCALL_NCS): Likewise.
9405
c8835729
MP
94062011-07-14 Marek Polacek <mpolacek@redhat.com>
9407
9408 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9409 * elf/dl-fini.c (_dl_fini): Adjust caller.
9410 * elf/dl-close.c (_dl_close_worker): Likewise.
9411 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9412
b902330c
MP
94132011-07-15 Marek Polacek <mpolacek@redhat.com>
9414
8991e135
MP
9415 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9416 "aux_cache->nlibs < 0".
9417
b902330c
MP
9418 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9419 in the reload-count case.
9420
99710781
LD
94212011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9422
9423 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9424 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9425 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9426 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9427 * sysdeps/x86_64/multiarch/strcat.S: New file.
9428 * sysdeps/x86_64/multiarch/strncat.S: New file.
9429 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9430 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9431 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9432 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9433 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9434 (USE_AS_STRCAT): Define.
9435 Add strcat and strncat support.
9436 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9437 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9438 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9439 * string/strncat.c: Update.
9440 (USE_AS_STRNCAT): Define.
9441 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9442 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9443 and i7.
9444 * sysdeps/x86_64/multiarch/init-arch.h
9445 (bit_Prefer_PMINUB_for_stringop): New.
9446 (index_Prefer_PMINUB_for_stringop): Likewise.
9447 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9448 bit_Prefer_PMINUB_for_stringop.
9449
7dc6bd90
UD
94502011-07-19 Ulrich Drepper <drepper@gmail.com>
9451
9452 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9453 buffer64.
9454 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9455 of casting of buffer.
9456 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9457 buffer32 and buffer64.
9458 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9459 writes instead of casting of buffer.
9460 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9461 buffer32.
9462 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9463 casting of buffer.
9464
e0e72284
AS
94652011-07-19 Andreas Schwab <schwab@redhat.com>
9466
9467 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9468
feb1eb0b
UD
94692011-07-19 Ulrich Drepper <drepper@gmail.com>
9470
9471 * nscd/nscd.c (termination_handler): Don't do anything for a database
9472 if it has not yet been initialized.
9473
298711ff
UD
94742011-07-18 Ulrich Drepper <drepper@gmail.com>
9475
9476 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9477
94782011-07-15 Marek Polacek <mpolacek@redhat.com>
9479
9480 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9481
f9d68389
UD
94822011-07-18 Ulrich Drepper <drepper@gmail.com>
9483
9484 * po/nl.po: Update from translation team.
9485 * po/sv.po: Likewise.
9486
db290cf5
RM
94872011-07-16 Roland McGrath <roland@hack.frob.com>
9488
9489 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9490 now disallowed by GCC.
5c550700 9491
fd5e21c7
RM
9492 * configure.in (use-default-link): Default to yes if a test -shared
9493 link meets our qualifications.
9494 * configure: Regenerated.
9495
5c550700
RM
9496 * config.make.in (output-format): New variable.
9497 * configure.in: Check for ld --print-output-format support.
9498 * configure: Regenerated.
9499 * Makerules ($(common-objpfx)format.lds)
9500 [$(output-format) != unknown]: Just use $(output-format),
9501 instead of the linker-script munging.
9502
9fa2c032
RM
95032011-07-14 Roland McGrath <roland@hack.frob.com>
9504
a6928d51
RM
9505 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9506 of $(common-objpfx)shlib.lds.
9507 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9508
661607b3
RM
9509 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9510 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9511
9fa2c032
RM
9512 * configure.in (-z relro check): Adjust test code to add a large
9513 writable data section after it.
9514 * configure: Regenerated.
9515
defe9061
RM
95162011-07-11 Roland McGrath <roland@hack.frob.com>
9517
9518 * configure.in (-z relro check): Fix test code to make the variable
9519 truly const.
9520 * configure: Regenerated.
9521
319b9ad4
UD
95222011-07-11 Ulrich Drepper <drepper@gmail.com>
9523
9524 * nscd/nscd.h (struct traced_file): Define.
9525 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9526 elements. Add traced_files.
9527 (inotify_fd): Declare.
9528 (register_traced_file): Declare.
9529 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9530 (inotify_fd): Export.
9531 (resolv_conf_descr): Remove.
9532 (nscd_init): Move inotify descriptor creation to main.
9533 Don't register files for notification here.
9534 (register_traced_file): New function.
9535 (invalidate_cache): Don't use reset_res to determine whether to call
9536 res_init, go through the list of registered files.
9537 (main_loop_poll): The inotify descriptors are now stored in the
9538 structures for the traced files.
9539 (main_loop_epoll): Likewise
9540 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9541 to __nss_disable_nscd.
9542 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9543 for a database anymore. Check the records for all the registered
9544 files instead.
9545 * nss/Makefile (libnss_files-routines): Add files-init.
9546 (libnss_db-routines): Add db-init.
9547 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9548 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9549 * nss/nss_db/db-init.c: New file.
9550 * nss/nss_files/files-init.c: New file.
9551 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9552 __nss_lookup_function.
9553 (__nss_lookup_function): Call nss_load_library.
9554 (nss_load_all_libraries): New function.
9555 (__nss_disable_nscd): Take parameter with callback function for files
9556 to register. Set is_nscd. Load all the DSOs for the NSS modules
9557 used for the cached services.
9558 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9559 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9560 options for features to all the files in nscd.
9561
9562 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9563
23bee3e8
RM
95642011-07-10 Roland McGrath <roland@hack.frob.com>
9565
9566 * csu/elf-init.c (__libc_csu_init): Comment typo.
9567
46a5b7f0
UD
95682011-07-09 Ulrich Drepper <drepper@gmail.com>
9569
9570 * po/pl.po: Update from translation team.
9571 * po/ja.po: Likewise.
9572 * po/ru.po: Likewise.
9573 * po/ko.po: Likewise.
9574 * po/fr.po: Likewise.
9575
d30cf5bb
RM
95762011-07-09 Roland McGrath <roland@hack.frob.com>
9577
113ddea4
RM
9578 * configure.in (.ctors/.dtors header and trailer check):
9579 Use an empirical test on a built program.
9580 * configure: Regenerated.
9581
574920b4
RM
9582 * configure.in (-z relro check): Use an empirical test on a built DSO.
9583 Detect, but do not require, on ia64.
9584 * configure: Regenerated.
9585
d30cf5bb
RM
9586 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9587 Update tests that use readelf to use $READELF instead.
9588 * configure: Regenerated.
9589
8538fdb3
UD
95902011-07-08 Ulrich Drepper <drepper@gmail.com>
9591
9592 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9593 if the result is not used.
9594
04d08991
AJ
95952011-07-05 Andreas Jaeger <aj@suse.de>
9596
9597 [BZ#9696]
9598 * stdlib/tst-strtod.c: Add testcase.
9599
de283087
AD
96002011-07-07 Ulrich Drepper <drepper@gmail.com>
9601
4e5f31c8 9602 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 9603 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
9604 The latter has a higher limit. Take additional parameter to pass to
9605 the new function.
9606 (__pathconf): Pass file to __statfs_link_max.
9607 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9608 __statfs_link_max.
9609 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9610 __statfs_link_max.
9611
de283087
AD
9612 [BZ #12868]
9613 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9614 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9615 Handle Lustre.
9616 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9617 (__statfs_filesize_max): Likewise.
9618 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9619
c75fa153
AJ
96202011-07-05 Andreas Jaeger <aj@suse.de>
9621
9622 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9623
1a544854
UD
96242011-07-06 Marek Polacek <mpolacek@redhat.com>
9625
9626 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9627 `status' variable.
9628 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9629 Likewise.
9630
6f0eec67
UD
96312011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9632
9633 * Makefile (strop-tests): Add strncat.
9634 * string/test-strncat.c: New file.
9635
aae30307
UD
96362011-06-30 Marek Polacek <mpolacek@redhat.com>
9637
9638 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9639
c0cfb5eb
UD
96402011-06-21 Andreas Jaeger <aj@suse.de>
9641
9642 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9643 Copy rule from iconvdata/Makefile.
9644
01636b21
UD
96452011-07-06 Ulrich Drepper <drepper@gmail.com>
9646
9647 [BZ #12922]
9648 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9649 but no long options are defined, just return 'W'.
9650
9895c8bc
UD
96512011-06-22 Marek Polacek <mpolacek@redhat.com>
9652
9653 [BZ #9696]
9654 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9655
5d4cf042
UD
96562011-07-06 Ulrich Drepper <drepper@gmail.com>
9657
9658 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9659 netgroups to read.
960e5535 9660 (innetgr): Likewise.
5d4cf042 9661
751eb97e
RM
96622011-07-05 Roland McGrath <roland@hack.frob.com>
9663
9664 * config.make.in (install_root): Default to $(DESTDIR).
9665
f15f1e45
UD
96662011-07-05 Ulrich Drepper <drepper@gmail.com>
9667
9668 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9669
4e34ac6a
RM
96702011-07-02 Roland McGrath <roland@hack.frob.com>
9671
5e9b6af4
RM
9672 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9673
84f9ea0f
RM
9674 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9675 containing directory rather than embedding absolute directory names.
9676
ea5ee9f7
RM
9677 * scripts/check-local-headers.sh: Rewritten using awk.
9678 Match by word, not by line. Print error messages for matches.
9679 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9680
1b74661a
RM
9681 * Makerules [shlib-lds-flags empty]:
9682 ($(common-objpfx)libc_pic.opts): New target.
9683 ($(common-objpfx)libc_pic.os.clean): New target.
9684 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9685
9686 * config.make.in (OBJCOPY): New variable.
9687 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9688 * configure: Regenerated.
9689
f781ef40
RM
9690 * config.make.in (use-default-link): New variable.
9691 * configure.in (use_default_link): Grok --with-default-link to set it.
9692 * configure: Regenerated.
9693 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9694 (shlib-lds, shlib-lds-flags): Define to empty.
9695
2d4fa81e
RM
9696 * Makerules (shlib-lds): New variable.
9697 (shlib-lds-flags): New variable.
9698 (build-shlib, build-moduile, build-module-asneeded): Use it.
9699 ($(common-objpfx)libc.so): Use $(shlib-lds).
9700 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9701 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9702
31fffa6b
RM
9703 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9704 DT_FLAGS/DT_FLAGS_1 with zero flags.
9705
4e34ac6a
RM
9706 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9707 linker script munging.
9708
fcfc776b
UD
97092011-07-02 Ulrich Drepper <drepper@gmail.com>
9710
9711 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9712 as 128-bit value.
9713 * crypt/sha512.c (sha512_process_block): Perform total addition using
9714 128-bit if possible.
9715 (__sha512_finish_ctx): Likewise.
9716 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9717 as 64-bit value.
9718 * crypt/sha256.c (SWAP64): Define.
9719 (sha256_process_block): Perform total addition using 64-bit if
9720 possible.
9721 (__sha256_finish_ctx): Likewise.
9722
99231d9a
UD
97232011-07-01 Ulrich Drepper <drepper@gmail.com>
9724
9725 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
9726 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9727 * nscd/hstcache.c (cache_addhst): Likewise.
9728 * nscd/grpcache.c (cache_addgr): Likewise.
9729 * nscd/aicache.c (addhstaiX): Likewise
9730 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9731
445b4a53
TK
97322011-07-01 Thorsten Kukuk <kukuk@suse.de>
9733
9734 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9735 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9736 * nscd/hstcache.c (cache_addhst): Likewise.
9737 * nscd/grpcache.c (cache_addgr): Likewise.
9738 * nscd/aicache.c (addhstaiX): Likewise
9739
6d4d8e8e
AS
97402011-07-01 Andreas Schwab <schwab@redhat.com>
9741
9742 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9743 domain only when needed.
9744
89f654c5
AS
97452011-06-30 Andreas Schwab <schwab@redhat.com>
9746
9747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9748 is always restored.
9749
cf3b23ff
UD
97502011-06-29 Ulrich Drepper <drepper@gmail.com>
9751
9752 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9753 are re-adding the entry.
9754 * nscd/servicescache.c (cache_addserv): Likewise.
9755
751626f9
AJ
97562011-06-30 Aurelien Jarno <aurelien@aurel32.net>
9757
9758 * sysdeps/generic/dl-irel.h: fix protection against multiple
9759 inclusions.
9760 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9761
9113ea1f
UD
97622011-06-28 Ulrich Drepper <drepper@gmail.com>
9763
5c0b8d90
UD
9764 [BZ #12935]
9765 * malloc/memusage.sh: Fix quoting in message.
9766 * debug/xtrace.sh: Likewise.
9767
9113ea1f
UD
9768 * configure.in: Remove support for --experimental-malloc option, make
9769 it the default.
9770 * config.make.in: Likewise.
9771 * malloc/Makefile: Likewise.
9772
a4172181
AS
97732011-06-27 Andreas Schwab <schwab@redhat.com>
9774
9775 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9776 two-byte characters.
9777
78a7eee7
RM
97782011-06-27 Roland McGrath <roland@hack.frob.com>
9779
62bede13
RM
9780 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9781 AC_CACHE_CHECK invocation.
9782 * configure: Regenerated.
9783
78a7eee7
RM
9784 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9785
5ce33a62
UD
97862011-06-27 Ulrich Drepper <drepper@gmail.com>
9787
034807a9
UD
9788 [BZ #12350]
9789 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
9790 bit from old_res_options.
9791
4902da17
UD
9792 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9793
5ce33a62
UD
9794 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9795 value type for setfct.
9796
c2344f56
L
97972011-06-23 H.J. Lu <hongjiu.lu@intel.com>
9798
9799 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9800 __gettimeofday instead of gettimeofday.
9801
68468076
UD
98022011-06-26 Ulrich Drepper <drepper@gmail.com>
9803
9804 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9805
acb0d739
L
98062011-06-24 H.J. Lu <hongjiu.lu@intel.com>
9807
9808 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9809
9810 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9811 info.
9812
8912479f
L
98132011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9814
9815 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9816 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9817 strcpy-sse2-unaligned strncpy-sse2-unaligned
9818 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9819 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9820 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9821 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9822 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9823 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9824 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9825 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9826 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9827 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9828 (STRCPY): Support SSE2 and SSSE3 versions.
9829
d5495a11
UD
98302011-06-24 Ulrich Drepper <drepper@gmail.com>
9831
9832 [BZ #12874]
9833 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9834 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9835 kernels which artificially limit size of requests.
9836
0b1cbaae
L
98372011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9838
9839 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9840 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9841 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9842 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9843 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9844 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9845 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9846 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9847 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9848 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9849 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9850 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9851 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9852 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9853 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9854 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9855 Enable unaligned load optimization for Intel Core i3, i5 and i7
9856 processors.
9857 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9858 Define.
9859 (index_Fast_Unaligned_Load): Define.
9860 (HAS_FAST_UNALIGNED_LOAD): Define.
9861
07f494a0
MP
98622011-06-23 Marek Polacek <mpolacek@redhat.com>
9863
9864 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9865
fa3fc0fe
UD
98662011-06-22 Ulrich Drepper <drepper@gmail.com>
9867
9868 [BZ #12907]
9869 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9870 until it is clear that the information is realy needed.
9871 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9872
e12df166
AS
98732011-06-22 Andreas Schwab <schwab@redhat.com>
9874
9875 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9876
852eb34d
UD
98772011-06-22 Ulrich Drepper <drepper@gmail.com>
9878
84e2a551
UD
9879 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9880 /sys/devices/system/cpu/online if it is usable.
9881
852eb34d
UD
9882 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9883 reading the information from the /proc filesystem to once a second.
9884
6e502e19
UD
98852011-06-21 Andreas Jaeger <aj@suse.de>
9886
9887 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9888 NULL after inclusion of kernel headers.
9889
75d39ff2
UD
98902011-06-21 Ulrich Drepper <drepper@gmail.com>
9891
51f9aa6a
UD
9892 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9893 calls to internal_setent.
9894
c0244a9d
UD
9895 [BZ #12885]
9896 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9897 addresses using gethostbyname4_r ignore IPv4 addresses.
9898
c5e3c2ae
UD
9899 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9900 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
9901
75d39ff2
UD
9902 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9903
42675c6f
DM
99042011-06-20 David S. Miller <davem@davemloft.net>
9905
9906 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9907 inclusions.
9908 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9909
9910 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9911 (elf_irel): Use it.
9912 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9913 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9914 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9915 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9916 * sysdeps/x86_64/dl-irel.h: Likewise.
9917
9918 * elf/dl-runtime.c: Use elf_ifunc_invoke.
9919 * elf/dl-sym.c: Likewise.
9920
57912a71
UD
99212011-06-15 Ulrich Drepper <drepper@gmail.com>
9922
9923 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
9924 need to dereference resplen2.
9925
ee22793d
AS
99262011-06-14 Andreas Schwab <schwab@redhat.com>
9927
9928 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9929
a9e836b0
UD
99302011-06-15 Ulrich Drepper <drepper@gmail.com>
9931
77fb9117
UD
9932 * Makeconfig: Define vardbdir and inst_vardbdir.
9933 * nss/Makefile: Add rules to install db-Makefile.
9934
40c1b22c
UD
9935 * nss/nss_db/db-XXX.c: Cleanup.
9936
9f2da732
UD
9937 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9938 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9939 GLIBC_PRIVATE.
9940 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9941 * nss/makedb.c: Implement -g option to specify that value strings
9942 are generated and should not be added to table iterated over for
9943 get*ent calls.
9944 * nss/nss_db/db-initgroups.c: New file.
9945
82e9a1f7
UD
9946 * nss/getent.c: Add support for initgroups lookups through getgrouplist
9947 interface.
9948
c41af17e
UD
9949 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9950 (internal_getgrouplist): Adjust to name change.
9951 Update use_initgroups_entry if this is not the first call.
9952 * nss/databases.def: Add initgroups entry.
9953
a9e836b0
UD
9954 * nss/makedb.c (compute_tables): Check result of multiple hash table
9955 sizes to minimize maximum chain length.
9956
2666d441
UD
99572011-06-14 Ulrich Drepper <drepper@gmail.com>
9958
9959 * Versions.def: Add entry for libnss_db.
9960 * shlib-versions: Likewise.
9961 * nss/Makefile: Add rules to build libnss_db.
9962 * nss/Versions: Add libnss_db information. Organize libnss_files
9963 entries better.
9964 * nss/db-Makefile: Add gshadow support. Change rules for the new
9965 makedb progra. Some minor improvements to generate smaller files.
9966 * nss/nss_db/nss_db.h: Move NSS database header data structures to
9967 here from...
9968 * nss/makedb.c: ...here.
9969 Improve database format to be smaller and require less memory at
9970 runtime.
9971 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
9972 db anymore.
9973 * nss/nss_db/db-netgrp.c: Likewise.
9974 * nss/nss_db/db-open.c: Likewise.
9975 * nss/nss_files/flies-XXX.x: Adjust comments.
9976 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9977 * nss/nss_files/files-grp.c: Likewise.
9978 * nss/nss_files/files-hosts.c: Likewise.
9979 * nss/nss_files/files-network.c: Likewise.
9980 * nss/nss_files/files-proto.c: Likewise.
9981 * nss/nss_files/files-pwd.c: Likewise.
9982 * nss/nss_files/files-rpc.c: Likewise.
9983 * nss/nss_files/files-service.c: Likewise.
9984 * nss/nss_files/files-sgrp.c: Likewise.
9985 * nss/nss_files/files-spwd.c: Likewise.
9986 * nss/nss_db/db-alias.c: Removed.
9987 * nss/nss_db/dummy-db.h: Removed.
9988
9ee76b5a
UD
99892011-06-02 Ulrich Drepper <drepper@gmail.com>
9990
9991 * nss/makedb.c: Rewritten to not use database library.
9992 * nss/Makefile: Update to build new makedb program.
9993
c71ca1f8
AJ
99942011-06-14 Andreas Jaeger <aj@suse.de>
9995
9996 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9997 memset declaration.
9998
3154bfb8
UD
99992011-06-10 Andreas Schwab <schwab@redhat.com>
10000
10001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10002 tmpbuf.
10003
b350afab
RM
100042011-06-10 Roland McGrath <roland@hack.frob.com>
10005
decd4e50
RM
10006 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10007 * elf/Makefile ($(objpfx)ld.so): Likewise.
10008
5615eaf2
RM
10009 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10010 Don't list ld.so twice in dependencies.
10011
10012 * posix/bug-regex31.c: Include <stdlib.h>.
10013
10014 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10015
10016 * nis/nss_compat/compat-spwd.c
10017 (getspent_next_nss_netgr): Remove unused variable.
10018 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10019
10020 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10021 nonmembers" output to use the right array.
10022
10023 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10024
10025 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10026
10027 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10028 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10029 * catgets/gencat.c (read_input_file): Likewise.
10030 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10031
10032 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10033 variable definition inside #if's controlling its use.
10034
10035 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10036
10037 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10038
10039 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10040
10041 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10042 unreachable code.
10043
10044 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10045
b68e08db
RM
10046 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10047 * configure: Regenerated.
10048
b350afab
RM
10049 * Makerules: Revert last change.
10050 * elf/Makefile: Likewise.
10051
28368601
RM
100522011-06-09 Roland McGrath <roland@hack.frob.com>
10053
10054 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10055 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10056 (reloc-link): Likewise.
10057
11988f8f
UD
100582011-06-09 Ulrich Drepper <drepper@gmail.com>
10059
10060 * elf/Makefile: Add rules to build pldd.
10061 * elf/pldd.c: New file.
10062 * elf/pldd-xx.c: New file.
10063
e80fab37
UD
100642011-06-07 Ulrich Drepper <drepper@gmail.com>
10065
10066 * version.h: Update for 2.15 development version.
10067
9b849836
DM
100682011-06-07 David S. Miller <davem@davemloft.net>
10069
10070 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10071 ifuncs.
10072 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10073 elf_machine_lazy_rel): Likewise.
10074 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10075 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10076 elf_machine_lazy_rel): Likewise.
10077 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10078 dl_hwcap via passed in argument.
10079 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10080 Likewise.
10081
5a31b283
AK
100822011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10083
10084 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10085
069e52f8
RM
100862011-06-06 Roland McGrath <roland@hack.frob.com>
10087
10088 [BZ #12849]
10089 * manual/fdl-1.1.texi: New file, verbatim from:
10090 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10091 * manual/lgpl-2.1.texi: New file, verbatim from:
10092 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10093 * manual/Makefile (licenses): New variable, list those new file names.
10094 (texis): Use it.
10095 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10096
10097 * manual/fdl.texi: File removed.
10098 * manual/lesser.texi: File removed.
10099 * manual/libc.texinfo (Copying, Documentation License):
10100 Use new @include file names, put @appendix directive before @include.
10101
f16846a5
JJ
101022011-06-04 Jakub Jelinek <jakub@redhat.com>
10103
10104 [BZ #12841]
10105 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10106 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10107 (mq_open): Add __NTH.
10108
3d29045b
L
101092011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10110
10111 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10112 Assume Intel Core i3/i5/i7 processor if AVX is available.
10113
8c297311
UD
101142011-05-31 Ulrich Drepper <drepper@gmail.com>
10115
10116 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10117 typo.
10118
c8fc0c91
UD
101192011-05-31 Andreas Schwab <schwab@redhat.com>
10120
10121 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10122 memory. Use alloca_account. Fix memory leak when retrying.
10123
5b27a807
UD
101242011-05-31 Ulrich Drepper <drepper@gmail.com>
10125
356f8bc6
UD
10126 * version.h (RELEASE): Bump for 2.14 release.
10127 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10128
5b27a807
UD
10129 * config.make.in (RANLIB): Remove entry.
10130
01f16ab0
UD
101312011-05-30 Ulrich Drepper <drepper@gmail.com>
10132
41fce8bd
UD
10133 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10134 (libc.pot): Work around missing support for .ksh extension in xgettext.
10135
4769ae77
UD
10136 [BZ #12684]
10137 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10138 if both request failed.
10139 (send_dg): In case of server errors clear resplen or *resplen2.
10140
6b1e7d19
UD
10141 [BZ #12454]
10142 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10143 when there are multiple maps.
10144 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10145 (_dl_fini): Remove test here.
10146
01f16ab0
UD
10147 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10148
b1ebd700
UD
101492011-05-29 Ulrich Drepper <drepper@gmail.com>
10150
7ae22829
UD
10151 [BZ #12350]
10152 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10153 bit from old_res_options.
10154 (gaih_inet): Likewise.
10155
553149f6 10156 [BZ #11099]
18a84741 10157 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
10158 as signed.
10159
652ffab1
UD
10160 * resolv/res_init.c (res_setoptions): Make the code more compact.
10161
16985fd0
UD
10162 [BZ #11558]
10163 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10164 set RES_USEVC.
10165
0464f746
UD
10166 [BZ #11634]
10167 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10168
7d17596c
UD
10169 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10170
cf6bbbd7
UD
10171 [BZ #11781]
10172 * malloc/malloc.h: Declare malloc hook variables as volatile.
10173
13f1ab36
UD
10174 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10175 in last patch.
10176
b1ebd700
UD
10177 [BZ #11799]
10178 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 10179 raise in the comment.
80e2212d
UD
10180 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10181 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10182 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 10183
ce67228d
UD
101842011-05-28 Ulrich Drepper <drepper@gmail.com>
10185
8887a920
UD
10186 [BZ #12811]
10187 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10188 grow the buffers more if it already has to be sufficient.
10189 (build_wcs_upper_buffer): Likewise.
10190 * posix/regexec.c (check_matching): Likewise.
10191 (clean_state_log_if_needed): Likewise.
10192 (extend_buffers): Don't enlarge buffers beyond size of the input
10193 buffer.
10194 Patches mostly by Emil Wojak <emil@wojak.eu>.
10195 * posix/bug-regex32.c: New file.
10196 * posix/Makefile (tests): Add bug-regex32.
10197
4f031072
UD
10198 * locale/findlocale.c (_nl_find_locale): Return right away if
10199 _nl_explode_name failed.
10200 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10201
d0478f0c
UD
10202 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10203
de81b246
UD
10204 * debug/xtrace.sh: Unify messages.
10205 * malloc/memusage.sh: Likewise.
10206
c738465a
UD
10207 [BZ #12813]
10208 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10209 time symbol from vDSO. Substitute with vsyscall if not available.
10210 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10211 __vdso_time.
10212
f1f929d7
UD
10213 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10214 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10215 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10216 Add sendmmsg and internal_sendmmsg.
10217 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10218 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10219 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10220
ce67228d
UD
10221 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10222 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10223 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10224
e57420c6
UD
102252011-05-27 Ulrich Drepper <drepper@gmail.com>
10226
a8509ca5
UD
10227 [BZ #12813]
10228 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10229 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10230 available.
10231 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10232 __vdso_getcpu.
10233
e57420c6
UD
10234 [BZ #12814]
10235 * iconvdata/Makefile (tests): Add bug-iconv9.
10236 * iconvdata/bug-iconv9.c: New file.
10237
4d07db15
AS
102382011-05-27 Andreas Schwab <schwab@redhat.com>
10239
10240 [BZ #12814]
10241 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10242
ea486f69
JJ
102432011-05-25 Jakub Jelinek <jakub@redhat.com>
10244
10245 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10246 (struct user_regs_struct): Change intcs field back to cs.
10247
6f038433
UD
102482011-05-25 Ulrich Drepper <drepper@gmail.com>
10249
10250 * po/ja.po: Update from translation team.
10251
67f86a25
UD
102522011-05-23 Ulrich Drepper <drepper@gmail.com>
10253
10254 [BZ #12795]
10255 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10256 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10257
def7fbd6
AS
102582011-05-20 Andreas Schwab <schwab@redhat.com>
10259
10260 * stdlib/longlong.h: Update from GCC.
10261
f50ef8f1
AS
102622011-05-23 Andreas Schwab <schwab@redhat.com>
10263
10264 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10265 parameter name.
10266 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10267 Add parameter name.
10268 (__sysconf): Pass it down.
10269
de7ce8f1
UD
102702011-05-22 Ulrich Drepper <drepper@gmail.com>
10271
f2962a71
UD
10272 [BZ #12671]
10273 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10274 some situations.
10275 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10276 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10277 add in in __libc_use_alloca calls. Adjust callers.
10278 (glob): Use malloc in some situations.
10279
de7ce8f1
UD
10280 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10281 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10282 pltexit.
10283
aec84f53
UD
102842011-05-21 Ulrich Drepper <drepper@gmail.com>
10285
05bb4a68
UD
10286 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10287 and CLOCK_BOOTTIME_ALARM.
10288
7ea72f99
UD
10289 [BZ #12782]
10290 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10291 is returned.
10292
7e4afad5
UD
10293 * string/_strerror.c (__strerror_r): Print negative errors as signed
10294 numbers.
10295
8e211fec
UD
10296 [BZ #12777]
10297 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10298 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10299 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10300
f7d82dc9
UD
10301 * configure.in: Fix typo in redirection and correct removal of test
10302 files in two cases.
10303
cc9e536d
UD
10304 [BZ #12788]
10305 * locale/setlocale.c (new_composite_name): Fix test to check for
10306 identical name of all categories.
10307
aec84f53
UD
10308 [BZ #12792]
10309 * libio/filedoalloc.c (local_isatty): New function.
10310 (_IO_file_doallocate): Use local_isatty.
10311 * stdio-common/perror.c (perror): In case a new stream is used
10312 forward the stream error.
10313 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10314 error flag.
10315
78e64fdc
RT
103162011-05-20 Ulrich Drepper <drepper@gmail.com>
10317
34a9094f
UD
10318 [BZ #11869]
10319 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10320 alloca.
10321 * include/alloca.h (extend_alloca_account): Define.
10322
78e64fdc
RT
10323 [BZ #11857]
10324 * posix/regex.h: Fix comments with documentation of user-accessible
10325 fields after compilation and describe correct free'ing of pattern
10326 after re_compile_pattern.
10327 Patch by Reuben Thomas <rrt@sc3d.org>.
10328
457bddfc
RA
103292011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10330
10331 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10332 and -mno-altivec to prevent the compiler from using Altivec and/or
10333 VSX instructions when the corresponding registers are not available.
10334
a4527b51
AS
103352011-05-19 Andreas Schwab <schwab@redhat.com>
10336
10337 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10338
ed690b2f
UD
103392011-05-19 Ulrich Drepper <drepper@gmail.com>
10340
10341 * libio/freopen.c (freopen): Use __dup2, not dup2.
10342 * libio/freopen64.c (freopen64): Likewise.
10343
8db73634
L
103442011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10345
10346 [BZ #12775]
10347 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10348 * math/Makefile (tests): Add test-powl.
10349 (CFLAGS-test-powl.c): Define.
10350 * math/test-powl.c: New file.
10351
0a197a9d
L
103522011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10353
10354 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10355
ee30c380
UD
103562011-05-17 Ulrich Drepper <drepper@gmail.com>
10357
10358 [BZ #11837]
10359 * iconvdata/gb18030.c: Update to GB18020-2005.
10360
6ce75379
UD
103612011-05-16 Ulrich Drepper <drepper@gmail.com>
10362
a4b89fd8
AR
10363 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10364 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10365 Patch by Aharon Robbins <arnold@skeeve.com>.
10366
ea389b12
UD
10367 [BZ #11892]
10368 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10369 on the stack.
10370
68a3f91f
UD
10371 [BZ #11895]
10372 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10373 through underflows.
10374
15cc7dd1
UD
10375 [BZ #12766]
10376 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10377 point to strings before performing equality test for error_one_per_line
10378 mode.
10379
f3799213
UD
10380 [BZ #11697]
10381 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10382
d79a9c94
UD
10383 [BZ #11820]
10384 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10385 (struct user_fpregs_struct): Avoid __uint*_t types.
10386
56e5eb46
UD
10387 [BZ #6420]
10388 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10389 symbol info. Use it instead of calling _dl_addr locally.
10390 (lock_and_info): New function.
10391 (tr_freehook): Call lock_and_info and pass symbol info as additional
10392 parameter to tr_where.
10393 (tr_mallochook): Likewise.
10394 (tr_reallochook): Likewise.
10395 (tr_memalignhook): Likewise.
10396
6ce75379
UD
10397 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10398 used and couldn't be at all thread-safe.
10399
f8a3b5bf
UD
104002011-05-15 Ulrich Drepper <drepper@gmail.com>
10401
94b7cc37
UD
10402 * libio/freopen.c (freopen): Don't close old file descriptor
10403 before the new one is opened. Instead dup the new file descriptor
10404 to the old one after the new stream is created.
10405 * libio/freopen64.c (freopen64): Likewise.
10406 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10407 * libio/fileops.c (_IO_new_file_close_it): Handle new
10408 _IO_FLAGS2_NOCLOSE flag.
10409 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10410 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10411 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10412 _IO_FLAGS2_NOCLOSE flag.
10413 * include/unistd.h: Add hidden_proto for dup3.
10414 Define __have_dup3.
10415 * io/dup3.c: Define hidden symbol.
10416 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10417
bd25564e
UD
10418 [BZ #7101]
10419 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10420 when an incomplete long option is used.
10421 * posix/tst-getopt_long1.c: New file.
10422 * posix/Makefile (tests): Add tst-getopt_long1.
10423
c84cfef4
UD
10424 [BZ #10138]
10425 * scripts/config.guess: Update from autoconf-2.68.
10426 * scripts/config.sub: Likewise.
10427
3b85df27
UD
10428 [BZ #10157]
10429 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10430 tests into ...
10431 (has_cpuclock): ...this. New function.
10432 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10433 macro here based on has_cpuclock code.
10434
15a856b1
UD
10435 [BZ #10149]
10436 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10437 First byte (not low byte) is now always NUL.
10438 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10439
05f399e6
UD
10440 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10441 Use non-cancelable interfaces.
10442
10a52685 10443 [BZ #9809]
94ecc67d
UD
10444 * locale/iso-639.def: Add entry for Sorani.
10445
f8a3b5bf
UD
10446 [BZ #11901]
10447 * include/stdlib.h: Move include protection to the right place.
10448 Define abort_msg_s. Declare __abort_msg with it.
10449 * stdlib/abort.c (__abort_msg): Adjust type.
10450 * assert/assert.c (__assert_fail_base): New function. Majority
10451 of code from __assert_fail. Allocate memory for __abort_msg with
10452 mmap.
10453 (__assert_fail): Now call __assert_fail_base.
10454 * assert/assert-perr.c: Remove bulk of implementation. Use
10455 __assert_fail_base.
10456 * include/assert.hL Declare __assert_fail_base.
10457 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10458 mmap.
10459 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10460
1af4e298
UD
104612011-05-14 Ulrich Drepper <drepper@gmail.com>
10462
f8a3b5bf 10463 [BZ #11952]
d26dfc60
MG
10464 [BZ #12453]
10465 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10466 until all modules are registered in the DTV.
10467 * elf/Makefile: Add rules to build and run tst-tls19.
10468 * elf/tst-tls19.c: New file.
10469 * elf/tst-tls19mod1.c: New file.
10470 * elf/tst-tls19mod2.c: New file.
10471 * elf/tst-tls19mod3.c: New file.
10472 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10473
2fc54d6f
UD
10474 [BZ #12083]
10475 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10476 correctly.
10477
98d76b46
UD
10478 [BZ #12601]
10479 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10480 two-byte sequence errors.
10481 * iconvdata/Makefile (tests): Add bug-iconv8.
10482 * iconvdata/bug-iconv8.c: New file.
10483
da3c19ef
UD
10484 [BZ #12626]
10485 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10486 buf2 definition.
10487
ca408c15
UD
10488 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10489
d6f67f7d
UD
10490 [BZ #12432]
10491 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10492 (dummy_getcfa): New function.
10493 (init): Get _Unwind_GetCFA address, use dummy if not found.
10494 (backtrace_helper): In recursion check, also check whether CFA changes.
10495 (__backtrace): Completely initialize arg.
10496
1af4e298 10497 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
10498 storing incomplete byte sequence in state object. Avoid testing for
10499 guaranteed too small input if we know there is enough data available.
1af4e298 10500
da62f81b
AS
105012011-05-11 Andreas Schwab <schwab@redhat.com>
10502
10503 * Makeconfig (+link-pie): Indent.
10504 * Rules (binaries-pie): Define if $(have-fpie) and
10505 $(build-shared).
10506 (binaries-shared): Also filter out $(binaries-pie).
10507 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10508 * nscd/Makefile (others-pie): Add nscd.
10509 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10510 ($(objpfx)nscd): Remove command override.
10511 * login/Makefile (others-pie): Add pt_chown.
10512 ($(objpfx)pt_chown): Remove command override.
10513 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10514 remove command overrides.
10515
fcabc0f8
UD
105162011-05-13 Ulrich Drepper <drepper@gmail.com>
10517
20030ae6
UD
10518 * libio/tst_putwc.c: Fix error messages.
10519
fcabc0f8
UD
10520 [BZ #12724]
10521 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10522 currently writing and seek to current position when not.
10523 * libio/Makefile (tests): Add bug-fclose1.
10524 * libio/bug-fclose1.c: New file.
10525
320a5dc0
PB
105262011-05-12 Ulrich Drepper <drepper@gmail.com>
10527
10528 [BZ #12511]
10529 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10530 don't set DF_1_NODELETE here.
10531 (do_lookup_x): When entering new entry test for copy relocation
10532 and if necessary set DF_1_NODELETE flag.
10533 * elf/tst-unique4.cc: New file.
10534 * elf/tst-unique4.h: New file.
10535 * elf/tst-unique4lib.cc: New file.
10536 * elf/Makefile: Add rules to build and run tst-unique4.
10537 Patch by Piotr Bury <pbury@goahead.com>.
10538
22836f52
UD
105392011-05-11 Ulrich Drepper <drepper@gmail.com>
10540
f574184a
UD
10541 [BZ #12052]
10542 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10543
e1fb097f
UD
10544 [BZ #12625]
10545 * misc/mntent_r.c (addmntent): Flush the stream after the output
10546
22836f52
UD
10547 [BZ #12393]
10548 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10549 (is_trusted_path_normalize): Skip initial colon. Append slash
10550 to empty buffer. Duplicate is_trusted_path code but allow
10551 constructed patch to be prefix.
10552 (is_dst): Allow $ORIGIN followed by /.
10553 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10554 Correct testing of result of is_trusted_path_normalize
10555 (decompose_rpath): Fix warning.
10556
7b3b0b2a
UD
105572011-05-10 Ulrich Drepper <drepper@gmail.com>
10558
10559 [BZ #11257]
10560 * grp/initgroups.c (internal_getgrouplist): When we found the service
10561 list through the initgroups entry in nsswitch.conf do not always
10562 continue on a successful lookup. Don't always use the
eac80ce2 10563 __nss_group_database value if it is set.
7b3b0b2a
UD
10564 * nss/nsswitch.conf (initgroups): Change action for successful db
10565 lookup to continue for compatibility.
10566
2a81eaa5
UD
105672011-05-09 Ulrich Drepper <drepper@gmail.com>
10568
be97a69e
UD
10569 [BZ #11532]
10570 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10571 and CP774 modules.
10572 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10573 and CP774 modules.
10574 * iconvdata/tst-tables.sh: Likewise.
10575 * iconvdata/cp770.c: New file.
10576 * iconvdata/cp771.c: New file.
10577 * iconvdata/cp772.c: New file.
10578 * iconvdata/cp773.c: New file.
10579 * iconvdata/cp774.c: New file.
10580 * iconvdata/testdata/CP770: New file.
10581 * iconvdata/testdata/CP770..UTF8: New file.
10582 * iconvdata/testdata/CP771: New file.
10583 * iconvdata/testdata/CP771..UTF8: New file.
10584 * iconvdata/testdata/CP772: New file.
10585 * iconvdata/testdata/CP772..UTF8: New file.
10586 * iconvdata/testdata/CP773: New file.
10587 * iconvdata/testdata/CP773..UTF8: New file.
10588 * iconvdata/testdata/CP774: New file.
10589 * iconvdata/testdata/CP774..UTF8: New file.
10590
10591 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10592 END CHARMAP line.
10593 * iconvdata/gen-8bit-gap.sh: Likewise.
10594 * iconvdata/gen-8bit.sh: Likewise.
10595
c1e9e399
UD
10596 * locale/iso-639.def: Add ary entry.
10597
24c55fb3 10598 [BZ #11258]
96b4b1b0
UD
10599 * locale/C-translit.h.in: Add U20A1 transliteration.
10600
bdc2f971
KB
10601 [BZ #12178]
10602 * locale/iso-639.def: Add wae entry.
10603 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10604
2952b117
UD
10605 [BZ #12545]
10606 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10607 for n.
10608
2a81eaa5
UD
10609 [BZ #12711]
10610 * locale/C-translit.h.in: Add entry for U20B9.
10611 Patch by pravin.d.s@gmail.com.
10612
28377d1b
UD
106132011-05-08 Ulrich Drepper <drepper@gmail.com>
10614
7fb90fb8
UD
10615 [BZ #12713]
10616 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10617 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
10618 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10619 in rtld. Use *stat64.
7fb90fb8 10620 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 10621 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 10622 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
10623 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10624 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10625 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10626 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10627 __fstatat64 macros.
7fb90fb8
UD
10628 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10629 * dirent/rewinddir.c: Add libc_hidden_def.
10630 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 10631 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 10632
28377d1b
UD
10633 * include/dirent.h (__alloc_dir): Add flags parameter.
10634 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10635 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10636 __alloc_dir.
10637 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10638 from fdopendir if O_CLOEXEC is already set.
10639
66bdbaa4
AM
106402011-03-15 Alan Modra <amodra@gmail.com>
10641
10642 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10643 l_tls_firstbyte_offset non-zero. Save padding offset in
10644 l_tls_firstbyte_offset for later use.
10645 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10646 freeing static tls block.
10647
95721191
JN
106482011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10649
10650 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10651 where #ifdef was intended. The intent is to prevent ARG_MAX from
10652 being defined by the kernel headers.
10653
f87dfb1f
UD
106542011-05-07 Ulrich Drepper <drepper@gmail.com>
10655
10656 [BZ #12734]
10657 * resolv/resolv.h: Define RES_NOTLDQUERY.
10658 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10659 no-tld-query and set RES_NOTLDQUERY.
10660 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10661 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10662 modern BIND to search name as TLD unless forbidden.
10663
47c3cd7a
UD
106642011-05-07 Petr Baudis <pasky@suse.cz>
10665 Ulrich Drepper <drepper@gmail.com>
10666
10667 [BZ #12393]
10668 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10669 (is_trusted_path): ...to here.
c1e9ea35 10670 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 10671 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 10672 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 10673
8a35c912
PP
106742011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10675
10676 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10677 __BEGIN/__END_DECLS.
10678
acd41f47
UD
106792011-05-06 Ulrich Drepper <drepper@gmail.com>
10680
10681 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10682 NSS_STATUS_NOTFOUND if no record was found.
10683
597df647
AS
106842011-05-05 Andreas Schwab <schwab@redhat.com>
10685
10686 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10687 (headers-not-in-tirpc): Remove rpc/netdb.h
10688 * resolv/netdb.h: Revert last change.
10689
b9af1301
PP
106902011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10691
10692 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10693 circular dependency between libgcc.a and libc.a.
10694
4e34d5f5
AS
106952011-05-05 Andreas Schwab <schwab@redhat.com>
10696
10697 * resolv/netdb.h: Don't include <rpc/netdb.h>.
10698 * nis/Makefile: Don't install rpcsvc/*.
10699 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10700 instead of <rpc/types.h>.
10701 (MAXHOSTNAMELEN): Define.
10702
00ee369c
AS
107032011-05-03 Andreas Schwab <schwab@redhat.com>
10704
10705 * elf/ldconfig.c (add_dir): Don't crash on empty path.
10706
0b592a30
MB
107072011-04-28 Maciej Babinski <mbabinski@google.com>
10708
10709 [BZ #12714]
10710 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10711 gethostbyname4_r when IPv6 results are possible.
10712
6e04cbbe
UD
107132011-05-02 Ulrich Drepper <drepper@gmail.com>
10714
10715 [BZ #12723]
10716 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10717 _PC_PIPE_BUF handling.
10718
e4ecafe0
BH
107192011-04-30 Bruno Haible <bruno@clisp.org>
10720
10721 [BZ #12717]
10722 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10723 * resolv/netdb.h (getnameinfo): Change type of flags parameter
10724 to 'int'.
10725 * inet/getnameinfo.c (getnameinfo): Likewise.
10726
125ee683
UD
107272011-04-29 Ulrich Drepper <drepper@gmail.com>
10728
10729 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10730 to groups setting in database lookup.
10731 * nss/nsswitch.conf: Add initgroups entry.
10732
b722481a
EB
107332011-04-22 Ulrich Drepper <drepper@gmail.com>
10734
10735 [BZ #12685]
10736 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10737 mode string.
10738 Patch by Eric Blake <eblake@redhat.com>.
10739
4df46dbd
L
107402011-04-20 H.J. Lu <hongjiu.lu@intel.com>
10741
10742 * sunrpc/Makefile (need-export-routines): Add svc_run.
10743 (routines): Remove svc_run.
10744 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10745 * sunrpc/clnt_perr.c (clnt_perrno): Export.
10746 * sunrpc/svc_run.c (svc_run): Likewise.
10747 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10748
e84142d2
UD
107492011-04-21 Ulrich Drepper <drepper@gmail.com>
10750
10751 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10752 problem in reallocation in last patch.
10753
877175d8
UD
107542011-04-20 Ulrich Drepper <drepper@gmail.com>
10755
10756 * sunrpc/Makefile: Move inclusion of Rules.
10757
ab8eed78
UD
107582011-04-19 Ulrich Drepper <drepper@gmail.com>
10759
10760 * nss/nss_files/files-initgroups.c: New file.
10761 * nss/Makefile (libnss_files-routines): Add files-initgroups.
10762 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10763 _nss_files_initgroups_dyn.
10764
e3d8f584
RS
107652011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
10766
10767 * elf/elf.h (R_ARM_IRELATIVE): Define.
10768
af190f45
UD
107692011-04-19 Ulrich Drepper <drepper@gmail.com>
10770
10771 * po/ru.po: Update from translation team.
10772
53cf59ef
UD
107732011-04-17 Ulrich Drepper <drepper@gmail.com>
10774
10775 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10776 dependencies.
10777
4c559bcd
MF
107782011-02-06 Mike Frysinger <vapier@gentoo.org>
10779
10780 [BZ #12653]
10781 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10782 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10783 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10784 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10785 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10786
4420675c
AS
107872011-03-28 Andreas Schwab <schwab@linux-m68k.org>
10788
10789 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10790 differing bytes.
10791 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10792 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10793 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10794
75ea32ab
UD
107952011-04-17 Ulrich Drepper <drepper@gmail.com>
10796
10797 [BZ #12420]
10798 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10799 storing it.
10800 * stdlib/bug-getcontext.c: New file.
10801 * stdlib/Makefile: Add rules to build and run bug-getcontext.
10802
27390476
AK
108032011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10804
10805 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10806 instructions into .machine "z9-109".
10807 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10808 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10809
10442705
AK
108102011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10811
10812 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10813 between environment variables and auxiliary vector.
10814
7b57bfe5
UD
108152011-04-16 Ulrich Drepper <drepper@gmail.com>
10816
10817 * Makefile: Add rules to build linkobj/libc.so.
10818 * include/libc-symbols.h: Define libc_hidden_nolink.
10819 * include/rpc/auth.h: Mark functions which are to be hidden.
10820 * include/rpc/auth_des.h: Likewise.
10821 * include/rpc/auth_unix.h: Likewise.
10822 * include/rpc/clnt.h: Likewise.
10823 * include/rpc/des_crypt.h: Likewise.
10824 * include/rpc/key_prot.h: Likewise.
10825 * include/rpc/pmap_clnt.h: Likewise.
10826 * include/rpc/pmap_prot.h: Likewise.
10827 * include/rpc/pmap_rmt.h: Likewise.
10828 * include/rpc/rpc_msg.h: Likewise.
10829 * include/rpc/svc.h: Likewise.
10830 * include/rpc/svc_auth.h: Likewise.
10831 * include/rpc/xdr.h: Likewise.
10832 * nis/Makefile: Link all DSOs against linkobj/libc.so.
10833 * nss/Makefile: Likewise.
10834 * sunrpc/Makefile: Don't install headers. Build library with normal
10835 entry points. Don't build rpcinfo. Link RPC tests appropriately.
10836 * sunrpc/auth_des.c: Hide exported symbols by default, export some
10837 for the compat linking library. Remove use of INTDEF/INTUSE.
10838 * sunrpc/auth_none.c: Likewise.
10839 * sunrpc/auth_unix.c: Likewise.
10840 * sunrpc/authdes_prot.c: Likewise.
10841 * sunrpc/authuxprot.c: Likewise.
10842 * sunrpc/clnt_gen.c: Likewise.
10843 * sunrpc/clnt_perr.c: Likewise.
10844 * sunrpc/clnt_raw.c: Likewise.
10845 * sunrpc/clnt_simp.c: Likewise.
10846 * sunrpc/clnt_tcp.c: Likewise.
10847 * sunrpc/clnt_udp.c: Likewise.
10848 * sunrpc/clnt_unix.c: Likewise.
10849 * sunrpc/des_crypt.c: Likewise.
10850 * sunrpc/des_soft.c: Likewise.
10851 * sunrpc/get_myaddr.c: Likewise.
10852 * sunrpc/key_call.c: Likewise.
10853 * sunrpc/key_prot.c: Likewise.
10854 * sunrpc/netname.c: Likewise.
10855 * sunrpc/pm_getmaps.c: Likewise.
10856 * sunrpc/pm_getport.c: Likewise.
10857 * sunrpc/pmap_clnt.c: Likewise.
10858 * sunrpc/pmap_prot.c: Likewise.
10859 * sunrpc/pmap_prot2.c: Likewise.
10860 * sunrpc/pmap_rmt.c: Likewise.
10861 * sunrpc/publickey.c: Likewise.
10862 * sunrpc/rpc_cmsg.c: Likewise.
10863 * sunrpc/rpc_common.c: Likewise.
10864 * sunrpc/rpc_dtable.c: Likewise.
10865 * sunrpc/rpc_prot.c: Likewise.
10866 * sunrpc/rpc_thread.c: Likewise.
10867 * sunrpc/rtime.c: Likewise.
10868 * sunrpc/svc.c: Likewise.
10869 * sunrpc/svc_auth.c: Likewise.
10870 * sunrpc/svc_authux.c: Likewise.
10871 * sunrpc/svc_raw.c: Likewise.
10872 * sunrpc/svc_run.c: Likewise.
10873 * sunrpc/svc_simple.c: Likewise.
10874 * sunrpc/svc_tcp.c: Likewise.
10875 * sunrpc/svc_udp.c: Likewise.
10876 * sunrpc/svc_unix.c: Likewise.
10877 * sunrpc/svcauth_des.c: Likewise.
10878 * sunrpc/xcrypt.c: Likewise.
10879 * sunrpc/xdr.c: Likewise.
10880 * sunrpc/xdr_array.c: Likewise.
10881 * sunrpc/xdr_float.c: Likewise.
10882 * sunrpc/xdr_intXX_t.c: Likewise.
10883 * sunrpc/xdr_mem.c: Likewise.
10884 * sunrpc/xdr_rec.c: Likewise.
10885 * sunrpc/xdr_ref.c: Likewise.
10886 * sunrpc/xdr_sizeof.c: Likewise.
10887 * sunrpc/xdr_stdio.c: Likewise.
10888
e6c61494
UD
108892011-04-10 Ulrich Drepper <drepper@gmail.com>
10890
10891 [BZ #12650]
10892 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10893 * sysdeps/ia64/dl-tls.h: Likewise.
10894 * sysdeps/powerpc/dl-tls.h: Likewise.
10895 * sysdeps/s390/dl-tls.h: Likewise.
10896 * sysdeps/sh/dl-tls.h: Likewise.
10897 * sysdeps/sparc/dl-tls.h: Likewise.
10898 * sysdeps/x86_64/dl-tls.h: Likewise.
10899 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10900
34fe483e
AS
109012011-03-14 Andreas Schwab <schwab@redhat.com>
10902
10903 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10904 rpath element also skip the following colon.
10905 (expand_dynamic_string_token): Add is_path parameter and pass
10906 down to DL_DST_REQUIRED and _dl_dst_substitute.
10907 (decompose_rpath): Call expand_dynamic_string_token with
10908 non-zero is_path. Ignore empty rpaths.
10909 (_dl_map_object_from_fd): Call expand_dynamic_string_token
10910 with zero is_path.
10911
f12a32e6
AS
109122011-04-08 Andreas Schwab <schwab@linux-m68k.org>
10913
10914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10915 Make cancelable.
10916
38a7d692
UD
109172011-04-09 Ulrich Drepper <drepper@gmail.com>
10918
10919 [BZ #12655]
10920 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10921 Patch by Filipe David Manana <fdmanana@apache.org>.
10922
e451d22b
AS
109232011-04-07 Andreas Schwab <schwab@redhat.com>
10924
10925 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10926 Maintain aligned stack.
10927 (CHECK_RSP): Remove unused macro.
10928
dedc7c7b
UD
109292011-04-03 Ulrich Drepper <drepper@gmail.com>
10930
10931 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10932 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10933
94521213
UD
109342011-04-02 Ulrich Drepper <drepper@gmail.com>
10935
10936 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10937
8cb700c0 10938 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 10939
0354e355
L
109402011-03-26 H.J. Lu <hongjiu.lu@intel.com>
10941
10942 [BZ #12518]
10943 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10944 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10945 * sysdeps/x86_64/memmove.c: New file.
10946 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10947 (memcpy): Renamed to ...
10948 (__new_memcpy): This.
10949 (memcpy): Provide GLIBC_2_14 memcpy.
10950 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10951 (memcpy): Provide GLIBC_2_2_5 memcpy.
10952
8593482f
UD
109532011-04-01 Ulrich Drepper <drepper@gmail.com>
10954
10955 [BZ #12631]
10956 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10957
81a5726b
AS
109582011-03-30 Andreas Schwab <schwab@redhat.com>
10959
10960 * misc/syncfs.c: New file.
10961 * misc/Makefile (routines): Add syncfs.
10962 * posix/unistd.h: Declare syncfs.
10963 * sysdeps/unix/syscalls.list: Add syncfs.
10964
00e5419f
AS
109652011-04-01 Andreas Schwab <schwab@redhat.com>
10966
10967 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10968 open_by_handle_at.
10969 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10970 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10971 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10972 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10973 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10974 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10975 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10976
748876bf
UD
109772011-04-01 Ulrich Drepper <drepper@gmail.com>
10978
658e451d
UD
10979 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10980 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10981 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10982 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10983 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10984 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10985 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10986
748876bf
UD
10987 * io/Makefile: Compile fallocate.c, fallocate64.c, and
10988 sync_file_range.c with -fexceptions.
10989 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10990 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10991 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10992 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10993 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10994 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10995 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
10996 sync_file_range as cancellation point
10997 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
10998 now a wrapper around __call_sync_file_range with cancellation handling.
10999 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11000 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11001 function name to __call_sync_file_range.
11002 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11003 Add call_sync_file_range.
748876bf 11004
6e63d5e1
AS
110052011-04-01 Andreas Schwab <schwab@redhat.com>
11006
11007 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 11008 bits/timex.h.
6e63d5e1 11009
46998f74
UD
110102011-04-01 Ulrich Drepper <drepper@gmail.com>
11011
4c1423ed
UD
11012 * iconv/iconv.h: Fix typo in comment.
11013 * io/fcntl.h: Likewise.
11014 * libio/stdio.h: Likewise.
11015 * posix/spawn.h: Likewise.
11016 * posix/unistd.h: Likewise.
11017 * stdlib/stdlib.h: Likewise.
11018 * time/time.h: Likewise.
11019 * wcsmbs/wchar.h: Likewise.
11020
158648c0
UD
11021 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11022 open_by_handle): Add.
11023 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11024 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11025 Augment a few comments.
11026 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11027 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11028 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11029 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11030 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11031 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11032 open_by_handle.
11033
46998f74
UD
11034 * io/fcntl.h (AT_EMPTY_PATH): Define.
11035
83fe108b
UD
110362011-03-30 Ulrich Drepper <drepper@gmail.com>
11037
11038 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11039 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11040 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11041 to...
11042 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
11043 * Versions.def: Add GLIBC_2.14.
11044 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11045 Export.
83fe108b 11046
bb242059
UD
110472011-03-22 Ulrich Drepper <drepper@gmail.com>
11048
11049 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11050 round counter.
11051 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11052
c97a1282
L
110532011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11054
11055 [BZ #12597]
11056 * string/test-strncmp.c (do_page_test): New function.
11057 (check2): Likewise.
11058 (test_main): Call check2.
11059 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11060
2a115601
UD
110612011-03-20 Ulrich Drepper <drepper@gmail.com>
11062
11063 [BZ #12587]
11064 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11065 Handle cache information in CPU leaf 4.
11066 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11067
8126d904
UD
110682011-03-18 Ulrich Drepper <drepper@gmail.com>
11069
042c49c6 11070 [BZ #12583]
8126d904
UD
11071 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11072 character representation.
11073 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11074
ccfe366e
RA
110752011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11076
11077 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11078 END(__isnan) to END(__isnanf) to match function entry point/label
11079 EALIGN(__isnanf,...).
11080
c6e13027
JJ
110812011-03-10 Jakub Jelinek <jakub@redhat.com>
11082
11083 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11084
33f85a3f
UD
110852011-03-10 Ulrich Drepper <drepper@gmail.com>
11086
028478fa
UD
11087 [BZ #12510]
11088 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11089 copy from the symbol referenced in the relocation to initialize the
11090 used variable.
11091 Patch by Piotr Bury <pbury@goahead.com>.
11092 * elf/Makefile: Add rules to build and tst-unique3.
11093 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11094 * elf/tst-unique3.cc: New file.
11095 * elf/tst-unique3.h: New file.
11096 * elf/tst-unique3lib.cc: New file.
11097 * elf/tst-unique3lib2.cc: New file.
11098
33f85a3f
UD
11099 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11100
03592fc7
MF
111012011-03-10 Mike Frysinger <vapier@gentoo.org>
11102
11103 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11104 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11105 to _start.
03592fc7 11106
6a5ee102
UD
111072011-03-06 Ulrich Drepper <drepper@gmail.com>
11108
11109 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11110 to-be-loaded object along a path to loader is ld.so.
11111
7e4ba49c
HJ
111122011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11113 Ulrich Drepper <drepper@gmail.com>
11114
11115 * sysdeps/x86_64/memset.S: After aligning destination, code
11116 branches to different locations depending on the value of
11117 misalignment, when multiarch is enabled. Fix this.
11118
111192011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11120
11121 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11122 Set _x86_64_preferred_memory_instruction for AMD processsors.
11123 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11124 Set bit_Prefer_SSE_for_memop for AMD processors.
11125
13a804de
UD
111262011-03-04 Ulrich Drepper <drepper@gmail.com>
11127
11128 * libio/fmemopen.c (fmemopen): Optimize a bit.
11129
9d25c392
AS
111302011-03-03 Andreas Schwab <schwab@redhat.com>
11131
11132 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11133
a5543c6a
RM
111342011-03-03 Roland McGrath <roland@redhat.com>
11135
11136 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11137
012d35f7
DM
111382011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11139
7e4ba49c 11140 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
11141 __bzero_ultra1 instead of __memset_ultra1.
11142
4bff6e01
AS
111432011-02-23 Andreas Schwab <schwab@redhat.com>
11144 Ulrich Drepper <drepper@gmail.com>
11145
11146 [BZ #12509]
11147 * include/link.h (struct link_map): Add l_orig_initfini.
11148 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11149 returning unsuccessfully.
11150 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11151 close of a file loaded at startup, restore the original l_initfini
11152 list.
11153 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11154 list, store the pointer.
11155 * elf/Makefile ($(objpfx)noload-mem): New rule.
11156 (noload-ENV): Define.
11157 (tests): Add $(objpfx)noload-mem.
11158 * elf/noload.c: Include <memcheck.h>.
11159 (main): Call mtrace. Close all opened handles.
11160
f2092faf
AS
111612011-02-17 Andreas Schwab <schwab@redhat.com>
11162
11163 [BZ #12454]
11164 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11165 dependencies are missing.
11166
6c8a2e88
ST
111672011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11168
f2092faf 11169 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
11170 Hurd needs munmap.
11171 * sysdeps/mach/hurd/ifreq.h: New file.
11172
84a42118
PB
111732011-01-27 Petr Baudis <pasky@suse.cz>
11174 Ulrich Drepper <drepper@gmail.com>
11175
071f805e 11176 [BZ 12445]#
84a42118
PB
11177 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11178 to extend_alloca().
11179 * stdio-common/bug23.c: New file.
11180 * stdio-common/Makefile (tests): Add bug23.
11181
e23fe25b
AS
111822010-09-28 Andreas Schwab <schwab@redhat.com>
11183 Ulrich Drepper <drepper@gmail.com>
11184
11185 [BZ #12489]
11186 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11187 before performing relro protection. At old place add assertion
11188 to make sure nothing changed.
11189
d3f02e10
NS
111902011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11191 Glauber de Oliveira Costa <glommer@gmail.com>
11192
11193 * elf/elf.h: Add new ARM TLS relocs.
11194
d55fd7a5
RA
111952011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11196
11197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11198 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11199 cast from r3.
11200 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11201 'tests' variable.
11202 * sysdeps/wordsize-64/tst-writev.c: New file.
11203
2206397e
RA
112042011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11205
11206 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11207 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11208 insns in _dl_start to prevent a TOC reference before relocs are
11209 resolved.
11210
e9433893
UD
112112011-02-15 Ulrich Drepper <drepper@gmail.com>
11212
11213 [BZ #12469]
11214 * Makeconfig: Remove RANLIB definition.
11215 * Makerules: Don't use RANLIB.
11216 * aclocal.m4: Remove ranlib test.
11217 * configure.in: No need to check for ranlib.
11218 * elf/rtld-Rules: Don't use RANLIB.
11219
f75286c6
ST
112202011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11221
8e31c82d
ST
11222 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11223 protection macro.
11224 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11225 inclusion protection macro.
11226
f75286c6
ST
11227 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11228 SIGRTMIN and SIGRTMAX and print information in that case only when
11229 SIGRTMIN is defined.
11230
c1d0e639
JJ
112312011-02-11 Jakub Jelinek <jakub@redhat.com>
11232
11233 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11234 arginfo fn returning -1.
11235
11236 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11237 and thousands string is zero terminated.
11238
edf9294e
AS
112392011-02-03 Andreas Schwab <schwab@redhat.com>
11240
11241 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11242 sysdeps/unix/sysv/linux/bits/socket.h.
11243
2b7e92df
ST
112442011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11245
edf9294e
AS
11246 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11247 (__CPU_COUNT): Remove old macros.
11248 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11249 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11250 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
11251 (__sched_cpualloc, __sched_cpufree): Add declarations.
11252
a4c7ea7b
UD
112532011-02-05 Ulrich Drepper <drepper@gmail.com>
11254
11255 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11256 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11257 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11258 (readdhstai): Return value of addhstaiX call.
11259 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11260 (addgrbyX): Return value returned by cache_addgr.
11261 (readdgrbyname): Return value returned by addgrbyX.
11262 (readdgrbygid): Likewise.
11263 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11264 (addpwbyX): Return value returned by cache_addpw.
11265 (readdpwbyname): Return value returned by addhstbyX.
11266 (readdpwbyuid): Likewise.
11267 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11268 (addservbyX): Return value returned by cache_addserv.
11269 (readdservbyname): Return value returned by addservbyX:
11270 (readdservbyport): Likewise.
11271 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11272 (addhstbyX): Return value returned by cache_addhst.
11273 (readdhstbyname): Return value returned by addhstbyX.
11274 (readdhstbyaddr): Likewise.
11275 (readdhstbynamev6): Likewise.
11276 (readdhstbyaddrv6): Likewise.
11277 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11278 (readdinitgroups): Return value returned by addinitgroupsX.
11279 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11280 (prune_cache): Keep track of timeout value of re-added entries.
11281 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11282 * nscd/nscd.h: Adjust prototypes of readd* functions.
11283
a0bf67cc
RM
112842011-02-04 Roland McGrath <roland@redhat.com>
11285
11286 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11287 (nis_stats): Likewise.
11288 * nis/nis_modify.c (nis_modify): Likewise.
11289 * nis/nis_remove.c (nis_remove): Likewise.
11290 * nis/nis_add.c (nis_add): Likewise.
11291
11292 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11293
11294 * posix/fnmatch_loop.c: Add some consts.
11295
11296 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11297
435b95eb
L
112982011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11299
11300 [BZ #12460]
11301 * config.make.in (config-cflags-novzeroupper): Define.
11302 * configure.in: Substitute libc_cv_cc_novzeroupper.
11303 * elf/Makefile (AVX-CFLAGS): Define.
11304 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11305 (CFLAGS-tst-auditmod4a.c): Likewise.
11306 (CFLAGS-tst-auditmod4b.c): Likewise.
11307 (CFLAGS-tst-auditmod6b.c): Likewise.
11308 (CFLAGS-tst-auditmod6c.c): Likewise.
11309 (CFLAGS-tst-auditmod7b.c): Likewise.
11310 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11311
8517b15e
UD
113122011-02-02 Ulrich Drepper <drepper@gmail.com>
11313
11314 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11315 function to the callback.
11316 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11317
10a656fe
AS
113182011-02-02 Andreas Schwab <schwab@redhat.com>
11319
11320 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11321 of errno.
11322
968dad0a
UD
113232011-01-19 Ulrich Drepper <drepper@gmail.com>
11324
9f94d2ea 11325 [BZ #11724]
968dad0a
UD
11326 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11327 of constructors.
11328 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11329 of destructors.
11330 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11331
11332 [BZ #11724]
11333 * elf/Makefile: Add rules to build and run new test.
11334 * elf/tst-initorder.c: New file.
11335 * elf/tst-initorder.exp: New file.
11336 * elf/tst-initordera1.c: New file.
11337 * elf/tst-initordera2.c: New file.
11338 * elf/tst-initordera3.c: New file.
11339 * elf/tst-initordera4.c: New file.
11340 * elf/tst-initorderb1.c: New file.
11341 * elf/tst-initorderb2.c: New file.
11342 * elf/tst-order-a1.c: New file.
11343 * elf/tst-order-a2.c: New file.
11344 * elf/tst-order-a3.c: New file.
11345 * elf/tst-order-a4.c: New file.
11346 * elf/tst-order-b1.c: New file.
11347 * elf/tst-order-b2.c: New file.
11348 * elf/tst-order-main.c: New file.
11349 New test case by George Gensure <werkt0@gmail.com>.
11350
86e92359
UD
113512010-10-01 Andreas Schwab <schwab@redhat.com>
11352
11353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11354 decoding ACE if AI_CANONIDN.
11355
5d5732b0
UD
113562011-01-18 Ulrich Drepper <drepper@gmail.com>
11357
11358 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11359
a77e8cbc
UD
113602011-01-17 Ulrich Drepper <drepper@gmail.com>
11361
6392473f
UD
11362 * version.h (RELEASE): Bump for 2.13 release.
11363 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11364
620a0529
UD
11365 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11366
18ba70a5
UD
11367 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11368 MADV_NOHUGEPAGE.
32465c3e
UD
11369 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11370 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11371 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11372 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11373 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11374 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11375
c0dafcf1
UD
11376 * posix/getconf.c: Update copyright year.
11377 * catgets/gencat.c: Likewise.
11378 * csu/version.c: Likewise.
11379 * debug/catchsegv.sh: Likewise.
11380 * debug/xtrace.sh: Likewise.
11381 * elf/ldconfig.c: Likewise.
11382 * elf/ldd.bash.in: Likewise.
11383 * elf/sprof.c (print_version): Likewise.
11384 * iconv/iconv_prog.c: Likewise.
11385 * iconv/iconvconfig.c: Likewise.
11386 * locale/programs/locale.c: Likewise.
11387 * locale/programs/localedef.c: Likewise.
11388 * malloc/memusage.sh: Likewise.
11389 * malloc/mtrace.pl: Likewise.
11390 * nscd/nscd.c (print_version): Likewise.
11391 * nss/getent.c: Likewise.
11392
a77e8cbc
UD
11393 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11394 PF_CAIF, and PF_ALG.
11395 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11396
77e8bddf
AS
113972011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11398
1f20b93a
AS
11399 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11400 (modules-names): Use them.
11401 (ifunc-test-modules, ifunc-pie-tests): Define.
11402 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11403 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11404 (test-extras): Likewise.
11405 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11406 $(compile-command.c).
11407 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11408 (all-built-dso): Define.
11409 (check-textrel.out, check-execstack.out): Depend on it.
11410
77e8bddf
AS
11411 * configure.in: Don't override --enable-multi-arch.
11412
bc425b33
UD
114132011-01-15 Ulrich Drepper <drepper@gmail.com>
11414
11415 [BZ #6812]
11416 * nscd/hstcache.c (tryagain): Define.
11417 (cache_addhst): Return tryagain not notfound for temporary errors.
11418 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11419 failed.
11420
794c3ad3
UD
114212011-01-14 Ulrich Drepper <drepper@gmail.com>
11422
70181fdd
UD
11423 [BZ #10563]
11424 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11425 to make the syscall.
11426 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11427
794c3ad3
UD
11428 [BZ #12378]
11429 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11430 and fall back to matching as normal character if the string ends before
11431 the matching ']' is found. This is what POSIX requires.
11432 * posix/testfnm.c: Adjust test result.
11433 * posix/globtest.sh: Adjust test result. Add new test.
11434 * posix/tst-fnmatch.input: Likewise.
11435 * posix/tst-fnmatch2.c: Add new test.
11436
68dc9497
AS
114372010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11438
11439 * elf/Makefile (check-execstack): Revert last change. Depend on
11440 check-execstack.h.
11441 (check-execstack.h): New target.
11442 (generated): Add check-execstack.h.
11443 * elf/check-execstack.c: Include "check-execstack.h".
11444 (main): Revert last change.
11445 (handle_file): Return zero if GNU_STACK is absent and
11446 DEFAULT_STACK_PERMS doesn't include PF_X.
11447
451f001b
UD
114482011-01-13 Ulrich Drepper <drepper@gmail.com>
11449
cfa28e56
UD
11450 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11451 in child fails because the descriptor is already closed.
8cf8ce17
UD
11452 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11453 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11454 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 11455
1086d70d
UD
11456 [BZ #12397]
11457 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11458 syscall.
11459
451f001b
UD
11460 [BZ #10484]
11461 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11462 temporary buffer used to handle multi lookups locally.
a85b5cb4 11463 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 11464
08769175
UD
114652011-01-12 Ulrich Drepper <drepper@gmail.com>
11466
11467 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11468 loader is ld.so.
11469
5e49c52e
UD
114702011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11471
11472 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11473 alignment for SSE2.
11474
60522a5f
UD
114752011-01-12 Ulrich Drepper <drepper@gmail.com>
11476
11477 [BZ #12394]
11478 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11479 characters. When rounding increased number of integer digits recompute
11480 number of groups.
11481 * stdio-common/tst-grouping.c: New file.
11482 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11483
f257bbd7
UD
114842011-01-09 Ulrich Drepper <drepper@gmail.com>
11485
11486 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11487 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11488
11489 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11490 void.
11491 * bits/select.h: Likewise.
11492
fa9c15cb
UD
114932011-01-08 Ulrich Drepper <drepper@gmail.com>
11494
11495 * po/ja.po: Update from translation team.
11496
16c2895f
DM
114972011-01-04 David S. Miller <davem@sunset.davemloft.net>
11498
11499 [BZ #11155]
11500 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11501 implementation just like for lxstat, fxstatat, et al.
11502
2543fef2
JM
115032010-12-27 Jim Meyering <meyering@redhat.com>
11504
11505 [BZ #12348]
11506 * posix/regexec.c (build_trtable): Return failure indication upon
11507 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11508
98727dbe
UD
115092010-12-25 Ulrich Drepper <drepper@gmail.com>
11510
5bd6dc5c
UD
11511 [BZ #12201]
11512 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11513 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11514 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11515 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11516
97983464
UD
11517 [BZ #12207]
11518 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11519
98727dbe
UD
11520 [BZ #12204]
11521 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11522 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11523
4a531bb0
L
115242010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11525
11526 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11527 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11528 script has SORT_BY_INIT_PRIORITY.
11529 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11530 NO_CTORS_DTORS_SECTIONS is defined.
11531 * elf/soinit.c: Likewise.
11532 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11533 NO_CTORS_DTORS_SECTIONS is defined.
11534 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11535 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11536 * sysdeps/sh/init-first.c: Likewise.
11537 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11538
07eb4b71
UD
115392010-12-24 Ulrich Drepper <drepper@gmail.com>
11540
11541 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11542 always use the slow path.
11543
30950a5f
RA
115442010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11545
11546 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11547 similar rule which adds the sysdep directories to the header search in
11548 order to pick up the correct platform stackinfo.h.
11549 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11550 perform test if it is, otherwise return successfully without testing.
11551 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11552 DEFAULT_STACK_PERMS define in stackinfo.h.
11553 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11554 defined in stackinfo.h.
11555 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11556 DEFAULT_STACK_PERMS defined in stackinfo.h.
11557 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11558 * sysdeps/ia64/stackinfo.h: Likewise.
11559 * sysdeps/s390/stackinfo.h: Likewise.
11560 * sysdeps/sh/stackinfo.h: Likewise.
11561 * sysdeps/sparc/stackinfo.h: Likewise.
11562 * sysdeps/x86_64/stackinfo.h: Likewise.
11563 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11564 PF_X for powerpc64. Retain PF_X for powerpc32.
11565
db753e2c
UD
115662010-12-19 Ulrich Drepper <drepper@gmail.com>
11567
14b697f7
UD
11568 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11569 accurately.
db753e2c
UD
11570 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11571 GETDENTS_64BIT_ALIGNED.
11572
28300719
UD
115732010-12-14 Ulrich Drepper <dreper@gmail.com>
11574
14b697f7 11575 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 11576
4f197237
AS
115772010-12-10 Andreas Schwab <schwab@redhat.com>
11578
dbb0472f
AS
11579 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11580 _GNU_SOURCE.
11581
4f197237
AS
11582 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11583 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11584 Remove __restrict.
11585 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11586 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11587
fb88ac72
UD
115882010-12-09 Ulrich Drepper <drepper@gmail.com>
11589
11590 [BZ #11655]
11591 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11592 are initialized.
11593
42acbb92
JJ
115942010-12-09 Jakub Jelinek <jakub@redhat.com>
11595
11596 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11597
c038d98d
UD
115982010-12-03 Ulrich Drepper <drepper@gmail.com>
11599
11600 * po/it.po: Update from translation team.
11601
3a4a2499
L
116022010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11603
11604 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11605 unused codes.
11606
1e24cf6e
UD
116072010-11-30 Ulrich Drepper <drepper@gmail.com>
11608
11609 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11610
a7690819
AS
116112010-11-24 Andreas Schwab <schwab@redhat.com>
11612
11613 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11614 specially.
11615 (gaih_getanswer_slice): Likewise.
11616
3bf8d1b1
JJ
116172010-10-20 Jakub Jelinek <jakub@redhat.com>
11618
11619 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11620
6db52fbb
PB
116212010-05-31 Petr Baudis <pasky@suse.cz>
11622
11623 [BZ #11149]
11624 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11625 silently even in the chroot mode.
11626
eaca7569
UD
116272010-11-22 Ulrich Drepper <drepper@gmail.com>
11628
11629 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11630 last patch a bit. Pretty printing
11631
3056dcdb
UD
116322010-05-31 Petr Baudis <pasky@suse.cz>
11633
11634 [BZ #10085]
11635 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11636 initialization of skip_initgroups_dyn.
11637
cf7c9078
UD
116382010-11-19 Ulrich Drepper <drepper@gmail.com>
11639
11640 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11641 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11642
a1fb5e3e
UD
116432010-11-16 Ulrich Drepper <drepper@gmail.com>
11644
11645 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11646
3540d66b
AS
116472010-11-11 Andreas Schwab <schwab@redhat.com>
11648
11649 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11650 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11651 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11652 ($(objpfx)tst-fnmatch-mem): New rule.
11653 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11654 * posix/tst-fnmatch.c (main): Call mtrace.
11655
13b69574
L
116562010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11657
11658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11659 Support Intel processor model 6 and model 0x2c.
11660
da93d214
LM
116612010-11-10 Luis Machado <luisgpm@br.ibm.com>
11662
11663 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11664 signed comparison.
11665
8ca52c6e
L
116662010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11667
11668 [BZ #12205]
11669 * string/test-strncasecmp.c (check_result): New function.
11670 (do_one_test): Use it.
11671 (check1): New function.
11672 (test_main): Use it.
11673 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11674 Support strcasecmp and strncasecmp.
11675
69da074d
UD
116762010-11-08 Ulrich Drepper <drepper@gmail.com>
11677
11678 [BZ #12194]
11679 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11680 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11681
ff02d528
L
116822010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11683
11684 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11685 IFUNC support.
11686 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11687 memset-x86-64.
11688 * sysdeps/x86_64/multiarch/bzero.S: New file.
11689 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11690 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11691 * sysdeps/x86_64/multiarch/memset.S: New file.
11692 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11693 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11694 Set bit_Prefer_SSE_for_memop for Intel processors.
11695 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11696 Define.
11697 (index_Prefer_SSE_for_memop): Define.
11698 (HAS_PREFER_SSE_FOR_MEMOP): Define.
11699
344d0b54
LM
117002010-11-04 Luis Machado <luisgpm@br.ibm.com>
11701
11702 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11703 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11704
c0dde15b
UD
117052010-11-03 H.J. Lu <hongjiu.lu@intel.com>
11706
11707 [BZ #12191]
11708 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11709 (__x86_64_raw_data_cache_size_half): Likewise.
11710 (__x86_64_raw_shared_cache_size): Likewise.
11711 (__x86_64_raw_shared_cache_size_half): Likewise.
11712
11713 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11714 (__x86_64_raw_data_cache_size_half): Likewise.
11715 (__x86_64_raw_shared_cache_size): Likewise.
11716 (__x86_64_raw_shared_cache_size_half): Likewise.
11717 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11718 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11719 and __x86_64_raw_shared_cache_size_half. Round
11720 __x86_64_data_cache_size_half, __x86_64_data_cache_size
11721 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11722 to multiple of 256 bytes.
11723
0e516e0e
MS
117242010-11-03 Ulrich Drepper <drepper@gmail.com>
11725
11726 [BZ #12167]
11727 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11728 of inacessible symlinks. Verify result of symlink before returning it.
11729 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11730 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11731
0e012e87
ER
117322010-10-28 Erich Ritz <erichritz@gmail.com>
11733
11734 * math/math.h (isinf): Fix typo in comment.
11735
de0ff7bc
UD
117362010-11-01 Ulrich Drepper <drepper@gmail.com>
11737
11738 * po/da.po: Update from translation team.
11739
fa41c84d
UD
117402010-10-26 Ulrich Drepper <drepper@gmail.com>
11741
11742 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11743 is added to the list.
11744
f0967738
AK
117452010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11746 Ulrich Drepper <drepper@gmail.com>
11747
11748 * elf/dl-object.c (_dl_new_object): Don't append the new object to
11749 the global list here. Move code to...
11750 (_dl_add_to_namespace_list): ...here. New function.
11751 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11752 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11753 * elf/dl-load.c (lose): Don't remove the element from the list.
11754 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11755 (_dl_map_object): Likewise.
11756
117572010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
11758
11759 [BZ #12159]
11760 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11761 into all bytes of SSE register.
11762 Patch by Richard Li <richardpku@gmail.com>.
11763
f0967738 117642010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
11765
11766 [BZ #12140]
11767 * malloc/malloc.c (_int_free): Fill correct number of bytes when
11768 perturbing.
11769
d0b9e94f
MB
117702010-10-20 Michael B. Brutman <brutman@us.ibm.com>
11771
11772 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11773 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11774 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11775 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11777 submachine.
11778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11779
8e9f92e9
AS
117802010-10-22 Andreas Schwab <schwab@redhat.com>
11781
11782 * include/dlfcn.h (__RTLD_SECURE): Define.
11783 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
11784 mode & __RTLD_SECURE instead.
11785 (open_path): Rename preloaded parameter to secure.
11786 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11787 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11788 * elf/dl-deps.c (openaux): Likewise.
11789 * elf/rtld.c (struct map_args): Remove is_preloaded.
11790 (map_doit): Don't use it.
11791 (dl_main): Likewise.
11792 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11793 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11794
bc96fbda
AS
117952010-09-09 Andreas Schwab <schwab@redhat.com>
11796
11797 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11798 (sysd-rules-targets): Remove duplicates.
11799 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11800 rtld-%.$o dependency.
11801
22cd1c9b
AS
118022010-10-18 Andreas Schwab <schwab@redhat.com>
11803
11804 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11805 _dl_map_object do it.
11806
18edac48
UD
118072010-10-19 Ulrich Drepper <drepper@gmail.com>
11808
11809 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11810 fast fma builtins, define the macros in the C99 standard.
11811 (FP_FAST_FMAF): Likewise.
11812 (FP_FAST_FMAL): Likewise.
11813 * sysdeps/x86_64/bits/mathdef.h: Likewise.
11814
11815 * bits/mathdef.h: Update copyright year.
11816 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11817
d2050124
MM
118182010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
11819
11820 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11821 builtins, define the macros in the C99 standard.
11822 (FP_FAST_FMAF): Likewise.
11823 (FP_FAST_FMAL): Likewise.
11824 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11825 multiply/add.
11826 (FP_FAST_FMAF): Likewise.
11827
475facd1
JJ
118282010-10-15 Jakub Jelinek <jakub@redhat.com>
11829
11830 [BZ #3268]
11831 * math/libm-test.inc (fma_test): Some new testcases.
11832 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11833 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11834 y and infinite z. Do multiplication by C already in long double.
11835 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11836 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11837 y and infinite z. Do bitwise or of inexact bit into u.d.
11838 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11839 * sysdeps/i386/fpu/s_fmaf.S: Removed.
11840 * sysdeps/i386/fpu/s_fma.S: Removed.
11841 * sysdeps/i386/fpu/s_fmal.S: Removed.
11842
7c08a05c
JJ
118432010-10-16 Jakub Jelinek <jakub@redhat.com>
11844
11845 [BZ #3268]
11846 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11847 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11848 computation is not scheduled after fetestexcept. Fix value
11849 of minimum denormal long double.
11850
f3f7372d
JJ
118512010-10-14 Jakub Jelinek <jakub@redhat.com>
11852
11853 [BZ #3268]
11854 * math/libm-test.inc (fma_test): Add some more tests.
11855 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11856 correctly.
11857
14d43591
AS
118582010-10-15 Andreas Schwab <schwab@redhat.com>
11859
11860 * scripts/data/localplt-s390-linux-gnu.data: New file.
11861 * scripts/data/localplt-s390x-linux-gnu.data: New file.
11862
5e908464
JJ
118632010-10-13 Jakub Jelinek <jakub@redhat.com>
11864
11865 [BZ #3268]
11866 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11867 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11868 instead of dbl-64.
11869 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11870 inlines.
11871 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11872 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11873 if one of x and y is very large and the other is subnormal.
11874 * sysdeps/s390/fpu/s_fmaf.c: New file.
11875 * sysdeps/s390/fpu/s_fma.c: New file.
11876 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11877 * sysdeps/powerpc/fpu/s_fma.S: New file.
11878 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11879 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11880 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11881
118822010-10-12 Jakub Jelinek <jakub@redhat.com>
11883
11884 [BZ #3268]
11885 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11886 fma tests.
11887 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11888 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11889 * sysdeps/i386/i686/multiarch/s_fma.c: Include
11890 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11891 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11892 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11893 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11894
b833d51f
UD
118952010-10-12 Ulrich Drepper <drepper@redhat.com>
11896
11897 [BZ #12078]
11898 * posix/regcomp.c (parse_branch): One more memory leak plugged.
11899 * posix/bug-regex31.input: Add test case.
11900
1751705d
UD
119012010-10-11 Ulrich Drepper <drepper@gmail.com>
11902
e9b9cbf5
UD
11903 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11904 * posix/bug-regex31.input: New file.
11905
11906 [BZ #12078]
11907 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11908 (parse_sub_exp): Fix last change, use postorder.
11909
ef06edbe
UD
11910 * posix/bug-regex31.c: New file.
11911 * posix/Makefile: Add rules to build and run bug-regex31.
11912
a129c80d
UD
11913 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11914
11915 [BZ #12078]
11916 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11917
b76b818e
UD
11918 [BZ #12108]
11919 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11920 to have entries in sys_siglist.
11921
1751705d
UD
11922 [BZ #12093]
11923 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11924 be NULL.
11925
9ff8d36f
JJ
119262010-10-07 Jakub Jelinek <jakub@redhat.com>
11927
11928 [BZ #3268]
11929 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11930 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11931 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11932 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11933 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11934 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11935 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11936 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11937 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11938 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11939 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11940 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11941 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11942 * math/ftestexcept.c (fetestexcept): Likewise.
11943 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11944 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11945 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11946 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11947 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11948 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11949 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11950
af325969
UD
119512010-10-11 Ulrich Drepper <drepper@gmail.com>
11952
c579b202 11953 [BZ #12107]
af325969
UD
11954 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11955 newline.
11956
67a67b95
UD
119572010-10-06 Ulrich Drepper <drepper@gmail.com>
11958
11959 * string/bug-strstr1.c: New file.
11960 * string/Makefile: Add rules to build and run bug-strstr1.
11961
5fb308bc
EB
119622010-10-05 Eric Blake <eblake@redhat.com>
11963
11964 [BZ #12092]
11965 * string/str-two-way.h (two_way_long_needle): Always clear memory
11966 when skipping input due to the shift table.
11967
45db99c7
UD
119682010-10-03 Ulrich Drepper <drepper@gmail.com>
11969
3b111893
UD
11970 [BZ #12005]
11971 * malloc/mcheck.c: Handle large requests.
11972
45db99c7
UD
11973 [BZ #12077]
11974 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11975 for strncmp and strncasecmp.
11976 * string/stratcliff.c: Add tests for strcmp and strncmp.
11977 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11978
cf7a1eb8
NI
119792010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11980
11981 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11982 __set_fpscr.
11983
6484ba5e
AJ
119842010-09-30 Andreas Jaeger <aj@suse.de>
11985
11986 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11987 (CGROUP_SUPER_MAGIC): Define.
11988 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11989 Handle btrfs and cgroup file systems.
11990 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11991 Likewise.
11992
91c42559
LM
119932010-09-27 Luis Machado <luisgpm@br.ibm.com>
11994
11995 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11996 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11997
87a97932
AK
119982010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11999
12000 [BZ #12067]
12001 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12002 trying to locate the ELF header.
12003
c21cc9bc
AS
120042010-09-27 Andreas Schwab <schwab@redhat.com>
12005
12006 [BZ #11611]
12007 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12008 Mask out sign-bit copies when constructing f_fsid.
12009
315970f6
PB
120102010-09-24 Petr Baudis <pasky@suse.cz>
12011
12012 * debug/stack_chk_fail_local.c: Add missing licence exception.
12013 * debug/warning-nop.c: Likewise.
12014
1ac7a2c7
JM
120152010-09-15 Joseph Myers <joseph@codesourcery.com>
12016
12017 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12018 implementing getdents64 using getdents syscall, set d_type if
12019 __ASSUME_GETDENTS32_D_TYPE.
12020
56801c50
AS
120212010-09-16 Andreas Schwab <schwab@redhat.com>
12022
12023 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12024 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12025
dda51327
UD
120262010-09-21 Ulrich Drepper <drepper@redhat.com>
12027
12028 [BZ #12037]
12029 * posix/unistd.h: Undo change of feature selection for ftruncate from
12030 2010-01-11.
12031
8ffcee4a
UD
120322010-09-20 Ulrich Drepper <drepper@redhat.com>
12033
a545ecd9 12034 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
12035 detection.
12036
e24f0a8b
AS
120372010-09-20 Andreas Schwab <schwab@redhat.com>
12038
12039 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12040 fanotify_mark.
12041 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12042
7291c56f
AS
120432010-09-14 Andreas Schwab <schwab@redhat.com>
12044
12045 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12046 variables after CHECK_SP call.
12047 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12048
bc5fb037
AS
120492010-09-13 Andreas Schwab <schwab@redhat.com>
12050 Ulrich Drepper <drepper@redhat.com>
12051
12052 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12053 re-relocationg ld.so.
12054 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12055 _dl_init_paths call.
12056 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12057 here anymore.
12058
e66e7419
UD
120592010-09-14 Ulrich Drepper <drepper@redhat.com>
12060
12061 * resolv/res_init.c (__res_vinit): Count the default server we added.
12062
c044aa75
CLT
120632010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12064 Ulrich Drepper <drepper@redhat.com>
12065
12066 [BZ #11968]
12067 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12068 (____longjmp_chk): Use %ebx for saving value across system call.
12069 Add unwind info.
12070
32cf4069
AS
120712010-09-06 Andreas Schwab <schwab@redhat.com>
12072
12073 * manual/Makefile: Don't mix pattern rules with normal rules.
12074
817328ee
AS
120752010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12076
12077 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12078 operation.
12079 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12080 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12081 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12082 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12083 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12084 Likewise.
12085
29fddf61
UD
120862010-09-04 Ulrich Drepper <drepper@redhat.com>
12087
12088 [BZ #11979]
12089 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12090 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12091
0959ffc9
UD
120922010-09-02 Ulrich Drepper <drepper@redhat.com>
12093
12094 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12095 * sysdeps/x86_64/addmul_1.S: Likewise.
12096 * sysdeps/x86_64/lshift.S: Likewise.
12097 * sysdeps/x86_64/mul_1.S: Likewise.
12098 * sysdeps/x86_64/rshift.S: Likewise.
12099 * sysdeps/x86_64/sub_n.S: Likewise.
12100 * sysdeps/x86_64/submul_1.S: Likewise.
12101
ece29840
ST
121022010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12103
0959ffc9
UD
12104 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12105 Define __sched_param instead of SCHED_* and sched_param when
ece29840 12106 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 12107 * bits/sched.h [__need_schedparam]
ece29840 12108 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
12109 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12110 (__defined_schedparam): Define to 1.
ece29840
ST
12111 (__sched_param): New structure, identical to sched_param.
12112 (__need_schedparam): Undefine.
12113
e53a31fe
MF
121142010-08-31 Mike Frysinger <vapier@gentoo.org>
12115
fdc0c10d
MF
12116 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12117 (epoll_create1): Declare.
12118
e53a31fe
MF
12119 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12120
a726d796
AS
121212010-08-31 Andreas Schwab <schwab@redhat.com>
12122
12123 [BZ #7066]
12124 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12125 shifting retval into place.
12126
2f3e3dc7
UD
121272010-09-01 Ulrich Drepper <drepper@redhat.com>
12128
f2933da9
UD
12129 * nis/rpcsvc/nis.h: Update copyright notice.
12130 * nis/rpcsvc/nis.x: Likewise.
12131 * nis/rpcsvc/nis_callback.h: Likewise.
12132 * nis/rpcsvc/nis_callback.x: Likewise.
12133 * nis/rpcsvc/nis_object.x: Likewise.
12134 * nis/rpcsvc/nis_tags.h: Likewise.
12135 * nis/rpcsvc/yp.h: Likewise.
12136 * nis/rpcsvc/yp.x: Likewise.
12137 * nis/rpcsvc/ypupd.h: Likewise.
12138 * nis/yp_xdr.c: Likewise.
12139 * nis/ypupdate_xdr.c: Likewise.
12140
2f3e3dc7
UD
12141 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12142 mainly the body of pmap_getport. Add parameters to specify timeouts.
12143 (pmap_getport): Use __libc_rpc_getport.
12144 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12145 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12146 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12147
f3dcc2f9
AS
121482010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12149
12150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12151 fanotify_mark.
12152
6d34eb5b
RM
121532010-08-27 Roland McGrath <roland@redhat.com>
12154
12155 * sysdeps/i386/i686/multiarch/Makefile
12156 (CFLAGS-varshift.c): New variable.
12157
9ea3de11
UD
121582010-08-27 Ulrich Drepper <drepper@redhat.com>
12159
c96d23fc
UD
12160 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12161 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12162
9ea3de11
UD
12163 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12164
12165 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12166
623aac7f
L
121672010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12168
12169 * sysdeps/x86_64/strlen.S: Unroll the loop.
12170 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12171 strlen-sse2 strlen-sse2-bsf.
12172 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12173 __strlen_no_bsf if bit_Slow_BSF is set.
12174 (__strlen_sse42): Removed.
12175 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12176 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12177
8b2b7715
RM
121782010-08-25 Roland McGrath <roland@redhat.com>
12179
12180 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12181 * sysdeps/x86_64/multiarch/varshift.c: New file.
12182 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12183 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12184 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12185 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12186
e73015f2
L
121872010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12188
12189 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12190 strlen-sse2 strlen-sse2-bsf.
12191 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12192 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12193 (__strlen_sse2): Removed.
12194 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12195 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12196 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12197 bit_Slow_BSF for Atom.
12198 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12199 (index_Slow_BSF): Define.
12200 (HAS_SLOW_BSF): Define.
12201
df24a73e
UD
122022010-08-25 Ulrich Drepper <drepper@redhat.com>
12203
12204 [BZ #10851]
12205 * resolv/res_init.c (__res_vinit): When no server address at all
12206 is given default to loopback.
12207
f2ac4868
RM
122082010-08-24 Roland McGrath <roland@redhat.com>
12209
09055553
RM
12210 * configure.in: Remove config-name.h generation.
12211 * configure: Regenerated.
12212 * config-name.in: File removed.
12213 * scripts/config-uname.sh: New file.
12214 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12215 ($(objdir)config-name.h): New target.
12216
f2ac4868
RM
12217 * sunrpc/rpc_parse.h: Avoid nested comment.
12218
73f27d5e
RH
122192010-08-24 Richard Henderson <rth@redhat.com>
12220 Ulrich Drepper <drepper@redhat.com>
12221 H.J. Lu <hongjiu.lu@intel.com>
12222
12223 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12224 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12225 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12226 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12227 _mm_alignr_epi8 with _mm_loadu_si128.
12228 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12229 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12230 (__m128i_shift_right): Removed.
12231 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12232 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12233 * sysdeps/x86_64/multiarch/varshift.h: New file.
12234 * sysdeps/x86_64/multiarch/varshift.S: New file.
12235
84b9230c
MF
122362010-08-21 Mike Frysinger <vapier@gentoo.org>
12237
12238 * configure.in: Move assembler checks to before sysdep dir checking.
12239
9bbd0ddc
PB
122402010-08-20 Petr Baudis <pasky@suse.cz>
12241
12242 * LICENSES: Sync the sunrpc license.
12243
9da4bb31
UD
122442010-08-19 Ulrich Drepper <drepper@redhat.com>
12245
a7ab6ec8
UD
12246 * sunrpc/auth_des.c: Update copyright notice once again.
12247 * sunrpc/auth_none.c: Likewise.
12248 * sunrpc/auth_unix.c: Likewise.
12249 * sunrpc/authdes_prot.c: Likewise.
12250 * sunrpc/authuxprot.c: Likewise.
12251 * sunrpc/bindrsvprt.c: Likewise.
12252 * sunrpc/clnt_gen.c: Likewise.
12253 * sunrpc/clnt_perr.c: Likewise.
12254 * sunrpc/clnt_raw.c: Likewise.
12255 * sunrpc/clnt_simp.c: Likewise.
12256 * sunrpc/clnt_tcp.c: Likewise.
12257 * sunrpc/clnt_udp.c: Likewise.
12258 * sunrpc/clnt_unix.c: Likewise.
12259 * sunrpc/des_crypt.c: Likewise.
12260 * sunrpc/des_soft.c: Likewise.
12261 * sunrpc/get_myaddr.c: Likewise.
12262 * sunrpc/getrpcport.c: Likewise.
12263 * sunrpc/key_call.c: Likewise.
12264 * sunrpc/key_prot.c: Likewise.
12265 * sunrpc/openchild.c: Likewise.
12266 * sunrpc/pm_getmaps.c: Likewise.
12267 * sunrpc/pm_getport.c: Likewise.
12268 * sunrpc/pmap_clnt.c: Likewise.
12269 * sunrpc/pmap_prot.c: Likewise.
12270 * sunrpc/pmap_prot2.c: Likewise.
12271 * sunrpc/pmap_rmt.c: Likewise.
12272 * sunrpc/rpc/auth.h: Likewise.
12273 * sunrpc/rpc/auth_unix.h: Likewise.
12274 * sunrpc/rpc/clnt.h: Likewise.
12275 * sunrpc/rpc/des_crypt.h: Likewise.
12276 * sunrpc/rpc/key_prot.h: Likewise.
12277 * sunrpc/rpc/netdb.h: Likewise.
12278 * sunrpc/rpc/pmap_clnt.h: Likewise.
12279 * sunrpc/rpc/pmap_prot.h: Likewise.
12280 * sunrpc/rpc/pmap_rmt.h: Likewise.
12281 * sunrpc/rpc/rpc.h: Likewise.
12282 * sunrpc/rpc/rpc_des.h: Likewise.
12283 * sunrpc/rpc/rpc_msg.h: Likewise.
12284 * sunrpc/rpc/svc.h: Likewise.
12285 * sunrpc/rpc/svc_auth.h: Likewise.
12286 * sunrpc/rpc/types.h: Likewise.
12287 * sunrpc/rpc/xdr.h: Likewise.
12288 * sunrpc/rpc_clntout.c: Likewise.
12289 * sunrpc/rpc_cmsg.c: Likewise.
12290 * sunrpc/rpc_common.c: Likewise.
12291 * sunrpc/rpc_cout.c: Likewise.
12292 * sunrpc/rpc_dtable.c: Likewise.
12293 * sunrpc/rpc_hout.c: Likewise.
12294 * sunrpc/rpc_main.c: Likewise.
12295 * sunrpc/rpc_parse.c: Likewise.
12296 * sunrpc/rpc_parse.h: Likewise.
12297 * sunrpc/rpc_prot.c: Likewise.
12298 * sunrpc/rpc_sample.c: Likewise.
12299 * sunrpc/rpc_scan.c: Likewise.
12300 * sunrpc/rpc_scan.h: Likewise.
12301 * sunrpc/rpc_svcout.c: Likewise.
12302 * sunrpc/rpc_tblout.c: Likewise.
12303 * sunrpc/rpc_util.c: Likewise.
12304 * sunrpc/rpc_util.h: Likewise.
12305 * sunrpc/rpcinfo.c: Likewise.
12306 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12307 * sunrpc/rpcsvc/key_prot.x: Likewise.
12308 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12309 * sunrpc/rpcsvc/mount.x: Likewise.
12310 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12311 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12312 * sunrpc/rpcsvc/rex.x: Likewise.
12313 * sunrpc/rpcsvc/rstat.x: Likewise.
12314 * sunrpc/rpcsvc/rusers.x: Likewise.
12315 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12316 * sunrpc/rpcsvc/spray.x: Likewise.
12317 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12318 * sunrpc/rtime.c: Likewise.
12319 * sunrpc/svc.c: Likewise.
12320 * sunrpc/svc_auth.c: Likewise.
12321 * sunrpc/svc_authux.c: Likewise.
12322 * sunrpc/svc_raw.c: Likewise.
12323 * sunrpc/svc_run.c: Likewise.
12324 * sunrpc/svc_simple.c: Likewise.
12325 * sunrpc/svc_tcp.c: Likewise.
12326 * sunrpc/svc_udp.c: Likewise.
12327 * sunrpc/svc_unix.c: Likewise.
12328 * sunrpc/svcauth_des.c: Likewise.
12329 * sunrpc/xcrypt.c: Likewise.
12330 * sunrpc/xdr.c: Likewise.
12331 * sunrpc/xdr_array.c: Likewise.
12332 * sunrpc/xdr_float.c: Likewise.
12333 * sunrpc/xdr_mem.c: Likewise.
12334 * sunrpc/xdr_rec.c: Likewise.
12335 * sunrpc/xdr_ref.c: Likewise.
12336 * sunrpc/xdr_sizeof.c: Likewise.
12337 * sunrpc/xdr_stdio.c: Likewise.
12338
9da4bb31
UD
12339 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12340 handling.
12341
bdaa77bc
AS
123422010-08-19 Andreas Schwab <schwab@redhat.com>
12343
12344 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12345
fe2f79db
LM
123462010-08-19 Luis Machado <luisgpm@br.ibm.com>
12347
12348 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12349 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12350 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12351 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12352 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12353 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12354 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12355 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12356 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12357 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12358 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12359 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12360 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12361 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12362
b9b42ee0
AB
123632010-07-26 Anton Blanchard <anton@samba.org>
12364
12365 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12366 * malloc/arena.c (heap_trim): Likewise.
12367
1c06ba31
UD
123682010-08-16 Ulrich Drepper <drepper@redhat.com>
12369
12370 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12371 here. Not...
12372 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12373 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12374
f8392f40
L
123752010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12376
12377 * sysdeps/i386/elf/Makefile: New file.
12378
3162f12e
AS
123792010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12380
12381 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12382 from fanotify_init.
12383 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12384 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12385
28c90b2c
UD
123862010-08-15 Ulrich Drepper <drepper@redhat.com>
12387
12388 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12389 of strncasecmp_l.
1feccb6c 12390 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 12391
ca6bb004
UD
123922010-08-14 Ulrich Drepper <drepper@redhat.com>
12393
e9f82e0d
UD
12394 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12395 strncase_l-nonascii.
12396 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12397 Add strncase_l-ssse3.
12398 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12399 * sysdeps/x86_64/strcmp.S: Likewise.
12400 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12401 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12402 * sysdeps/x86_64/strncase.S: New file.
12403 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12404 * sysdeps/x86_64/strncase_l.S: New file.
12405 * string/Makefile (strop-tests): Add strncasecmp.
12406 * string/test-strncasecmp.c: New file.
12407
12408 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12409 warning.
12410
ca6bb004
UD
12411 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12412 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12413
052fa7b3
AS
124142010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12415
12416 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12417
962dba78
UD
124182010-08-12 Ulrich Drepper <drepper@redhat.com>
12419
12420 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12421 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12422 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12423
bebff237
AM
124242010-05-01 Alan Modra <amodra@gmail.com>
12425
12426 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12427 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12428 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12429 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12430 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12431 tidying. Don't tail-call __sigjmp_save for static lib.
12432 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12433 save location.
12434 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12435 (CALL_MCOUNT): Add eh info, and nop after bl.
12436 (TAIL_CALL_SYSCALL_ERROR): New macro.
12437 (PSEUDO_RET): Use it.
12438 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12439 Correct save location of integer regs and cr.
12440 (_dl_profile_resolve): Correct cr save location. Delete nops
12441 after bl when SHARED. Reduce cfi size a little by better
12442 placement of cfi directives.
12443 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12444 make a stack frame. Instead use parm save area as a temp.
12445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12446 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12448 Don't make a stack frame for parent, use parm save area.
12449 Increase child stack frame to 112 bytes. Don't save unused reg,
12450 and adjust reg usage. Set up cfi on error recovery and
12451 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12453 (__makecontext): Add dummy nop after jump to exit.
12454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12455 Use correct parm save area and cr save, reduce stack frame.
12456 Correct cfi for possible PSEUDO_RET frame setup.
12457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12458 Branch to local label emitted by PSEUDO_RET rather than
12459 __syscall_error.
12460
02637374
AS
124612010-08-12 Andreas Schwab <schwab@redhat.com>
12462
12463 [BZ #11904]
12464 * locale/programs/locale.c (print_assignment): New function.
12465 (show_locale_vars): Use it.
12466
c3e2f19b
UD
124672010-08-11 Ulrich Drepper <drepper@redhat.com>
12468
3cdaa6ad
UD
12469 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12470 field.
12471 (struct statfs64): Likewise.
12472 (_STATFS_F_FLAGS): Define.
12473 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12474 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12475 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12476 (ST_VALID): Define locally.
12477 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12478 __statvfs_getflags, use the provided value.
12479 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12480 __ASSUME_STATFS_F_FLAGS.
12481
754f7da3
UD
12482 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12483
10b3bedc
UD
12484 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12485 Add sys/fanotify.h.
12486 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12487 fanotify_mask for GLIBC_2.13.
12488 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12489 fanotify_init and fanotify_mark.
12490 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12491 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12492
c08fb0d7
UD
12493 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12494 Add prlimit.
12495 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12496 prlimit64 for GLIBC_2.13.
12497 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12498 prlimit64.
12499 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12500 syscall.
12501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12502 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12503 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12504 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12505 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12506 add prlimit alias.
12507 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12508
15bac72b
UD
12509 [BZ #11903]
12510 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12511 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12512
c3e2f19b
UD
12513 * nss/Makefile: Add rules to build and run tst-nss-test1.
12514 * shlib-versions: Add entry for libnss_test1.
12515 * nss/nss_test1.c: New file.
12516 * nss/tst-nss-test1.c: New file.
12517
12518 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12519 (__nss_configure_lookup): Set appropriate entry in
12520 __nss_configure_lookup to true.
12521 * nss/nsswitch.h: Define enum with indeces of databases in
12522 databases and __nss_database_custom arrays. Declare
12523 __nss_database_custom.
12524 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12525 to avoid using nscd when custom rules are installed.
12526 * nss/getXXbyYY_r.c: Likewise.
12527 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12528
12529 * nss/nss_files/files-parse.c: Whitespace fixes.
12530
f15ce4d8
UD
125312010-08-09 Ulrich Drepper <drepper@redhat.com>
12532
12533 [BZ #11883]
12534 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12535 * posix/fnmatch_loop.c: Likewise.
12536
d22e4cc9
AK
125372010-07-17 Andi Kleen <ak@linux.intel.com>
12538
12539 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12540 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12541 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12542 * Versions.def [GLIBC_2.13]: Add.
12543
805bc17d
UD
125442010-08-06 Ulrich Drepper <drepper@redhat.com>
12545
12546 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12547 Also fail if tpwd after pwuid call is NULL.
12548
5a42321d
ST
125492010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12550
12551 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12552 when converting to ms.
12553
fd3ebeda
ST
125542010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12555
12556 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12557 EOPNOTSUPP errors with ENOTTY.
12558 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12559 EOPNOTSUPP errors with ENOTTY.
12560
73507d3a
UD
125612010-07-31 Ulrich Drepper <drepper@redhat.com>
12562
12563 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12564 Add strcasecmp_l-ssse3.
12565 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12566 strcasecmp.
12567 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12568 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12569 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12570
fe36dd02
UD
125712010-07-30 Ulrich Drepper <drepper@redhat.com>
12572
66f6765a
UD
12573 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12574
42e08a54
UD
12575 * string/Makefile (strop-tests): Add strcasecmp.
12576 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12577 strcasecmp_l-nonascii.
12578 (gen-as-const-headers): Add locale-defines.sym.
12579 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12580 * sysdeps/x86_64/strcasecmp.S: New file.
12581 * sysdeps/x86_64/strcasecmp_l.S: New file.
12582 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12583 * sysdeps/x86_64/locale-defines.sym: New file.
12584 * string/test-strcasecmp.c: New file.
12585
fe36dd02
UD
12586 * string/test-strcasestr.c: Test both ends of the range of characters.
12587 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12588
48cbc0d6
RM
125892010-07-29 Roland McGrath <roland@redhat.com>
12590
76e6d6bc 12591 [BZ #11856]
48cbc0d6
RM
12592 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12593
880113d9
UD
125942010-07-27 Ulrich Drepper <drepper@redhat.com>
12595
12596 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12597 for ld.so.
12598
deb9cabb
AS
125992010-07-27 Andreas Schwab <schwab@redhat.com>
12600
12601 * manual/memory.texi (Malloc Tunable Parameters): Document
12602 M_PERTURB.
12603
1c7570ff
RM
126042010-07-26 Roland McGrath <roland@redhat.com>
12605
12606 [BZ #11840]
12607 * configure.in (-fgnu89-inline check): Set and substitute
12608 gnu89_inline, not libc_cv_gnu89_inline.
12609 * configure: Regenerated.
12610 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12611
24fb0f88
UD
126122010-07-26 Ulrich Drepper <drepper@redhat.com>
12613
12614 * string/test-strnlen.c: New file.
12615 * string/Makefile (strop-tests): Add strnlen.
12616 * string/tester.c (test_strnlen): Add a few more test cases.
12617 * string/tst-strlen.c: Better error reporting.
12618
12619 * sysdeps/x86_64/strnlen.S: New file.
12620
8e96b93a
UD
126212010-07-24 Ulrich Drepper <drepper@redhat.com>
12622
12623 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12624 lower-latency instructions.
12625
dbc676d4
UD
126262010-07-23 Ulrich Drepper <drepper@redhat.com>
12627
12628 * string/test-strcasestr.c: New file.
12629 * string/test-strstr.c: New file.
12630 * string/Makefile (strop-tests): Add strstr and strcasestr.
12631 * string/str-two-way.h: Don't undefine MAX.
12632 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12633
f6a31e0e
AS
126342010-07-21 Andreas Schwab <schwab@redhat.com>
12635
12636 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12637 strcasestr-nonascii.
12638 (CFLAGS-strcasestr-nonascii.c): Define.
12639 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12640 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12641 Remove unused attribute.
12642
5dbc3b6c
RM
126432010-07-20 Roland McGrath <roland@redhat.com>
12644
12645 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12646 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12647 ld.so.cache was broken. With it, there is no way to disable dsocaps
12648 like LD_HWCAP_MASK can disable hwcaps.
12649
23d101d8
EPM
126502010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12651
12652 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12653
cc9f2e47
UD
126542010-07-16 Ulrich Drepper <drepper@redhat.com>
12655
12656 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12657 call in strcasestr.
12658 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12659 __strcasestr_sse42_nonascii.
12660 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12661 strcasestr-nonascii.c.
12662 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12663
77c1b069
LM
126642010-06-15 Luis Machado <luisgpm@br.ibm.com>
12665
12666 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12667 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12668 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12669 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12670
440566c3
UD
126712010-07-09 Ulrich Drepper <drepper@redhat.com>
12672
12673 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12674 fcntl.
12675
5be9d05d
AS
126762010-07-06 Andreas Schwab <schwab@redhat.com>
12677
c30b7ee2 12678 [BZ #11577]
5be9d05d
AS
12679 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12680 dl_signal_cerror.
12681
8a492a67
UD
126822010-07-06 Ulrich Drepper <drepper@redhat.com>
12683
12684 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12685 _PC_PIPE_BUF using F_GETPIPE_SZ.
12686
713df3d5
RM
126872010-07-05 Roland McGrath <roland@redhat.com>
12688
12689 * manual/arith.texi (Rounding Functions): Fix rint description
12690 implicit in round description.
12691
702e8f14
UD
126922010-07-02 Ulrich Drepper <drepper@redhat.com>
12693
12694 * elf/Makefile: Fix linking for a few tests to make recent linker
12695 happy.
12696
52ed8be9
AS
126972010-06-30 Andreas Schwab <schwab@redhat.com>
12698
12699 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12700 $(common-objpfx)libc_nonshared.a.
12701
f47c9a11
LM
127022010-06-21 Luis Machado <luisgpm@br.ibm.com>
12703
12704 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12705 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12706 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12707 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12708 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12709 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12710 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12711 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12726 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12727 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12728 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12729 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12730 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12731 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12732 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12733 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12734 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12735 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12736 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12737 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12752
6fb8cbcb
L
127532010-06-25 H.J. Lu <hongjiu.lu@intel.com>
12754
12755 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12756 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
12757 * string/memmove.c (memmove): Renamed to ...
12758 (MEMMOVE): ...this. Default to memmove.
12759 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12760 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12761 (END_CHK): Define.
12762 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12763 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12764 mempcpy-ssse3-back memmove-ssse3-back.
12765 * sysdeps/x86_64/multiarch/bcopy.S: New file .
12766 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12767 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12768 * sysdeps/x86_64/multiarch/memcpy.S: New file.
12769 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12770 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12771 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12772 * sysdeps/x86_64/multiarch/memmove.c: New file.
12773 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12774 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12775 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12776 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12777 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12778 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12779 Define.
12780 (index_Fast_Copy_Backward): Define.
12781 (HAS_ARCH_FEATURE): Define.
12782 (HAS_FAST_REP_STRING): Define.
12783 (HAS_FAST_COPY_BACKWARD): Define.
12784
4e733bac 127852010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
12786
12787 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12788 Restore proper fallback handling.
12789
63c4ed22
UD
127902010-06-19 Ulrich Drepper <drepper@redhat.com>
12791
ac2b484c
UD
12792 [BZ #11701]
12793 * posix/group_member.c (__group_member): Correct checking loop.
12794
63c4ed22
UD
12795 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12796 OOM in getpwuid_r correctly. Return error number when the caller
12797 should return, otherwise -1.
12798 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12799 call returning > 0 value.
12800 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12801
765ade4b
AS
128022010-06-07 Andreas Schwab <schwab@redhat.com>
12803
12804 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12805 libc_nonshared.a from targets in modules-names.
12806
80da2e09
KS
128072010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
12808
12809 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12810 requires it.
12811
158db122
LM
128122010-06-10 Luis Machado <luisgpm@br.ibm.com>
12813
12814 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12815 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12816 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12817 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12818
caa78cf8
AS
128192010-06-02 Andreas Schwab <schwab@redhat.com>
12820
12821 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12822
b2ef2c01
UD
128232010-06-14 Ulrich Drepper <drepper@redhat.com>
12824
12825 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12826 and F_GETPIPE_SZ.
12827 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12828 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12829 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12830 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12831 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12832 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12833
fbd643b6
RM
128342010-06-14 Roland McGrath <roland@redhat.com>
12835
12836 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12837
f32f2869
JJ
128382010-06-07 Jakub Jelinek <jakub@redhat.com>
12839
12840 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12841 __REDIRECT followed by __THROW.
12842 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12843 * posix/getopt.h (getopt): Likewise.
12844
2a50c078
EPM
128452010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12846
12847 * hurd/lookup-at.c (__file_name_lookup_at): Accept
12848 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
12849 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12850 in AT_FLAGS.
12851 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12852 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12853
eb5ad2eb
LM
128542010-05-28 Luis Machado <luisgpm@br.ibm.com>
12855
12856 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12857
3c88fe1e
L
128582010-05-26 H.J. Lu <hongjiu.lu@intel.com>
12859
12860 [BZ #11640]
12861 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12862 Properly check family and model.
12863
d2f73151
TY
128642010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
12865
12866 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12867
ebd2e13d
LM
128682010-05-24 Luis Machado <luisgpm@br.ibm.com>
12869
12870 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12871
b32b8b45
UD
128722010-05-21 Ulrich Drepper <drepper@redhat.com>
12873
12874 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12875 symbol reference.
12876
9acbe24d
AS
128772010-05-19 Andreas Schwab <schwab@redhat.com>
12878
12879 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12880 symbol reference.
12881
f0ccf6ea
AS
128822010-05-21 Andreas Schwab <schwab@redhat.com>
12883
3d04ff3a
AS
12884 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12885 and internal_recvmmsg.
12886 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12887 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12888 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12889 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12890
f0ccf6ea
AS
12891 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12892 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12893 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12894
5b08ac57
AS
128952010-05-20 Andreas Schwab <schwab@redhat.com>
12896
12897 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12898
4828935d
LM
128992010-05-17 Luis Machado <luisgpm@br.ibm.com>
12900
12901 POWER7 optimizations.
12902 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12903 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12904
373d545e
UD
129052010-05-19 Ulrich Drepper <drepper@redhat.com>
12906
12907 * version.h: Update for 2.13 development version.
12908
21a2b1ae
AS
129092010-05-12 Andrew Stubbs <ams@codesourcery.com>
12910
12911 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12912 exceptions. Return 0.
12913
3f7dcb2b
RM
129142010-05-07 Roland McGrath <roland@redhat.com>
12915
12916 * elf/ldconfig.c (main): Add a const.
12917
5f24d53a 129182010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 12919
a160f8d8
UD
12920 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12921 (args_options): Add no-idn option.
12922 (ahosts_keys_int): Add idn_flags to ai_flags.
12923 (parse_option): Handle 'i' option to clear idn_flags.
12924
5f24d53a
UD
12925 * malloc/malloc.c (_int_free): Possible race in the most recently
12926 added check. Only act on the data if no current modification
12927 happened.
265bb1ce
UD
12928
12929See ChangeLog.17 for earlier changes.
This page took 2.475037 seconds and 5 git commands to generate.