]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
fcd2bcad1a0961dac87588fc0012cde15564f399
[thirdparty/glibc.git] / ChangeLog
1 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2
3 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4 allow.
5 * conform/data/ctype.h-data [C99-based standards] (isblank):
6 Expect function.
7 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
8 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
9 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11 Specify type. Require positive value.
12 (EILSEQ): Likewise.
13 (ERANGE): Likewise.
14 [ISO || POSIX] (EILSEQ): Do not expect.
15 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
16 Specify type. Require positive value.
17 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
26 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
27 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
28 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
38 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
40 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
46 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
47 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
48 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
50 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
51 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
52 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
53 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
54 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
55 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
56 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
57 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
58 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
59 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
60 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
61 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
62 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
63 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
64 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
65 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
66 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
67 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
68 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
69 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
70 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
71 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
72 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
73 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
74 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
75 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
76 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
77 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
78 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
79 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
80 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
81 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
82 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
83 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
84 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
85 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
86 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
87 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
88 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
89 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
90 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
91 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
92 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
93 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
94 Require >= 2.
95 (FLT_ROUNDS): Expect as macro, not constant.
96 (FLT_MANT_DIG): Use macro-int-constant.
97 (DBL_MANT_DIG): Likewise.
98 (LDBL_MANT_DIG): Likewise.
99 (FLT_DIG): Likewise.
100 (DBL_DIG): Likewise.
101 (LDBL_DIG): Likewise.
102 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
103 (DBL_MIN_EXP): Likewise.
104 (LDBL_MIN_EXP): Likewise.
105 (FLT_MAX_EXP): Use macro-int-constant.
106 (DBL_MAX_EXP): Likewise.
107 (LDBL_MAX_EXP): Likewise.
108 (FLT_MAX_10_EXP): Likewise.
109 (DBL_MAX_10_EXP): Likewise.
110 (LDBL_MAX_10_EXP): Likewise.
111 (FLT_MAX): Use macro-constant.
112 (DBL_MAX): Likewise.
113 (LDBL_MAX): Likewise.
114 (FLT_EPSILON): Use macro-constant. Give upper bound.
115 (DBL_EPSILON): Likewise.
116 (LDBL_EPSILON): Likewise.
117 (FLT_MIN): Likewise.
118 (DBL_MIN): Likewise.
119 (LDBL_MIN): Likewise.
120 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
121 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
122 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
123 [ISO11] (FLT_HAS_SUBNORM): Likewise.
124 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
125 [ISO11] (DBL_DECIMAL_DIG): Likewise.
126 [ISO11] (FLT_DECIMAL_DIG): Likewise.
127 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
128 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
129 [ISO11] (FLT_TRUE_MIN): Likewise.
130 [ISO11] (LDBL_TRUE_MIN): Likewise.
131 [ISO || ISO99 || ISO11] (*_t): Do not allow.
132 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
133 (SCHAR_MIN): Use macro-int-constant. Specify type.
134 (SCHAR_MAX): Likewise.
135 (UCHAR_MAX): Likewise.
136 (CHAR_MIN): Likewise.
137 (CHAR_MAX): Likewise.
138 (MB_LEN_MAX): Use macro-int-constant.
139 (SHRT_MIN): Use macro-int-constant. Specify type.
140 (SHRT_MAX): Likewise.
141 (USHRT_MAX): Likewise.
142 (INT_MAX): Likewise.
143 (INT_MIN): Use macro-int-constant. Specify type. Make upper
144 bound negative.
145 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
146 bound with "U".
147 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
148 bound with "L".
149 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
150 bound negative. Suffix upper bound with "L".
151 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
152 bound with "UL".
153 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
154 Specify type.
155 [C99-based standards] (LLONG_MAX): Likewise.
156 [C99-based standards] (ULLONG_MAX): Likewise.
157 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
158 == 0.
159 [ISO11] (max_align_t): Require type.
160 [ISO || ISO99 || ISO11] (*_t): Do not allow.
161
162 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
163 from $CFLAGS, without defining away __attribute__ calls.
164 (checknamespace): Use $CFLAGS_namespace.
165
166 * conform/conformtest.pl (@keywords): Only include C99 keywords
167 for standards based on C99 or C11.
168
169 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
170 Disable tests.
171 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
172 UNIX98]: Likewise.
173
174 * conform/conformtest.pl: Handle "macro-int-constant" and test for
175 usability of symbols in #if.
176
177 * conform/conformtest.pl: If macro or constant types start
178 "promoted:", expect the symbol to be of the following type
179 promoted by the integer promotions.
180
181 * conform/conformtest.pl: Parse all "constant" and "macro" lines
182 in one place. Also handle "macro-constant".
183
184 * conform/conformtest.pl: Only accept expected macro values with
185 "==". Parse all "macro" lines in one place.
186 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
187
188 * conform/conformtest.pl: Handle braced types on "constant" lines
189 instead of handling "typed-constant".
190 * conform/data/signal.h-data: Use "constant" instead of
191 "typed-constant".
192
193 * conform/conformtest.pl: Handle "optional-" at start of lines in
194 one place rather than duplicating several cases. Handle each
195 format of "macro" line with initial "optional-".
196
197 * conform/conformtest.pl: Only accept expected constant or
198 optional-constant values with "==". Parse all "constant" lines in
199 one place. Parse all "optional-constant" lines in one place.
200 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
201 * conform/data/fmtmsg.h-data: Likewise.
202 * conform/data/netinet/in.h-data: Likewise.
203 * conform/data/tar.h-data: Likewise.
204 * conform/data/limits.h-data: Use "==" form on "constant" and
205 "optional-constant" lines.
206
207 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
208 Use -std=c99 for XOPEN2K.
209 (@knownproblems): Remove.
210 (newtoken): Don't check %isknown.
211
212 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
213 Do not expect macro.
214 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
215 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
216 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
217 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
218 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
219 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
220 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
221 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
222 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
223 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
224 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
225 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
226 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
227 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
228 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
229 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
230 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
231 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
232 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
233 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
234 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
235 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
236 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
237 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
238 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
239 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
240 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
241 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
242 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
243 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
244 [XPG3] (acosh): Likewise.
245 [XPG3] (asinh): Likewise.
246 [XPG3] (atanh): Likewise.
247 [XPG3] (cbrt): Likewise.
248 [XPG3] (expm1): Likewise.
249 [XPG3] (ilogb): Likewise.
250 [XPG3] (log1p): Likewise.
251 [XPG3] (logb): Likewise.
252 [XPG3] (nextafter): Likewise.
253 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
254 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
255 [XPG3] (remainder): Likewise.
256 [XPG3] (rint): Likewise.
257 [XPG3 || XPG4 || UNIX98] (round): Likewise.
258 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
259 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
260 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
261 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
262 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
263 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
264 [UNIX98 || XOPEN2K] (scalb): Expect.
265 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
266 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
267 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
268 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
269 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
270 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
271 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
272 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
273 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
274 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
275 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
276 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
277 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
278 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
279 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
280 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
281 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
282 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
283 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
284 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
285 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
286 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
287 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
288 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
289 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
290 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
291 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
292 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
293 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
294 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
295 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
296 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
297 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
298 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
299 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
300 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
301 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
302 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
303 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
304 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
305 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
306 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
307 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
308 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
309 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
310 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
311 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
312 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
313 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
314 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
315 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
316 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
317 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
318 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
319 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
320 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
321 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
322 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
323 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
324 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
325 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
326 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
327 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
328 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
329 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
330 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
331 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
332 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
333 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
334 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
335 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
336 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
337 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
338 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
339 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
340 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
341 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
342 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
343 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
344 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
345 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
346 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
347 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
348 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
349 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
350 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
351 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
352 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
353 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
354 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
355 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
356 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
357 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
358 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
359 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
360 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
361 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
362 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
363 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
364 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
365 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
366 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
367 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
368 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
369 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
370 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
371 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
372 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
373 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
374 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
375 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
376 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
377 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
378 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
379 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
380 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
381 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
382 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
383 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
384 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
385 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
386 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
387 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
388 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
389 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
390 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
391 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
392 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
393 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
394 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
395 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
396 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
397 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
398 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
399 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
400 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
401 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
402
403 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
404 _XOPEN_SOURCE_EXTENDED for XPG4.
405
406 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
407
408 * Makeconfig (localtime): Remove variable.
409 (inst_localtime-file): Likewise.
410
411 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
412
413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
414 Update.
415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
416 Update.
417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
418 Update.
419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
420 Update.
421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
422 Update.
423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
424 Update.
425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
426 Update.
427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
428 Update.
429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
430 Update.
431
432 2012-05-01 Joseph Myers <joseph@codesourcery.com>
433
434 [BZ #2550]
435 [BZ #2570]
436 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
437 comparisons to determine direction to adjust input.
438 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
439 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
440 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
441 Likewise.
442 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
443 Likewise.
444 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
445 Likewise.
446 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
447 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
448 Likewise.
449 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
450 Likewise.
451 * math/libm-test.inc (nexttoward_test): Add more tests.
452
453 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
454
455 [BZ #14040]
456 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
457 in version GLIBC_2.1, not GLIBC_2.0.
458 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
459 Likewise.
460
461 2012-04-30 Joseph Myers <joseph@codesourcery.com>
462
463 [BZ #13942]
464 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
465 (1 - x) * (1 + x).
466 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
467 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
468 * math/libm-test.inc (acos_test): Add more tests.
469 (asin_test): Likewise.
470 * sysdeps/i386/fpu/libm-test-ulps: Update.
471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
472
473 [BZ #14034]
474 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
475 of square root.
476 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
477 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
478 * math/libm-test.inc (acos_test_tonearest): New function.
479 (acos_test_towardzero): Likewise.
480 (acos_test_downward): Likewise.
481 (acos_test_upward): Likewise.
482 (asin_test_tonearest): Likewise.
483 (asin_test_towardzero): Likewise.
484 (asin_test_downward): Likewise.
485 (asin_test_upward): Likewise.
486 (main): Call the new functions.
487 * sysdeps/i386/fpu/libm-test-ulps: Update.
488 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
489
490 [BZ #13884]
491 [BZ #13924]
492 * math/e_exp10.c: Include <float.h>.
493 (__ieee754_exp10): Handle underflow here rather than multiplying
494 large negative argument by M_LN10.
495 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
496 of __ieee754_expf.
497 * math/e_exp10l.c: Include <float.h>.
498 (__ieee754_exp10l): Handle underflow here rather than multiplying
499 large negative argument by M_LN10l.
500 * math/libm-test.inc (exp10_test): Add another test. Do not allow
501 spurious overflow exception on underflow.
502
503 2012-04-29 Marek Polacek <polacek@redhat.com>
504
505 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
506 (__fortify_function): New macro.
507 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
508 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
509 __extern_always_inline.
510 * libio/bits/stdio2.h: Likewise.
511 * libio/bits/stdio.h: Likewise.
512 * string/string.h: Likewise.
513 * string/bits/string3.h: Likewise.
514 * include/stdio.h: Likewise.
515 * stdlib/bits/stdlib.h: Likewise.
516 * stdlib/stdlib.h: Likewise.
517 * rt/bits/mqueue2.h: Likewise.
518 * rt/mqueue.h: Likewise.
519 * posix/bits/unistd.h: Likewise.
520 * posix/unistd.h: Likewise.
521 * io/bits/poll2.h: Likewise.
522 * io/bits/fcntl2.h: Likewise.
523 * io/fcntl.h: Likewise.
524 * io/sys/poll.h: Likewise.
525 * misc/bits/syslog.h: Likewise.
526 * misc/bits/syslog-ldbl.h: Likewise.
527 * misc/sys/syslog.h: Likewise.
528 * socket/bits/socket2.h: Likewise.
529 * socket/sys/socket.h: Likewise.
530 * debug/tst-chk1.c: Likewise.
531 * wcsmbs/bits/wchar2.h: Likewise.
532 * wcsmbs/bits/wchar-ldbl.h: Likewise.
533 * wcsmbs/wchar.h: Likewise.
534
535 2012-04-29 Andreas Jaeger <aj@suse.de>
536
537 * Makerules (tests): Remove enable-check-abi protection.
538 (check-abi-warn): Remove.
539 (check-abi-%): Remove check-abi-warn usage.
540
541 * configure.in: Remove check-abi configure option.
542 * configure: Regenerated.
543 * config.make.in (enable-check-abi): Remove.
544
545 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
546
547 [BZ #14033]
548 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
549 double functions to double *_finite functions.
550
551 [BZ #13941]
552 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
553 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
554 LDBL_MIN_EXP.
555 * stdio-common/Makefile (tests): Add tst-sprintf3.
556 * stdio-common/tst-sprintf3.c: New file.
557
558 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
559 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
560
561 2012-04-28 Joseph Myers <joseph@codesourcery.com>
562
563 * conform/conformtest.pl: Remove duplicate typed-constant
564 handling.
565
566 2012-04-28 David S. Miller <davem@davemloft.net>
567
568 * Makerules (%.abilist): Add vpath on sysdep_dirs.
569 (check-abi-%): Remove AWK script prerequisite and explicit
570 abilist directory.
571 (check-abi): Rewrite to just diff the symlist with the abilist.
572 (config-tls, config-abi-config): Delete, no longer used.
573 (update-abi-%): Remove AWK script and explicit abilist directory.
574 (update-abi): Rewrite to simply compare and conditionally copy the
575 symlist and the sysdep abilist file. Remove update-abi-config
576 checks.
577 * abilist/ld.abilist: Remove.
578 * abilist/libBrokenLocale.abilist: Remove.
579 * abilist/libanl.abilist: Remove.
580 * abilist/libcrypt.abilist: Remove.
581 * abilist/libdl.abilist: Remove.
582 * abilist/librt.abilist: Remove.
583 * abilist/libthread_db.abilist: Remove.
584 * abilist/libutil.abilist: Remove.
585 * scripts/extract-abilist.awk: Remove.
586 * scripts/merge-abilist.awk: Remove.
587 * sysdeps/generic/libcidn.abilist: New file.
588 * sysdeps/generic/libnss_compat.abilist: New file.
589 * sysdeps/generic/libnss_db.abilist: New file.
590 * sysdeps/generic/libnss_dns.abilist: New file.
591 * sysdeps/generic/libnss_files.abilist: New file.
592 * sysdeps/generic/libnss_hesiod.abilist: New file.
593 * sysdeps/generic/libnss_nis.abilist: New file.
594 * sysdeps/generic/libnss_nisplus.abilist: New file.
595 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
596 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
597 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
598 file.
599 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
600 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
601 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
602 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
603 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
604 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
605 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
606 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
607 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
608 file.
609 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
610 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
611 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
612 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
613 file.
614 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
615 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
616 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
617 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
618 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
619 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
620 file.
621 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
622 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
623 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
624 file.
625 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
626 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
627 New file.
628 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
629 New file.
630 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
631 New file.
632 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
633 New file.
634 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
635 New file.
636 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
637 New file.
638 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
639 New file.
640 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
641 New file.
642 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
643 New file.
644 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
645 New file.
646 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
647 New file.
648 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
649 New file.
650 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
651 New file.
652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
653 file.
654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
655 New file.
656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
657 New file.
658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
659 file.
660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
661 New file.
662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
663 New file.
664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
665 file.
666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
667 New file.
668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
669 New file.
670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
671 New file.
672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
673 New file.
674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
675 New file.
676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
677 New file.
678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
680 file.
681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
682 New file.
683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
684 file.
685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
686 file.
687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
688 file.
689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
690 file.
691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
692 file.
693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
694 New file.
695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
696 file.
697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
698 file.
699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
700 New file.
701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
702 file.
703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
705 file.
706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
707 New file.
708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
709 file.
710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
711 file.
712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
713 file.
714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
715 file.
716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
717 file.
718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
719 New file.
720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
721 file.
722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
723 file.
724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
725 New file.
726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
727 file.
728 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
729 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
730 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
731 file.
732 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
733 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
734 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
735 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
736 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
737 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
738 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
739 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
740 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
741 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
744 file.
745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
746 New file.
747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
748 file.
749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
750 file.
751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
752 file.
753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
754 file.
755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
756 file.
757 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
758 New file.
759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
760 New file.
761 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
762 file.
763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
764 New file.
765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
766 file.
767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
769 file.
770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
771 New file.
772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
773 file.
774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
775 file.
776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
777 file.
778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
779 file.
780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
781 file.
782 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
783 New file.
784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
785 New file.
786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
787 file.
788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
789 New file.
790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
791 file.
792
793 2012-04-28 Joseph Myers <joseph@codesourcery.com>
794
795 * conform/conformtest.pl: Fix typo in handling typed-constant from
796 allow-header.
797
798 2012-04-27 Joseph Myers <joseph@codesourcery.com>
799
800 * README: Cut down references to pre-2.6 Linux kernels and
801 Linuxthreads. Update lists of configurations in libc and ports
802 and sort alphabetically. Say "or newer" with Linux kernel version
803 requirements.
804
805 * config.h.in [IS_IN_build]: Allow compiling without optimization.
806
807 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
808
809 [BZ #887]
810 * math/libm-test.inc (logb_test_downward): New test to expose
811 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
812 rounding mode.
813
814 2012-04-27 Joseph Myers <joseph@codesourcery.com>
815
816 [BZ #14027]
817 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
818 to be done.
819 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
820 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
821
822 2012-04-26 Joseph Myers <joseph@codesourcery.com>
823
824 * sysdeps/unix/i386/brk.S: Remove file.
825 * sysdeps/unix/i386/dl-brk.S: Likewise.
826 * sysdeps/unix/i386/pipe.S: Likewise.
827 * sysdeps/unix/i386/sigreturn.S: Likewise.
828 * sysdeps/unix/i386/syscall.S: Likewise.
829 * sysdeps/unix/i386/vfork.S: Likewise.
830 * sysdeps/unix/i386/wait.S: Likewise.
831
832 * sysdeps/unix/common/tcsendbrk.c: Move to ...
833 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
834
835 * configure.in (arm*-none*): Do not allow without
836 --enable-hacker-mode.
837 (netbsd*): Remove case setting base_os.
838 (386bsd*): Likewise.
839 (freebsd*): Likewise.
840 (bsdi*): Likewise.
841 (osf*): Likewise.
842 (sunos*): Likewise.
843 (ultrix*): Likewise.
844 (newsos*): Likewise.
845 (dynix*): Likewise.
846 (*bsd*): Likewise.
847 (sysv*): Likewise.
848 (isc*): Likewise.
849 (esix*): Likewise.
850 (sco*): Likewise.
851 (minix*): Likewise.
852 (irix4*): Likewise.
853 (irix6*): Likewise.
854 (solaris[2-9]*): Likewise.
855 (none): Likewise.
856 * configure: Regenerated.
857
858 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
859
860 [BZ #11521]
861 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
862 overflow or cancellation in calculating denominator.
863 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
864 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
865 down expression to avoid unexpected rounding in newer GCCs.
866 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
867
868 2012-04-26 David S. Miller <davem@davemloft.net>
869
870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
871 long-double compat symbols.
872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
885
886 2012-04-25 David S. Miller <davem@davemloft.net>
887
888 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
889 HWCAP_* values only after the memory barriers have been defined.
890 (atomic_full_barrier): Define.
891 (atomic_read_barrier): Define.
892 (atomic_write_barrier): Define.
893
894 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
895
896 * shlib-versions: Add libgcc_s version information.
897 * sysdeps/generic/libgcc_s.h: Remove.
898 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
899 libgcc_s.h.
900 * sysdeps/gnu/unwind-resume.c: Likewise.
901 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
902
903 2012-04-25 David S. Miller <davem@davemloft.net>
904
905 * sysdeps/unix/sparc/brk.S: Delete.
906 * sysdeps/unix/sparc/dl-brk.S: Delete.
907 * sysdeps/unix/sparc/pipe.S: Delete.
908 * sysdeps/unix/sparc/sysdep.S: Delete.
909 * sysdeps/unix/sparc/sysdep.h: Delete.
910 * sysdeps/unix/sparc/vfork.S: Delete.
911 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
912 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
913 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
914 ret_ERRVAL, r0, r1, MOVE): Define.
915 (JUMPTARGET): Remove.
916 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
917 sysdeps/unix/sparc/sysdep.h
918 (ENTRY, END): Remove.
919 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
920
921 2012-04-25 Joseph Myers <joseph@codesourcery.com>
922
923 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
924 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
925 -DIS_IN_build.
926
927 * timezone/README: Update upstream location and email address for
928 tzcode and tzdata.
929 * timezone/zdump.c: Update from tzcode 2012b.
930 * timezone/zic.c: Likewise.
931
932 * configure.in (libc_cv_as_needed): Remove test.
933 * configure: Regenerated.
934 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
935 conditional definition.
936 [$(have-as-needed) != yes] (no-as-needed): Likewise.
937 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
938 * config.make.in (have-as-needed): Remove variable.
939
940 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
941 Paul Pluzhnikov <ppluzhnikov@google.com>
942
943 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
944 strings correctly.
945
946 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
947
948 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
949 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
950 * sysdeps/sh/strlen.S: Likewise.
951
952 2012-04-24 Joseph Myers <joseph@codesourcery.com>
953
954 * sysdeps/unix/fork.S: Remove file.
955 * sysdeps/unix/i386/fork.S: Likewise.
956 * sysdeps/unix/sparc/fork.S: Likewise.
957
958 * sysdeps/unix/system.c: Remove file.
959 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
960
961 * sysdeps/unix/getegid.S: Remove file.
962 * sysdeps/unix/geteuid.S: Likewise.
963
964 2012-04-24 Roland McGrath <roland@hack.frob.com>
965
966 * scripts/check-localplt.awk: New file.
967 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
968 of diff.
969 * scripts/data/localplt-generic.data: Add a comment.
970
971 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
972 NODE when __dir_mkfile failed.
973 * sysdeps/mach/hurd/symlinkat.c: Likewise.
974 Reported by Ludovic Courtès <ludo@gnu.org>.
975
976 2012-04-24 Andreas Jaeger <aj@suse.de>
977
978 * Makerules (common-clean): Also remove gen-as-const-headers
979 files.
980
981 2012-04-24 Joseph Myers <joseph@codesourcery.com>
982
983 * Makerules (native-compile): Do not change working directory for
984 build. Use $(OUTPUT_OPTION) in command.
985 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
986
987 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
988
989 [BZ #13886]
990 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
991 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
992 * math/libm-test.inc (floor_test): Add more tests.
993 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
994
995 2012-04-24 Joseph Myers <joseph@codesourcery.com>
996
997 * sysdeps/unix/getdents.c: Remove file.
998 * sysdeps/unix/sysv/getdents.c: Likewise.
999 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1000
1001 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1002 sysdeps/unix/mman/syscalls.list.
1003 (mmap): Likewise.
1004 (mprotect): Likewise.
1005 (msync): Likewise.
1006 (munmap): Likewise.
1007 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1008 * sysdeps/unix/mman/syscalls.list: Remove.
1009 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1010
1011 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1012 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1013 * configure: Regenerated.
1014 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1015 $(libgcc_s_suffix).
1016 * config.make.in (libgcc_s_suffix): Remove variable.
1017
1018 2012-04-23 Joseph Myers <joseph@codesourcery.com>
1019
1020 * sysdeps/unix/sysv/gethostname.c: Move to ...
1021 * sysdeps/posix/gethostname.c: ... here.
1022
1023 * sysdeps/unix/execve.S: Remove file.
1024
1025 * sysdeps/unix/_exit.S: Remove file.
1026
1027 2012-04-23 Andreas Jaeger <aj@suse.de>
1028
1029 [BZ #13739]
1030 * manual/Makefile: Remove make dist support, there's no
1031 need for a stand-alone documentation tar ball.
1032 (TEXI2DVI): Define always, it's not in Makeconfig.
1033 (dist): Removed.
1034 (tar-it): Removed.
1035 (edition): Removed.
1036 (glibc-doc-$(edition).tar): Removed
1037 (%.Z): Removed.
1038 (%.gz): Removed.
1039 (%.uu): Removed.
1040 (ETAGS): Remove, it's in Makeconfig.
1041 (move-if-change): Remove, it's in Makeconfig.
1042
1043 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1044
1045 [BZ #13970]
1046 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1047 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1048 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1049 (strtod_l, strtof_l, strtold_l): Remove __wur.
1050 It is not necessarily an error to ignore strtol's return value.
1051 One can reliably look at the stored endptr to decide whether
1052 the number had valid syntax.
1053
1054 2012-04-21 Andreas Jaeger <aj@suse.de>
1055
1056 [BZ #13739]
1057 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1058
1059 2012-04-21 Joseph Myers <joseph@codesourcery.com>
1060
1061 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1062 * sysdeps/unix/sysv/Versions: Remove file.
1063
1064 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1065
1066 [BZ #13927]
1067 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1068
1069 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
1070
1071 [BZ #7064]
1072 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1073 version from __vm86.
1074
1075 2012-04-20 Joseph Myers <joseph@codesourcery.com>
1076
1077 * sysdeps/unix/common/lxstat.c: Remove file.
1078 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1079
1080 * sysdeps/unix/sysv/Makefile: Remove file.
1081
1082 * sysdeps/unix/sysv/direct.h: Remove file.
1083
1084 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1085 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1086 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1087 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1088 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1089 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1090 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1091
1092 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1093
1094 * sysdeps/unix/xmknod.c: Remove file.
1095 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1096
1097 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1098
1099 * sysdeps/unix/sysv/i386/time.S: Remove file.
1100
1101 * sysdeps/unix/fxstat.c: Remove file.
1102 * sysdeps/unix/xstat.c: Likewise.
1103 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1104
1105 * sysdeps/unix/sysv/sigaction.c: Remove file.
1106
1107 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1108 (sysdep_headers): Remove variable.
1109 [termio.h not in sysdep_headers] (generated): Likewise.
1110 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1111 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1112 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1113 * sysdeps/unix/sysv/tcflow.c: Likewise.
1114 * sysdeps/unix/sysv/tcflush.c: Likewise.
1115 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1116 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1117 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1118 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1119 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1120
1121 * sysdeps/unix/siglist.c: Remove file.
1122
1123 * sysdeps/unix/getppid.S: Remove file.
1124
1125 * sysdeps/unix/mkdir.c: Remove file.
1126 * sysdeps/unix/rmdir.c: Likewise.
1127
1128 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1129
1130 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1131 ERR_MAX value.
1132 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1133 errlist-compat value.
1134
1135 2012-04-18 David S. Miller <davem@davemloft.net>
1136
1137 * sysdeps/generic/memcopy.h (reg_char): Delete.
1138 * debug/strcat_chk.c: Use char, not reg_char.
1139 * debug/strcpy_chk.c: Likewise.
1140 * debug/strncat_chk.c: Likewise.
1141 * debug/strncpy_chk.c: Likewise.
1142 * string/memchr.c: Likewise.
1143 * string/memrchr.c: Likewise.
1144 * string/rawmemchr.c: Likewise.
1145 * string/strcat.c: Likewise.
1146 * string/strchr.c: Likewise.
1147 * string/strchrnul.c: Likewise.
1148 * string/strcmp.c: Likewise.
1149 * string/strcpy.c: Likewise.
1150 * string/strncat.c: Likewise.
1151 * string/strncmp.c: Likewise.
1152 * string/strncpy.c: Likewise.
1153
1154 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1155
1156 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1157 __builtin_memcopy is called when src and dest ranges are known to not
1158 overlap.
1159
1160 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1161
1162 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1163 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1164 fwd_align_merge macro call.
1165 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1166 bwd_align_merge macro call.
1167 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1168
1169 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1170
1171 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1172 bwd_align_merge macros.
1173 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1174 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1175 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1176
1177 2012-04-18 David S. Miller <davem@davemloft.net>
1178
1179 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1180
1181 2012-04-18 Andreas Jaeger <aj@suse.de>
1182
1183 [BZ# 6794]
1184 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1185 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1186 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1187
1188 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1189 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1190 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1191
1192 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1193 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1194 Adjust for changed ldbl-128 files.
1195
1196 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1197 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1198 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1199
1200 2012-04-17 David S. Miller <davem@davemloft.net>
1201
1202 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1203
1204 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1205
1206 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1207 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1208 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1209 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1210 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1211 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1212
1213 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1214
1215 [BZ #6794]
1216 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1217 * math/libm-test.inc: Add ilogb errno and exception tests.
1218 * math/w_ilogb.c: New file: ilogb wrapper.
1219 * math/w_ilogbf.c: New file: ilogbf wrapper.
1220 * math/w_ilogbl.c: New file: ilogbl wrapper.
1221 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1222 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1223 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1224 exception being thrown with 0.0 as argument.
1225 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1226 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1227 exception being thrown with 0.0 as argument.
1228 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1229 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1230 exception being thrown with 0.0 as argument.
1231 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1232 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1233 exception being thrown with 0.0 as argument.
1234 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1235 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
1236 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
1237 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1238 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1239 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1240 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1241 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1242 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1243
1244 2012-04-17 Petr Baudis <pasky@ucw.cz>
1245
1246 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1247 with altivec.
1248
1249 2012-04-16 Marek Polacek <polacek@redhat.com>
1250
1251 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1252
1253 2012-04-16 Marek Polacek <polacek@redhat.com>
1254
1255 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1256 operands of fdivp instruction.
1257
1258 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1259
1260 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1261 * elf/tst-auditmod3b.c: Likewise.
1262 * elf/tst-auditmod4b.c: Likewise.
1263 * elf/tst-auditmod5b.c: Likewise.
1264 * elf/tst-auditmod6b.c: Likewise.
1265 * elf/tst-auditmod6c.c: Likewise.
1266 * elf/tst-auditmod7b.c: Likewise.
1267 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1268 * sysdeps/x86_64/preconfigure.in: Likewise.
1269 * sysdeps/x86_64/preconfigure: Regenerated.
1270
1271 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1272
1273 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1274 __ILP32__.
1275
1276 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
1277
1278 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1279 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1280
1281 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1282
1283 [BZ #13973]
1284 * locale/iso-639.def: Fix gl language name. Spotted by
1285 Yaron Shahrabani.
1286
1287 2012-04-12 Roland McGrath <roland@hack.frob.com>
1288
1289 [BZ #2074]
1290 * libio/libio.h (__io_write_fn): Update comment.
1291
1292 2012-04-12 Petr Baudis <pasky@ucw.cz>
1293
1294 [BZ #2074]
1295 * stdio.texi (Hook Functions): The user provided writer function
1296 is not allowed to return -1.
1297
1298 2012-04-11 David S. Miller <davem@davemloft.net>
1299
1300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1301
1302 2012-04-11 Mike Frysinger <vapier@gentoo.org>
1303
1304 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1305 Add a leading slash to rtkaio.
1306
1307 2012-04-11 Jim Meyering <meyering@redhat.com>
1308
1309 [BZ #11959]
1310 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1311 It is not necessarily an error to ignore fwrite's return
1312 value. One can reliably use ferror to test for errors after
1313 the fact.
1314
1315 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1316
1317 * bits/types.h (__snseconds_t): New type.
1318 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1319
1320 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1321 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1322 (__SNSECONDS_T_TYPE): Likewise.
1323 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1324 (__SNSECONDS_T_TYPE): Likewise.
1325 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1326 (__SNSECONDS_T_TYPE): Likewise.
1327
1328 2012-04-10 Andreas Jaeger <aj@suse.de>
1329
1330 [BZ #2636]
1331 * manual/time.texi (Processor Time): Return type of times is
1332 elapsed real time since an arbitrary point in the past.
1333 (CPU Time): Move CLK_TCK from here...
1334 (Processor Time): ...to here. Correct description.
1335 * manual/conf.texi (Constants for Sysconf): Correct description of
1336 _SC_CLK_TCK.
1337
1338 2012-04-10 David S. Miller <davem@davemloft.net>
1339
1340 [BZ #13967]
1341 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1342 where the is a gap between DT_REL(A) and DT_JMPREL.
1343
1344 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1345
1346 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1347 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1348 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1349
1350 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1351
1352 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1353 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1354 (dl_main): Handle --inhibit-cache.
1355 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1356 _dl_inhibit_cache.
1357 * elf/dl-load.c (_dl_map_object): Use it.
1358 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1359
1360 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1361
1362 [BZ #13872]
1363 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1364 (__ieee754_powl): Saturate large exponents rather than testing for
1365 overflow of y*log2(x).
1366 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1367 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1368 exceptions.
1369
1370 [BZ #11521]
1371 * math/s_ctan.c: Include <float.h>.
1372 (__ctan): Avoid internal overflow or cancellation in calculating
1373 denominator.
1374 * math/s_ctanf.c: Likewise.
1375 * math/s_ctanl.c: Likewise.
1376 * math/s_ctanh.c: Likewise.
1377 * math/s_ctanhf.c: Likewise.
1378 * math/s_ctanhl.c: Likewise.
1379 * math/libm-test.inc (ctan_test): Add more tests.
1380 (ctanh_test): Likewise.
1381 * sysdeps/i386/fpu/libm-test-ulps: Update.
1382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1383
1384 2012-04-09 Andreas Jaeger <aj@suse.de>
1385
1386 [BZ #6894]
1387 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1388 is an optional BSD extension.
1389
1390 [BZ #10254]
1391 * manual/stdio.texi (Opening Streams): Document additional fopen
1392 parameters.
1393
1394 2012-04-09 Roland McGrath <roland@hack.frob.com>
1395
1396 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1397 %eax without telling the compiler.
1398
1399 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1400
1401 [BZ # 13963]
1402 * manual/install.texi: Use sourceware.org.
1403
1404 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1405
1406 [BZ #13873]
1407 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1408 (__ieee754_pow): Generate overflow and underflow using huge*huge
1409 and tiny*tiny rather than just returning constant infinity or zero
1410 for large exponents.
1411 * math/libm-test.inc (pow_test): Require overflow exceptions for
1412 applicable cases of large exponents.
1413
1414 [BZ #706]
1415 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1416 (__ieee754_pow): Use iterative multiplication algorithm only for
1417 integer exponents with absolute value below 1024. Check for odd
1418 integer exponents when using algorithm for real exponents.
1419 * math/libm-test.inc (pow_test): Add more tests.
1420 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1421
1422 2012-04-08 Joseph Myers <joseph@codesourcery.com>
1423
1424 [BZ #13705]
1425 * math/libm-test.inc (exp_test): Do not allow overflow exception
1426 on underflow test.
1427
1428 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1429
1430 [BZ #13705]
1431 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1432 instead of __kernel_standard_f.
1433
1434 2012-04-08 Mike Frysinger <vapier@gentoo.org>
1435
1436 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1437 * sysdeps/x86_64/memset_chk.S: Likewise.
1438
1439 2012-04-08 Andreas Jaeger <aj@suse.de>
1440
1441 [BZ #10153]
1442 * manual/startup.texi (Environment Access): Describe return value
1443 for putenv and setenv.
1444
1445 [BZ #6895]
1446 * manual/filesys.texi (Directory Entries): Add description for
1447 DT_LNK.
1448
1449 [BZ #6890]
1450 * manual/filesys.texi (Directory Entries): Clarify that it's file
1451 system not operating system in the description of DT_UNKNOWN.
1452
1453 [BZ #6578]
1454 * manual/syslog.texi (closelog): Fix reference, it's openlog.
1455
1456 2012-04-08 Stephen Compall <s11@member.fsf.org>
1457
1458 [BZ #6649]
1459 * manual/llio.texi (Opening and Closing Files): Add cross
1460 reference to explain mode argument.
1461
1462 2012-04-07 Mike Frysinger <vapier@gentoo.org>
1463
1464 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1465 * sysdeps/x86_64/memset_chk.S: Likewise.
1466
1467 2012-04-07 David S. Miller <davem@davemloft.net>
1468
1469 * elf/elf.h (R_SPARC_WDISP10): Define.
1470 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1471 R_SPARC_SIZE32.
1472 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1473 R_SPARC_SIZE64 and R_SPARC_H34.
1474
1475 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1476
1477 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1478 conditions and remove no longer applicable assertion.
1479
1480 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1481
1482 * bits/byteswap.h: Include <features.h>.
1483 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1484 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1485
1486 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1487
1488 * bits/byteswap.h (__bswap_16): Removed.
1489 Include <bits/byteswap-16.h> to get __bswap_16.
1490 * sysdeps/i386/bits/byteswap.h: Likewise.
1491 * sysdeps/s390/bits/byteswap.h: Likewise.
1492 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1493 * bits/byteswap-16.h: New file.
1494 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1495 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1496 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1497 * string/Makefile (headers): Add bits/byteswap-16.h.
1498
1499 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1500
1501 [BZ #13895]
1502 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1503 extra indirection.
1504 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1505 * nss/tst-nss-static.c: New.
1506
1507 2012-04-06 Robert Millan <rmh@gnu.org>
1508
1509 [BZ #6486]
1510 * manual/llio.texi (File Position Primitive): lseek
1511 refers to WHENCE when it really means OFFSET.
1512
1513 2012-04-06 Andreas Jaeger <aj@suse.de>
1514
1515 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1516 strncmp declarations.
1517
1518 * abilist/libc.abilist: Add __poll and __ppoll.
1519
1520 2012-04-05 David S. Miller <davem@davemloft.net>
1521
1522 * scripts/check-local-headers.sh: Accept a host triplet in the
1523 path matched by the exclude regexp.
1524
1525 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1526 definition.
1527 * sysdeps/powerpc/powerpc32/dl-machine.h
1528 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1529 * sysdeps/s390/s390-32/dl-machine.h
1530 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1531 * sysdeps/sparc/sparc32/dl-machine.h
1532 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1533 * sysdeps/sparc/sparc64/dl-machine.h
1534 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1535
1536 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1537 lazy binding.
1538 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
1539 undefined symbol errors.
1540
1541 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
1542 DT_NEEDED entries.
1543
1544 2012-04-05 Michael Matz <matz@suse.de>
1545
1546 [BZ #13592]
1547 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1548
1549 2012-04-05 Andreas Jaeger <aj@suse.de>
1550
1551 [BZ #13908]
1552 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1553 comment.
1554
1555 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1556
1557 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1558 which ROUND is no valid rounding mode.
1559
1560 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1561
1562 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1563 read again.
1564 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1565
1566 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1567
1568 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1569 an exception using FPU order intentionally.
1570
1571 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1572
1573 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1574 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1575 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1576 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1577
1578 2012-04-05 Simon Josefsson <simon@josefsson.org>
1579
1580 [BZ #12340]
1581 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1582 EINVAL when BUFLEN is too smal.
1583
1584 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1585
1586 [BZ #13553]
1587 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1588 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1589
1590 2012-04-03 Andreas Jaeger <aj@suse.de>
1591
1592 [BZ #13938]
1593 * manual/setjmp.texi (System V contexts): Fix sentence.
1594
1595 [BZ #13926]
1596 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1597 New macro for this case.
1598 [!__GNUC__] (__bswap_64): New inline function for this case.
1599 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1600 * bits/byteswap.h: Likewise.
1601 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1602 ull, guard with __GLIBC_HAVE_LONG_LONG.
1603
1604 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1605 __GLIBC_HAVE_LONG_LONG.
1606
1607 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1608 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1609
1610 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1611
1612 [BZ #13691]
1613 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1614 inptr and inend, rather than using last_ch.
1615
1616 2012-04-02 David S. Miller <davem@davemloft.net>
1617
1618 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1619 * stdio-common/printf-parse.h (read_int): Change return type to
1620 'int', return -1 on INT_MAX overflow.
1621 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1622 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
1623 overflows INT_MAX. Check for overflow of in-format-string precision
1624 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
1625 SIZE_MAX not INT_MAX for integer overflow test.
1626 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1627 skip the construct in the format string but do not record anything.
1628 * stdio-common/bug22.c: Adjust to test both width/prevision
1629 INT_MAX overflow as well as total length INT_MAX overflow. Check
1630 explicitly for proper errno values.
1631
1632 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
1633
1634 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1635 CHAR_MAX.
1636 * string/test-strcmp.c [! WIDE]: Likewise.
1637 * time/tst-mktime2.c: Likewise for INT_MAX.
1638 * string/test-string.h: #include <sys/param.h> for MIN.
1639
1640 * csu/init-first.c (__libc_init_first): Call __ctype_init.
1641 * sysdeps/i386/init-first.c (init): Likewise.
1642 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1643 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1644 * sysdeps/sh/init-first.c (init): Likewise.
1645
1646 2012-04-01 Ulrich Drepper <drepper@gmail.com>
1647
1648 * po/ru.po: Update from translation team.
1649 * po/vi.po: Likewise.
1650
1651 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1652
1653 * resolv/nss_dns/dns-host.c: Merge copyright years.
1654
1655 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1656
1657 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1658 Optimize memcpy with prefetch if
1659 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
1660 src, dst pointers have unequal 16 byte alignments.
1661
1662 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1663
1664 [BZ #13928]
1665 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1666 from a CNAME entry and return the minimum ttl for the query.
1667 (gaih_getanswer_slice): Likewise.
1668
1669 2012-03-30 Jeff Law <law@redhat.com>
1670
1671 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1672 due to long keys.
1673 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1674 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1675
1676 * resolv/nss_dns/dns-host.c: Update copyright year.
1677
1678 2012-03-30 Ulrich Drepper <drepper@gmail.com>
1679
1680 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
1681 requests to save a system call. Fix check that all bytes are sent.
1682
1683 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1684 comments for sendmmsg.
1685
1686 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1687
1688 [BZ #13691]
1689 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1690 with only 1 character between 0x0041 and 0x01b0.
1691 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1692 * wcsmbs/tst-mbsnrtowcs.c: New file.
1693
1694 2012-03-29 David S. Miller <davem@davemloft.net>
1695
1696 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1697 small copies by hand.
1698
1699 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1700
1701 [BZ #13761]
1702 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1703 _nss_compat_initgroups_dyn): Fall back to malloc/free
1704 for large group memberships.
1705
1706 2012-03-28 David S. Miller <davem@davemloft.net>
1707
1708 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1709 that branches into memcpy.
1710 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1711 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1712 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1713 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1714 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1715 bits.
1716 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1717 implementation too.
1718 * sysdeps/sparc/mempcpy.S: New file.
1719
1720 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1721 the IFUNC routine in the libc case.
1722 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1723
1724 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1725 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1726 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1727 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1728 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1729 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1730 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1731 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1732
1733 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1734 loop to 256 bytes instead of 64 bytes and fix test signedness.
1735
1736 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1737 * sysdeps/sparc/sparc32/Makefile: rather than here...
1738 * sysdeps/sparc/sparc64/Makefile: and here.
1739
1740 2012-03-28 Ulrich Drepper <drepper@gmail.com>
1741
1742 * malloc/mallocbug.c: Avoid warnings about unused variables.
1743
1744 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1745
1746 [BZ #13760]
1747 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1748 in the right place. Discard and retry query if response is
1749 larger than input buffer size.
1750
1751 2012-03-28 Joseph Myers <joseph@codesourcery.com>
1752
1753 [BZ #369]
1754 [BZ #2678]
1755 [BZ #3866]
1756 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1757 x for large integer exponent.
1758 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1759 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
1760 sign of result as needed afterwards.
1761 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1762 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1763 result for underflowing pow the same as for overflow.
1764 (__kernel_standard_l): Handle powl overflow and underflow here
1765 rather than calling __kernel_standard.
1766 * math/libm-test.inc (pow_test): Add more tests.
1767
1768 [BZ #3868]
1769 [BZ #13879]
1770 [BZ #13910]
1771 [BZ #13911]
1772 [BZ #13912]
1773 [BZ #13913]
1774 [BZ #13915]
1775 [BZ #13916]
1776 [BZ #13917]
1777 [BZ #13918]
1778 [BZ #13919]
1779 [BZ #13920]
1780 [BZ #13921]
1781 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1782 * sysdeps/ieee754/k_standard.c: Include <float.h>.
1783 (__kernel_standard_l): New function.
1784 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1785 __kernel_standard.
1786 * math/w_acosl.c (__acosl): Likewise.
1787 * math/w_asinl.c (__asinl): Likewise.
1788 * math/w_atan2l.c (__atan2l): Likewise.
1789 * math/w_atanhl.c (__atanhl): Likewise.
1790 * math/w_coshl.c (__coshl): Likewise.
1791 * math/w_exp10l.c (__exp10l): Likewise.
1792 * math/w_exp2l.c (__exp2l): Likewise.
1793 * math/w_fmodl.c (__fmodl): Likewise.
1794 * math/w_hypotl.c (__hypotl): Likewise.
1795 * math/w_j0l.c (__j0l, __y0l): Likewise.
1796 * math/w_j1l.c (__j1l, __y1l): Likewise.
1797 * math/w_jnl.c (__jnl, __ynl): Likewise.
1798 * math/w_lgammal.c (__lgammal): Likewise.
1799 * math/w_log10l.c (__log10l): Likewise.
1800 * math/w_log2l.c (__log2l): Likewise.
1801 * math/w_logl.c (__logl): Likewise.
1802 * math/w_powl.c (__powl): Likewise.
1803 * math/w_remainderl.c (__remainderl): Likewise.
1804 * math/w_scalbl.c (sysv_scalbl): Likewise.
1805 * math/w_sinhl.c (__sinhl): Likewise.
1806 * math/w_sqrtl.c (__sqrtl): Likewise.
1807 * math/w_tgammal.c (__tgammal): Likewise.
1808 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1809 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1810 * math/libm-test.inc (acos_test): Add more tests.
1811 (acosh_test): Likewise.
1812 (asin_test): Likewise.
1813 (atanh_test): Likewise.
1814 (exp_test): Likewise.
1815 (exp10_test): Likewise.
1816 (exp2_test): Likewise.
1817 (expm1_test): Likewise.
1818 (lgamma_test): Likewise.
1819 (log_test): Likewise.
1820 (log10_test): Likewise.
1821 (log1p_test): Likewise.
1822 (log2_test): Likewise.
1823 (pow_test): Do not allow some spurious overflow exceptions.
1824 (sqrt_test): Add more tests.
1825 (tgamma_test): Likewise.
1826 (y0_test): Likewise.
1827 (y1_test): Likewise.
1828 (yn_test): Likewise.
1829
1830 2012-03-27 Anton Blanchard <anton@samba.org>
1831
1832 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1833 MAP_HUGETLB.
1834 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1835 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1836 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1837
1838 2012-03-27 David S. Miller <davem@davemloft.net>
1839
1840 * conform/Makefile: Run run-conformtest.sh using $(BASH).
1841
1842 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1843 have-as-vis3 check.
1844
1845 2012-03-27 Andreas Jaeger <aj@suse.de>
1846
1847 * sysdeps/x86_64/elf/configure.in: Moved to ...
1848 * sysdeps/x86_64/configure.in: ... here.
1849 * sysdeps/x86_64/elf/start.S: Moved to ...
1850 * sysdeps/x86_64/start.S: ... here.
1851 * sysdeps/x86_64/elf/configure: Delete.
1852
1853 * sysdeps/x86_64/configure.in: Merge contents from
1854 sysdeps/i386/configure.in (without i686 check).
1855
1856 * sysdeps/i386/elf/Versions: Merge into ...
1857 * sysdeps/i386/Versions: ... this.
1858 * sysdeps/i386/elf/Versions: Delete file.
1859 * sysdeps/i386/elf/start.S: Moved to ...
1860 * sysdeps/i386/start.S: ...here.
1861 * sysdeps/i386/elf/configure.in: Merge into...
1862 * sysdeps/i386/configure.in: ...here.
1863 * sysdeps/i386/elf/configure.in: Delete file.
1864 * sysdeps/i386/elf/configure: Delete file.
1865
1866 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1867 * debug/backtracesyms.c: ... here.
1868 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1869 * debug/backtracesymsfd.c: ... here.
1870 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1871 * sysdeps/generic/ifunc-sel.h: ... here.
1872
1873 * sysdeps/unix/i386/start.c: Delete file.
1874 * sysdeps/unix/sparc/start.c: Delete file.
1875 * sysdeps/unix/start.c: Delete file.
1876
1877 * sysdeps/sh/elf/configure.in: Moved to ...
1878 * sysdeps/sh/configure.in: ... here.
1879 * sysdeps/sh/elf/start.S: Moved to ...
1880 * sysdeps/sh/start.S: ... here.
1881 * sysdeps/sh/elf/configure: Delete file.
1882
1883 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1884 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1885 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1886 * sysdeps/powerpc/powerpc64/entry.h: ... here.
1887 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1888 * sysdeps/powerpc/powerpc64/start.S: here.
1889 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1890 * sysdeps/powerpc/powerpc64/Makefile: ... this.
1891 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1892 * sysdeps/powerpc/powerpc64/configure.in: ... this.
1893 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1894
1895 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1896 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1897 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1898 * sysdeps/powerpc/powerpc32/start.S: ... here.
1899 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1900 * sysdeps/powerpc/powerpc32/configure.in: ... this.
1901 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1902
1903 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1904 * sysdeps/powerpc/ifunc-sel.h: ... here.
1905 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1906 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1907
1908 * sysdeps/sparc/elf/configure.in: Moved to ...
1909 * sysdeps/sparc/configure.in: ... here.
1910 * sysdeps/sparc/elf/configure: Delete file.
1911 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1912 * sysdeps/sparc/sparc32/start.S: ... here.
1913 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1914 * sysdeps/sparc/sparc64/start.S: ... here.
1915 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1916 * sysdeps/sparc/sparc32/Makefile: ... this.
1917 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1918 * sysdeps/sparc/sparc64/Makefile: ... this.
1919
1920 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1921 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1922 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1923 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1924 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1925 * sysdeps/s390/s390-32/setjmp.S: ... here.
1926 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1927 * sysdeps/s390/s390-32/configure.in: ... here.
1928 * sysdeps/s390/s390-32/elf/configure: Delete file.
1929 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1930 * sysdeps/s390/s390-32/start.S: ... here.
1931
1932 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1933 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1934 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1935 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1936 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1937 * sysdeps/s390/s390-64/setjmp.S: ... here.
1938 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1939 * sysdeps/s390/s390-64/configure.in: ... here
1940 * sysdeps/s390/s390-64/elf/configure: Delete file.
1941 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1942 * sysdeps/s390/s390-64/start.S: ... here.
1943 * sysdeps/s390/s390-64/elf/configure: Delete.
1944
1945 * configure.in: Remove support for elf directories in sysdeps.
1946
1947 * configure: Regenerated.
1948 * sysdeps/i386/configure: Regenerated.
1949 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1950 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1951 * sysdeps/s390/s390-32/configure: Regenerated.
1952 * sysdeps/s390/s390-64/configure: Regenerated.
1953 * sysdeps/sh/configure: Regenerated.
1954 * sysdeps/sparc/configure: Regenerated.
1955 * sysdeps/x86_64/configure: Regenerated.
1956
1957 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
1958
1959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1960
1961 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1962 denormal result into account.
1963
1964 2012-03-25 Roland McGrath <roland@hack.frob.com>
1965
1966 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1967 Reported by Allan McRae <allan@archlinux.org>.
1968
1969 2012-03-23 Jeff Law <law@redhat.com>
1970
1971 * nss/getnssent.c (__nss_getent): Fix typo.
1972
1973 2012-03-23 David S. Miller <davem@davemloft.net>
1974
1975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1976
1977 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
1978
1979 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1980 to pad to uint64_t for each field.
1981 (dl_tls_index): Replace unsigned long with uint64_t.
1982
1983 2012-03-23 Daniel Jacobowitz <dmj@google.com>
1984 Paul Pluzhnikov <ppluzhnikov@google.com>
1985
1986 [BZ #6528]
1987 * grp/Makefile (otherlibs): Don't set it.
1988 * inet/Makefile (otherlibs): Likewise.
1989 * login/Makefile (otherlibs): Likewise.
1990 * nscd/Makefile (otherlibs): Likewise.
1991 * posix/Makefile (otherlibs): Likewise.
1992 * pwd/Makefile (otherlibs): Likewise.
1993 * rt/Makefile (otherlibs): Likewise.
1994 * sunrpc/Makefile (otherlibs): Likewise.
1995 * nss/Makefile (otherlibs): Likewise.
1996 Add libnss_files to routines and static-only-routines.
1997 ($(objpfx)getent): Remove rule.
1998 * resolv/Makefile: Add libnss_dns and libresolv to routines and
1999 static-only-routines.
2000
2001 2012-03-22 Joseph Myers <joseph@codesourcery.com>
2002
2003 [BZ #13892]
2004 * math/s_cexp.c: Include <float.h>.
2005 (__cexp): Handle exp result overflowing not necessarily
2006 overflowing both real and imaginary parts of result.
2007 * math/s_cexpf.c: Likewise.
2008 * math/s_cexpl.c: Likewise.
2009 * math/libm-test.inc (cexp_test): Add more tests.
2010 * sysdeps/i386/fpu/libm-test-ulps: Update.
2011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2012
2013 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2014
2015 * include/link.h (ELFW): New macro.
2016 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2017 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2018
2019 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2020
2021 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2022 with uint64_t.
2023
2024 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2025
2026 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2027 declaration.
2028 (struct La_x32_retval): Likewise.
2029
2030 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2031
2032 * sysdeps/x86_64/preconfigure.in: New file.
2033 * sysdeps/x86_64/preconfigure: New generated file.
2034
2035 2012-03-22 Joseph Myers <joseph@codesourcery.com>
2036
2037 [BZ #13824]
2038 * math/e_exp2l.c: Include <float.h>.
2039 (__ieee754_exp2l): Handle overflow and underflow cases
2040 separately. Only pass fractional part of argument to
2041 __ieee754_expl.
2042 * math/libm-test.inc (exp2_test): Add more tests.
2043
2044 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2045 negating x to take absolute value.
2046 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2047 Likewise.
2048 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2049 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2050 Likewise.
2051 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2052 computing low part if x was negated.
2053 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2054
2055 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2056
2057 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2058 la_x32_gnu_pltexit.
2059 (pltexit): Cast int_retval to ptrdiff_t.
2060 * elf/tst-auditmod3b.c: Likewise.
2061 * elf/tst-auditmod4b.c: Likewise.
2062 * elf/tst-auditmod5b.c: Likewise.
2063 * elf/tst-auditmod6b.c: Likewise.
2064 * elf/tst-auditmod6c.c: Likewise.
2065 * elf/tst-auditmod7b.c: Likewise.
2066
2067 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2068 and x32_gnu_pltexit.
2069
2070 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2071 __ELF_NATIVE_CLASS.
2072 (La_x32_regs): New macro.
2073 (La_x32_retval): Likewise.
2074 (la_x32_gnu_pltenter): New function prototype.
2075 (la_x32_gnu_pltexit): Likewise.
2076
2077 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2078
2079 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2080 exponent.
2081
2082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2083
2084 * configure.in (libc_cv_cc_nofma): Check for option to disable
2085 generation of FMA instructions.
2086 * configure: Regenerate.
2087 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2088 * sysdeps/ieee754/dbl-64/Makefile: New file.
2089 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2090 Remove brandred-fma4.
2091 (CFLAGS-brandred-fma4.c): Remove.
2092 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2093 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2094 define.
2095 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2096 define.
2097
2098 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2099
2100 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2101 LLONG_MAX != LONG_MAX.
2102 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2103 (_fitoa_word): Likewise.
2104 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2105 LLONG_MAX != LONG_MAX.
2106 * stdio-common/_itowa.h: Include <_itoa.h>.
2107 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2108 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2109 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2110 only if not defined.
2111 (_ITOA_WORD_TYPE): Likewise.
2112 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2113 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2114
2115 2012-03-21 David S. Miller <davem@davemloft.net>
2116
2117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2118
2119 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2120
2121 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2122 of x86_64 when setting libc_cv_slibdir, libdir and
2123 libc_cv_localedir.
2124 * sysdeps/unix/sysv/linux/configure: Regenerated.
2125
2126 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2127
2128 * manual/lang.texi (Old Varargs): Remove section.
2129 (How Variadic): Update menu.
2130 (va_start): Do not mention varargs.h.
2131
2132 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2133 Joseph Myers <joseph@codesourcery.com>
2134
2135 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2136 link test.
2137 * configure: Regenerated.
2138
2139 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2140
2141 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2142 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2143 conformtest.pl
2144
2145 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2146
2147 * NOTES: Remove.
2148 * Makefile (files-for-dist): Remove NOTES.
2149 (NOTES): Remove rule.
2150 * README: Don't refer to NOTES.
2151 * manual/creature.texi: Don't include macros.texi.
2152 * manual/intro.texi (creature.texi): Remove comment referring to
2153 NOTES.
2154
2155 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2156 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2157 * configure: Regenerated.
2158 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2159 LIBC_TRY_CC_OPTION.
2160 (libc_cv_as_i686): Likewise.
2161 (libc_cv_cc_avx): Likewise.
2162 (libc_cv_cc_sse2avx): Likewise.
2163 (libc_cv_cc_fma4): Likewise.
2164 (libc_cv_cc_novzeroupper): Likewise.
2165 * sysdeps/i386/configure: Regenerated.
2166
2167 [BZ #13883]
2168 * sysdeps/i386/fpu/s_cexp.S: Remove.
2169 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2170 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2171 * math/libm-test.inc (cexp_test): Add more tests.
2172 * sysdeps/i386/fpu/libm-test-ulps: Update.
2173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2174
2175 2012-03-21 Allan McRae <allan@archlinux.org>
2176
2177 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2178
2179 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2180
2181 [BZ #13871]
2182 * math/w_exp2.c: Do not include <float.h>.
2183 (o_threshold, u_threshold): Remove.
2184 (__exp2): Calculate result before checking finiteness and calling
2185 __kernel_standard.
2186 * math/w_exp2f.c: Likewise.
2187 * math/w_exp2l.c: Likewise.
2188 * math/libm-test.inc (exp2_test): Require overflow exception for
2189 1e6 input.
2190
2191 [BZ #3866]
2192 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2193 range of signed 64-bit integers before using fistpll. Remove
2194 checks for whether integers fit in mantissa bits.
2195 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2196 the range of signed 32-bit integers before using fistpl. Remove
2197 checks for whether integers fit in mantissa bits.
2198 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2199 (__ieee754_powl): Test for y outside the range of signed 64-bit
2200 integers before using fistpll. Reduce 64-bit values to 63-bit
2201 ones as needed.
2202 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2203 divide-by-zero is raised for zero to large negative powers.
2204 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2205 (__ieee754_powl): Test for y outside the range of signed 64-bit
2206 integers before using fistpll. Reduce 64-bit values to 63-bit
2207 ones as needed.
2208 * math/libm-test.inc (pow_test): Add more tests.
2209
2210 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2211
2212 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2213 <stdio-common/_itoa.h>.
2214 * debug/segfault.c: Likewise.
2215 * elf/dl-cache.c: Likewise.
2216 * elf/dl-minimal.c: Likewise.
2217 * elf/dl-misc.c: Likewise.
2218 * elf/dl-sysdep.c: Likewise.
2219 * elf/dl-version.c: Likewise.
2220 * elf/rtld.c: Likewise.
2221 * hurd/hurdsock.c: Likewise.
2222 * hurd/lookup-retry.c: Likewise.
2223 * malloc/malloc.c: Likewise.
2224 * malloc/mtrace.c: Likewise.
2225 * nscd/nscd_getgr_r.c: Likewise.
2226 * nscd/nscd_getpw_r.c: Likewise.
2227 * nscd/nscd_getserv_r.c: Likewise.
2228 * posix/getopt_init.c: Likewise.
2229 * posix/wordexp.c: Likewise.
2230 * stdio-common/_itoa.c: Likewise.
2231 * stdio-common/printf_fphex.c: Likewise.
2232 * stdio-common/vfprintf.c: Likewise.
2233 * string/_strerror.c: Likewise.
2234 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2235 * sysdeps/i386/i686/hp-timing.h: Likewise.
2236 * sysdeps/mach/_strerror.c: Likewise.
2237 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2238 * sysdeps/mach/hurd/sethostid.c: Likewise.
2239 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2240 * sysdeps/mach/xpg-strerror.c: Likewise.
2241 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2242 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2243 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2244 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2245 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2246 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2247 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2248 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2249 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2250 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2251 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2252 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2253 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2254 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2255 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2256 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2257 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2258 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2259 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2260 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2261 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2262
2263 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2264
2265 * stdio-common/_itoa.h: Moved to ...
2266 * sysdeps/generic/_itoa.h: Here.
2267
2268 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2269
2270 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2271 instead of "_itoa.h" and "_itowa.h".
2272 * stdio-common/vfprintf.: Likewise.
2273
2274 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2275
2276 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2277 <bits/wordsize.h>.
2278 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2279 (__signbit): Likwise.
2280 (llrintf): Likwise.
2281 (llrint): Likwise.
2282
2283 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2284
2285 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2286 __WORDSIZE != 64.
2287
2288 2012-03-20 Joseph Myers <joseph@codesourcery.com>
2289
2290 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2291 OVERFLOW_EXCEPTION_OK.
2292 * math/libm-test.inc ("Philosophy"): Update comment about
2293 exception testing.
2294 (OVERFLOW_EXCEPTION): Define.
2295 (OVERFLOW_EXCEPTION_OK): Likewise.
2296 (INVALID_EXCEPTION_OK): Renumber.
2297 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2298 (IGNORE_ZERO_INF_SIGN): Likewise.
2299 (test_exceptions): Handle FE_OVERFLOW.
2300 (exp10_test): Expect overflow exceptions.
2301 (exp2_test): Likewise.
2302 (expm1_test): Likewise.
2303 (nextafter_test): Likewise.
2304 (pow_test): Likewise.
2305 (scalbn_test): Likewise.
2306 (scalbln_test): Likewise.
2307
2308 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2309
2310 * sysdeps/x86_64/bits/atomic.h
2311 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2312 64bit integer.
2313 (atomic_exchange_acq): Likewise.
2314 (__arch_exchange_and_add_body): Likewise.
2315 (__arch_add_body): Likewise.
2316 (atomic_add_negative): Likewise.
2317 (atomic_add_zero): Likewise.
2318
2319 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2320
2321 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
2322 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2323
2324 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2325
2326 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2327 Check __x86_64__ instead of __WORDSIZE.
2328
2329 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2330
2331 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2332
2333 2012-03-19 David S. Miller <davem@davemloft.net>
2334
2335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2336
2337 * sysdeps/sparc/fpu/fenv_private.h: New file.
2338 * sysdeps/sparc/fpu/math_private.h: Use it.
2339 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2340 Remove.
2341 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2342 (libc_feholdexcept_setroundl): Remove.
2343 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2344 Remove.
2345 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2346 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2347
2348 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2349
2350 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2351 int64_t instead of long int.
2352 (INSERT_WORDS64): Likwise.
2353
2354 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2355
2356 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2357 _Unwind_GetCFA return to _Unwind_Ptr first.
2358
2359 2012-03-19 Joseph Myers <joseph@codesourcery.com>
2360
2361 [BZ #13629]
2362 * math/s_clog.c: Include <float.h>.
2363 (__clog): Scale large or subnormal inputs.
2364 * math/s_clogf.c: Likewise.
2365 * math/s_clogl.c: Likewise.
2366 * math/s_clog10.c: Include <float.h>.
2367 (M_LOG10_2): Define.
2368 (__clog10): Scale large or subnormal inputs.
2369 * math/s_clog10f.c: Likewise.
2370 * math/s_clog10l.c: Likewise.
2371 * math/libm-test.inc (clog_test): Add more tests.
2372 (clog10_test): Likewise.
2373 * sysdeps/i386/fpu/libm-test-ulps: Update.
2374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2375
2376 [BZ #11451]
2377 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2378 x and y.
2379 * math/libm-test.inc (atan2_test): Add another test.
2380
2381 * Makerules (common-objdir-compile): Remove.
2382 * sysdeps/unix/Makefile (config-generated): Do not add
2383 $(unix-generated) to variable.
2384 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2385 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2386 Remove rule.
2387 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2388 Likewise.
2389 [generic bits/local_lim.h] (before-compile): Do not append to
2390 variable.
2391 [generic bits/local_lim.h] (common-generated): Likewise.
2392 [generic sys/param.h] (before-compile): Do not append to variable.
2393 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2394 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2395 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2396 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2397 include.
2398 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2399 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2400 [generic sys/param.h] ($(addprefix
2401 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2402 [generic sys/param.h] (common-generated): Do not append to
2403 variable.
2404 [generic sys/param.h] (sysdep_headers): Likewise.
2405 [generic bits/errno.h] (before-compile): Do not append to
2406 variable.
2407 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2408 rule.
2409 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2410 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2411 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2412 [generic bits/errno.h] (common-generated): Do not append to
2413 variable.
2414 [generic bits/ioctls.h] (before-compile): Do not append to
2415 variable.
2416 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2417 rule.
2418 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2419 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2420 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2421 rule.
2422 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2423 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2424 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2425 [generic bits/ioctls.h] (common-generated): Do not append to
2426 variable.
2427 [generic sys/syscall.h] (syscall.h): Remove variable.
2428 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2429 rule.
2430 [generic sys/syscall.h] (before-compile): Do not append to
2431 variable.
2432 [generic sys/syscall.h] (common-generated): Likewise.
2433 * sysdeps/unix/errnos-tmpl.c: Remove file.
2434 * sysdeps/unix/errnos.awk: Likewise.
2435 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2436 * sysdeps/unix/ioctls.awk: Likewise.
2437 * sysdeps/unix/mk-local_lim.c: Likewise.
2438 * sysdeps/unix/snarf-ioctls: Likewise.
2439
2440 2012-03-19 Richard Henderson <rth@twiddle.net>
2441
2442 * sysdeps/i386/fpu/fenv_private.h: New file.
2443 * sysdeps/i386/fpu/math_private.h: Use it.
2444 (math_opt_barrier, math_force_eval): Remove.
2445 (libc_feholdexcept_setround_53bit): Remove.
2446 (libc_feupdateenv_53bit): Remove.
2447 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2448 (math_opt_barrier, math_force_eval): Remove.
2449 (libc_feholdexcept): Remove.
2450 (libc_feholdexcept_setround): Remove.
2451 (libc_fetestexcept, libc_fesetenv): Remove.
2452 (libc_feupdateenv_test): Remove.
2453 (libc_feupdateenv, libc_feholdsetround): Remove.
2454 (libc_feresetround): Remove.
2455
2456 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2457 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2458
2459 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2460 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2461 (libc_feupdateenv_testl): New.
2462 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2463 (libc_feupdateenv_testf): New.
2464 (libc_feupdateenv): Use libc_feupdateenv_test.
2465 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2466 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2467
2468 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2469 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2470 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2471 (libc_feresetround_noex): New.
2472 (libc_feresetround_noexf): New.
2473 (libc_feresetround_noexl): New.
2474 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2475 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2476 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2477 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2478 SET_RESTORE_ROUND.
2479 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2480 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2481 (__cos): Likewise.
2482 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2483 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2484 SET_RESTORE_ROUND_NOEX.
2485 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2486 SET_RESTORE_ROUND_NOEXF.
2487 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2488 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2489 (libc_feholdsetroundf): New.
2490 (libc_feresetround, libc_feresetroundf): New.
2491
2492 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2493 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2494 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2495
2496 * sysdeps/generic/math_private.h: Include <fenv.h>.
2497 (default_libc_feholdexcept): New.
2498 (default_libc_feholdexcept_setround): New.
2499 (default_libc_fesetenv, default_libc_feupdateenv): New.
2500 (libc_feholdexcept): Only define if undefined.
2501 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2502 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2503 (libc_feholdexcept_setroundl): Likewise.
2504 (libc_feholdexcept_setround_53bit): Likewise.
2505 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2506 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2507 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2508 (libc_feupdateenv_53bit): Likewise.
2509 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2510 (libc_feholdexcept): Convert from macro to inline function.
2511 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2512 (libc_fesetenv, libc_feupdateenv): Likewise.
2513
2514 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2515 not previously defined.
2516 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2517 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2518 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2519 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2520 * sysdeps/ieee754/flt-32/math_private.h: New file.
2521 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2522 math_private.h below SET_FLOAT_WORD.
2523 (__isnan, __isinf_ns, __finite): Remove.
2524 (__isnanf, __isinf_nsf, __finitef): Remove.
2525
2526 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2527
2528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2529
2530 2012-03-17 David S. Miller <davem@davemloft.net>
2531
2532 [BZ #6471]
2533 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2534 for 2.16.
2535
2536 2012-03-16 David S. Miller <davem@davemloft.net>
2537
2538 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2539 warnings.
2540
2541 [BZ #6471]
2542 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2543 properly.
2544 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2545 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2546 sysdep_routines when subdir is sysvipc.
2547 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2548 __getshmlba helper.
2549
2550 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2551
2552 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2553
2554 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2555 [__LP64__].
2556
2557 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2558
2559 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2560 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2561 (__lround): Renamed to ...
2562 (__llround): This. Replace long int with long long int.
2563 Define lround functions as aliases of llround functions.
2564 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2565
2566 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2567
2568 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2569 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2570 adresses to uintptr_t. Replace "long int" and "unsigned long
2571 int" with "greg_t" on va_arg.
2572
2573 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2574
2575 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2576 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2577
2578 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2579 Move e_machine check before EI_CLASS check. Handle x32
2580 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2581 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2582 SKIP_EM_IA_64 and include
2583 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2584
2585 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2586 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2587 (add_system_dir): New macro.
2588
2589 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2590 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2591
2592 2012-03-16 Joseph Myers <joseph@codesourcery.com>
2593
2594 [BZ #2551]
2595 [BZ #2552]
2596 [BZ #2553]
2597 [BZ #2554]
2598 [BZ #2562]
2599 [BZ #2563]
2600 [BZ #2565]
2601 [BZ #2566]
2602 [BZ #2576]
2603 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2604 (y0): Likewise.
2605 * math/w_j0f.c (j0f): Likewise.
2606 (y0f): Likewise.
2607 * math/w_j0l.c (__j0l): Likewise.
2608 (__y0l): Likewise.
2609 * math/w_j1.c (j1): Likewise.
2610 (y1): Likewise.
2611 * math/w_j1f.c (j1f): Likewise.
2612 (y1f): Likewise.
2613 * math/w_j1l.c (__j1l): Likewise.
2614 (__y1l): Likewise.
2615 * math/w_jn.c (jn): Likewise.
2616 (yn): Likewise.
2617 * math/w_jnf.c (jnf): Likewise.
2618 (ynf): Likewise.
2619 * math/w_jnl.c (__jnl): Likewise.
2620 (__ynl): Likewise.
2621 * math/libm-test.inc (j0_test): Add more tests.
2622 (j1_test): Likewise.
2623 (jn_test): Likewise. Add trailing semicolon to existing test.
2624 (y0_test): Likewise.
2625 (y1_test): Likewise.
2626 * sysdeps/i386/fpu/libm-test-ulps: Update.
2627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2628
2629 [BZ #13851]
2630 [BZ #13854]
2631 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2632 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2633 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2634 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2635 (__tanl): Set errno for infinite argument.
2636 * sysdeps/i386/fpu/mptan.c: Remove.
2637 * sysdeps/i386/fpu/s_tan.S: Likewise.
2638 * sysdeps/i386/fpu/s_tanl.S: Likewise.
2639 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2640 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2641 * math/libm-test.inc (tan_test): Add more tests and enable more
2642 tests for double and long double.
2643 * sysdeps/i386/fpu/libm-test-ulps: Update.
2644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2645
2646 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2647
2648 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2649 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2650
2651 2012-03-16 Roland McGrath <roland@hack.frob.com>
2652
2653 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2654 * configure.in: Use it for both main tree and add-ons.
2655 * configure: Regenerated.
2656
2657 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2658
2659 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2660
2661 2012-03-16 Joseph Myers <joseph@codesourcery.com>
2662
2663 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2664 in comment.
2665
2666 [BZ #13851]
2667 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2668 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2669 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2670 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2671 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2672 infinite argument.
2673 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2674 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2675 != 0 for prec == 2.
2676 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2677 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2678 * sysdeps/i386/fpu/s_cosl.S: Likewise.
2679 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2680 * sysdeps/i386/fpu/s_sinl.S: Likewise.
2681 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2682 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2683 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2684 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2685 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2686 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2687 * math/libm-test.inc (cos_test): Add more tests and enable more
2688 tests for long double.
2689 (sin_test): Likewise.
2690 (sincos_test): Likewise.
2691 * sysdeps/i386/fpu/libm-test-ulps: Update.
2692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2693
2694 2012-03-16 David S. Miller <davem@davemloft.net>
2695
2696 * sysdeps/sparc/fpu/math_private.h: New file.
2697
2698 2012-03-15 David S. Miller <davem@davemloft.net>
2699
2700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2701 file.
2702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
2703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2704 file.
2705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2706 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2707 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2708 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2709 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2710 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2711 sysdep routines.
2712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2713
2714 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2715 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2716
2717 * sysdeps/sparc/sparc-ifunc.h: New file.
2718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2719 sparc-ifunc.h
2720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2722 Likewise.
2723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2724 Likewise.
2725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2729 Likewise.
2730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2735 Likewise.
2736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2737 Likewise.
2738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2742 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2743 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2744 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2745 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2746 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2747 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2748 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2749 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2750 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2751 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2752 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2753 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2754 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2755 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2756 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2757 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2758 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2759 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2760 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2761 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2762
2763 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2764
2765 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2766 scaling.
2767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2768
2769 2012-03-15 Andreas Jaeger <aj@suse.de>
2770
2771 [BZ #13852]
2772 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2773 ieee754/flt-32 implementation for sin, cos and sincos.
2774 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2775 * sysdeps/i386/fpu/s_cosf.S: Likewise.
2776 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2777 * sysdeps/i386/fpu/s_sinf.S: Likewise.
2778 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2779 ieee754/flt-32 implementation for tan.
2780
2781 * math/libm-test.inc (cos_test): Enable some large input tests for
2782 float as well
2783 (sin_test): Likewise.
2784 (sincos_test): Likewise.
2785 (tan_test): Add tests for large input.
2786
2787 * sysdeps/i386/fpu/libm-test-ulps: Update.
2788
2789 2012-03-15 Andreas Jaeger <aj@suse.de>
2790
2791 [BZ #13658]
2792 * math/libm-test.inc (cos_test): Add more test cases.
2793 (sin_test): Likewise.
2794 (sincos_test): Likewise.
2795
2796 2012-03-15 Andreas Jaeger <aj@suse.de>
2797
2798 [BZ #13837]
2799 * math/libm-test.inc (cos_test): Add a test case for large input
2800 value.
2801 (sin_test): Likewise.
2802 (sincos_test): Likewise.
2803
2804 2012-03-15 Andreas Jaeger <aj@suse.de>,
2805 Joseph Myers <joseph@codesourcery.com>
2806
2807 [BZ #13658]
2808 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
2809 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2810 * sysdeps/i386/fpu/branred.c: Likewise.
2811 * sysdeps/i386/fpu/dosincos.c: Likewise.
2812 * sysdeps/i386/fpu/mpa.c: Likewise.
2813 * sysdeps/i386/fpu/s_cos.S: Likewise.
2814 * sysdeps/i386/fpu/s_sin.S: Likewise.
2815 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2816 * sysdeps/i386/fpu/sincos32.c: Likewise.
2817
2818 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2819 Define.
2820 (libc_feupdateenv_53bit): Define.
2821 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2822 Define.
2823 (libc_feupdateenv_53bit): Define.
2824
2825 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2826 53 bit (without extend i386 double precision).
2827
2828 * math/libm-test.inc (sincos_test): Add tests for large input.
2829 (sin): Likewise.
2830 (cos): Likewise.
2831
2832 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2833
2834 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2835
2836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2837
2838 2012-03-15 David S. Miller <davem@davemloft.net>
2839
2840 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2841 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2842 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2843 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2848 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2849 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2850 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2851 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2852 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2853 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2854 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
2855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2856 file.
2857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
2858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2859 file.
2860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
2861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2862 file.
2863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
2864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2865 file.
2866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2867 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2868 fmin/fmax sysdep routines.
2869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2870
2871 2012-03-14 David S. Miller <davem@davemloft.net>
2872
2873 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2874 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2875 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2876 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2877 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2878 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2879 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2880 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2881 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2882 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2883 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2884 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2885 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2886 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2887 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2888 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2889 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2890 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2891 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2892 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2893 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2894 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2895 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2896 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2897 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2898 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2899 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2900 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
2901 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2902 routines.
2903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2904 file.
2905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
2906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2907 file.
2908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
2909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2910 file.
2911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
2912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2913 file.
2914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
2915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2916 file.
2917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
2918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2919 file.
2920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2921 file.
2922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2923 file.
2924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2925 file.
2926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2927 New file.
2928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2929 file.
2930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2931 file.
2932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
2933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2934 file.
2935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
2936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2937 file.
2938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
2939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2940 file.
2941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
2942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2943 VIS3 routines.
2944
2945 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2946 New file.
2947
2948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2949
2950 * sysdeps/sparc/configure.in: New file.
2951 * sysdeps/sparc/configure: Generate.
2952 * configure.in (libc_cv_sparc_as_vis3): Substitute.
2953 * configure: Regenerate.
2954 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2955 * config.make.in (have-as-vis3): New.
2956 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2957 available use -Av9d instead of -Av9a.
2958 * sysdeps/sparc/sparc64/Makefile: Likewise.
2959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
2960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2961 New file.
2962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2963 file.
2964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2965 New file.
2966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2967 file.
2968 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2969 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2970 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2971 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2972 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2973
2974 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2975 fzeros/fnegs to load 0x80000000 into a float register instead of
2976 using the stack.
2977 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2978
2979 2012-03-14 Joseph Myers <joseph@codesourcery.com>
2980
2981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2982 bits/syscall.h.
2983 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2984 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2985 ($(inst_includedir)/bits/syscall.h): Remove rule.
2986 ($(objpfx)bits/syscall.d): Include instead of
2987 $(objpfx)syscall-list.d.
2988 (generated): Change syscall-list.h and syscall-list.d to
2989 bits/syscall.h and bits/syscall.d.
2990
2991 2012-03-14 Roland McGrath <roland@hack.frob.com>
2992
2993 [BZ #13846]
2994 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2995
2996 2012-03-14 Joseph Myers <joseph@codesourcery.com>
2997
2998 [BZ #13841]
2999 * math/s_csqrt.c: Include <float.h>.
3000 (__csqrt): Scale large or subnormal inputs.
3001 * math/s_csqrtf.c: Likewise.
3002 * math/s_csqrtl.c: Likewise.
3003 * math/libm-test.inc (csqrt_test): Add more tests.
3004 * sysdeps/i386/fpu/libm-test-ulps: Update.
3005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3006
3007 [BZ #13840]
3008 * math/libm-test.inc (hypot_test): Add more tests.
3009
3010 2012-03-13 David S. Miller <davem@davemloft.net>
3011
3012 [BZ #13840]
3013 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3014 double-precision for the calculation instead of scaling.
3015
3016 2012-03-13 Joseph Myers <joseph@codesourcery.com>
3017
3018 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3019 manipulate bits before adding and subtracting TWO52[sx].
3020 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3021 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3022 Likewise.
3023 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3024
3025 2012-03-13 David S. Miller <davem@davemloft.net>
3026
3027 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3028 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3029 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3030 rtld-global-offsets.h
3031 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3032
3033 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3034 large parameters.
3035
3036 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3037
3038 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3039 'err' in the ifdef scope in which it is actually used.
3040
3041 * nss/nss_db/db-init.c: Include string.h
3042
3043 2012-03-12 David S. Miller <davem@davemloft.net>
3044
3045 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3046 masking out of the most significant byte of random value used.
3047 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3048 Fix coding style in previous change.
3049
3050 * sysdeps/unix/sysv/linux/kernel-features.h
3051 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3052 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3053 expression.
3054 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3055 later.
3056
3057 2012-03-11 David S. Miller <davem@davemloft.net>
3058
3059 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3060 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3061 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3062 for 'resultvar' otherwise things get truncated on 64-bit.
3063
3064 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3065 Fix masking out of the most significant byte of random value used.
3066
3067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3068
3069 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3070
3071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3072
3073 2012-03-09 David S. Miller <davem@davemloft.net>
3074
3075 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3076 variables with appropriate CPP guards.
3077 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3078 frame pointer, not the stack pointer. Correct layout comments. Fix test
3079 on resulting framesize and the management of the outregs buffer for pltexit.
3080 Preserve floating point return values across _dl_call_pltexit call.
3081 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3082 framesize and the management of the outregs buffer for pltexit.
3083 Preserve floating point return values across _dl_call_pltexit
3084 call.
3085 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3086 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3087 (print_exit): Fix format string for return register value.
3088
3089 2012-03-10 Joseph Myers <joseph@codesourcery.com>
3090
3091 * sunrpc/Makefile (others): Add rpcgen.
3092 ($(objpfx)rpcgen): Remove special build rule and dependency on
3093 libc.
3094 * sunrpc/rpcgen.c: New file.
3095
3096 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3097
3098 [BZ #13673]
3099 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3100 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3101 * sysdeps/i386/crti.S: Likewise.
3102 * sysdeps/i386/crtn.S: Likewise.
3103 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3104 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3105 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3106 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3107 * sysdeps/sh/crti.S: Likewise.
3108 * sysdeps/sh/crtn.S: Likewise.
3109 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3110
3111 [BZ #13673]
3112 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3113 with URL.
3114 * locale/programs/locfile-kw.gperf: Likewise.
3115 * locale/programs/charmap-kw.h: Regenerated.
3116 * locale/programs/locfile-kw.h: Likewise.
3117
3118 [BZ #13673]
3119 * intl/plural.y: Replace FSF snail mail address with URL.
3120 * intl/plural.c: Regenerated.
3121
3122 2012-03-09 Richard Henderson <rth@twiddle.net>
3123
3124 * include/math_private.h: Remove file.
3125 * math/math_private.h: Move file ...
3126 * sysdeps/generic/math_private.h: ... here.
3127
3128 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3129 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3130 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3131
3132 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
3133 and <math_private.h>.
3134 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3135 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3136 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3137 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3138 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3139 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3140 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3141 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3142 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3143 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3144 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3145 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3146 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3147 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3148 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3149 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3150 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3151 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3152 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3153 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3154 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3155 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3156 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3157 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3158 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3159 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3160 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3161 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3162 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3163 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3164 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3165 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3166 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3167 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3168 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3169 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3170 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3171 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3172 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3173 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3174 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3175 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3176 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3177 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3178 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3179 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3180 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3181 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3182 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3183 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3184 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3185 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3186 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3187 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3188 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3189 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3190 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3191 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3192 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3193 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3194 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3195 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3196 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3197 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3198 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3199 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3200 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3201 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3202 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3203 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3204 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3205 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3206 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3207 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3208 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3209 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3210 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3211 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3212 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3213 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3214 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3215 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3216 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3217 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3218 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3219 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3220 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3221 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3222 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3223 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3224 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3225 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3226 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3227 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3228 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3229 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3230 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3231 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3232 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3233 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3234 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3235 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3236 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3237 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3238 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3239 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3240 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3241 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3242 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3243 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3244 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3245 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3246 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3247 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3248 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3249 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3250 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3251 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3252 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3253 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3254 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3255 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3256 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3257 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3258 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3259 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3260 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3261 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3262 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3263 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3264 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3265 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3266 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3267 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3268 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3269 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3270 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3271 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3272 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3273 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3274 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3275 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3276 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3277 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3278 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3279 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3280 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3281 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3282 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3283 * sysdeps/ieee754/k_standard.c: Likewise.
3284 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3285 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3286 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3287 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3288 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3289 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3290 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3291 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3292 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3293 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3294 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3295 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3296 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3297 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3298 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3299 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3300 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3301 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3302 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3303 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3304 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3305 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3306 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3307 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3308 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3309 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3310 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3311 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3312 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3313 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3314 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3315 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3316 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3317 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3318 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3319 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3320 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3321 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3322 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3323 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3324 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3325 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3326 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3327 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3328 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3329 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3330 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3331 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3332 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3333 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3334 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3335 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3336 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3337 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3338 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3339 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3340 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3341 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3342 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3343 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3344 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3345 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3346 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3347 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3348 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3349 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3350 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3351 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3352 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3353 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3354 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3355 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3356 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3357 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3358 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3359 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3360 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3361 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3362 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3363 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3364 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3365 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3366 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3367 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3368 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3369 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3370 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3371 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3372 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3373 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3374 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3375 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3376 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3377 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3378 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3379 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3380 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3381 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3382 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3383 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3384 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3385 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3386 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3387 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3388 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3389 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3390 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3391 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3392 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3393 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3394 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3395 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3396 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3397 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3398 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3399 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3400 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3401 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3402 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3403 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3404 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3405 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3406 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3407 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3408 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3409 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3410 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3411 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3412 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3413 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3414 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3415 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3416 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3417 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3418 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3419 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3420 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3421 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3422 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3423 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3424 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3425 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3426 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3427 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3428 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3429 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3430 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3431 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3432 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3433 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3434 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3435 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3436 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3437 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3438 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3439 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3440 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3441 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3442 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3443 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3444 * sysdeps/ieee754/s_lib_version.c: Likewise.
3445 * sysdeps/ieee754/s_matherr.c: Likewise.
3446 * sysdeps/ieee754/s_signgam.c: Likewise.
3447 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3448 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3449 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3450 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3451 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3452 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3453 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3454 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3455 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3456 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3457 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3458 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3459 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3460 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3461 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3462 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3463 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3464 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3465 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3466 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3467 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3468
3469 2012-03-09 Joseph Myers <joseph@codesourcery.com>
3470
3471 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3472 * sunrpc/rpc_main.c: Likewise.
3473 * sunrpc/rpc_svcout.c: Likewise.
3474
3475 2012-03-09 David S. Miller <davem@davemloft.net>
3476
3477 * include/math_private.h: New file.
3478
3479 2012-03-09 Joseph Myers <joseph@codesourcery.com>
3480
3481 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3482 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3483 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3484 from <bits/socket_type.h>.
3485 (enum __socket_type): Don't define here.
3486 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3487 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3488 bits/socket_type.h.
3489
3490 [BZ #13566]
3491 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3492 checking __USE_GNU.
3493
3494 * Makerules ($(inst_includedir)/%.h): New rule.
3495 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3496 (install-others): Remove variable setting.
3497 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3498
3499 2012-03-08 Richard Henderson <rth@twiddle.net>
3500
3501 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3502 from macro to inline function; merge with the
3503 !__LIBC_INTERNAL_MATH_INLINES version.
3504 (__ieee754_sqrtf): Likewise.
3505
3506 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3507 to inline function.
3508 (__rintf, __floor, __floorf): Likewise.
3509
3510 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3511 macro to inline function.
3512 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3513
3514 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3515 not <math/math_private.h>.
3516
3517 2012-03-08 David S. Miller <davem@davemloft.net>
3518
3519 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3520 copyright year.
3521 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3522
3523 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3524
3525 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3526 normalization.
3527 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3528 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3529
3530 2012-03-08 Ulrich Drepper <drepper@gmail.com>
3531
3532 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3533 be defined individually, they must be defined as a block. Define
3534 S for printing a string instead of hidint the different by using a
3535 macro for adding the 'l'.
3536 * stdio-common/tst-fphex-wide.c: Adjust.
3537
3538 2012-03-07 Marek Polacek <polacek@redhat.com>
3539
3540 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3541
3542 2012-03-08 Marek Polacek <polacek@redhat.com>
3543
3544 [BZ #13806]
3545 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3546 * stdio-common/tst-fphex.c: Define a few macros to make the
3547 test reusable. Use them.
3548 * stdio-common/tst-fphex-wide.c: New file.
3549
3550 2012-03-08 Joseph Myers <joseph@codesourcery.com>
3551
3552 [BZ #6911]
3553 * manual/macros.texi (gnusystems): New macro.
3554 (nongnusystems): Likewise.
3555 (gnulinuxhurdsystems): Likewise.
3556 (gnuhurdsystems): Likewise..
3557 (gnulinuxsystems): Likewise.
3558 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3559 variants of the GNU system, not "GNU system".
3560 * manual/conf.texi: Likewise.
3561 * manual/errno.texi: Likewise. Update example of errno macro
3562 expansion.
3563 * manual/filesys.texi: Likewise.
3564 (getumask): Document as specific to GNU/Hurd.
3565 * manual/install.texi: Likewise. Reword some references to
3566 GNU/Linux.
3567 * manual/intro.texi: Likewise.
3568 * manual/io.texi: Likewise.
3569 (File Name Portability): Detail which constraints are inapplicable
3570 to all GNU systems and which are only inapplicable to GNU/Hurd.
3571 * manual/job.texi: Likewise.
3572 * manual/llio.texi: Likewise.
3573 (O_NOCTTY): Document as present on GNU/Linux.
3574 * manual/maint.texi: Likewise.
3575 * manual/memory.texi: Likewise.
3576 * manual/pattern.texi: Likewise.
3577 * manual/pipe.texi: Likewise.
3578 * manual/process.texi: Likewise.
3579 * manual/resource.texi: Likewise.
3580 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3581 child on GNU/Hurd.
3582 * manual/setjmp.texi: Likewise.
3583 * manual/signal.texi: Likewise.
3584 * manual/startup.texi: Likewise.
3585 * manual/stdio.texi: Likewise.
3586 * manual/terminal.texi: Likewise.
3587 (ONLCR): Document as POSIX.
3588 (OXTABS): Document availability on GNU/Linux as XTABS.
3589 (ONOEOT): Document availability separately from other bits.
3590 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3591 * manual/time.texi: Likewise.
3592 * manual/users.texi: Likewise.
3593 * INSTALL: Regenerated.
3594 * sysdeps/gnu/errlist.c: Regenerated.
3595
3596 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3597 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3598 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
3599 puts.
3600 * configure: Regenerated.
3601
3602 2012-03-07 Joseph Myers <joseph@codesourcery.com>
3603
3604 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3605 default includes instead of AC_HEADER_CHECK.
3606 * sysdeps/i386/configure: Regenerated.
3607
3608 [BZ #10716]
3609 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3610 * math/s_cacoshf.c (__cacoshf): Likewise.
3611 * math/s_cacoshl.c (__cacoshl): Likewise.
3612 * math/s_casinh.c (__casinh): Set signs of result from argument.
3613 * math/s_casinhf.c (__casinhf): Likewise.
3614 * math/s_casinhl.c (__casinhl): Likewise.
3615 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3616 (casinh_test): Add more tests.
3617 * sysdeps/i386/fpu/libm-test-ulps: Update.
3618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3619
3620 2012-03-07 Ulrich Drepper <drepper@gmail.com>
3621
3622 * po/zh_TW.po: Update from translation team.
3623
3624 * login/Makefile (distribute): Remove variable.
3625 * catgets/Makefile: Likewise.
3626 * mach/Makefile: Likewise.
3627 * malloc/Makefile: Likewise.
3628 * misc/Makefile: Likewise.
3629 * iconv/Makefile: Likewise.
3630 * nscd/Makefile: Likewise.
3631 * hurd/Makefile: Likewise.
3632 * manual/Makefile: Likewise.
3633 * locale/Makefile: Likewise.
3634 * intl/Makefile: Likewise.
3635 * conform/Makefile: Likewise.
3636 * nss/Makefile: Likewise.
3637 * time/Makefile: Likewise.
3638 * soft-fp/Makefile: Likewise.
3639 * dirent/Makefile: Likewise.
3640 * gmon/Makefile: Likewise.
3641 * po/Makefile: Likewise.
3642 * rt/Makefile: Likewise.
3643 * socket/Makefile: Likewise.
3644 * math/Makefile: Likewise.
3645 * signal/Makefile: Likewise.
3646 * debug/Makefile: Likewise.
3647 * elf/Makefile: Likewise.
3648 * timezone/Makefile: Likewise.
3649 * stdlib/Makefile: Likewise.
3650 * iconvdata/Makefile: Likewise.
3651 * sunrpc/Makefile: Likewise.
3652 * io/Makefile: Likewise.
3653 * argp/Makefile: Likewise.
3654 * inet/Makefile: Likewise.
3655 * hesiod/Makefile: Likewise.
3656 * grp/Makefile: Likewise.
3657 * csu/Makefile: Likewise.
3658 * wctype/Makefile: Likewise.
3659 * crypt/Makefile: Likewise.
3660 * libio/Makefile: Likewise.
3661 * string/Makefile: Likewise.
3662 * nis/Makefile: Likewise.
3663 * resolv/Makefile: Likewise.
3664 * stdio-common/Makefile: Likewise.
3665 * wcsmbs/Makefile: Likewise.
3666 * dlfcn/Makefile: Likewise.
3667 * posix/Makefile: Likewise.
3668
3669 [BZ #6959]
3670 * timezone/Makefile: Don't install timezone files, just the programs
3671 and scripts.
3672
3673 2012-03-06 Ulrich Drepper <drepper@gmail.com>
3674
3675 * nss/databases.def: Add missing gshadow entry.
3676
3677 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
3678
3679 2012-03-06 Marek Polacek <polacek@redhat.com>
3680
3681 [BZ #13726]
3682 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3683 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3684 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3685 * stdio-common/tst-long-dbl-fphex.c: New file.
3686
3687 2012-03-06 David S. Miller <davem@davemloft.net>
3688
3689 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3690 (set_obp_int): New function.
3691 (get_obp_int): New function.
3692 (__get_clockfreq_via_dev_openprom): Likewise.
3693 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3694 Avoid unused variable warnings on 'val' and use builtin_expect.
3695 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3696 __builtin_expect.
3697 (INLINE_CLONE_SYSCALL): Likewise.
3698
3699 2012-03-05 David S. Miller <davem@davemloft.net>
3700
3701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3702
3703 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
3704
3705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3706
3707 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3708 only for |x| >= 40.
3709 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3710
3711 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
3712
3713 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3714 Replace gettimeofday with __vdso_gettimeofday.
3715
3716 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3717 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3718 __vdso_clock_gettime and __vdso_getcpu.
3719
3720 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3721 time with __vdso_time.
3722
3723 2012-03-05 Joseph Myers <joseph@codesourcery.com>
3724
3725 * manual/lang.texi (size_t): Note types to which size_t may be
3726 equivalent with the GNU C Library, but do not describe when
3727 differences between them are significant.
3728
3729 2012-03-05 Andreas Jaeger <aj@suse.de>
3730
3731 * sysdeps/i386/fpu/libm-test-ulps: Update.
3732
3733 2012-03-05 Joseph Myers <joseph@codesourcery.com>
3734
3735 [BZ #3976]
3736 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3737 (__ieee754_pow): Save and restore rounding mode and use
3738 round-to-nearest for main computations.
3739 * math/libm-test.inc (pow_test_tonearest): New function.
3740 (pow_test_towardzero): Likewise.
3741 (pow_test_downward): Likewise.
3742 (pow_test_upward): Likewise.
3743 (main): Call the new functions.
3744 * sysdeps/i386/fpu/libm-test-ulps: Update.
3745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3746
3747 [BZ #3976]
3748 * math/libm-test.inc (cosh_test_tonearest): New function.
3749 (cosh_test_towardzero): Likewise.
3750 (cosh_test_downward): Likewise.
3751 (cosh_test_upward): Likewise.
3752 (sinh_test_tonearest): Likewise.
3753 (sinh_test_towardzero): Likewise.
3754 (sinh_test_downward): Likewise.
3755 (sinh_test_upward): Likewise.
3756 (main): Call the new functions.
3757 * sysdeps/i386/fpu/libm-test-ulps: Update.
3758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3759
3760 2012-03-05 Tom de Vries <tom@codesourcery.com>
3761
3762 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3763 default stack guard is set in last bytes.
3764 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3765
3766 2012-03-05 Kees Cook <keescook@chromium.org>
3767
3768 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
3769
3770 [BZ #13656]
3771 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3772 possibly allocate from heap instead of stack.
3773 * stdio-common/bug-vfprintf-nargs.c: New file.
3774 * stdio-common/Makefile (tests): Add nargs overflow test.
3775
3776 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
3777
3778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3779
3780 2012-03-03 Marek Polacek <polacek@redhat.com>
3781
3782 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3783 * math/math_private.h: Likewise.
3784 * stdlib/tst-strtod.c: Likewise.
3785 * sysdeps/i386/i486/bits/atomic.h: Likewise.
3786 * sysdeps/x86_64/bits/atomic.h: Likewise.
3787
3788 2012-03-02 David S. Miller <davem@davemloft.net>
3789
3790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3794 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3795 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3796 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3797 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3798
3799 2012-03-02 Roland McGrath <roland@hack.frob.com>
3800
3801 [BZ #13792]
3802 * manual/examples/README: New file, says the example source files
3803 can be used under GPL>=2.
3804 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3805 line containing just "*/".
3806 * manual/examples/add.c: Add copyright header (GPL>=2).
3807 * manual/examples/argp-ex1.c: Likewise.
3808 * manual/examples/argp-ex2.c: Likewise.
3809 * manual/examples/argp-ex3.c: Likewise.
3810 * manual/examples/argp-ex4.c: Likewise.
3811 * manual/examples/atexit.c: Likewise.
3812 * manual/examples/db.c: Likewise.
3813 * manual/examples/dir.c: Likewise.
3814 * manual/examples/dir2.c: Likewise.
3815 * manual/examples/execinfo.c: Likewise.
3816 * manual/examples/filecli.c: Likewise.
3817 * manual/examples/filesrv.c: Likewise.
3818 * manual/examples/fmtmsgexpl.c: Likewise.
3819 * manual/examples/genpass.c: Likewise.
3820 * manual/examples/inetcli.c: Likewise.
3821 * manual/examples/inetsrv.c: Likewise.
3822 * manual/examples/isockad.c: Likewise.
3823 * manual/examples/longopt.c: Likewise.
3824 * manual/examples/memopen.c: Likewise.
3825 * manual/examples/memstrm.c: Likewise.
3826 * manual/examples/mkfsock.c: Likewise.
3827 * manual/examples/mkisock.c: Likewise.
3828 * manual/examples/mygetpass.c: Likewise.
3829 * manual/examples/pipe.c: Likewise.
3830 * manual/examples/popen.c: Likewise.
3831 * manual/examples/rprintf.c: Likewise.
3832 * manual/examples/search.c: Likewise.
3833 * manual/examples/select.c: Likewise.
3834 * manual/examples/setjmp.c: Likewise.
3835 * manual/examples/sigh1.c: Likewise.
3836 * manual/examples/sigusr.c: Likewise.
3837 * manual/examples/stpcpy.c: Likewise.
3838 * manual/examples/strdupa.c: Likewise.
3839 * manual/examples/strftim.c: Likewise.
3840 * manual/examples/strncat.c: Likewise.
3841 * manual/examples/subopt.c: Likewise.
3842 * manual/examples/swapcontext.c: Likewise.
3843 * manual/examples/termios.c: Likewise.
3844 * manual/examples/testopt.c: Likewise.
3845 * manual/examples/testpass.c: Likewise.
3846 * manual/examples/timeval_subtract.c: Likewise.
3847
3848 [BZ #13792]
3849 * manual/time.texi (Elapsed Time): Move timeval_subtract example
3850 function to ...
3851 * manual/timeval_subtract.c.texi: ... here, new file.
3852
3853 2012-03-02 David S. Miller <davem@davemloft.net>
3854
3855 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3856
3857 2012-03-02 Joseph Myers <joseph@codesourcery.com>
3858
3859 [BZ #3976]
3860 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3861 (__sin): Save and restore rounding mode and use round-to-nearest
3862 for all computations.
3863 (__cos): Save and restore rounding mode and use round-to-nearest
3864 for all computations.
3865 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3866 <fenv.h>.
3867 (tan): Save and restore rounding mode and use round-to-nearest for
3868 all computations.
3869 * math/libm-test.inc (cos_test_tonearest): New function.
3870 (cos_test_towardzero): Likewise.
3871 (cos_test_downward): Likewise.
3872 (cos_test_upward): Likewise.
3873 (sin_test_tonearest): Likewise.
3874 (sin_test_towardzero): Likewise.
3875 (sin_test_downward): Likewise.
3876 (sin_test_upward): Likewise.
3877 (tan_test_tonearest): Likewise.
3878 (tan_test_towardzero): Likewise.
3879 (tan_test_downward): Likewise.
3880 (tan_test_upward): Likewise.
3881 (main): Call the new functions.
3882 * sysdeps/i386/fpu/libm-test-ulps: Update.
3883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3884
3885 [BZ #10135]
3886 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3887 small n, then large n, before computing and testing k+n.
3888 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3889 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3890 Likewise.
3891 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3892 Likewise.
3893 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3894 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3895 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3896 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3897 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3898 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3899 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3900 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3901 * math/libm-test.inc (scalbn_test): Add more tests.
3902 (scalbln_test): Likewise.
3903
3904 * manual/filesys.texi (mode_t): Describe constraints on size and
3905 signedness, not exact equivalence to a particular type.
3906 (ino_t): Likewise.
3907 (ino64_t): Likewise.
3908 (dev_t): Likewise.
3909 (nlink_t): Likewise.
3910 (blkcnt_t): Likewise.
3911 (blkcnt64_t): Likewise.
3912 * manual/llio.texi (off_t): Likewise.
3913
3914 [BZ #3976]
3915 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3916 (__ieee754_exp): Save and restore rounding mode and use
3917 round-to-nearest for all computations.
3918 * math/libm-test.inc (exp_test_tonearest): New function.
3919 (exp_test_towardzero): Likewise.
3920 (exp_test_downward): Likewise.
3921 (exp_test_upward): Likewise.
3922 (main): Call the new functions.
3923 * sysdeps/i386/fpu/libm-test-ulps: Update.
3924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3925
3926 2012-03-01 Chris Demetriou <cgd@google.com>
3927
3928 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3929 have predictable order.
3930
3931 2012-03-01 David S. Miller <davem@davemloft.net>
3932
3933 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3934
3935 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3936 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3937 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3938 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3939
3940 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3941 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3942 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3944 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3945 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3946 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3947 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3948 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3949
3950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3951
3952 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3953 * sysdeps/sparc/fpu/libm-test-ulps: to here.
3954 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3955
3956 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3957 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3958 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3959 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3960 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3961 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3962 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3963 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3964 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3965 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3966 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3967 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3968 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3969 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3970 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3971 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3972 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3973 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3974 * sysdeps/sparc/elf/configure: Regenerated.
3975
3976 2012-03-01 Joseph Myers <joseph@codesourcery.com>
3977
3978 * configure.in (AS, LD): Require binutils 2.20 or later.
3979 * configure: Regenerated.
3980 * manual/install.texi (Tools for Compilation): Give binutils 2.20
3981 as required minimum version.
3982 * INSTALL: Regenerated.
3983
3984 [BZ #2541]
3985 [BZ #4108]
3986 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3987 before squaring exponent.
3988 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3989 bottom long double and 27 bits of top long double before squaring
3990 exponent.
3991 * math/libm-test.inc (erfc_test): Add more tests.
3992 * sysdeps/i386/fpu/libm-test-ulps: Update.
3993 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3995
3996 2012-03-01 Kai Tietz <ktietz@redhat.com>
3997
3998 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3999 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4000 containing bit-fields.
4001 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4002 * soft-fp/single.h (_FP_UNION_S): Likewise.
4003 * soft-fp/double.h (_FP_UNION_D): Likewise.
4004
4005 2012-02-29 Joseph Myers <joseph@codesourcery.com>
4006
4007 [BZ #13786]
4008 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4009 not include ../strcmp.S.
4010 [USE_AS_STRNCASECMP_L]: Likewise.
4011 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4012 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4013 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4014 (__strncasecmp_l_ia32): Define as alias to
4015 __strncasecmp_l_nonascii.
4016
4017 [BZ #5794]
4018 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4019 * sysdeps/i386/fpu/libm-test-ulps: Update.
4020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4021
4022 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4024
4025 2012-02-29 Jeff Law <law@redhat.com>
4026
4027 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4028 out of bounds read.
4029
4030 2012-02-29 Marek Polacek <polacek@redhat.com>
4031
4032 [BZ #13706]
4033 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4034 * elf/Makefile: Add rules to run tst-unused-dep.out.
4035
4036 2012-02-28 David S. Miller <davem@davemloft.net>
4037
4038 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4039 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4040 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4041 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4042 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4043 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4044
4045 2012-02-29 Joseph Myers <joseph@codesourcery.com>
4046
4047 * math/libm-test.inc (llround_test): Move one test from
4048 lround_test. Use TEST_f_L in moved test.
4049 (lround_test): Move misplaced test to llround_test. Add testcase
4050 from bug 2561.
4051
4052 2012-02-28 Ulrich Drepper <drepper@gmail.com>
4053
4054 * sysdeps/x86_64/fpu/e_expf.S: New file.
4055 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4056
4057 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4058
4059 [BZ #13637]
4060 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4061 of remain_len that may cause incomplete multi-byte character and
4062 false match.
4063 * posix/bug-regex33.c: New file.
4064 * posix/Makefile (tests): Add bug-regex33.
4065
4066 2012-02-28 Joseph Myers <joseph@codesourcery.com>
4067
4068 * manual/macros.texi: New file.
4069 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4070 * manual/libc.texinfo: Include macros.texi.
4071 * manual/creatute.texi: Likewise.
4072 * manual/install.texi: Likewise.
4073 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4074 @glibcadj{} in references to the GNU C Library.
4075 * manual/charset.texi: Likewise.
4076 * manual/conf.texi: Likewise.
4077 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4078 when not using those macros.
4079 * manual/creature.texi: Likewise.
4080 * manual/crypt.texi: Likewise.
4081 * manual/errno.texi: Likewise.
4082 * manual/filesys.texi: Likewise.
4083 * manual/header.texi: Likewise.
4084 * manual/install.texi: Likewise.
4085 * manual/intro.texi: Likewise.
4086 * manual/io.texi: Likewise.
4087 * manual/job.texi: Likewise.
4088 * manual/lang.texi: Likewise.
4089 * manual/libc.texiinfo: Likewise.
4090 * manual/llio.texi: Likewise.
4091 * manual/locale.texi: Likewise.
4092 * manual/maint.texi: Likewise.
4093 * manual/math.texi: Likewise.
4094 * manual/memory.texi: Likewise.
4095 * manual/message.texi: Likewise.
4096 * manual/nss.texi: Likewise.
4097 * manual/pattern.texi: Likewise.
4098 * manual/process.texi: Likewise.
4099 * manual/resource.texi: Likewise.
4100 * manual/search.texi: Likewise.
4101 * manual/setjmp.texi: Likewise.
4102 * manual/signal.texi: Likewise.
4103 * manual/socket.texi: Likewise.
4104 * manual/startup.texi: Likewise.
4105 * manual/stdio.texi: Likewise.
4106 * manual/string.texi: Likewise.
4107 * manual/sysinfo.texi: Likewise.
4108 * manual/syslog.texi: Likewise.
4109 * manual/terminal.texi: Likewise.
4110 * manual/time.texi: Likewise.
4111 * manual/users.texi: Likewise.
4112 * INSTALL: Regenerated.
4113 * NOTES: Regenerated.
4114 * sysdeps/gnu/errlist.c: Regenerated.
4115
4116 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4117
4118 * include/dirent.h: Include <dirstream.h> before
4119 <dirent/dirent.h>.
4120
4121 2012-02-28 David S. Miller <davem@davemloft.net>
4122
4123 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4124 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4125 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4126 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4127
4128 2012-02-27 David S. Miller <davem@davemloft.net>
4129
4130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4132 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4133 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4134
4135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4136 frame pointer instead of stack pointer relative arg slot.
4137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4138 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4139 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4140
4141 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4142
4143 [BZ #3992]
4144 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4145
4146 2012-02-27 David S. Miller <davem@davemloft.net>
4147
4148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4152 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4153 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4154 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4155 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4156
4157 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4158
4159 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4160 later. Allow versions 5-9.
4161 * configure: Regenerated.
4162 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4163 required minimum version and 4.6 as recommended version. Do not
4164 mention bugs in GCC 2.7 and 2.8.
4165 * INSTALL: Regenerated.
4166
4167 2012-02-27 David S. Miller <davem@davemloft.net>
4168
4169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4173 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4174 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4175 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4176 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4177
4178 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4179 manipulate bits before adding and subtracting TWO112[sx].
4180 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4181
4182 2012-02-27 Roland McGrath <roland@hack.frob.com>
4183
4184 [BZ #13775]
4185 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4186 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4187 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4188 being in POSIX, because they are in 1003.1-2008.
4189
4190 * rt/tst-aio.c: Include <fcntl.h>.
4191 * rt/tst-aio7.c: Likewise.
4192 * rt/tst-aio64.c: Likewise.
4193
4194 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4195
4196 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4197
4198 * manual/install.texi (--with-headers): Describe headers as
4199 interface headers, not private headers.
4200 (Specific advice for GNU/Linux systems): Describe use of headers
4201 from "make headers_install", not private headers from older
4202 kernels.
4203 * INSTALL: Regenerated.
4204 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4205 Change to 2.6.19.
4206 * sysdeps/unix/sysv/linux/configure: Regenerated.
4207
4208 * manual/llio.texi (fclean): Remove documentation.
4209
4210 * manual/Makefile (libc-texi-generated): New variable. Include
4211 version.texi.
4212 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4213 $(libc-texi-generated), not duplicated list of files.
4214 (version.texi, stamp-version): New rules.
4215 (realclean): Remove $(libc-texi-generated), not individual files
4216 from that list. Do not remove dir-add.texinfo.
4217 * manual/libc.texinfo: Comment out uses of edition numbers and
4218 references to printed manual. Remove last-updated dates.
4219 (EDITION): Comment out.
4220 (ISBN): Likewise.
4221 (VERSION, UPDATED): Remove.
4222 (version.texi): Include.
4223
4224 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4225
4226 * sysdeps/posix/spawni.c: Include <signal.h>.
4227 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4228 * sysdeps/pthread/aio_fsync.c: Likewise.
4229
4230 2012-02-26 Ulrich Drepper <drepper@gmail.com>
4231
4232 * conform/Makefile (tests): Run only when not cross-compiling and
4233 when fast-check is not defined.
4234
4235 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4236 * conform/data/limits.h-data: Fixes for POSIX2008.
4237 * conform/run-conformtest.sh: Run all tests.
4238 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4239 headers.
4240 * include/bits/dlfcn.h: Likewise.
4241 * include/langinfo.h: Likewise.
4242 * include/monetary.h: Likewise.
4243 * include/sys/poll.h: Likewise.
4244
4245 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4246 for __USE_GNU.
4247 * posix/spawn.h: Define __need_sigset_t.
4248 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4249 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4250 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4251 to get sigevent_t only.
4252 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4253 only for __USE_GNU.
4254 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4255 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4256 process_vm_writev only for __USE_GNU.
4257 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4258
4259 * conform/Makefile: For now ignore errors from run-conformtest.
4260 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4261 POSIX to avoid namespace pollution. Don't prepend headers.
4262 * conform/data/aio.h-data: Fixes for POSIX testing.
4263 * conform/data/fcntl.h-data: Likewise.
4264 * conform/data/glob.h-data: Likewise.
4265 * conform/data/grp.h-data: Likewise.
4266 * conform/data/pthread.h-data: Likewise.
4267 * conform/data/pwd.h-data: Likewise.
4268 * conform/data/signal.h-data: Likewise.
4269 * conform/data/spawn.h-data: Likewise.
4270 * conform/data/stdio.h-data: Likewise.
4271 * conform/data/stdlib.h-data: Likewise.
4272 * conform/data/stropts.h-data: Likewise.
4273 * conform/data/sys/mman.h-data: Likewise.
4274 * conform/data/sys/stat.h-data: Likewise.
4275 * conform/data/sys/types.h-data: Likewise.
4276 * conform/data/sys/wait.h-data: Likewise.
4277 * conform/data/time.h-data: Likewise.
4278 * conform/data/unistd.h-data: Likewise.
4279 * conform/data/utime.h-data: Likewise.
4280
4281 * io/sys/stat.h: fchmod was always in POSIX.
4282 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4283 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4284 * rt/aio.h: Define __need_timespec before including <time.h>.
4285 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4286 struct. Add forward declaration of pthread_attr_t and use it in
4287 sigevent.
4288 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4289 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4290 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4291 always remove CLK_TCK definition.
4292
4293 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4294
4295 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4296
4297 2012-02-25 Ulrich Drepper <drepper@gmail.com>
4298
4299 * conform/run-conformtest.sh: New file.
4300 * conform/Makefile: Run run-conformtest for tests.
4301 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4302 support.
4303
4304 * conform/data/uchar.h-data: New file.
4305 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4306 * conform/data/arpa/inet.h-data: Likewise.
4307 * conform/data/assert.h-data: Likewise.
4308 * conform/data/complex.h-data: Likewise.
4309 * conform/data/cpio.h-data: Likewise.
4310 * conform/data/ctype.h-data: Likewise.
4311 * conform/data/dirent.h-data: Likewise.
4312 * conform/data/dlfcn.h-data: Likewise.
4313 * conform/data/errno.h-data: Likewise.
4314 * conform/data/fcntl.h-data: Likewise.
4315 * conform/data/float.h-data: Likewise.
4316 * conform/data/fmtmsg.h-data: Likewise.
4317 * conform/data/fnmatch.h-data: Likewise.
4318 * conform/data/ftw.h-data: Likewise.
4319 * conform/data/glob.h-data: Likewise.
4320 * conform/data/grp.h-data: Likewise.
4321 * conform/data/iconv.h-data: Likewise.
4322 * conform/data/inttypes.h-data: Likewise.
4323 * conform/data/langinfo.h-data: Likewise.
4324 * conform/data/libgen.h-data: Likewise.
4325 * conform/data/limits.h-data: Likewise.
4326 * conform/data/locale.h-data: Likewise.
4327 * conform/data/math.h-data: Likewise.
4328 * conform/data/monetary.h-data: Likewise.
4329 * conform/data/mqueue.h-data: Likewise.
4330 * conform/data/ndbm.h-data: Likewise.
4331 * conform/data/net/if.h-data: Likewise.
4332 * conform/data/netdb.h-data: Likewise.
4333 * conform/data/netinet/in.h-data: Likewise.
4334 * conform/data/nl_types.h-data: Likewise.
4335 * conform/data/poll.h-data: Likewise.
4336 * conform/data/pthread.h-data: Likewise.
4337 * conform/data/pwd.h-data: Likewise.
4338 * conform/data/regex.h-data: Likewise.
4339 * conform/data/sched.h-data: Likewise.
4340 * conform/data/search.h-data: Likewise.
4341 * conform/data/semaphore.h-data: Likewise.
4342 * conform/data/setjmp.h-data: Likewise.
4343 * conform/data/signal.h-data: Likewise.
4344 * conform/data/spawn.h-data: Likewise.
4345 * conform/data/stdarg.h-data: Likewise.
4346 * conform/data/stdio.h-data: Likewise.
4347 * conform/data/stdlib.h-data: Likewise.
4348 * conform/data/string.h-data: Likewise.
4349 * conform/data/strings.h-data: Likewise.
4350 * conform/data/stropts.h-data: Likewise.
4351 * conform/data/sys/ipc.h-data: Likewise.
4352 * conform/data/sys/mman.h-data: Likewise.
4353 * conform/data/sys/msg.h-data: Likewise.
4354 * conform/data/sys/resource.h-data: Likewise.
4355 * conform/data/sys/select.h-data: Likewise.
4356 * conform/data/sys/sem.h-data: Likewise.
4357 * conform/data/sys/shm.h-data: Likewise.
4358 * conform/data/sys/socket.h-data: Likewise.
4359 * conform/data/sys/stat.h-data: Likewise.
4360 * conform/data/sys/statvfs.h-data: Likewise.
4361 * conform/data/sys/time.h-data: Likewise.
4362 * conform/data/sys/timeb.h-data: Likewise.
4363 * conform/data/sys/times.h-data: Likewise.
4364 * conform/data/sys/types.h-data: Likewise.
4365 * conform/data/sys/uio.h-data: Likewise.
4366 * conform/data/sys/un.h-data: Likewise.
4367 * conform/data/sys/utsname.h-data: Likewise.
4368 * conform/data/sys/wait.h-data: Likewise.
4369 * conform/data/syslog.h-data: Likewise.
4370 * conform/data/tar.h-data: Likewise.
4371 * conform/data/termios.h-data: Likewise.
4372 * conform/data/utime.h-data: Likewise.
4373 * conform/data/utmpx.h-data: Likewise.
4374 * conform/data/varargs.h-data: Likewise.
4375 * conform/data/wchar.h-data: Likewise.
4376 * conform/data/wctype.h-data: Likewise.
4377 * conform/data/wordexp.h-data: Likewise.
4378
4379 * include/stropts.h: New file.
4380 * include/uchar.h: New file.
4381 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4382 * include/assert.h: Likewise.
4383 * include/ctype.h: Likewise.
4384 * include/dirent.h: Likewise.
4385 * include/dlfcn.h: Likewise.
4386 * include/fcntl.h: Likewise.
4387 * include/fnmatch.h: Likewise.
4388 * include/glob.h: Likewise.
4389 * include/grp.h: Likewise.
4390 * include/libio.h: Likewise.
4391 * include/locale.h: Likewise.
4392 * include/math.h: Likewise.
4393 * include/net/if.h: Likewise.
4394 * include/netdb.h: Likewise.
4395 * include/netinet/in.h: Likewise.
4396 * include/pthread.h: Likewise.
4397 * include/pwd.h: Likewise.
4398 * include/regex.h: Likewise.
4399 * include/sched.h: Likewise.
4400 * include/search.h: Likewise.
4401 * include/setjmp.h: Likewise.
4402 * include/signal.h: Likewise.
4403 * include/stdio.h: Likewise.
4404 * include/stdlib.h: Likewise.
4405 * include/string.h: Likewise.
4406 * include/sys/cdefs.h: Likewise.
4407 * include/sys/mman.h: Likewise.
4408 * include/sys/msg.h: Likewise.
4409 * include/sys/resource.h: Likewise.
4410 * include/sys/select.h: Likewise.
4411 * include/sys/socket.h: Likewise.
4412 * include/sys/stat.h: Likewise.
4413 * include/sys/statvfs.h: Likewise.
4414 * include/sys/time.h: Likewise.
4415 * include/sys/times.h: Likewise.
4416 * include/sys/uio.h: Likewise.
4417 * include/sys/utsname.h: Likewise.
4418 * include/sys/wait.h: Likewise.
4419 * include/termios.h: Likewise.
4420 * include/time.h: Likewise.
4421 * include/ulimit.h: Likewise.
4422 * include/unistd.h: Likewise.
4423 * include/utime.h: Likewise.
4424 * include/wchar.h: Likewise.
4425 * include/wctype.h: Likewise.
4426 * include/wordexp.h: Likewise.
4427
4428 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4429
4430 * time/time.h: TIME_UTC must be a macro.
4431 Make timespec_get available for ISO C11 only as well.
4432
4433 2012-02-24 Ulrich Drepper <drepper@gmail.com>
4434
4435 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4436 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4437
4438 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4439
4440 * configure.in: Use -o not -a in test for unsupported multi-arch.
4441
4442 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4443
4444 * manual/texinfo.tex: Update to version 2012-01-19.16.
4445
4446 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4447
4448 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4449
4450 2012-02-24 Roland McGrath <roland@hack.frob.com>
4451
4452 [BZ #13738]
4453 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4454 * manual/fdl-1.3.texi: New file.
4455 * manual/fdl-1.1.texi: File removed.
4456
4457 [BZ #13738]
4458 * manual/libc.texinfo (FDL_VERSION): New @set.
4459 Use it for mention of FDL in cover text.
4460 (Documentation License): Use it in @include file name.
4461
4462 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4463 Roland McGrath <roland@hack.frob.com>
4464
4465 [BZ #5461]
4466 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4467 not LONG_LONG_MAX and LONG_LONG_MIN.
4468 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4469 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4470 name.
4471 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4472
4473 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4474
4475 [BZ #2547]
4476 [BZ #11365]
4477 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4478 manipulate bits before adding and subtracting TWO23[sx].
4479 * math/libm-test.inc (nearbyint_test): Add more tests.
4480
4481 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4482
4483 [BZ #2548]
4484 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4485 bits before adding and subtracting TWO23[sx].
4486 * math/libm-test.inc (rint_test): Add more tests.
4487 (rint_test_tonearest): Likewise.
4488 (rint_test_towardzero): Likewise.
4489 (rint_test_downward): Likewise.
4490 (rint_test_upward: Likewise.
4491
4492 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4493
4494 [BZ #10110]
4495 * include/stdc-predef.h: New file. Extracted from features.h.
4496 * include/features.h: Include stdc-predef.h.
4497 * Makefile (headers): Add stdc-predef.h.
4498 * CONFORMANCE (Compiler limitations): Update.
4499
4500 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4501
4502 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4503
4504 2012-02-21 David S. Miller <davem@davemloft.net>
4505
4506 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4507 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4508
4509 2012-02-20 David S. Miller <davem@davemloft.net>
4510
4511 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4512 using a normal save/restore sequence, rather than allocating a
4513 dummy stack frame just to store a frame pointer and restore.
4514 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4515
4516 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4517
4518 * manual/install.texi: Fix stray word in line-wrapped comment.
4519
4520 2012-02-20 David S. Miller <davem@davemloft.net>
4521
4522 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4523 both binutils and gcc support GOTDATA.
4524
4525 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4526 "rd %pc" in the PIC register setup sequences.
4527
4528 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4529 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4530 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4531 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4532 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4533 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4534 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4535 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4536 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4537 (SYSCALL_ERROR_HANDLER): Likewise.
4538 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4539 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4540 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4541 (SYSCALL_ERROR_HANDLER): Likewise.
4542
4543 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4544 (HAVE_GCC_GOTDATA): New.
4545 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4546 relocation support in both binutils and gcc.
4547 * sysdeps/sparc/elf/configure: Regenerate.
4548
4549 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4550 * sysdeps/sparc/sparc32/elf/configure: Delete.
4551 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4552 * sysdeps/sparc/sparc64/elf/configure: Delete.
4553 * sysdeps/sparc/elf/configure.in: New file.
4554 * sysdeps/sparc/elf/configure: Generate.
4555
4556 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4557 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4558 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4559 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4560 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4561
4562 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4563
4564 * manual/install.texi: Do not mention specific glibc version
4565 numbers.
4566 * manual/libc.texinfo (VERSION, UPDATED): Update.
4567 (@copying): Use @copyright{} and range of years.
4568
4569 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4570
4571 [BZ #13695]
4572 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4573 [crti.S not in sysdirs] (generated): Do not append.
4574 [crti.S not in sysdirs] (omit-deps): Likewise.
4575 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4576 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4577 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4578 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4579 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4580 Likewise.
4581 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4582 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4583 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4584 * csu/defs.awk: Remove file.
4585 * sysdeps/generic/initfini.c: Likewise.
4586 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4587 variable.
4588 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4589 Likewise.
4590
4591 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4592
4593 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4594 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4595 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4596 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4597 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4598 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4599 <bits/epoll.h>.
4600 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4601 (__EPOLL_PACKED): Define to empty if not defined by
4602 <bits/epoll.h>.
4603 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4604 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4605 bits/epoll.h.
4606
4607 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4608
4609 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4610 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4611 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4612 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4613 <bits/timerfd.h>.
4614 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4615 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4616 bits/timerfd.h.
4617
4618 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4619
4620 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4621 in C locale.
4622 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4623 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4624 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4626
4627 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
4628
4629 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4630 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4631
4632 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
4633
4634 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4635 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4636 defined.
4637 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4638 Likewise.
4639 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4640 entry for 2.16.
4641
4642 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
4643
4644 * math/w_acos.c: Use non-signaling floating-point comparisons.
4645 * math/w_acosf.c: Likewise.
4646 * math/w_acosh.c: Likewise.
4647 * math/w_acoshf.c: Likewise.
4648 * math/w_acoshl.c: Likewise.
4649 * math/w_acosl.c: Likewise.
4650 * math/w_asin.c: Likewise.
4651 * math/w_asinf.c: Likewise.
4652 * math/w_asinl.c: Likewise.
4653 * math/w_atanh.c: Likewise.
4654 * math/w_atanhf.c: Likewise.
4655 * math/w_atanhl.c: Likewise.
4656 * math/w_exp2.c: Likewise.
4657 * math/w_exp2f.c: Likewise.
4658 * math/w_exp2l.c: Likewise.
4659 * math/w_j0.c: Likewise.
4660 * math/w_j0f.c: Likewise.
4661 * math/w_j0l.c: Likewise.
4662 * math/w_j1.c: Likewise.
4663 * math/w_j1f.c: Likewise.
4664 * math/w_j1l.c: Likewise.
4665 * math/w_jn.c: Likewise.
4666 * math/w_jnf.c: Likewise.
4667 * math/w_log.c: Likewise.
4668 * math/w_log10.c: Likewise.
4669 * math/w_log10f.c: Likewise.
4670 * math/w_log10l.c: Likewise.
4671 * math/w_log2.c: Likewise.
4672 * math/w_log2f.c: Likewise.
4673 * math/w_log2l.c: Likewise.
4674 * math/w_logf.c: Likewise.
4675 * math/w_logl.c: Likewise.
4676 * math/w_sqrt.c: Likewise.
4677 * math/w_sqrtf.c: Likewise.
4678 * math/w_sqrtl.c: Likewise.
4679 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4680 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4681 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4682 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4683 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4684
4685 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4686
4687 [BZ #9739]
4688 * manual/string.texi (strnlen): Use correct parameter name in
4689 equivalent expression.
4690
4691 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4692
4693 [BZ #11174]
4694 * manual/users.texi (seteuid): Consistently use neweuid for
4695 argument name.
4696
4697 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4698
4699 [BZ #13704]
4700 * manual/nss.texi (Services in the NSS configuration): Correct
4701 list of services in example configuration file.
4702
4703 2012-02-19 Nick Bowler <nbowler@draconx.ca>
4704
4705 [BZ #11322]
4706 * manual/arith.texi: Remove statements about negative zero
4707 behaving identically to zero.
4708
4709 2012-02-18 Joseph Myers <joseph@codesourcery.com>
4710
4711 [BZ #5993]
4712 * manual/install.texi: Do not document upgrading from libc5.
4713
4714 2012-02-18 Joseph Myers <joseph@codesourcery.com>
4715
4716 [BZ #4596]
4717 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4718
4719 2012-02-18 David S. Miller <davem@davemloft.net>
4720
4721 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4722 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4723 %o7 across the call.
4724 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4725 instead.
4726 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4727 SETUP_PIC_REG_LEAF.
4728 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4729 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4730 * sysdeps/sparc/crtn.S: Likewise.
4731
4732 2012-02-17 Ulrich Drepper <drepper@gmail.com>
4733
4734 * aout/Makefile: Remove.
4735
4736 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
4737
4738 [BZ #13058]
4739 * manual/examples/argp-ex1.c (main): Format definition in GNU
4740 style.
4741 * manual/examples/argp-ex2.c (main): Likewise.
4742 * manual/examples/argp-ex3.c (main): Likewise.
4743 * manual/examples/argp-ex4.c (main): Likewise.
4744 * manual/examples/longopt.c (main): Use new-style prototype
4745 definition.
4746 * manual/examples/strncat.c (main): Specify return type and use
4747 (void) for arguments.
4748 * manual/examples/subopt.c (main): Use char **argv argument.
4749
4750 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4751
4752 [BZ #5077]
4753 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4754 rounding modes.
4755
4756 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
4757
4758 [BZ #6907]
4759 * manual/string.texi (strchr): Change when strchrnul is
4760 recommended.
4761
4762 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
4763
4764 [BZ #174]
4765 * manual/locale.texi (setlocale): Document LOCPATH.
4766
4767 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4768
4769 [BZ #10210]
4770 * manual/process.texi (execle): Move @dots{} before last argument.
4771
4772 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
4773
4774 [BZ #12047]
4775 * manual/charset.texi (Generic Charset Conversion): Fix typo
4776 (LC_TYPE -> LC_CTYPE).
4777
4778 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
4779
4780 [BZ #5805]
4781 * manual/arith.texi (scalbn): Use @var{} on parameter names.
4782 (scalbnf): Likewise.
4783 (scalbnl): Likewise.
4784 (scalbln): Likewise.
4785 (scalblnf): Likewise.
4786 (scalblnl): Likewise.
4787 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4788 (vwarnx): Likewise.
4789 (verr): Likewise.
4790 (verrx): Likewise.
4791 * manual/filesys.texi (telldir): Use braces around return type.
4792 * manual/llio.texi (mmap): Add space after comma.
4793 (mmap64): Likewise.
4794 * manual/math.texi (jn): Use @var{} on parameter names.
4795 (jnf): Likewise.
4796 (jnl): Likewise.
4797 (yn): Likewise.
4798 (ynf): Likewise.
4799 (ynl): Likewise.
4800 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4801 line.
4802 * manual/resource.texi (ulimit): Use @dots{} instead of literal
4803 "...".
4804 (sched_get_priority_min): Remove semicolon on @deftypefun line.
4805 (sched_get_priority_max): Likewise.
4806 * manual/signal.texi (sigvec): Add space after comma.
4807 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4808 names.
4809 (if_indextoname): Likewise.
4810 (if_freenameindex): Likewise.
4811 (sendto): Use ',' instead of '.' in prototype.
4812 * manual/startup.texi (syscall): Use @dots{} instead of literal
4813 "...".
4814 * manual/stdio.texi (__fpending): Separate initial words of
4815 paragraph from @deftypefun line.
4816 * manual/syslog.texi (syslog): Use @dots{} instead of literal
4817 "...".
4818 (vsyslog): Use @var{} on parameter names.
4819 * manual/terminal.texi (stty): Use @var{} on parameter names.
4820 * manual/users.texi (getutmp): Use @var{} on parameter names.
4821 (getutmpx): Likewise.
4822
4823 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4824
4825 [BZ #6884]
4826 * manual/stdio.texi (fopen): Fix typos in description of
4827 ",ccs=STRING".
4828
4829 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
4830
4831 [BZ #4026]
4832 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4833 get clock_id definition.
4834
4835 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
4836
4837 [BZ #4822]
4838 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4839 (madvise): Cast every argument to void on its own.
4840
4841 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4842
4843 [BZ #9902]
4844 * manual/startup.texi (Exit Status): Fix typo.
4845
4846 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4847
4848 [BZ #10140]
4849 * manual/examples/argp-ex1.c: Include <stdlib.h>.
4850 * manual/examples/argp-ex2.c: Likewise.
4851 * manual/examples/argp-ex3.c: Likewise.
4852
4853 2012-02-16 Richard Henderson <rth@redhat.com>
4854
4855 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4856 * sysdeps/s390/s390-32/initfini.c: Remove.
4857 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4858 * sysdeps/s390/s390-64/initfini.c: Remove.
4859
4860 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4861
4862 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4863 compiler output for sysdeps/generic/initfini.c.
4864 * sysdeps/sh/elf/initfini.c: Remove file.
4865
4866 2012-02-16 David S. Miller <davem@davemloft.net>
4867
4868 [BZ #11494]
4869 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4870
4871 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4872 * sysdeps/sparc/crti.S: New file.
4873 * sysdeps/sparc/crtn.S: New file.
4874 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4875 * sysdeps/sparc/sparc64/Makefile: Likewise.
4876
4877 2012-02-15 Mike Frysinger <vapier@gentoo.org>
4878
4879 [BZ #3335]
4880 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4881
4882 2012-02-15 Roland McGrath <roland@hack.frob.com>
4883
4884 [BZ #4822]
4885 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4886
4887 * mach/devstream.c (cookie_io_functions_t): Macro removed.
4888 (write, read, close): Likewise.
4889 Patch by Aurelien Jarno <aurelien@aurel32.net>.
4890
4891 2012-02-15 Joseph Myers <joseph@codesourcery.com>
4892
4893 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4894 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4895 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4896 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4897 <bits/signalfd.h>.
4898 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4899 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4900 bits/signalfd.h.
4901
4902 2012-02-14 Marek Polacek <polacek@redhat.com>
4903
4904 * sysdeps/x86_64/crti.S: New file.
4905 * sysdeps/x86_64/crtn.S: New file.
4906 * sysdeps/x86_64/elf/initfini.c: Remove file.
4907
4908 2012-02-13 Joseph Myers <joseph@codesourcery.com>
4909
4910 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4911 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4912 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4913 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4914 <bits/inotify.h>.
4915 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4916 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4917 bits/inotify.h.
4918
4919 2012-02-13 Joseph Myers <joseph@codesourcery.com>
4920
4921 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4922 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4923 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4924 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4925 <bits/eventfd.h>.
4926 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4927 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4928 bits/eventfd.h.
4929
4930 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
4931
4932 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4933 __feraiseexcept instead of feraiseexcept.
4934
4935 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4936 nanosleep invocations.
4937 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4938 strings, and add error checking for a nanosleep invocations.
4939
4940 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
4941
4942 Replace FSF snail mail address with URLs, as per GNU coding standards.
4943 Most of the snail mail addresses were wrong anyway, and omitting
4944 them makes the source code easier to maintain. Almost all of the
4945 changes are to license notices and to locale LC_IDENTIFICATION
4946 addresses, except for this one:
4947 * manual/libc.texinfo: In "Published by", give the FSF's URL,
4948 not its snail mail address.
4949
4950 2012-02-09 Richard Henderson <rth@twiddle.net>
4951
4952 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4953 of kernel-features.h.
4954
4955 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4956
4957 2012-02-08 Marek Polacek <polacek@redhat.com>
4958
4959 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4960 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4961 * sysdeps/gnu/_G_config.h: Likewise.
4962 * sysdeps/generic/_G_config.h: Likewise.
4963
4964 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
4965
4966 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4967 tests.
4968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4969
4970 * sysdeps/powerpc/powerpc32/crti.S: New file.
4971 * sysdeps/powerpc/powerpc32/crtn.S: New file.
4972 * sysdeps/powerpc/powerpc64/crti.S: New file.
4973 * sysdeps/powerpc/powerpc64/crtn.S: New file.
4974
4975 * Makeconfig (have-initfini): Don't set.
4976 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4977 * configure.in (nopic_initfini): Don't substitute.
4978 * config.h.in (HAVE_INITFINI): Don't #undef.
4979 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4980 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4981
4982 2012-02-08 Joseph Myers <joseph@codesourcery.com>
4983
4984 Support crti.S and crtn.S provided directly by architectures.
4985 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4986 [crti.S in sysdirs] (omit-deps): Likewise.
4987 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4988 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4989 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4990 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4991 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4992 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4993 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4994 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4995 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4996 compiler output for sysdeps/generic/initfini.c.
4997 * sysdeps/i386/elf/Makefile: Remove file.
4998 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4999
5000 2012-02-07 Marek Polacek <polacek@redhat.com>
5001
5002 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5003 * sysdeps/gnu/_G_config.h: Likewise.
5004 * sysdeps/mach/hurd/_G_config.h: Likewise.
5005
5006 2012-02-07 Marek Polacek <polacek@redhat.com>
5007
5008 * math/Makefile (tests): Add tst-CMPLX2.
5009 * math/tst-CMPLX2.c: New file.
5010
5011 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5012
5013 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5014
5015 * math/libm-test.inc (jn_test): Add missing L suffix.
5016
5017 2012-02-06 Marek Polacek <polacek@redhat.com>
5018
5019 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5020 * sysdeps/i386/fpu/e_powf.S: Likewise.
5021 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5022 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5023 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5024 * sysdeps/i386/fpu/e_pow.S: Likewise.
5025 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5026 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5027 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5028 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5029 * sysdeps/i386/fpu/e_log2.S: Likewise.
5030 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5031 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5032 * sysdeps/i386/fpu/e_powl.S: Likewise.
5033 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5034 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5035 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5036 * sysdeps/i386/fpu/e_logl.S: Likewise.
5037 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5038 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5039 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5040 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5041 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5042 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5043 * sysdeps/i386/fpu/e_log.S: Likewise.
5044 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5045 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5046 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5047 * sysdeps/i386/fpu/e_logf.S: Likewise.
5048 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5049 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5050 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5051 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5052 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5053 * sysdeps/i386/fpu/e_log10.S: Likewise.
5054 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5055 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5056 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5057 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5058 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5059 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5060 * sysdeps/i386/asm-syntax.h: Likewise.
5061 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5062 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5063 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5064 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5065 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5066 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5067 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5068 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5069 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5070 * sysdeps/powerpc/sysdep.h: Likewise.
5071 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5072 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5073
5074 2012-02-06 Joseph Myers <joseph@codesourcery.com>
5075
5076 [BZ #411]
5077 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5078
5079 2012-02-06 Joseph Myers <joseph@codesourcery.com>
5080
5081 * sysdeps/i386/sysdep.h: Include <features.h>.
5082 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5083 version.
5084
5085 2012-02-05 Joseph Myers <joseph@codesourcery.com>
5086
5087 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5088 Define.
5089 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5090 LOAD_PIC_REG_STR.
5091
5092 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5093
5094 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5095 (SETUP_PIC_REG): Use GET_PC_THUNK.
5096 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5097 macro.
5098
5099 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5100
5101 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5102 for non-PIC compilation.
5103 (SETUP_PIC_REG): Add .p2align directive.
5104 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5105 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5106 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5107 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5108 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5109 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5110 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5111 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5112 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5113 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5114 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5115 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5116 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5117 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5118 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5119 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5120 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5121 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5122 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5123 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5124 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5125 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5126 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5127 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5128 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5129 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5130 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5131 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5132 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5133 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5134 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5135 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5136 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5137 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5138 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5139 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5140 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5141 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5142 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5143 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5144 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5145
5146 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5147
5148 * math/tst-CMPLX.c: Include <stdio.h>.
5149
5150 2012-01-31 Joseph Myers <joseph@codesourcery.com>
5151
5152 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5153 float.
5154 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5155 * sysdeps/sparc/bits/mathdef.h: Likewise.
5156
5157 2012-01-31 Marek Polacek <polacek@redhat.com>
5158
5159 * libio/libio.h: Don't define _PARAMS.
5160 * locale/programs/config.h: Don't define PARAMS.
5161 * stdlib/strtol_l.c: Likewise.
5162 (__strtol_l): Remove PARAMS from the prototype.
5163
5164 2012-01-31 Ulrich Drepper <drepper@gmail.com>
5165
5166 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5167 names. Just use the correct names. Remove unnecessary wrapper
5168 functions.
5169 * malloc/arena.c: Likewise.
5170 * malloc/hooks.c: Likewise.
5171
5172 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5173 ARENA_TEST says not to. Simplify test for creation of a new arena.
5174 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5175
5176 2012-01-30 Ulrich Drepper <drepper@gmail.com>
5177
5178 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5179 into tail calls.
5180 (update_get_addr): New function.
5181 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5182 GET_ADDR_MODULE parameter.
5183
5184 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5185
5186 * crypt/cert.c: Remove __STDC__ conditionals.
5187 * crypt/crypt-entry.c: Likewise.
5188 * crypt/crypt_util.c: Likewise.
5189 * libio/filedoalloc.c: Likewise.
5190 * libio/fileops.c: Likewise.
5191 * libio/genops.c: Likewise.
5192 * libio/iofclose.c: Likewise.
5193 * libio/iofdopen.c: Likewise.
5194 * libio/iofopen.c: Likewise.
5195 * libio/iofopen64.c: Likewise.
5196 * libio/iogetdelim.c: Likewise.
5197 * libio/iopopen.c: Likewise.
5198 * libio/obprintf.c: Likewise.
5199 * libio/oldfileops.c: Likewise.
5200 * libio/oldiofclose.c: Likewise.
5201 * libio/oldiofdopen.c: Likewise.
5202 * libio/oldiofopen.c: Likewise.
5203 * libio/oldiopopen.c: Likewise.
5204 * libio/wfiledoalloc.c: Likewise.
5205 * libio/wgenops.c: Likewise.
5206 * locale/programs/xmalloc.c: Likewise.
5207 * misc/syslog.c: Likewise.
5208 * stdio-common/xbug.c: Likewise.
5209 * string/memchr.c: Likewise.
5210 * string/memcmp.c: Likewise.
5211 * string/memrchr.c: Likewise.
5212 * string/rawmemchr.c: Likewise.
5213 * sysdeps/posix/getcwd.c: Likewise.
5214 * time/strftime_l.c: Likewise.
5215
5216 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5217
5218 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
5219 * config.make.in (config-cflags-sse2avx): Define.
5220 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5221 Fix typo.
5222
5223 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5224
5225 * scripts/config.guess: Update from upstream config git repository.
5226 * scripts/config.sub: Likewise.
5227
5228 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5229
5230 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5231 (EM_NUM): Update.
5232 (R_TILEPRO_*, R_TILEGX_*): New macros.
5233
5234 * scripts/firstversions.awk: Fix bug in version range handling.
5235
5236 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5237
5238 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5239
5240 * include/sys/epoll.h: New file.
5241 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5242 libc_hidden_def.
5243
5244 2012-01-28 Ulrich Drepper <drepper@gmail.com>
5245
5246 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5247 Avoid unnecessary __WORDSIZE == 64 test.
5248 (fmaxf): Use VEX format if possible.
5249 (fmax): Likewise.
5250 (fminf): Likewise.
5251 (fmin): Likewise.
5252
5253 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5254 * math/math_private.h: Remove libc_fegetround* and
5255 libc_fesetround*.
5256 * sysdeps/i386/configure.in: Check for -msse2avx.
5257 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5258 also if SSE2AVX is defined.
5259 Remove libc_fegetround* and libc_fesetround*.
5260 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5261 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5262 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5263 of HAS_YMM_USABLE.
5264 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5265 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5266 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5267 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5268 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5269
5270 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5271
5272 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5273
5274 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5275 size is not set.
5276 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5277
5278 2012-01-27 Ulrich Drepper <drepper@gmail.com>
5279
5280 [BZ #13618]
5281 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5282 relocation.
5283 * Makeconfig (libm): Define.
5284 * elf/Makefile: Add rules to build and run tst-relsort1.
5285 * elf/tst-relsort1.c: New file.
5286 * elf/tst-relsort1mod1.c: New file.
5287 * elf/tst-relsort1mod2.c: New file.
5288
5289 2012-01-27 Joseph Myers <joseph@codesourcery.com>
5290
5291 * math/s_ldexp.c: Remove __STDC__ conditionals.
5292 * math/s_ldexpf.c: Likewise.
5293 * math/s_ldexpl.c: Likewise.
5294 * math/s_nextafter.c: Likewise.
5295 * math/s_nexttowardf.c: Likewise.
5296 * math/s_significand.c: Likewise.
5297 * math/s_significandf.c: Likewise.
5298 * math/s_significandl.c: Likewise.
5299 * math/w_jnl.c: Likewise.
5300 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5301 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5302 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5303 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5304 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5305 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5306 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5307 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5308 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5309 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5310 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5311 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5312 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5313 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5314 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5315 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5316 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5317 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5318 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5319 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5320 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5321 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5322 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5323 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5324 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5325 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5326 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5327 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5328 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5329 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5330 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5331 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5332 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5333 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5334 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5335 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5336 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5337 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5338 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5339 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5340 * sysdeps/ieee754/k_standard.c: Likewise.
5341 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5342 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5343 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5344 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5345 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5346 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5347 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5348 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5349 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5350 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5351 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5352 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5353 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5354 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5355 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5356 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5357 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5358 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5359 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5360 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5361 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5362 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5363 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5364 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5365 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5366 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5367 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5368 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5369 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5370 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5371 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5372 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5373 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5374 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5375 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5376 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5377 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5378 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5379 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5380 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5381 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5382 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5383 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5384 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5385 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5386 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5387 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5388 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5389 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5390 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5391 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5392 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5393 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5394 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5395 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5396 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5397 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5398 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5399 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5400 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5401 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5402 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5403 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5404 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5405 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5406 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5407 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5408 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5409 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5410 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5411 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5412 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5413 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5414 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5415 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5416 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5417 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5418 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5419 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5420 * sysdeps/ieee754/s_matherr.c: Likewise.
5421 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5422 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5423 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5424 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5425
5426 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5427
5428 * crypt/md5.h: Remove __STDC__ conditionals.
5429 * libio/libioP.h: Likewise.
5430 * locale/programs/config.h: Likewise.
5431 * sysdeps/generic/sysdep.h: Likewise.
5432 * sysdeps/i386/asm-syntax.h: Likewise.
5433 * sysdeps/s390/asm-syntax.h: Likewise.
5434 * sysdeps/unix/sysdep.h: Likewise.
5435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5437
5438 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5439
5440 * libio/libio.h: Remove __STDC__ conditionals.
5441 * malloc/obstack.h: Likewise.
5442 * math/complex.h: Likewise.
5443 * math/math.h: Likewise.
5444 * sysdeps/generic/_G_config.h: Likewise.
5445 * sysdeps/gnu/_G_config.h: Likewise.
5446 * sysdeps/mach/hurd/_G_config.h: Likewise.
5447 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5448 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5449 * sysdeps/sparc/bits/mathdef.h: Likewise.
5450
5451 2012-01-26 Ulrich Drepper <drepper@gmail.com>
5452
5453 [BZ #13583]
5454 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
5455 Clean up HAS_* macros.
5456 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
5457 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5458 possible.
5459 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5460 HAS_AVX.
5461 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5462 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5463 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5464 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5465 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5466
5467 2012-01-25 Joseph Myers <joseph@codesourcery.com>
5468
5469 * elf/tst-unique3.cc (gets): Remove declaration.
5470 * elf/tst-unique3lib.cc (gets): Likewise.
5471 * elf/tst-unique3lib2.cc (gets): Likewise.
5472 * elf/tst-unique4.cc (gets): Likewise.
5473
5474 2012-01-24 Ulrich Drepper <drepper@gmail.com>
5475
5476 * include/stdio.h: Add C++ protection. Add gets declarations and
5477 definitions.
5478 * debug/tst-chk1.c: Don't declare gets here.
5479 * stdio-common/tst-gets.c: Likewise.
5480
5481 2012-01-24 Joseph Myers <joseph@codesourcery.com>
5482
5483 * posix/glob: Remove directory.
5484
5485 2012-01-24 Joseph Myers <joseph@codesourcery.com>
5486
5487 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5488
5489 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5490
5491 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5492 of the non-standard EPFNOSUPPORT.
5493
5494 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5495
5496 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5497 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5498 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5499
5500 2012-01-21 Ulrich Drepper <drepper@gmail.com>
5501
5502 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5503
5504 2012-01-20 Ulrich Drepper <drepper@gmail.com>
5505
5506 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5507 transient errors.
5508 * nscd/grpcache.c (cache_addgr): Likewise.
5509 * nscd/hstcache.c (cache_addhst): Likewise.
5510 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5511 * nscd/pwdcache.c (cache_addpw): Likewise.
5512 * nscd/servicescache.c (cache_addserv): Likewise.
5513
5514 2012-01-16 Ulrich Drepper <drepper@gmail.com>
5515
5516 * malloc/malloc.c: Various cleanups.
5517 * malloc/hooks.c: Likewise.
5518
5519 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5520 * stdlib/bug-fmtmsg1.c: New file.
5521
5522 * stdlib/fmtmsg.c (init): Add missing unlock.
5523 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5524
5525 2012-01-12 Marek Polacek <polacek@redhat.com>
5526
5527 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5528 and _GNU_SOURCE.
5529
5530 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5531
5532 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5533 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5534 macro to ensure uniqueness of label name.
5535 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5536 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5537
5538 2012-01-11 Ulrich Drepper <drepper@gmail.com>
5539
5540 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5541
5542 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5543 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5544 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5545 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5546
5547 2012-01-10 Ulrich Drepper <drepper@gmail.com>
5548
5549 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5550
5551 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5552 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5553 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5554
5555 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5556
5557 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
5558 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5559 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5560 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
5561
5562 * math/bits/math-finite.h: Add ldexp support.
5563
5564 2012-01-10 Marek Polacek <polacek@redhat.com>
5565
5566 * locale/programs/localedef.h (show_archive_content): Add noreturn
5567 attribute.
5568
5569 2012-01-09 Ulrich Drepper <drepper@gmail.com>
5570
5571 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5572
5573 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5574
5575 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5576
5577 * io/Makefile (headers): Add bits/poll2.h.
5578
5579 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5580
5581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5582 typo #include statement.
5583
5584 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5585
5586 * include/sys/cdefs.h: Define __attribute_alloc_size.
5587 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5588 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5589 * elf/pldd.c: Likewise.
5590 * iconv/iconv_charmap.c: Likewise.
5591 * iconv/iconvconfig.c: Likewise.
5592 * iconv/strtab.c: Likewise.
5593 * locale/programs/locale.c: Likewise.
5594 * locale/programs/localedef.h: Likewise.
5595 * locale/programs/simple-hash.c: Likewise.
5596 * nscd/nscd.h: Likewise.
5597 * nss/makedb.c: Likewise.
5598 * sysdeps/generic/ldconfig.h: Likewise.
5599 * locale/programs/localedef.c: Remove xmalloc prototype.
5600 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5601
5602 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5603
5604 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5605 appropriate.
5606
5607 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5608
5609 * math/Makefile (tests): Add tst-CMPLX.
5610 * math/tst-CMPLX.c: New file.
5611
5612 * math/complex.h (CMPLXL): Fix typo.
5613
5614 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5615 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5616 GLIBC_2.16.
5617 * debug/tst-chk1.c: Add poll and ppoll tests.
5618 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5619 * include/sys/poll.h: Add hidden proto for ppoll.
5620 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5621 * sysdeps/mach/hurd/ppoll.c: Likewise.
5622 * io/ppoll.c: Likewise.
5623 * debug/poll_chk.c: New file.
5624 * debug/ppoll_chk.c: New file.
5625 * include/bits/poll2.h: New file.
5626 * io/bits/poll2.h: New file.
5627
5628 [BZ #1350]
5629 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5630
5631 * configure.in: static is always set to yes. Remove.
5632 * config.make.in: Don't set build-static.
5633 * Makeconfig: Remove use of build-static.
5634 * dlfcn/Makefile: Likewise.
5635 * elf/Makefile: Likewise.
5636 * math/Makefile: Likewise.
5637 * misc/Makefile: Likewise.
5638 * nptl/Makefile: Likewise.
5639 * sysdeps/mach/hurd/Makefile: Likewise.
5640
5641 * configure.in: PWD_P is not used anymore.
5642 * config.make.in: Remove PWD_P entry.
5643
5644 * configure.in: Remove last remnants of RANLIB.
5645 No need to check for signed size_t anymore.
5646 Don't set libc_commonpagesize and libc_relro_required here for Alpha
5647 and IA-64.
5648 Remove __builtin_expect test because we require at least gcc 3.4.
5649 * aclocal.m4: Likewise.
5650
5651 * wcsmbs/mbrtoc16.c: Implement using towc function.
5652 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5653 * wcsmbs/wcsmbsload.c: Likewise.
5654 * iconv/gconv_simple.c: Likewise.
5655 * iconv/gconv_int.h: Likewise.
5656 * iconv/gconv_builtin.h: Likewise.
5657 * iconv/iconv_prog.c: Remove CHAR16 handling.
5658
5659 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5660
5661 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5662
5663 * configure.in: Remove --with-elf and --enable-bounded options.
5664 Dont set base_machine for ia64. More non-ELF conditions removed.
5665 Remove testing and setting of leading underscore information.
5666 * config.make.in (build-bounded): Set to no.
5667 * config.h.in: Remove NO_UNDERSCORES entry.
5668 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
5669 them.
5670 * csu/start.c: Remove !NO_UNDERSCORE code.
5671 * locale/localeinfo.h: Likewise.
5672 * sysdeps/generic/machine-gmon.h: Likewise.
5673 * sysdeps/generic/sysdep.h: Likewise.
5674 * sysdeps/i386/sysdep.h: Likewise.
5675 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5676 * sysdeps/mach/sysdep.h: Likewise.
5677 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5678 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5679 * sysdeps/sh/sysdep.h: Likewise.
5680 * sysdeps/sparc/sparc32/alloca.S: Likewise.
5681 * sysdeps/unix/i386/sysdep.S: Likewise.
5682 * sysdeps/unix/sparc/start.c: Likewise.
5683 * sysdeps/unix/sparc/sysdep.S: Likewise.
5684 * sysdeps/unix/sparc/sysdep.h: Likewise.
5685 * sysdeps/unix/start.c: Likewise.
5686 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5687 * sysdeps/x86_64/sysdep.h: Likewise.
5688
5689 2012-01-07 Ulrich Drepper <drepper@gmail.com>
5690
5691 [BZ #13553]
5692 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5693 for non-gcc.
5694 * argp/argp-fmtstream.h: Use const instead __const.
5695 * argp/argp.h: Likewise.
5696 * assert/assert.h: Likewise.
5697 * bits/fenv.h: Likewise.
5698 * bits/sched.h: Likewise.
5699 * bits/sigset.h: Likewise.
5700 * bits/sigthread.h: Likewise.
5701 * catgets/nl_types.h: Likewise.
5702 * conform/data/pthread.h-data: Likewise.
5703 * crypt/crypt-private.h: Likewise.
5704 * crypt/crypt.h: Likewise.
5705 * crypt/crypt_util.c: Likewise.
5706 * ctype/ctype.h: Likewise.
5707 * debug/execinfo.h: Likewise.
5708 * debug/mbsnrtowcs_chk.c: Likewise.
5709 * debug/mbsrtowcs_chk.c: Likewise.
5710 * debug/wcsnrtombs_chk.c: Likewise.
5711 * debug/wcsrtombs_chk.c: Likewise.
5712 * debug/wcstombs_chk.c: Likewise.
5713 * dirent/dirent.h: Likewise.
5714 * dlfcn/dlfcn.h: Likewise.
5715 * elf/neededtest4.c: Likewise.
5716 * grp/grp.h: Likewise.
5717 * gshadow/gshadow.h: Likewise.
5718 * iconv/gconv.h: Likewise.
5719 * iconv/gconv_int.h: Likewise.
5720 * iconv/gconv_simple.c: Likewise.
5721 * iconv/iconv.h: Likewise.
5722 * iconv/loop.c: Likewise.
5723 * iconv/skeleton.c: Likewise.
5724 * include/aio.h: Likewise.
5725 * include/aliases.h: Likewise.
5726 * include/argz.h: Likewise.
5727 * include/arpa/inet.h: Likewise.
5728 * include/assert.h: Likewise.
5729 * include/dirent.h: Likewise.
5730 * include/dlfcn.h: Likewise.
5731 * include/execinfo.h: Likewise.
5732 * include/fcntl.h: Likewise.
5733 * include/fenv.h: Likewise.
5734 * include/glob.h: Likewise.
5735 * include/grp.h: Likewise.
5736 * include/libintl.h: Likewise.
5737 * include/mntent.h: Likewise.
5738 * include/netdb.h: Likewise.
5739 * include/pwd.h: Likewise.
5740 * include/rpc/netdb.h: Likewise.
5741 * include/sched.h: Likewise.
5742 * include/search.h: Likewise.
5743 * include/shadow.h: Likewise.
5744 * include/signal.h: Likewise.
5745 * include/stdio.h: Likewise.
5746 * include/stdlib.h: Likewise.
5747 * include/string.h: Likewise.
5748 * include/sys/socket.h: Likewise.
5749 * include/sys/stat.h: Likewise.
5750 * include/sys/statfs.h: Likewise.
5751 * include/sys/statvfs.h: Likewise.
5752 * include/sys/syslog.h: Likewise.
5753 * include/sys/time.h: Likewise.
5754 * include/sys/uio.h: Likewise.
5755 * include/time.h: Likewise.
5756 * include/unistd.h: Likewise.
5757 * include/utmp.h: Likewise.
5758 * include/wchar.h: Likewise.
5759 * include/wctype.h: Likewise.
5760 * inet/aliases.h: Likewise.
5761 * inet/arpa/inet.h: Likewise.
5762 * inet/netinet/ether.h: Likewise.
5763 * inet/netinet/in.h: Likewise.
5764 * intl/libintl.h: Likewise.
5765 * io/bits/fcntl2.h: Likewise.
5766 * io/fcntl.h: Likewise.
5767 * io/ftw.h: Likewise.
5768 * io/sys/poll.h: Likewise.
5769 * io/sys/stat.h: Likewise.
5770 * io/sys/statfs.h: Likewise.
5771 * io/sys/statvfs.h: Likewise.
5772 * io/utime.h: Likewise.
5773 * libio/bits/stdio.h: Likewise.
5774 * libio/bits/stdio2.h: Likewise.
5775 * libio/libio.h: Likewise.
5776 * libio/libioP.h: Likewise.
5777 * libio/stdio.h: Likewise.
5778 * locale/lc-ctype.c: Likewise.
5779 * locale/locale.h: Likewise.
5780 * login/utmp.h: Likewise.
5781 * malloc/arena.c: Likewise.
5782 * malloc/malloc.c: Likewise.
5783 * malloc/malloc.h: Likewise.
5784 * malloc/mcheck.c: Likewise.
5785 * malloc/mtrace.c: Likewise.
5786 * math/bits/mathcalls.h: Likewise.
5787 * math/fenv.h: Likewise.
5788 * math/math_private.h: Likewise.
5789 * misc/bits/error.h: Likewise.
5790 * misc/bits/syslog.h: Likewise.
5791 * misc/err.h: Likewise.
5792 * misc/error.h: Likewise.
5793 * misc/fstab.h: Likewise.
5794 * misc/mntent.h: Likewise.
5795 * misc/regexp.h: Likewise.
5796 * misc/search.h: Likewise.
5797 * misc/sgtty.h: Likewise.
5798 * misc/sys/mman.h: Likewise.
5799 * misc/sys/syslog.h: Likewise.
5800 * misc/sys/uio.h: Likewise.
5801 * misc/sys/xattr.h: Likewise.
5802 * misc/ttyent.h: Likewise.
5803 * nis/rpcsvc/ypclnt.h: Likewise.
5804 * nss/nss.h: Likewise.
5805 * posix/bits/unistd.h: Likewise.
5806 * posix/fnmatch.h: Likewise.
5807 * posix/glob.h: Likewise.
5808 * posix/sched.h: Likewise.
5809 * posix/spawn.h: Likewise.
5810 * posix/sys/wait.h: Likewise.
5811 * posix/unistd.h: Likewise.
5812 * posix/wordexp.h: Likewise.
5813 * pwd/pwd.h: Likewise.
5814 * resolv/netdb.h: Likewise.
5815 * resource/sys/resource.h: Likewise.
5816 * rt/aio.h: Likewise.
5817 * rt/bits/mqueue2.h: Likewise.
5818 * rt/mqueue.h: Likewise.
5819 * shadow/shadow.h: Likewise.
5820 * signal/signal.h: Likewise.
5821 * socket/send.c: Likewise.
5822 * socket/sendto.c: Likewise.
5823 * socket/sys/socket.h: Likewise.
5824 * stdio-common/printf.h: Likewise.
5825 * stdlib/bits/stdlib.h: Likewise.
5826 * stdlib/fmtmsg.h: Likewise.
5827 * stdlib/monetary.h: Likewise.
5828 * stdlib/stdlib.h: Likewise.
5829 * stdlib/ucontext.h: Likewise.
5830 * streams/stropts.h: Likewise.
5831 * string/argz.h: Likewise.
5832 * string/bits/string2.h: Likewise.
5833 * string/string.h: Likewise.
5834 * string/strings.h: Likewise.
5835 * sunrpc/rpc/auth.h: Likewise.
5836 * sunrpc/rpc/auth_des.h: Likewise.
5837 * sunrpc/rpc/clnt.h: Likewise.
5838 * sunrpc/rpc/netdb.h: Likewise.
5839 * sunrpc/rpc/pmap_clnt.h: Likewise.
5840 * sunrpc/rpc/xdr.h: Likewise.
5841 * sysdeps/generic/inttypes.h: Likewise.
5842 * sysdeps/generic/net/if.h: Likewise.
5843 * sysdeps/generic/sys/swap.h: Likewise.
5844 * sysdeps/gnu/net/if.h: Likewise.
5845 * sysdeps/gnu/utmpx.h: Likewise.
5846 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5847 * sysdeps/i386/i486/bits/string.h: Likewise.
5848 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5849 * sysdeps/s390/bits/string.h: Likewise.
5850 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5851 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5852 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5853 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5854 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5855 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5856 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5857 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5858 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5859 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5860 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5861 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5862 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5863 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5864 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5865 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5866 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5867 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5868 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5869 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5870 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5871 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5872 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5873 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5874 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5875 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5876 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5877 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5878 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5879 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5880 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5881 * sysvipc/sys/ipc.h: Likewise.
5882 * sysvipc/sys/msg.h: Likewise.
5883 * sysvipc/sys/sem.h: Likewise.
5884 * sysvipc/sys/shm.h: Likewise.
5885 * termios/termios.h: Likewise.
5886 * time/sys/time.h: Likewise.
5887 * time/time.h: Likewise.
5888 * wcsmbs/bits/wchar2.h: Likewise.
5889 * wcsmbs/uchar.h: Likewise.
5890 * wcsmbs/wchar.h: Likewise.
5891 * wctype/wctype.h: Likewise.
5892
5893 [BZ #13551]
5894 * Makeconfig: Remove all but ELF support including AIX support.
5895 * Makerules: Likewise.
5896 * config.h.in: Likewise.
5897 * config.make.in: Likewise.
5898 * configure: Likewise.
5899 * configure.in: Likewise.
5900 * csu/Makefile: Likewise.
5901 * csu/version.c: Likewise.
5902 * debug/Makefile: Likewise.
5903 * dlfcn/Makefile: Likewise.
5904 * elf/Makefile: Likewise.
5905 * extra-lib.mk: Likewise.
5906 * iconv/Makefile: Likewise.
5907 * include/libc-symbols.h: Likewise.
5908 * include/shlib-compat.h: Likewise.
5909 * resolv/Makefile: Likewise.
5910 * resolv/res_libc.c: Likewise.
5911 * rt/Makefile: Likewise.
5912 * sysdeps/i386/asm-syntax.h: Likewise.
5913 * sysdeps/i386/sysdep.h: Likewise.
5914 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5915 * sysdeps/mach/sysdep.h: Likewise.
5916 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5917 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5918 * sysdeps/s390/asm-syntax.h: Likewise.
5919 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5920 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5921 * sysdeps/sh/sysdep.h: Likewise.
5922 * sysdeps/unix/sparc/sysdep.h: Likewise.
5923 * sysdeps/wordsize-32/divdi3.c: Likewise.
5924 * sysdeps/x86_64/sysdep.h: Likewise.
5925
5926 * argp/Versions: Remove _argp_unlock_xxx.
5927
5928 [BZ #13559]
5929 * abilist/ld.abilist: Update. Adjust for removal of tls option.
5930 * abilist/libBrokenLocale.abilist: Likewise.
5931 * abilist/libanl.abilist: Likewise.
5932 * abilist/libc.abilist: Likewise.
5933 * abilist/libcrypt.abilist: Likewise.
5934 * abilist/libdl.abilist: Likewise.
5935 * abilist/libm.abilist: Likewise.
5936 * abilist/libnsl.abilist: Likewise.
5937 * abilist/libpthread.abilist: Likewise.
5938 * abilist/libresolv.abilist: Likewise.
5939 * abilist/librt.abilist: Likewise.
5940 * abilist/libthread_db.abilist: Likewise.
5941 * abilist/libutil.abilist: Likewise.
5942 * abilist/libnss_db.abilist: New file.
5943
5944 * scripts/abilist.awk: Add support for indirect functions.
5945
5946 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5947
5948 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5949
5950 * shlib-versions: Remove entries for ports architectures.
5951
5952 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
5953 files in ports.
5954 * elf/stackguard-macros.h: Remove support for IA-64.
5955 * elf/tst-auditmod1.c: Likewise.
5956 * sysdeps/generic/ldsodefs.h: Likewise.
5957
5958 * sysdeps/unix/sysv/linux/configure.in: Ports should define
5959 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5960 configure files.
5961
5962 [BZ #13552]
5963 * configure.in: Remove --enable-omitfp support.
5964 * FAQ.in: Adjust.
5965 * config.make.in: Likewise.
5966 * Makeconfig: Likewise.
5967 * manual/install.texi: Likewise.
5968
5969 In case anyone cares, the IA-64 architecture could move to ports.
5970 * sysdeps/ia64/*: Removed.
5971 * sysdeps/unix/sysv/linux/ia64/*: Removed.
5972 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
5973
5974 [BZ #13555]
5975 * configure.in: Remove entries for unsupported architectures.
5976
5977 [BZ #13533]
5978 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5979 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
5980 routines.
5981 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5982 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5983 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
5984 fall back to using wcrtomb.
5985 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5986 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
5987 renaming.
5988 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5989 * wcsmbs/tst-c16c32-1.c: New file.
5990
5991 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5992 local variable.
5993
5994 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5995
5996 * elf/tst-unique3.cc: Add explicit declaration of gets.
5997 * elf/tst-unique3lib.cc: Likewise.
5998 * elf/tst-unique3lib2.cc: Likewise.
5999 * elf/tst-unique4.cc: Likewise.
6000
6001 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6002
6003 2012-01-06 Joseph Myers <joseph@codesourcery.com>
6004
6005 [BZ #13566]
6006 * assert/assert.h (static_assert): Don't define for C++.
6007 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6008 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6009
6010 2012-01-03 Ulrich Drepper <drepper@gmail.com>
6011
6012 * iconv/loop.c (single loop): Fix assertion in storing of
6013 remaining bytes.
6014
6015 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6016
6017 2012-01-01 Ulrich Drepper <drepper@gmail.com>
6018
6019 * posix/getconf.c: Update copyright year.
6020 * nss/getent.c: Likewise.
6021 * nss/makedb.c: Likewise.
6022 * iconv/iconvconfig.c: Likewise.
6023 * iconv/iconv_prog.c: Likewise.
6024 * elf/ldconfig.c: Likewise.
6025 * elf/pldd.c: Likewise.
6026 * elf/sotruss.ksh: Likewise.
6027 * catgets/gencat.c: Likewise.
6028 * csu/version.c: Likewise.
6029 * elf/ldd.bash.in: Likewise.
6030 * elf/sprof.c (print_version): Likewise.
6031 * locale/programs/locale.c: Likewise.
6032 * locale/programs/localedef.c: Likewise.
6033 * login/programs/pt_chown.c: Likewise.
6034 * nscd/nscd.c (print_version): Likewise.
6035 * debug/xtrace.sh: Likewise.
6036 * malloc/memusage.sh: Likewise.
6037 * malloc/mtrace.pl: Likewise.
6038 * debug/catchsegv.sh: Likewise.
6039
6040 2011-12-30 Jakub Jelinek <jakub@redhat.com>
6041
6042 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6043 pure attribute.
6044
6045 2011-12-24 Ulrich Drepper <drepper@gmail.com>
6046
6047 [BZ #13533]
6048 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6049 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6050 transformations.
6051 * iconv/gconv_int.h: Likewise.
6052 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6053 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6054 from libc for GLIBC_2.16.
6055 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6056 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6057 * wcsmbs/uchar.h: Really define mbstate_t.
6058 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6059 * wcsmbs/c16rtomb.c: New file.
6060 * wcsmbs/mbrtoc16.c: New file.
6061 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6062 for C/POSIX locale.
6063 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6064 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6065
6066 * wcsmbs/wchar.h: Add missing __restrict.
6067
6068 2011-12-23 Ulrich Drepper <drepper@gmail.com>
6069
6070 [BZ #13532]
6071 * time/Makefile (routines): Add timespec_get.
6072 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6073 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6074 timespec for ISO C11.
6075 * time/timespec_get.c: New file.
6076 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6077 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6078
6079 [BZ #13531]
6080 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6081 * stdlib/stdlib.h: Declare aligned_alloc.
6082 * Versions.def: Add GLIBC_2.16 for libc.
6083 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6084
6085 [BZ 13527]
6086 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6087 ISO C11.
6088
6089 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
6090 code.
6091
6092 [BZ #13528]
6093 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6094
6095 [BZ #13529]
6096 * assert/assert.h (static_assert): Define.
6097
6098 * version.h: Update for 2.16 development version.
6099
6100 [BZ #13526]
6101 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6102 _ISOC11_SOURCE.
6103
6104 * version.h (RELEASE): Bump for 2.15 release.
6105 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6106
6107 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6108 Patch by Marek Polacek <mpolacek@redhat.com>.
6109
6110 * bits/byteswap.h: Protect long long constants with __extension__.
6111 * sysdeps/i386/bits/byteswap.h: Likewise.
6112 * sysdeps/ia64/bits/byteswap.h: Likewise.
6113 * sysdeps/s390/bits/byteswap.h: Likewise.
6114 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6115
6116 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6117
6118 [BZ #13540]
6119 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6120 destination buffer.
6121 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6122
6123 2011-12-23 Marek Polacek <polacek@redhat.com>
6124
6125 * elf/dl-addr.c (determine_info): Add inline keyword.
6126 * elf/tst-auditmod4b.c (check_avx): Likewise.
6127 * elf/tst-auditmod6b.c (check_avx): Likewise.
6128 * elf/tst-auditmod6c.c (check_avx): Likewise.
6129 * elf/tst-auditmod7b.c (check_avx): Likewise.
6130
6131 2011-12-23 Ulrich Drepper <drepper@gmail.com>
6132
6133 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6134 !__SSE_MATH__.
6135
6136 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6137
6138 [BZ #13540]
6139 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6140 processing for last bytes.
6141
6142 2011-08-06 Bruno Haible <bruno@clisp.org>
6143
6144 [BZ #13061]
6145 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6146 U+0385, not to U+1FEE.
6147
6148 [BZ #13062]
6149 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6150 entry for U+00A5 U+0301.
6151
6152 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6153
6154 [BZ #13166]
6155 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6156 buffer for the output is too small.
6157
6158 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6159 optimization.
6160
6161 [BZ #13185]
6162 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6163 SSE flags if possible.
6164
6165 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6166
6167 [BZ #13540]
6168 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6169 processing for last bytes.
6170
6171 2011-12-22 Joseph Myers <joseph@codesourcery.com>
6172
6173 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6174 (syscall-list-default-options, syscall-list-default-condition)
6175 (syscall-list-includes): Define.
6176 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6177 list of ABIs and options and #if conditions for each ABI. Do not
6178 handle common syscalls between ABIs specially.
6179 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6180 Remove.
6181 (syscall-list-variants, syscall-list-32bit-options)
6182 (syscall-list-32bit-condition, syscall-list-64bit-options)
6183 (syscall-list-64bit-condition): Define.
6184 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6185 (syscall-list-variants, syscall-list-32bit-options)
6186 (syscall-list-32bit-condition, syscall-list-64bit-options)
6187 (syscall-list-64bit-condition): Define.
6188 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6189 Remove.
6190 (syscall-list-variants, syscall-list-32bit-options)
6191 (syscall-list-32bit-condition, syscall-list-64bit-options)
6192 (syscall-list-64bit-condition): Define.
6193 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6194 Remove.
6195 (syscall-list-variants, syscall-list-32bit-options)
6196 (syscall-list-32bit-condition, syscall-list-64bit-options)
6197 (syscall-list-64bit-condition): Define.
6198
6199 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6200
6201 * locale/iso-639.def: Add brx entry.
6202
6203 [BZ #13328]
6204 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6205 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6206
6207 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6208 __feraiseexcept_renamed.
6209
6210 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6211
6212 [BZ #13538]
6213 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6214 EPOLLET with unsigned values.
6215 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6216 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6217
6218 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6219 to large cancellation.
6220 * math/s_cacoshf.c: Likewise.
6221 * math/s_cacoshl.c: Likewise.
6222
6223 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6224
6225 [BZ #13305]
6226 [BZ #12786]
6227 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6228 * math/s_cacoshf.c: Likewise.
6229 * math/s_cacoshl.c: Likewise.
6230
6231 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6232
6233 [BZ #13439]
6234 * iconv/gconv.h: Define __GCONV_SWAP.
6235 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6236 * iconvdata/utf-16.c: Likewise.
6237 * iconvdata/utf-32.c: Likewise.
6238
6239 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6240
6241 [BZ #13524]
6242 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6243 numerator after shifting it by one limb.
6244
6245 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6246
6247 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6248 under [__USE_EXTERN_INLINES].
6249
6250 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6251
6252 [BZ #13446]
6253 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6254
6255 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6256
6257 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6258 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6259 optimized code.
6260 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6261 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6262 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6263 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6264 for strncasecmp/strncasecmp_l compilation.
6265 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6266 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6267
6268 2011-12-08 Marek Polacek <mpolacek@redhat.com>
6269
6270 [BZ #13484]
6271 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6272 of __asm__.
6273
6274 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6275
6276 [BZ #13506]
6277 * time/tzfile.c (__tzfile_read): Check values from file header.
6278
6279 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6280
6281 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6282 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6283 * powerpc/powerpc32/dl-start.S: Likewise.
6284 * powerpc/powerpc32/elf/start.S: Likewise.
6285 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6286 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6287 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6288 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6289 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6290 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6291 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6292 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6293 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6294 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6295 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6296 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6297 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6298 * powerpc/powerpc32/memset.S: Likewise.
6299 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6300 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6301 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6302 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6303 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6304 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6305 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6306 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6307 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6308 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6309 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6310 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6311 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6312
6313 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6314
6315 * math/libm-test.inc: Added more nearbyint tests.
6316 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6317 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6318 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6319 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6320
6321 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6322
6323 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6324 FD_CLOEXEC.
6325
6326 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6327
6328 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6329 Add wcscpy-ssse3 wcscpy-c.
6330 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6331 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6332 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6333 * sysdeps/x86_64/wcschr.S: New file.
6334 * sysdeps/x86_64/wcsrchr.S: New file.
6335 * string/test-strcmp.c: Remove checking of wcscmp function for
6336 wrong alignments.
6337 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6338 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6339 wcsrchr-sse2 wcsrchr-c.
6340 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6341 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6342 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6343 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6344 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6345 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6346 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6347 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6348 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6349 * wcsmbc/wcschr.c (WCSCHR): New macro.
6350
6351 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6352
6353 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6354 * wcsmbs/test-wcsrchr.c: New file.
6355 * string/test-strrchr.c: Add wcsrchr support.
6356 (WIDE): New macro.
6357 * wcsmbs/test-wcscpy.c: New file.
6358 * string/test-strcpy.c: Add wcscpy support.
6359 (WIDE): New macro.
6360
6361 2011-12-10 Ulrich Drepper <drepper@gmail.com>
6362
6363 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6364 the inner loop.
6365
6366 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6367
6368 [BZ #13472]
6369 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6370
6371 2011-12-04 Ulrich Drepper <drepper@gmail.com>
6372
6373 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
6374 Minor optimizations.
6375
6376 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6377 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6378 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6379
6380 2011-12-03 Ulrich Drepper <drepper@gmail.com>
6381
6382 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6383 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6384 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6385 for gcc to avoid warnings.
6386 * inet/Makefile (tests): Add tst-checks.
6387 * inet/tst-checks.c: New file.
6388
6389 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6390 warning.
6391
6392 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6393 __wmemcmp_sse2.
6394
6395 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6396 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6397
6398 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6399
6400 2011-12-02 Ulrich Drepper <drepper@gmail.com>
6401
6402 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6403 problem.
6404
6405 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6406
6407 2011-11-29 Joseph Myers <joseph@codesourcery.com>
6408
6409 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6410 conditional on GCC version.
6411 (__arch_compare_and_exchange_val_8_acq)
6412 (__arch_compare_and_exchange_val_16_acq)
6413 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6414 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6415 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6416
6417 2011-12-02 Joseph Myers <joseph@codesourcery.com>
6418
6419 * sysdeps/sh/backtrace.c: New file.
6420
6421 2011-12-02 Andreas Schwab <schwab@redhat.com>
6422
6423 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6424 parenthesis.
6425
6426 2011-12-01 Andreas Schwab <schwab@redhat.com>
6427
6428 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6429 falling back to utime.
6430
6431 2011-11-30 Andreas Schwab <schwab@redhat.com>
6432
6433 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6434 expectations for float.
6435
6436 2011-11-29 Andreas Schwab <schwab@redhat.com>
6437
6438 * locale/weight.h (findidx): Add parameter len.
6439 * locale/weightwc.h (findidx): Likewise.
6440 * posix/fnmatch_loop.c (FCT): Adjust caller.
6441 * posix/regcomp.c (build_equiv_class): Likewise.
6442 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6443 * posix/regexec.c (check_node_accept_bytes): Likewise.
6444 * string/strcoll_l.c (STRCOLL): Likewise.
6445 * string/strxfrm_l.c (STRXFRM): Likewise.
6446
6447 2011-11-17 Ulrich Drepper <drepper@gmail.com>
6448
6449 * Makefile.in: Remove CVSOPT handling.
6450 * configure.in: Remove use of AC_REVISION.
6451 * iconvdata/Makefile (distribute): No need to filter out CVS.
6452 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6453 handling.
6454
6455 2011-11-16 Andreas Schwab <schwab@redhat.com>
6456
6457 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6458 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6459 [USE_AS_STRNCASECMP_L]: Likewise.
6460 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6461 NO_TLS_DIRECT_SEG_REFS.
6462 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6463 Fix argument offsets for non-PIC.
6464 [USE_AS_STRNCASECMP_L]: Likewise.
6465 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6466 NO_TLS_DIRECT_SEG_REFS.
6467
6468 2011-11-15 Ulrich Drepper <drepper@gmail.com>
6469
6470 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
6471 O_CLOEXEC.
6472 * locale/loadlocale.c (_nl_load_locale): Likewise.
6473
6474 2011-11-15 Andreas Schwab <schwab@redhat.com>
6475
6476 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6477 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6478 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6479 (SYSCALL_GETTIME): Set errno on error.
6480
6481 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6482 count references to noai6ai_cached.
6483
6484 2011-11-15 Ulrich Drepper <drepper@gmail.com>
6485
6486 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6487
6488 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6489 FD_CLOEXEC for /proc/self/maps.
6490
6491 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6492 FD_CLOEXEC for /proc/meminfo.
6493
6494 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6495 gai.conf.
6496
6497 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6498 FD_CLOEXEC for given file.
6499
6500 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6501
6502 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6503 FD_CLOEXEC for /etc/hosts.
6504 (_gethtent): Likewise.
6505
6506 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6507
6508 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6509 cancellation and set FD_CLOEXEC for /etc/netgroup.
6510
6511 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6512 reading /etc/publickey.
6513
6514 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6515 allow cancellation when reading /etc/group.
6516
6517 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6518 cancellation.
6519 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6520
6521 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6522 when using data file.
6523
6524 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6525
6526 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6527 (write_nis_obj): Use "c" and "e" in fopen.
6528
6529 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6530
6531 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6532
6533 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6534
6535 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6536
6537 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6538 locale.alias.
6539
6540 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6541
6542 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6543
6544 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6545
6546 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6547 file parsing and set FD_CLOEXEC.
6548
6549 2011-11-14 Ulrich Drepper <drepper@gmail.com>
6550
6551 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6552
6553 2011-11-14 Andreas Schwab <schwab@redhat.com>
6554
6555 * malloc/arena.c (arena_get2): Don't call reused_arena when
6556 _int_new_arena failed.
6557
6558 2011-11-14 Ulrich Drepper <drepper@gmail.com>
6559
6560 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6561 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6562 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6563 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6564 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6565 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6566 to compile strcasecmp and strncasecmp.
6567 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6568 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6569
6570 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6571
6572 2011-11-13 Ulrich Drepper <drepper@gmail.com>
6573
6574 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6575 locale-defines.sym to gen-as-const-headers.
6576 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6577 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6578 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6579 to compile strcasecmp and strncasecmp.
6580 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6581 strcasecmp_l and strncasecmp_l.
6582 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6583 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6584 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6585 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6586 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6587 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6588 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6589 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6590 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6591 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6592 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6593
6594 2011-11-12 Ulrich Drepper <drepper@gmail.com>
6595
6596 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6597 result of SYSDEP_GETTIME_CPU to retval.
6598 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6599 parameter list to macro. Remove trailing semicolon. Adjust users.
6600
6601 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6602 variable.
6603
6604 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6605 mantissa words.
6606 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6607
6608 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6609 from unused variable.
6610
6611 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6612 DWARF definitions.
6613 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6614 for assembling.
6615
6616 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6617 over namespaces.
6618
6619 * sunrpc/rpc_prot.c (rejected): Fix case value.
6620
6621 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6622 unsigned long long int to avoid warnings in shift.
6623
6624 * posix/regex_internal.c (re_string_reconstruct): Actually use result
6625 of use of trans.
6626 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6627 variable tmp.
6628
6629 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6630 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6631 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6632
6633 * nis/nis_table.c (nis_list): Use variable of correct type for
6634 result of __follow_path call.
6635
6636 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6637
6638 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6639 of math functions ceil, trunc, floor, round, and sqrt, when
6640 avaliable on the platform.
6641 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6642 name clash.
6643 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6644 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6645 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6646
6647 2011-10-30 Marek Polacek <mpolacek@redhat.com>
6648
6649 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6650 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6651
6652 2011-11-11 Roland McGrath <roland@hack.frob.com>
6653
6654 * include/unistd.h: Fix __readlink return type.
6655 Reported by Chris Metcalf <cmetcalf@tilera.com>.
6656
6657 2011-11-11 Ulrich Drepper <drepper@gmail.com>
6658
6659 * stdlib/ucontext.h: Undo last change for makecontext.
6660
6661 2011-11-11 Andreas Schwab <schwab@redhat.com>
6662
6663 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6664
6665 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6666 * setjmp/setjmp.h: Mark functions as non-leaf.
6667 * setjmp/bits/setjmp2.h: Likewise.
6668 * stdlib/ucontext.h: Likewise.
6669
6670 2011-11-10 Andreas Schwab <schwab@redhat.com>
6671
6672 * malloc/arena.c (_int_new_arena): Don't increment narenas.
6673 (reused_arena): Don't check arena limit.
6674 (arena_get2): Atomically check arena limit.
6675
6676 2011-11-08 Ulrich Drepper <drepper@gmail.com>
6677
6678 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6679 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6680
6681 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6682 instructions.
6683
6684 2011-11-07 Andreas Schwab <schwab@redhat.com>
6685
6686 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6687 handler when locking.
6688
6689 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6690 Fix size of allocated buffer.
6691
6692 2011-11-04 Andreas Schwab <schwab@redhat.com>
6693
6694 [BZ #10103]
6695 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6696 declarations for long double functions.
6697 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6698
6699 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6700
6701 2011-11-03 Andreas Schwab <schwab@redhat.com>
6702
6703 * nscd/nscd.c (main): Don't start AVC thread until credentials are
6704 installed.
6705
6706 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6707 is disabled.
6708
6709 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6710
6711 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6712
6713 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
6714
6715 * include/alloca.h (stackinfo_alloca_round): Define.
6716 (extend_alloca): Use it.
6717 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6718 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6719 here.
6720
6721 * scripts/check-local-headers.sh: Ignore libaudit.h.
6722
6723 * nscd/Makefile (extra-objs): Make recursively expanded.
6724
6725 2011-11-01 Ulrich Drepper <drepper@gmail.com>
6726
6727 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6728 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6729
6730 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6731 * posix/tst-rfc3484-2.c: Likewise.
6732 * posix/tst-rfc3484-3.c: Likewise.
6733
6734 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6735 process_vm_writev.
6736 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6737 process_vm_writev.
6738 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6739 process_vm_writev from libc using GLIBC_2.15 version.
6740
6741 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6742
6743 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6744
6745 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6746 stack usage.
6747
6748 2011-10-31 Ulrich Drepper <drepper@gmail.com>
6749
6750 [BZ #13367]
6751 * nss/getent.c (initgroups_keys): Show error message in case no group
6752 names are given.
6753
6754 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6755 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6756 __bump_nl_timestamp.
6757 * nscd/connections (nscd_init): When host database is served open
6758 netlink socket and request notification about configuration changes.
6759 (main_loop_poll): Track netlink file descriptor and bump timestamp
6760 in case data becomes available.
6761 (main_loop_epoll): Likewise.
6762 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6763 (database_pers_head): Add extra_data fileds.
6764 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6765 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6766 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6767 Adjust caller.
6768 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6769 in6ai data, call __free_in6ai.
6770 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6771 Add -DHAVE_NETLINK.
6772 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
6773 interface information. Reuse previous data if netlink timestamp
6774 is not changed.
6775 (__bump_nl_timestamp): New function.
6776 (__free_in6ai): New function.
6777
6778 2011-10-30 Ulrich Drepper <drepper@gmail.com>
6779
6780 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6781 close_not_cancel_no_status here.
6782 (__check_pf): Reorganize code a bit to not call close twice if OOM.
6783
6784 2011-10-29 Ulrich Drepper <drepper@gmail.com>
6785
6786 [BZ #13276]
6787 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6788 return value.
6789
6790 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
6791 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6792 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6793
6794 2011-07-03 Andreas Jaeger <aj@suse.de>
6795
6796 [BZ #10709]
6797 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6798 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6799 * math/libm-test.inc (sin_test): Add test case.
6800
6801 2011-10-29 Ulrich Drepper <drepper@gmail.com>
6802
6803 [BZ #13337]
6804 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6805 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6806
6807 * elf/chroot_canon.c (chroot_canon): Cleanups.
6808
6809 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6810
6811 [BZ #13335]
6812 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6813 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6814
6815 * string/test-strchr.c: Make usable for strchrnul testing.
6816 * string/test-strchrnul.c: New file.
6817 * string/Makefile (strop-tests): Add strchrnul.
6818
6819 * po/it.po: Update from translation team.
6820 * po/es.po: Likewise.
6821
6822 2011-10-28 Ulrich Drepper <drepper@gmail.com>
6823
6824 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6825 the three constants needed as parameters. Drop the others.
6826 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6827 __m128i_strloadu_tolower.
6828 Create and initialize variable zero and use it in all the places
6829 where _mm_setzero_si128 was used.
6830
6831 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6832 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6833 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6834 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6835 anymore.
6836 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6837 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6838 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6839 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6840 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6841 __mpranred, __mptan.
6842 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6843 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6844 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6845 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6846 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6847 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6848 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6849 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6850 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6851
6852 2011-10-28 Andreas Schwab <schwab@redhat.com>
6853
6854 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6855 redefine if SHARED.
6856 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6857
6858 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6859 wide char related routines to wcsmbs subdir.
6860
6861 2011-10-27 Andreas Schwab <schwab@redhat.com>
6862
6863 [BZ #13344]
6864 * misc/sys/cdefs.h (__THROWNL): Define.
6865 * posix/unistd.h: Use __THREADNL instead of __THREAD
6866 for memory synchronization functions.
6867
6868 2011-10-26 Roland McGrath <roland@hack.frob.com>
6869
6870 [BZ #13349]
6871 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6872 doesn't exist.
6873 * manual/stdio.texi (Obstack Streams): Node removed.
6874
6875 2011-10-26 Andreas Schwab <schwab@redhat.com>
6876
6877 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6878 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6879 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6880
6881 * math/math_private.h (math_force_eval): Allow non-addressable
6882 arguments.
6883 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6884
6885 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6886
6887 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6888 file is not needed.
6889
6890 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6891 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6892 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6893 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6894 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6895 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6896 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6897 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6898 Add AVX variants.
6899 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6900 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6901 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6902 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6903 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6904 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6905 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6906 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6907 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6908 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6909 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6910 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6911 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6912 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6913 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6914 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6915 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6916 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6917 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6918
6919 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6920 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
6921
6922 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6923 place. Use VEX encoding when compiling for AVX.
6924
6925 2011-10-25 Andreas Schwab <schwab@redhat.com>
6926
6927 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6928 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6929
6930 * string/test-strchr.c (do_test): Don't generate NUL bytes.
6931
6932 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6933
6934 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
6935 useless if() expression.
6936 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6937 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6938 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6939 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6940 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6941 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6942 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6943 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6944 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6945 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6946 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6947 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6948 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6949 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6950 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6951 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6952 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6953 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6954 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6955
6956 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6957
6958 2011-10-25 Andreas Schwab <schwab@redhat.com>
6959
6960 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6961 condition.
6962 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6963
6964 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6965
6966 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6967 .text section. Avoid duplicate constants.
6968 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6969 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6970 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6971 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6972 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6973 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6974 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6975 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6976 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6977 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6978 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6979 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6980 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6981 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6982 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6983 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6984 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6985 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6986 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6987 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6988 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6989 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6990 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6991 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6992 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6993 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6994 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6995 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6996 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6997 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6998 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6999 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7000 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7001 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7002 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7003 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7004 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7005 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7006 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7007 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7008 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7009 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7010 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7011 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7012 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7013
7014 2011-10-24 Ulrich Drepper <drepper@gmail.com>
7015
7016 * sysdeps/x86_64/dla.h: Move to ...
7017 * sysdeps/x86_64/fpu/dla.h: ...here.
7018 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7019 situations. Use __builtin_fma only for gcc 4.6 and up.
7020
7021 * config.make.in: Add have-mfma4 entry.
7022 * configure.in: Substitute libc_cv_cc_fma4.
7023 * math/Makefile (dbl-only-routines): Add sincostab.
7024 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7025 Use __sincostab not sincos.
7026 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7027 name is a macro.
7028 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7029 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7030 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7031 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7032 using __copysign.
7033 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7034 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7035 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7036 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7037 and __inv.
7038 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7039 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7040 __copysign.
7041 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7042 define aliases when function name is a macro.
7043 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7044 sysdeps/ieee754/dbl-64/sincos.tbl.
7045 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7046 fma4-enabled routines.
7047 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7048 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7049 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7050 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7051 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7052 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7053 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7054 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7055 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7056 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7057 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7058 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7059 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7060 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7061 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7062 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7063 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7064 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7065 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7066 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7067 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7068 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7069 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7070 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7071 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7072 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7073 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7074 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7075 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7076 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7077
7078 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7079 rename.
7080 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7081 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7082 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7083 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7084 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7085 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7086 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7087 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7088
7089 2011-10-24 Andreas Schwab <schwab@redhat.com>
7090
7091 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7092
7093 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7094
7095 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7096
7097 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7098 prediction.
7099 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7100
7101 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7102 Remove unused variable magic_bits.
7103 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7104
7105 * string/strnlen.c: Define and use STRNLEN macro.
7106 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7107 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7108 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7109 * wcsmbs/wcslen.c: Define and use WCSLEN.
7110 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7111 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7112 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7113 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7114 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7115 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7116 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7117
7118 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7119
7120 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7121 strnlen-sse2-no-bsf.
7122 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7123 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7124 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7125 Add strnlen support.
7126 (USE_AS_STRNLEN): New macro.
7127 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7128 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7129 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7130 * sysdeps/x86_64/wcslen.S: New file.
7131
7132 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7133
7134 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7135 XMM-moves are used for copying on small sizes.
7136
7137 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7138
7139 * wcsmbs/Makefile (strop-tests): Add wcschr.
7140 * wcsmbs/test-wcschr.c: New file.
7141 * string/test-strchr.c: Update.
7142 Add wcschr support.
7143 (WIDE): New macro.
7144
7145 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7146
7147 * wcsmbs/Makefile (strop-tests): Add wcslen.
7148 * wcsmbs/test-wcslen.c: New file.
7149 * string/test-strlen.c: Update.
7150 Add wcslen support.
7151 (WIDE): New macro.
7152
7153 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7154
7155 * po/it.po: Update from translation team.
7156
7157 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7158
7159 * sysdeps/x86_64/wcscmp.S: Update.
7160 Fix wrong comparison semantics.
7161 wcscmp shall use signed comparison not unsigned.
7162 Don't use substraction to avoid overflow bug.
7163 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7164 * wcsmbc/wcscmp.c: Likewise.
7165 * string/test-strcmp.c: Likewise.
7166 Add new tests to check cases with negative values.
7167
7168 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7169
7170 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7171 * sysdeps/x86_64/dla.h: ...here. New file.
7172 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7173 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7174 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7175 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7176 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7177 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7178 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7179 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7180 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7181
7182 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7183
7184 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7185 __ynl_finite aliases.
7186
7187 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7188
7189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7190
7191 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7192 define DLA_FMA.
7193 [DLA_FMA] (EMULV): Use DLA_FMA.
7194 [DLA_FMA] (MUL12): Use EMULV.
7195 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7196 that are not needed.
7197 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7198 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7199 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7200 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7201 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7202 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7203 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7204
7205 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7206
7207 * math/s_nan.c: Undef __nan.
7208 * math/s_nanf.c: Undef __nanf.
7209 * math/s_nanl.c: Undef __nanl.
7210 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7211 "math_private.h".
7212
7213 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7214
7215 * math/s_catan.c: Add branch predictions.
7216 * math/s_catanf.c: Likewise.
7217 * math/s_catanh.c: Likewise.
7218 * math/s_catanhf.c: Likewise.
7219 * math/s_catanhl.c: Likewise.
7220 * math/s_catanl.c: Likewise.
7221 * math/s_cexp.c: Likewise.
7222 * math/s_cexpf.c: Likewise.
7223 * math/s_cexpl.c: Likewise.
7224 * math/s_clog.c: Likewise.
7225 * math/s_clog10.c: Likewise.
7226 * math/s_clog10f.c: Likewise.
7227 * math/s_clog10l.c: Likewise.
7228 * math/s_clogf.c: Likewise.
7229 * math/s_clogl.c: Likewise.
7230 * math/s_csqrt.c: Likewise.
7231 * math/s_csqrtf.c: Likewise.
7232 * math/s_csqrtl.c: Likewise.
7233 * math/s_ctanf.c: Likewise.
7234 * math/s_ctanh.c: Likewise.
7235 * math/s_ctanhf.c: Likewise.
7236 * math/s_ctanhl.c: Likewise.
7237 * math/s_ctanl.c: Likewise.
7238
7239 * math/math_private.h: Define __nan, __nanf, __nanl.
7240 * math/s_cacosh.c: Include <math_private.h>.
7241 * math/s_cacoshl.c: Likewise.
7242 * math/s_casinh.c: Likewise.
7243 * math/s_casinhf.c: Likewise.
7244 * math/s_casinhl.c: Likewise.
7245 * math/s_ccos.c: Rely entire on ccosh.
7246 * math/s_ccosf.c: Rely entire on ccoshf.
7247 * math/s_ccosl.c: Rely entirely on ccoshl.
7248 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7249 Remove tests for FE_INVALID.
7250 * math/s_ccoshf.c: Likewise.
7251 * math/s_ccoshl.c: Likewise.
7252 * math/s_csin.c: Likewise.
7253 * math/s_csinf.c: Likewise.
7254 * math/s_csinh.c Likewise.
7255 * math/s_csinhf.c: Likewise.
7256 * math/s_csinhl.c: Likewise.
7257 * math/s_csinl.c: Likewise.
7258 * math/s_ctan.c: Likewise.
7259 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7260 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7261 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7262
7263 2011-10-21 Ulrich Drepper <drepper@gmail.com>
7264
7265 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7266 compilation problems.
7267
7268 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7269 __builtin_expect.
7270
7271 2011-10-20 Ulrich Drepper <drepper@gmail.com>
7272
7273 * sysdeps/i386/configure.in: Test for -mfma4 option.
7274 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7275 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7276 COMMON_CPUID_INDEX_80000001.
7277 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7278 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7279 use it if FMA3 is not supported.
7280 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7281
7282 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7283 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7284
7285 2011-10-20 Andreas Schwab <schwab@redhat.com>
7286
7287 [BZ #12892]
7288 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7289 it would create a cycle with a link time dependency.
7290
7291 2011-10-19 Ulrich Drepper <drepper@gmail.com>
7292
7293 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7294 instruction.
7295 * string/Makefile (strop-tests): Add rawmemchr.
7296 * string/test-rawmemchr.c: New file.
7297
7298 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7299 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7300 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7301 when compiling str{,n}casecmp and when AVX is available. Hook up
7302 new optimized code in initializers.
7303
7304 2011-10-19 Andreas Schwab <schwab@redhat.com>
7305
7306 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7307 __feraiseexcept instead of feraiseexcept.
7308
7309 2011-10-18 Ulrich Drepper <drepper@gmail.com>
7310
7311 * math/math_private.h: Define defaults for libc_fetestexcept and
7312 libc_feupdateenv.
7313 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7314 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7315 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7316 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7317 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7318 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7319 libc_fetestexcept and libc_feupdateenv.
7320
7321 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7322 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7323 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7324 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7325 libc_feholdexcept_setround.
7326
7327 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7328 Add s_nearbyint-c and s_nearbyintf-c.
7329 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7330 nearbyintf inlines.
7331 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7332 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7333 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7334 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7335
7336 * math/math_private.h: Define defaults for libc_fegetround,
7337 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7338 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7339 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7340 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7341 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7342 standard functions.
7343 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7344 Remove comments and hacks for old compiler versions.
7345 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7346 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7347 libc_feholdexceptl.
7348
7349 2011-10-18 Andreas Schwab <schwab@redhat.com>
7350
7351 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
7352 (__feraiseexcept_renamed): Add __NTH.
7353 (feraiseexcept): Add __NTH. Rename local variables to fix
7354 namespace violations.
7355
7356 2011-10-17 Ulrich Drepper <drepper@gmail.com>
7357
7358 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7359
7360 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7361
7362 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7363 recently added interfaces.
7364 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7365
7366 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7367 about macro parameter expansion.
7368
7369 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7370 __NO_MATH_INLINES is defined. Cleanups.
7371
7372 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7373 and __floorf is target has SSE4.1.
7374 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7375 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7376 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7377 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7378
7379 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7380 name.
7381 (floorf): Likewise.
7382
7383 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7384
7385 2011-10-17 Andreas Schwab <schwab@redhat.com>
7386
7387 * misc/sys/cdefs.h: Fix last change.
7388
7389 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7390 database lookup.
7391
7392 2011-10-16 Ulrich Drepper <drepper@gmail.com>
7393
7394 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7395
7396 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7397 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7398 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7399 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7400 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7401 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7402 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7403 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7404 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7405 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7406 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7407 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7408 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7409 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7410 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7411 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7412 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7413 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7414 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7415 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7416 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7417 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7418
7419 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7420 ceil, ceilf, floor, floorf.
7421
7422 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7423 Perform IRELATIVE relocations last.
7424
7425 * elf/do-rel.h: Add another parameter nrelative, replacing the
7426 local variable with the same name. Change name of the function
7427 to end in Rel or Rela (uppercase).
7428 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7429 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7430 elf_dynamic_do_##reloc function.
7431
7432 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7433
7434 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7435 is sufficient, at least on modern CPUs.
7436
7437 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7438
7439 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7440 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7441
7442 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7443 __expl_finite.
7444 * math/bits/math-finite.h: Add entries for exp.
7445 * math/e_expl.c: Add __*_finite alias.
7446 * sysdeps/i386/fpu/e_exp.S: Likewise.
7447 * sysdeps/i386/fpu/e_expf.S: Likewise.
7448 * sysdeps/i386/fpu/e_expl.c: Likewise.
7449 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7450 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7451 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7452 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7453 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7454 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7455 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7456
7457 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7458 is sufficient, at least on modern CPUs.
7459
7460 * ctype/ctype-info.c (__ctype_init): Define.
7461 * include/ctype.h (__ctype_init): Declare.
7462 (__ctype_b_loc): The variable is always initialized.
7463 (__ctype_toupper_loc): Likewise.
7464 (__ctype_tolower_loc): Likewise.
7465 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7466 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7467
7468 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7469
7470 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7471
7472 * configure.in: Also look in $cxxmachine/include for C++ system
7473 headers.
7474
7475 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7476
7477 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7478 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7479 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7480 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7481 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7482 (USE_AS_WMEMCMP): New macro.
7483 Fixing indents.
7484 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7485 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7486 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7487 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7488 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7489 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7490 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7491 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7492 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7493 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7494 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7495 (USE_AS_WMEMCMP): New macro.
7496 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7497 * sysdeps/string/test-memcmp.c: Update.
7498 Fix simple_wmemcmp.
7499 Add new tests.
7500 * wcsmbs/wmemcmp.c: Update.
7501 (WMEMCMP): New macro.
7502 Fix overflow bug.
7503
7504 2011-10-12 Andreas Jaeger <aj@suse.de>
7505
7506 [BZ #13268]
7507 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7508
7509 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7510
7511 * libio/iofwide.c (do_length): Avoid warning.
7512
7513 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7514
7515 2011-10-14 Ulrich Drepper <drepper@gmail.com>
7516
7517 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7518
7519 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7520 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7521 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7522 * sysdeps/i386/i686/fpu/e_log.S: New file.
7523 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7524 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7525
7526 * ctype/ctype.h: Add support for inlined isXXX functions when
7527 compiling C++ code.
7528
7529 2011-10-14 Andreas Schwab <schwab@redhat.com>
7530
7531 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7532
7533 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7534
7535 2011-10-13 Roland McGrath <roland@hack.frob.com>
7536
7537 [BZ #13291]
7538 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7539
7540 2011-10-13 Andreas Schwab <schwab@redhat.com>
7541
7542 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7543 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7544 feraiseexcept.
7545
7546 * sysdeps/x86_64/memrchr.S: Check for zero size.
7547
7548 * string/stratcliff.c: Add memrchr tests.
7549
7550 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7551
7552 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7553 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7554 rawmemchr-sse2 rawmemchr-sse2-bsf.
7555 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7556 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7557 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7558 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7559 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7560 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7561 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7562 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7563 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7564 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7565 * string/memrchr.c (MEMRCHR): New macro.
7566
7567 2011-10-12 Ulrich Drepper <drepper@gmail.com>
7568
7569 Add integration with gcc's -ffinite-math-only and optimize wrapper
7570 functions in libm.
7571 * Versions.def: Define GLIBC_2.15 version for libm.
7572 * math/Makefile (headers): Add bits/math-finite.h.
7573 * math/bits/math-finite.h: New file.
7574 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7575 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7576 * math/e_acoshl.c: Add __*_finite alias.
7577 * math/e_acosl.c: Likewise.
7578 * math/e_asinl.c: Likewise.
7579 * math/e_atan2l.c: Likewise.
7580 * math/e_atanhl.c: Likewise.
7581 * math/e_coshl.c: Likewise.
7582 * math/e_exp10.c: Likewise.
7583 * math/e_exp10f.c: Likewise.
7584 * math/e_exp10l.c: Likewise.
7585 * math/e_exp2l.c: Likewise.
7586 * math/e_fmodl.c: Likewise.
7587 * math/e_gammal_r.c: Likewise.
7588 * math/e_hypotl.c: Likewise.
7589 * math/e_j0l.c: Likewise.
7590 * math/e_j1l.c: Likewise.
7591 * math/e_jnl.c: Likewise.
7592 * math/e_lgammal_r.c: Likewise.
7593 * math/e_log10l.c: Likewise.
7594 * math/e_log2l.c: Likewise.
7595 * math/e_logl.c: Likewise.
7596 * math/e_powl.c: Likewise.
7597 * math/e_sinhl.c: Likewise.
7598 * math/e_sqrtl.c: Likewise.
7599 * math/e_scalb.c: Completely rewritten and optimized.
7600 * math/e_scalbf.c: Likewise.
7601 * math/e_scalbl.c: Likewise.
7602 * math/w_acos.c: Likewise.
7603 * math/w_acosf.c: Likewise.
7604 * math/w_acosl.c: Likewise.
7605 * math/w_acosh.c: Likewise.
7606 * math/w_acoshf.c: Likewise.
7607 * math/w_acoshl.c: Likewise.
7608 * math/w_asin.c: Likewise.
7609 * math/w_asinf.c: Likewise.
7610 * math/w_asinl.c: Likewise.
7611 * math/w_atan2.c: Likewise.
7612 * math/w_atan2f.c: Likewise.
7613 * math/w_atan2l.c: Likewise.
7614 * math/w_atanh.c: Likewise.
7615 * math/w_atanhf.c: Likewise.
7616 * math/w_atanhl.c: Likewise.
7617 * math/w_exp10.c: Likewise.
7618 * math/w_exp10f.c: Likewise.
7619 * math/w_exp10l.c: Likewise.
7620 * math/w_fmod.c: Likewise.
7621 * math/w_fmodf.c: Likewise.
7622 * math/w_fmodl.c: Likewise.
7623 * math/w_j0.c: Likewise.
7624 * math/w_j0f.c: Likewise.
7625 * math/w_j0l.c: Likewise.
7626 * math/w_j1.c: Likewise.
7627 * math/w_j1f.c: Likewise.
7628 * math/w_j1l.c: Likewise.
7629 * math/w_jn.c: Likewise.
7630 * math/w_jnf.c: Likewise.
7631 * math/w_log.c: Likewise.
7632 * math/w_logf.c: Likewise.
7633 * math/w_logl.c: Likewise.
7634 * math/w_log10.c: Likewise.
7635 * math/w_log10f.c: Likewise.
7636 * math/w_log10l.c: Likewise.
7637 * math/w_log2.c: Likewise.
7638 * math/w_log2f.c: Likewise.
7639 * math/w_log2l.c: Likewise.
7640 * math/w_pow.c: Likewise.
7641 * math/w_powf.c: Likewise.
7642 * math/w_powl.c: Likewise.
7643 * math/w_remainder.c: Likewise.
7644 * math/w_remainderf.c: Likewise.
7645 * math/w_remainderl.c: Likewise.
7646 * math/w_scalb.c: Likewise.
7647 * math/w_scalbf.c: Likewise.
7648 * math/w_scalbl.c: Likewise.
7649 * math/w_sqrt.c: Likewise.
7650 * math/w_sqrtf.c: Likewise.
7651 * math/w_sqrtl.c: Likewise.
7652 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7653 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
7654 used.
7655 * math/math_private.h: Declare __kernel_standard_f.
7656 * math/w_cosh.c: Remove cruft and optimize a bit.
7657 * math/w_coshf.c: Likewise.
7658 * math/w_coshl.c: Likewise.
7659 * math/w_exp2.c: Likewise.
7660 * math/w_exp2f.c: Likewise.
7661 * math/w_exp2l.c: Likewise.
7662 * math/w_hypot.c: Likewise.
7663 * math/w_hypotf.c: Likewise.
7664 * math/w_hypotl.c: Likewise.
7665 * math/w_lgamma.c: Likewise.
7666 * math/w_lgamma_r.c: Likewise.
7667 * math/w_lgammaf.c: Likewise.
7668 * math/w_lgammaf_r.c: Likewise.
7669 * math/w_lgammal.c: Likewise.
7670 * math/w_lgammal_r.c: Likewise.
7671 * math/w_sinh.c: Likewise.
7672 * math/w_sinhf.c: Likewise.
7673 * math/w_sinhl.c: Likewise.
7674 * math/w_tgamma.c: Likewise.
7675 * math/w_tgammaf.c: Likewise.
7676 * math/w_tgammal.c: Likewise.
7677 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7678 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7679 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7680 Minor optimizations. Pretty printing. Remove cruft.
7681 * sysdeps/i386/fpu/e_acosf.S: Likewise.
7682 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7683 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7684 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7685 * sysdeps/i386/fpu/e_acosl.c: Likewise.
7686 * sysdeps/i386/fpu/e_asin.S: Likewise.
7687 * sysdeps/i386/fpu/e_asinf.S: Likewise.
7688 * sysdeps/i386/fpu/e_atan2.S: Likewise.
7689 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7690 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7691 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7692 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7693 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7694 * sysdeps/i386/fpu/e_exp10.S: Likewise.
7695 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7696 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7697 * sysdeps/i386/fpu/e_exp2.S: Likewise.
7698 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7699 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7700 * sysdeps/i386/fpu/e_fmod.S: Likewise.
7701 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7702 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7703 * sysdeps/i386/fpu/e_hypot.S: Likewise.
7704 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7705 * sysdeps/i386/fpu/e_log.S: Likewise.
7706 * sysdeps/i386/fpu/e_log10.S: Likewise.
7707 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7708 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7709 * sysdeps/i386/fpu/e_log2.S: Likewise.
7710 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7711 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7712 * sysdeps/i386/fpu/e_logf.S: Likewise.
7713 * sysdeps/i386/fpu/e_logl.S: Likewise.
7714 * sysdeps/i386/fpu/e_pow.S: Likewise.
7715 * sysdeps/i386/fpu/e_powf.S: Likewise.
7716 * sysdeps/i386/fpu/e_powl.S: Likewise.
7717 * sysdeps/i386/fpu/e_remainder.S: Likewise.
7718 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7719 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7720 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7721 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7722 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7723 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7724 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7725 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7726 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7727 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7728 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7729 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7730 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7731 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7732 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7733 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7734 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7735 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7736 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7737 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7738 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7739 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7740 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7741 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7742 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7743 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7744 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7745 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7746 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7747 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7748 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7749 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7750 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7751 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7752 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7753 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7754 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7755 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7756 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7757 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7758 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7759 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7760 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7761 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7762 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7763 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7764 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7765 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7766 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7767 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7768 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7769 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7770 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7771 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7772 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7773 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7774 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7775 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7776 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7777 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7778 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7779 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7780 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7781 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7782 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7783 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7784 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7785 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7786 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7787 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7788 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7789 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7790 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7791 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7792 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7793 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7794 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7795 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7796 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7797 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7798 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7799 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7800 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7801 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7802 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7803 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7804 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7805 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7806 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7807 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7808 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7809 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7810 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7811 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7812 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7813 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7814 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7815 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7816 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7817 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7818 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7819 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7820 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7821 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7822 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7823 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7824 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7825 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7826 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7827 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7828 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7829 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7830 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7831 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7832 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7833 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7834 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7835 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7836 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
7837 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7838 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7839 (__isnanf): Likewise.
7840 (__isinf_ns): Likewise.
7841 (__isinf_nsf): Likewise.
7842 (__finite): Likewise.
7843 (__finitef): Likewise.
7844 (__ieee754_sqrt): Define as macro.
7845 (__ieee754_sqrtf): Define as macro.
7846 (__ieee754_sqrtl): Define as macro.
7847 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7848 inlined copy.
7849 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7850 __FINITE_MATH_ONLY__ consistent.
7851 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7852
7853 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
7854
7855 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7856 of rawmemchr.
7857
7858 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7859
7860 2011-10-09 Ulrich Drepper <drepper@gmail.com>
7861
7862 * po/ja.po: Update from translation team.
7863
7864 2011-10-08 Roland McGrath <roland@hack.frob.com>
7865
7866 * locale/programs/locarchive.c (prepare_address_space): New function.
7867 (create_archive, enlarge_archive, open_archive): Use it.
7868
7869 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7870 inside [SHARED], where it is used.
7871
7872 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7873
7874 * nss/getent.c (netgroup_keys): Remove unused variable.
7875 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7876
7877 2011-10-08 Ulrich Drepper <drepper@gmail.com>
7878
7879 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7880 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7881 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7882 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7883 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7884 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7885 * math/Makefile (libm-calls): Add s_isinf_ns.
7886 * math/divtc3.c: Use __isinf_nsl instead of isinf.
7887 * math/multc3.c: Likewise.
7888 * math/s_casin.c: Likewise.
7889 * math/s_casinf.c: Likewise.
7890 * math/s_casinl.c: Likewise.
7891 * math/s_ccos.c: Likewise.
7892 * math/s_ccosf.c: Likewise.
7893 * math/s_ccosl.c: Likewise.
7894 * math/s_ctan.c: Likewise.
7895 * math/s_ctanf.c: Likewise.
7896 * math/s_ctanh.c: Likewise.
7897 * math/s_ctanhf.c: Likewise.
7898 * math/s_ctanhl.c: Likewise.
7899 * math/s_ctanl.c: Likewise.
7900 * math/w_fmod.c: Likewise.
7901 * math/w_fmodf.c: Likewise.
7902 * math/w_fmodl.c: Likewise.
7903 * math/w_remainder.c: Likewise.
7904 * math/w_remainderf.c: Likewise.
7905 * math/w_remainderl.c: Likewise.
7906 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7907 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7908 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7909 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7910 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7911 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7912 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7913 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7914
7915 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7916 of the number.
7917 * stdio-common/printf_fphex.c: Likewise.
7918 * stdio-common/printf_size.c: Likewise.
7919
7920 * math/e_exp10.c: Include math_private.h using <...> not "...".
7921 * math/e_exp10f.c: Likewise.
7922 * math/e_exp10l.c: Likewise.
7923 * math/e_exp2l.c: Likewise.
7924 * math/e_j0l.c: Likewise.
7925 * math/e_j1l.c: Likewise.
7926 * math/e_jnl.c: Likewise.
7927 * math/e_lgammal_r.c: Likewise.
7928 * math/e_rem_pio2l.c: Likewise.
7929 * math/e_scalb.c: Likewise.
7930 * math/e_scalbf.c: Likewise.
7931 * math/e_scalbl.c: Likewise.
7932 * math/k_cosl.c: Likewise.
7933 * math/k_sinl.c: Likewise.
7934 * math/k_tanl.c: Likewise.
7935 * math/s_cacoshf.c: Likewise.
7936 * math/s_catan.c: Likewise.
7937 * math/s_catanf.c: Likewise.
7938 * math/s_catanh.c: Likewise.
7939 * math/s_catanhf.c: Likewise.
7940 * math/s_catanhl.c: Likewise.
7941 * math/s_catanl.c: Likewise.
7942 * math/s_ccosh.c: Likewise.
7943 * math/s_ccoshf.c: Likewise.
7944 * math/s_ccoshl.c: Likewise.
7945 * math/s_cexp.c: Likewise.
7946 * math/s_cexpf.c: Likewise.
7947 * math/s_cexpl.c: Likewise.
7948 * math/s_clog.c: Likewise.
7949 * math/s_clog10.c: Likewise.
7950 * math/s_clog10f.c: Likewise.
7951 * math/s_clog10l.c: Likewise.
7952 * math/s_clogf.c: Likewise.
7953 * math/s_clogl.c: Likewise.
7954 * math/s_csin.c: Likewise.
7955 * math/s_csinf.c: Likewise.
7956 * math/s_csinh.c: Likewise.
7957 * math/s_csinhf.c: Likewise.
7958 * math/s_csinhl.c: Likewise.
7959 * math/s_csinl.c: Likewise.
7960 * math/s_csqrt.c: Likewise.
7961 * math/s_csqrtf.c: Likewise.
7962 * math/s_csqrtl.c: Likewise.
7963 * math/s_ctan.c: Likewise.
7964 * math/s_ctanf.c: Likewise.
7965 * math/s_ctanh.c: Likewise.
7966 * math/s_ctanhf.c: Likewise.
7967 * math/s_ctanhl.c: Likewise.
7968 * math/s_ctanl.c: Likewise.
7969 * math/s_ldexp.c: Likewise.
7970 * math/s_ldexpf.c: Likewise.
7971 * math/s_ldexpl.c: Likewise.
7972 * math/s_significand.c: Likewise.
7973 * math/s_significandf.c: Likewise.
7974 * math/s_significandl.c: Likewise.
7975 * math/w_acos.c: Likewise.
7976 * math/w_acosf.c: Likewise.
7977 * math/w_acosh.c: Likewise.
7978 * math/w_acoshf.c: Likewise.
7979 * math/w_acoshl.c: Likewise.
7980 * math/w_acosl.c: Likewise.
7981 * math/w_asin.c: Likewise.
7982 * math/w_asinf.c: Likewise.
7983 * math/w_asinl.c: Likewise.
7984 * math/w_atan2.c: Likewise.
7985 * math/w_atan2f.c: Likewise.
7986 * math/w_atan2l.c: Likewise.
7987 * math/w_atanh.c: Likewise.
7988 * math/w_atanhf.c: Likewise.
7989 * math/w_atanhl.c: Likewise.
7990 * math/w_cosh.c: Likewise.
7991 * math/w_coshf.c: Likewise.
7992 * math/w_coshl.c: Likewise.
7993 * math/w_dremf.c: Likewise.
7994 * math/w_exp10.c: Likewise.
7995 * math/w_exp10f.c: Likewise.
7996 * math/w_exp10l.c: Likewise.
7997 * math/w_exp2.c: Likewise.
7998 * math/w_exp2f.c: Likewise.
7999 * math/w_fmod.c: Likewise.
8000 * math/w_fmodf.c: Likewise.
8001 * math/w_fmodl.c: Likewise.
8002 * math/w_hypot.c: Likewise.
8003 * math/w_hypotf.c: Likewise.
8004 * math/w_hypotl.c: Likewise.
8005 * math/w_j0.c: Likewise.
8006 * math/w_j0f.c: Likewise.
8007 * math/w_j0l.c: Likewise.
8008 * math/w_j1.c: Likewise.
8009 * math/w_j1f.c: Likewise.
8010 * math/w_j1l.c: Likewise.
8011 * math/w_jn.c: Likewise.
8012 * math/w_jnf.c: Likewise.
8013 * math/w_jnl.c: Likewise.
8014 * math/w_lgamma.c: Likewise.
8015 * math/w_lgamma_r.c: Likewise.
8016 * math/w_lgammaf.c: Likewise.
8017 * math/w_lgammaf_r.c: Likewise.
8018 * math/w_lgammal.c: Likewise.
8019 * math/w_lgammal_r.c: Likewise.
8020 * math/w_log.c: Likewise.
8021 * math/w_log10.c: Likewise.
8022 * math/w_log10f.c: Likewise.
8023 * math/w_log10l.c: Likewise.
8024 * math/w_log2.c: Likewise.
8025 * math/w_log2f.c: Likewise.
8026 * math/w_log2l.c: Likewise.
8027 * math/w_logf.c: Likewise.
8028 * math/w_logl.c: Likewise.
8029 * math/w_pow.c: Likewise.
8030 * math/w_powf.c: Likewise.
8031 * math/w_powl.c: Likewise.
8032 * math/w_remainder.c: Likewise.
8033 * math/w_remainderf.c: Likewise.
8034 * math/w_remainderl.c: Likewise.
8035 * math/w_scalb.c: Likewise.
8036 * math/w_scalbf.c: Likewise.
8037 * math/w_scalbl.c: Likewise.
8038 * math/w_sinh.c: Likewise.
8039 * math/w_sinhf.c: Likewise.
8040 * math/w_sinhl.c: Likewise.
8041 * math/w_sqrt.c: Likewise.
8042 * math/w_sqrtf.c: Likewise.
8043 * math/w_sqrtl.c: Likewise.
8044 * math/w_tgamma.c: Likewise.
8045 * math/w_tgammaf.c: Likewise.
8046 * math/w_tgammal.c: Likewise.
8047
8048 * po/ja.po: Update from translation team.
8049
8050 2011-09-29 Andreas Jaeger <aj@suse.de>
8051
8052 [BZ #13179]
8053 * sunrpc/netname.c (netname2host): Fix logic.
8054
8055 [BZ #6779]
8056 [BZ #6783]
8057 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8058 correctly.
8059 * math/w_remainder.c (__remainder): Likewise.
8060 * math/w_remainderf.c (__remainderf): Likewise.
8061 * math/libm-test.inc (remainder_test): Add test cases.
8062
8063 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8064
8065 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8066 sdiv_qrnnd.
8067
8068 2011-10-07 Ulrich Drepper <drepper@gmail.com>
8069
8070 * string/test-memcmp.c: Avoid unncessary #defines.
8071 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8072
8073 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8074
8075 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8076 Use new sse2 version for core i3 - i7 as it's faster
8077 than sse42 version.
8078 (bit_Prefer_PMINUB_for_stringop): New.
8079 * sysdeps/x86_64/rawmemchr.S: Update.
8080 Replace with faster SSE2 version.
8081 * sysdeps/x86_64/memrchr.S: New file.
8082 * sysdeps/x86_64/memchr.S: Update.
8083 Replace with faster SSE2 version.
8084
8085 2011-09-12 Marek Polacek <mpolacek@redhat.com>
8086
8087 * elf/dl-load.c (lose): Add cast to avoid warning.
8088
8089 2011-10-07 Ulrich Drepper <drepper@gmail.com>
8090
8091 * po/ca.po: Update from translation team.
8092
8093 * inet/getnetgrent_r.c: Hook up nscd.
8094 * nscd/Makefile (routines): Add nscd_netgroup.
8095 (nscd-modules): Add netgroupcache.
8096 (CFLAGS-netgroupcache.c): Define.
8097 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8098 (cache_search): Add const to second parameter.
8099 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8100 INNETGR.
8101 (dbs): Add netgrdb entry.
8102 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8103 (verify_persistent_db): Handle netgrdb.
8104 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8105 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8106 GETFDNETGR.
8107 (netgroup_response_header): Define.
8108 (innetgroup_response_header): Define.
8109 (datahead): Add netgroup_response_header and innetgroup_response_header
8110 elements.
8111 * nscd/nscd.conf: Add entries for netgroup cache.
8112 * nscd/nscd.h (dbtype): Add netgrdb.
8113 (_PATH_NSCD_NETGROUP_DB): Define.
8114 (netgroup_iov_disabled): Declare.
8115 (xmalloc, xcalloc, xrealloc): Move declarations here.
8116 (cache_search): Adjust prototype.
8117 Add netgroup-related prototypes.
8118 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8119 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8120 (__nscd_innetgr): Declare.
8121 * nscd/selinux.c (perms): Use access_vector_t as element type and
8122 add netgroup-related initializers.
8123 * nscd/netgroupcache.c: New file.
8124 * nscd/nscd_netgroup.c: New file.
8125 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8126 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8127 For four parameters use innetgr.
8128 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8129 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8130 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8131 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8132
8133 * nscd/connections.c (register_traced_file): Don't register file
8134 for disabled databases.
8135
8136 2011-10-06 Ulrich Drepper <drepper@gmail.com>
8137
8138 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8139
8140 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8141 from tree and freeing node.
8142
8143 2011-09-25 Jiri Olsa <jolsa@redhat.com>
8144
8145 * nss/nsswitch.c (__nss_database_lookup): Handle
8146 nss_parse_service_list out of memory case.
8147
8148 2011-09-15 Jiri Olsa <jolsa@redhat.com>
8149
8150 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8151 out of memory case.
8152
8153 2011-10-04 Andreas Schwab <schwab@redhat.com>
8154
8155 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8156 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8157 pass it down.
8158 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8159 elf_machine_rela, elf_machine_lazy_rel.
8160 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8161 (ELF_DYNAMIC_DO_REL): Likewise.
8162 (ELF_DYNAMIC_DO_RELA): Likewise.
8163 (ELF_DYNAMIC_RELOCATE): Likewise.
8164 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8165 to ELF_DYNAMIC_DO_REL.
8166 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8167 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8168 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8169 elf_machine_rela.
8170 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8171 skip_ifunc, don't call ifunc function if non-zero.
8172 (elf_machine_rela): Likewise.
8173 (elf_machine_lazy_rel): Likewise.
8174 (elf_machine_lazy_rela): Likewise.
8175 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8176 (elf_machine_lazy_rel): Likewise.
8177 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8178 Likewise.
8179 (elf_machine_lazy_rel): Likewise.
8180 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8181 Likewise.
8182 (elf_machine_lazy_rel): Likewise.
8183 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8184 (elf_machine_lazy_rel): Likewise.
8185 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8186 (elf_machine_lazy_rel): Likewise.
8187 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8188 (elf_machine_lazy_rel): Likewise.
8189 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8190 (elf_machine_lazy_rel): Likewise.
8191 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8192 (elf_machine_lazy_rel): Likewise.
8193 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8194 (elf_machine_lazy_rel): Likewise.
8195
8196 2011-09-28 Ulrich Drepper <drepper@gmail.com>
8197
8198 * nss/nss_files/files-init.c (_nss_files_init): Use static
8199 initialization for all the *_traced_file variables.
8200
8201 2011-09-28 Andreas Schwab <schwab@redhat.com>
8202
8203 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8204
8205 2011-09-27 Roland McGrath <roland@hack.frob.com>
8206
8207 [BZ #13226]
8208 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8209
8210 2011-09-27 Andreas Schwab <schwab@redhat.com>
8211
8212 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8213 Reread the line before reparsing it.
8214
8215 2011-09-26 Andreas Schwab <schwab@redhat.com>
8216
8217 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8218
8219 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8220 Maxim Kuvyrkov <maxim@codesourcery.com>
8221 Joseph Myers <joseph@codesourcery.com>
8222
8223 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8224 if needed for __stack_chk_guard.
8225
8226 2011-09-19 Roland McGrath <roland@hack.frob.com>
8227
8228 * sysdeps/posix/spawni.c (script_execute): Always define it.
8229 It will be optimized away if unused.
8230 (maybe_script_execute): New function.
8231 (__spawni): Call it.
8232
8233 * Makerules: Don't include tls.make.
8234 (config-tls): Always set to thread.
8235 * tls.make.c: File removed.
8236
8237 2011-09-19 Mike Frysinger <vapier@gentoo.org>
8238
8239 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8240 * config.make.in (CPPFLAGS-config): New substituted variable.
8241
8242 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8243
8244 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8245
8246 [BZ #13192]
8247 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8248 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8249
8250 2011-09-15 Roland McGrath <roland@hack.frob.com>
8251
8252 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8253 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8254 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8255 (CALL_FAIL): Likewise.
8256 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8257 (CALL_FAIL): Macro removed.
8258 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8259
8260 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8261
8262 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8263 for __FINITE_MATH_ONLY__ == 1.
8264
8265 2011-09-15 Andreas Schwab <schwab@redhat.com>
8266
8267 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8268 __ieee754_sqrt instead of sqrt.
8269 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8270 __ieee754_sqrtf instead of sqrtf.
8271 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8272 __floorf instead of floorf.
8273 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8274 __floorf, __truncf instead of floorf, truncf.
8275
8276 2011-09-14 Ulrich Drepper <drepper@gmail.com>
8277
8278 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8279
8280 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8281 __extern_always_inline.
8282 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8283 32-bit.
8284
8285 2011-09-14 Andreas Schwab <schwab@redhat.com>
8286
8287 * elf/rtld.c (dl_main): Also relocate in dependency order when
8288 doing symbol dependency testing.
8289
8290 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8291
8292 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8293 Always define `refsym'.
8294
8295 2011-09-13 Andreas Schwab <schwab@redhat.com>
8296
8297 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8298 (__FD_ELT): Renamed from __FDELT.
8299 * misc/bits/select2.h (__FD_ELT): Likewise.
8300 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8301 __FD_MASK instead of __FDELT, __FDMASK.
8302 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8303 Likewise.
8304 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8305 Likewise.
8306
8307 * elf/Makefile (gen-ldd): Fix pattern.
8308
8309 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8310 (init_tls): Likewise.
8311
8312 2011-09-12 Ulrich Drepper <drepper@gmail.com>
8313
8314 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8315
8316 2011-09-12 Andreas Schwab <schwab@redhat.com>
8317
8318 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8319 `struct cmsghdr *' instead of `void *'.
8320 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8321 Likewise.
8322
8323 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8324
8325 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8326 if non-absolute.
8327 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8328 ldd_rewrite_script.
8329
8330 2011-09-11 Ulrich Drepper <drepper@gmail.com>
8331
8332 * configure.in: Remove --with-tls option.
8333 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8334 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8335 out in case it is missing.
8336 * sysdeps/ia64/elf/configure.in: Likewise.
8337 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8338 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8339 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8340 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8341 * sysdeps/sh/elf/configure.in: Likewise.
8342 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8343 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8344 * sysdeps/x86_64/elf/configure.in: Likewise.
8345 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8346 * sysdeps/mach/hurd/tls.h: Likewise.
8347
8348 [BZ #13067]
8349 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8350
8351 [BZ #13090]
8352 * configure.in: Fix use of AC_INIT.
8353
8354 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8355
8356 2011-09-10 Ulrich Drepper <drepper@gmail.com>
8357
8358 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8359 __set_errno.
8360 * malloc/hooks.c: Likewise.
8361
8362 [BZ #11929]
8363 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8364 variables statically.
8365 (narenas): Initialize.
8366 (list_lock): Initialize.
8367 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8368 initializtion of main_arena and list_lock. Small cleanups.
8369 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8370 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8371 Add initializers to main_arena and mp_.
8372 (malloc_state): Remove pagesize member. Change all users to use
8373 GLRO(dl_pagesize).
8374
8375 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8376 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8377 is always initialized.
8378
8379 * malloc/malloc.c: Removed unused configurations and dead code.
8380 * malloc/arena.c: Likewise.
8381 * malloc/hooks.c: Likewise.
8382 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
8383
8384 * include/tls.h: Removed. USE___THREAD must always be defined.
8385 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8386 * elf/dl-libc.c: Likewise.
8387 * elf/dl-tsd.c: Likewise.
8388 * include/errno.h: Likewise.
8389 * include/netdb.h: Likewise.
8390 * include/resolv.h: Likewise.
8391 * inet/herrno-loc.c: Likewise.
8392 * inet/herrno.c: Likewise.
8393 * malloc/arena.c: Likewise.
8394 * malloc/hooks.c: Likewise.
8395 * malloc/malloc.c: Likewise.
8396 * resolv/res-state.c: Likewise.
8397 * resolv/res_libc.c: Likewise.
8398 * sysdeps/i386/dl-machine.h: Likewise.
8399 * sysdeps/ia64/dl-machine.h: Likewise.
8400 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8401 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8402 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8403 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8404 * sysdeps/sh/dl-machine.h: Likewise.
8405 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8406 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8407 * sysdeps/unix/i386/sysdep.S: Likewise.
8408 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8409 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8410 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8411 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8412 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8413 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8414 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8415 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8416 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8417 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8418 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8419 * sysdeps/x86_64/dl-machine.h: Likewise.
8420 * tls.make.c: Likewise.
8421
8422 * configure.in: Remove --with-__thread option. Make tests for
8423 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8424 tls_model attribute fail if no support is available. Remove
8425 USE_IN_LIBIO.
8426 * Makeconfig: Adjust for dropped configure option. All features are
8427 now mandatory.
8428 * Makerules: Likewise.
8429 * Versions.def: Likewise.
8430 * argp/argp-fmtstream.c: Likewise.
8431 * argp/argp-fmtstream.h: Likewise.
8432 * argp/argp-help.c: Likewise.
8433 * assert/assert.c: Likewise.
8434 * config.h.in: Likewise.
8435 * config.make.in: Likewise.
8436 * configure: Likewise.
8437 * configure.in: Likewise.
8438 * csu/Versions: Likewise.
8439 * csu/init.c: Likewise.
8440 * elf/tst-audit2.c: Likewise.
8441 * elf/tst-tls10.c: Likewise.
8442 * elf/tst-tls10.h: Likewise.
8443 * elf/tst-tls11.c: Likewise.
8444 * elf/tst-tls12.c: Likewise.
8445 * elf/tst-tls14.c: Likewise.
8446 * elf/tst-tlsmod11.c: Likewise.
8447 * elf/tst-tlsmod12.c: Likewise.
8448 * elf/tst-tlsmod13.c: Likewise.
8449 * elf/tst-tlsmod13a.c: Likewise.
8450 * elf/tst-tlsmod14a.c: Likewise.
8451 * elf/tst-tlsmod15b.c: Likewise.
8452 * elf/tst-tlsmod16a.c: Likewise.
8453 * elf/tst-tlsmod16b.c: Likewise.
8454 * elf/tst-tlsmod7.c: Likewise.
8455 * elf/tst-tlsmod8.c: Likewise.
8456 * elf/tst-tlsmod9.c: Likewise.
8457 * gmon/gmon.c: Likewise.
8458 * grp/fgetgrent_r.c: Likewise.
8459 * grp/putgrent.c: Likewise.
8460 * hurd/fopenport.c: Likewise.
8461 * include/libc-symbols.h: Likewise.
8462 * include/tls.h: Likewise.
8463 * intl/gettextP.h: Likewise.
8464 * intl/loadinfo.h: Likewise.
8465 * locale/global-locale.c: Likewise.
8466 * locale/localeinfo.h: Likewise.
8467 * mach/devstream.c: Likewise.
8468 * malloc/arena.c: Likewise.
8469 * malloc/set-freeres.c: Likewise.
8470 * misc/err.c: Likewise.
8471 * misc/getttyent.c: Likewise.
8472 * misc/mntent_r.c: Likewise.
8473 * posix/getopt.c: Likewise.
8474 * posix/wordexp.c: Likewise.
8475 * pwd/fgetpwent_r.c: Likewise.
8476 * resolv/Versions: Likewise.
8477 * resolv/res_hconf.c: Likewise.
8478 * shadow/fgetspent_r.c: Likewise.
8479 * shadow/putspent.c: Likewise.
8480 * stdio-common/printf_fphex.c: Likewise.
8481 * stdio-common/tmpfile.c: Likewise.
8482 * stdlib/abort.c: Likewise.
8483 * stdlib/fmtmsg.c: Likewise.
8484 * sunrpc/auth_unix.c: Likewise.
8485 * sunrpc/clnt_perr.c: Likewise.
8486 * sunrpc/clnt_tcp.c: Likewise.
8487 * sunrpc/clnt_udp.c: Likewise.
8488 * sunrpc/clnt_unix.c: Likewise.
8489 * sunrpc/openchild.c: Likewise.
8490 * sunrpc/svc_simple.c: Likewise.
8491 * sunrpc/svc_tcp.c: Likewise.
8492 * sunrpc/svc_udp.c: Likewise.
8493 * sunrpc/svc_unix.c: Likewise.
8494 * sunrpc/xdr.c: Likewise.
8495 * sunrpc/xdr_array.c: Likewise.
8496 * sunrpc/xdr_rec.c: Likewise.
8497 * sunrpc/xdr_ref.c: Likewise.
8498 * sunrpc/xdr_stdio.c: Likewise.
8499
8500 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8501
8502 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8503
8504 2011-07-03 Andreas Jaeger <aj@suse.de>
8505
8506 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8507 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8508 regenerate with gen-libm-tests.pl.
8509
8510 2010-05-12 Petr Baudis <pasky@suse.cz>
8511
8512 [BZ #11589]
8513 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8514 around j0() zero points by switching to j1().
8515 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8516 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8517 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8518 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8519
8520 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8521
8522 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8523 instead of 0.
8524 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8525 instead of 0. .
8526 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8527 Patch in part by Pavel Roskin <proski@gnu.org>.
8528
8529 [BZ #13138]
8530 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8531 realloc.
8532 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8533 Free memory block if necessary.
8534
8535 [BZ #12847]
8536 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8537 be NULL. Don't lock in this case.
8538
8539 2011-09-09 Roland McGrath <roland@hack.frob.com>
8540
8541 * elf/elf.h (ELFOSABI_GNU): New macro.
8542 (ELFOSABI_LINUX): Define to that.
8543
8544 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8545
8546 * string/strncat.c (strncat): Undef the symbol in case it has been
8547 defined in bits/string.h.
8548
8549 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8550
8551 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8552
8553 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
8554 link map.
8555
8556 2011-08-17 Andreas Jaeger <aj@suse.de>
8557
8558 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8559
8560 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8561 Ian Lance Taylor <iant@google.com>
8562
8563 * math/libm-test.inc (lround_test): New testcase.
8564 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8565
8566 2011-09-08 Ulrich Drepper <drepper@gmail.com>
8567
8568 * Makefile: Remove support for automatic cvs check-ins.
8569 * Makerules: Likewise.
8570 * config.make.in: Likewise.
8571 * configure.in: Likewise.
8572 * intl/Makefile: Likewise.
8573 * locale/Makefile: Likewise.
8574 * po/Makefile: Likewise.
8575 * posix/Makefile: Likewise.
8576 * sysdeps/gnu/Makefile: Likewise.
8577 * sysdeps/mach/hurd/Makefile: Likewise.
8578 * sysdeps/sparc/sparc32/Makefile: Likewise.
8579
8580 [BZ #13118]
8581 * posix/Makefile (bug-regex32-ENV): Define.
8582 Patch by John Stanley <jpsinthemix@verizon.net>.
8583
8584 * misc/Makefile (headers): Add bits/select2.h.
8585 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8586 * misc/bits/select2.h: New file.
8587 * include/bits/select2.h: New file.
8588 * debug/Makefile (routines): Add fdelt_chk.
8589 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8590 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8591 FD_ISSET.
8592 * debug/fdelt_chk.c: New file.
8593
8594 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8595 * wcsmbs/test-wmemcmp.c: Likewise.
8596 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
8597 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
8598
8599 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8600
8601 * string/Makefile (strop-tests): Add memcmp.
8602 * string/test-wmemcmp.c: New file.
8603 * string/test-memcmp.c: Add wmemcmp support.
8604
8605 2011-09-08 Roland McGrath <roland@hack.frob.com>
8606
8607 [BZ #13153]
8608 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8609 2011-07-19 change.
8610
8611 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8612 garbage value in a __mach_port_mod_refs call in the cases of the
8613 task-self and thread-self ports.
8614
8615 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8616
8617 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8618
8619 2011-09-08 Andreas Schwab <schwab@redhat.com>
8620
8621 * elf/dl-load.c (lose): Check for non-null L.
8622
8623 2011-09-07 Ulrich Drepper <drepper@gmail.com>
8624
8625 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8626
8627 * elf/dl-libc.c (dlerror_run): Pass back error code from
8628 dl_catch_error.
8629
8630 [BZ #13123]
8631 * elf/dl-load.c (lose): Free l_origin if it is valid.
8632
8633 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8634 names.
8635 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8636 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8637 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8638 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8639 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8640 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8641
8642 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8643
8644 * sysdeps/powerpc/fpu/e_hypot.c: New file.
8645 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8646 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8647 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8648 * sysdeps/powerpc/fpu/k_cosf.c: New file.
8649 * sysdeps/powerpc/fpu/k_sinf.c: New file.
8650 * sysdeps/powerpc/fpu/s_cosf.c: New file.
8651 * sysdeps/powerpc/fpu/s_sinf.c: New file.
8652 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8653 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8654
8655 2011-08-15 Alan Modra <amodra@gmail.com>
8656
8657 [BZ #13092]
8658 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8659 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8660 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
8661 ppc_mcount to static-only-routines.
8662 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8663 __mcount_internal.
8664 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8665 __mcount_internal with usual JUMPTARGET. Remove useless nop.
8666
8667 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
8668
8669 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8670 for finite and infinity parameters.
8671
8672 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8673
8674 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8675 and add nop instructions for throughput optimization.
8676 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8677
8678 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
8679
8680 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8681 aligned copy for power7 with vector-scalar instructions.
8682 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8683
8684 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
8685
8686 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8687 AVX check.
8688
8689 2011-09-07 Andreas Schwab <schwab@redhat.com>
8690
8691 [BZ #13144]
8692 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8693 last change.
8694
8695 2011-09-07 Ulrich Drepper <drepper@gmail.com>
8696
8697 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8698 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8699 syscall wrapper around clock_gettime in __vdso_clock_gettime.
8700 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8701 clock_gettime.
8702
8703 2011-09-06 Ulrich Drepper <drepper@gmail.com>
8704
8705 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8706 Forgot to demangle the pointer.
8707
8708 * sysdeps/i386/sysdep.h: Define atom_text_section.
8709 * sysdeps/x86_64/sysdep.h: Likewise.
8710 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8711 section with atom_text_section.
8712 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8713 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8714 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8715 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8716 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8717
8718 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8719 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8720 already be defined. Change to take two parameters and don't assign
8721 result to variable. Adjust all users.
8722 Define INTERNAL_GETTIME if not already defined.
8723 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8724 call.
8725 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8726 HAVE_CLOCK_GETTIME_VSYSCALL.
8727 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8728
8729 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8730 gettimeofday vsyscall, just use time.
8731
8732 2011-09-06 Andreas Schwab <schwab@redhat.com>
8733
8734 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8735 <errno.h>.
8736
8737 2011-09-06 Ulrich Drepper <drepper@gmail.com>
8738
8739 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8740 syscall on x86-64.
8741 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8742 syscall.
8743 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8744 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8745 syscall if possible.
8746
8747 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8748
8749 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8750 e_ident. Don't pass to find_mapsXX.
8751 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8752
8753 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8754
8755 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8756 strchr-sse2-no-bsf strrchr-sse2-no-bsf
8757 * sysdeps/x86_64/multiarch/strchr.S: Update.
8758 Check bit_slow_BSF bit.
8759 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8760 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8761 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8762
8763 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8764
8765 [BZ #13134]
8766 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8767 before glibc 2.15.
8768 (tryshell): Define.
8769 (__spawni): Change last parameter to be flag. Test
8770 SPAWN_XFLAGS_USE_PATH flag to use path or not.
8771 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8772 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8773 * posix/spawni.c: Likewise.
8774 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8775 * posix/spawnp.c: Likewise. Change normal version to use
8776 SPAWN_XFLAGS_USE_PATH.
8777 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8778 SPAWN_XFLAGS_TRY_SHELL.
8779
8780 [BZ #13150]
8781 * posix/glob.h: Remove gcc 1.x support.
8782
8783 [BZ #13068]
8784 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8785
8786 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8787
8788 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8789 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8790 strrchr-sse2-bsf
8791 * sysdeps/i386/i686/multiarch/strchr.S: New file.
8792 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8793 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8794 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8795 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8796 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8797
8798 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8799
8800 * sysdeps/x86_64/wcscmp.S: New file.
8801
8802 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8803 wcscmp-c wcscmp-sse2
8804 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8805 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8806 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8807 * wcsmbs/wcscmp.c: Allow renaming.
8808
8809 2011-09-05 David S. Miller <davem@davemloft.net>
8810
8811 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8812 stack slot, rather than the struct return pointer slot.
8813 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8814 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8816 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8817
8818 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8819
8820 * po/ja.po: Update from translation team.
8821
8822 [BZ #13144]
8823 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8824 kernel in 64-bit binaries.
8825
8826 2011-09-01 David S. Miller <davem@davemloft.net>
8827
8828 * elf/elf.h (HWCAP_SPARC_*): Move to..
8829 * sysdeps/sparc/sysdep.h: this new file and add new values.
8830 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8831 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8832 _DL_HWCAP_COUNT to 24.
8833 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8834 entries.
8835 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8836 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8837 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8838 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8839 instead of magic constants.
8840 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8841
8842 2011-08-31 David S. Miller <davem@davemloft.net>
8843
8844 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8845 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8846 Reimplement to do errno handling inline.
8847 (SYSCALL_ERROR_HANDLER): New macro.
8848 (__SYSCALL_STRING): Do not do errno handling in asm.
8849 (__CLONE_SYSCALL_STRING): Delete.
8850 (__INTERNAL_SYSCALL_STRING): Delete.
8851 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8852 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8853 (PSEUDO): Reimplement to do errno handling inline.
8854 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8855 (SYSCALL_ERROR_HANDLER): New macro.
8856 (__SYSCALL_STRING): Do not do errno handling in asm.
8857 (__CLONE_SYSCALL_STRING): Delete.
8858 (__INTERNAL_SYSCALL_STRING): Delete.
8859 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8860 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8861 i386.
8862 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8863 (inline_syscall*): Add 'err' argument.
8864 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8865 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8866 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8867 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8868
8869 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8870 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8871
8872 2011-08-30 Andreas Schwab <schwab@redhat.com>
8873
8874 * elf/rtld.c (dl_main): Relocate objects in dependency order.
8875
8876 2011-08-29 Jiri Olsa <jolsa@redhat.com>
8877
8878 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8879 directive.
8880
8881 2011-08-24 David S. Miller <davem@davemloft.net>
8882
8883 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8884
8885 2011-08-24 Andreas Schwab <schwab@redhat.com>
8886
8887 * elf/Makefile: Add rules to build and run unload8 test.
8888 * elf/unload8.c: New file.
8889 * elf/unload8mod1.c: New file.
8890 * elf/unload8mod1x.c: New file.
8891 * elf/unload8mod2.c: New file.
8892 * elf/unload8mod3.c: New file.
8893
8894 * elf/dl-close.c (_dl_close_worker): Reset private search list if
8895 it wasn't used.
8896
8897 2011-08-23 David S. Miller <davem@davemloft.net>
8898
8899 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8900 subtract stack bias.
8901 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8902 %sp not %fp in calculations.
8903 (_JMPBUF_UNWINDS_ADJ): Likewise.
8904
8905 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8906 (aio_suspend): Call it to force an exception region around the
8907 AIO_MISC_WAIT() invocation.
8908
8909 2011-08-23 Andreas Schwab <schwab@redhat.com>
8910
8911 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8912 backslash.
8913
8914 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
8915
8916 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8917 protection macro.
8918 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8919 and <dl-machine.h>.
8920 (Elf64_FuncDesc): Remove.
8921
8922 2011-08-22 David S. Miller <davem@davemloft.net>
8923
8924 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8925 sigaltstack check, add missing cfi directives.
8926 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8927 missing cfi directives, and sigaltstack handling.
8928
8929 2011-08-16 Andreas Schwab <schwab@redhat.com>
8930
8931 [BZ #11724]
8932 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8933 object is seen twice.
8934 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8935
8936 * elf/Makefile (distribute): Add tst-initorder2.c.
8937 (tests): Add tst-initorder2.
8938 (modules-names): Add tst-initorder2a tst-initorder2b
8939 tst-initorder2c tst-initorder2d. Add rules to build them.
8940 ($(objpfx)tst-initorder2.out): New rule.
8941 * elf/tst-initorder2.c: New file.
8942 * elf/tst-initorder2.exp: New file.
8943
8944 2011-08-22 Andreas Schwab <schwab@redhat.com>
8945
8946 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8947
8948 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8949 dependencies back to end of function.
8950
8951 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8952 $(elfobjdir)/ld.so.
8953
8954 2011-08-21 Ulrich Drepper <drepper@gmail.com>
8955
8956 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8957 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8958 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8959 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8960 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8961 of __vdso_gettimeofday.
8962 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8963 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
8964 attribute_hidden.
8965 (_libc_vdso_platform_setup): Remove initialization of
8966 __vdso_gettimeofday and __vdso_time.
8967
8968 2011-08-20 Ulrich Drepper <drepper@gmail.com>
8969
8970 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8971 and fgetc_unlocked.
8972 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8973 getc_unlocked.
8974
8975 * elf/dl-open.c (add_to_global): Report additions to the global scope
8976 for LD_DEBUG=scopes.
8977 (dl_open_worker): Also print scope of newly loaded dependencies.
8978 (_dl_show_scope): Indicate if there is no scope.
8979
8980 [BZ #13114]
8981 * stdio-common/Makefile (tests): Add bug24.
8982 * stdio-common/bug24.c: New file.
8983
8984 2011-08-19 Andreas Jaeger <aj@suse.de>
8985
8986 [BZ #13114]
8987 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8988 non-existant file when using close-on-exec mode.
8989
8990 2011-08-20 Ulrich Drepper <drepper@gmail.com>
8991
8992 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8993 the very first instruction.
8994
8995 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8996 the CFI state in the end.
8997 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8998 inclusion of dl-trampoline.h.
8999 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9000
9001 2011-08-19 Andreas Schwab <schwab@redhat.com>
9002
9003 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9004 expectations for long double.
9005
9006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9007 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9008
9009 2011-08-14 David S. Miller <davem@davemloft.net>
9010
9011 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9012 artificual limit depends upon the system page size.
9013
9014 2011-08-17 Ulrich Drepper <drepper@gmail.com>
9015
9016 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9017 * resolv/Makefile: Define CFLAGS-libresolv.
9018
9019 2011-08-17 Andreas Schwab <schwab@redhat.com>
9020
9021 * nss/makedb.c (compute_tables): Make variables used in nested
9022 function static.
9023
9024 2011-08-17 Ulrich Drepper <drepper@gmail.com>
9025
9026 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9027 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9028 if buffer was too small.
9029
9030 * elf/pldd.c (main): Attach to all threads in the process.
9031 Rewrite /proc handling to use *at functions.
9032
9033 2011-08-16 Ulrich Drepper <drepper@gmail.com>
9034
9035 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9036 specifies first scope to show.
9037 (dl_open_worker): Update callers. Move printing scope of new
9038 object to before the relocation.
9039 * elf/rtld.c (dl_main): Update _dl_show_scope call.
9040 * sysdeps/generic/ldsodefs.h: Update declaration.
9041
9042 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9043 string for the scope number.
9044
9045 2011-08-14 Ulrich Drepper <drepper@gmail.com>
9046
9047 * nscd/servicescache.c (cache_addserv): Make sure written is always
9048 initialized.
9049
9050 2011-08-14 Roland McGrath <roland@hack.frob.com>
9051
9052 * sysdeps/i386/i486/bits/atomic.h
9053 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9054 statement expression, so as to suppress "set but not used" warning.
9055 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9056
9057 * string/strncat.c (STRNCAT): Use prototype definition.
9058
9059 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9060 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9061 -Iprograms here.
9062 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9063 (localedef-modules): Add localedef.
9064 (locale-modules): Add locale.
9065
9066 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9067 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9068 to avoid a warning.
9069
9070 2011-08-14 David S. Miller <davem@davemloft.net>
9071
9072 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9073 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9074
9075 2011-08-13 Ulrich Drepper <drepper@gmail.com>
9076
9077 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
9078 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9079 * elf/rtld.c (dl_main): Set l_name of vDSO.
9080 Call _dl_show_scope when DL_DEBUG_SCOPES.
9081 (process_dl_debug): Recognize scopes flag and also set it for all.
9082 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9083 Declare _dl_show_scope.
9084
9085 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9086 (do_dlopen): Pass caller_dlopen to dl_open.
9087 (__libc_dlopen_mode): Initialize caller_dlopen.
9088
9089 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9090 of libc. Make tolower call locale-independent. Optimize a bit by
9091 using isdigit instead of isalnum.
9092 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9093
9094 2011-08-12 Ulrich Drepper <drepper@gmail.com>
9095
9096 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9097 was a dependency or dynamically loaded.
9098
9099 2011-08-11 Ulrich Drepper <drepper@gmail.com>
9100
9101 * intl/l10nflist.c: Allow architecture-specific pop function.
9102 * sysdeps/x86_64/l10nflist.c: New file.
9103
9104 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9105 classification.
9106
9107 2011-08-10 Andreas Schwab <schwab@redhat.com>
9108
9109 * include/dirent.h: Add libc_hidden_proto for scandirat and
9110 scandirat64. Don't declare __scandirat64.
9111 * dirent/scandirat.c: Add libc_hidden_def.
9112 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9113 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9114
9115 2011-08-10 David S. Miller <davem@davemloft.net>
9116
9117 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9118 enum.
9119 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9120 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9121 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9122
9123 2011-08-09 Ulrich Drepper <drepper@gmail.com>
9124
9125 * Versions.def [libc]: Add GLIBC_2.15.
9126 * dirent/Makefile (routines): Add scandirat and scandirat64.
9127 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9128 GLIBC_2.15.
9129 * dirent/dirent.h: Declare scandirat and scandirat64.
9130 * dirent/scandirat.c: New file.
9131 * dirent/scandirat64.c: New file.
9132 * sysdeps/wordsize-64/scandirat.c: New file.
9133 * sysdeps/wordsize-64/scandirat64.c: New file.
9134 * dirent/opendir.c: Define opendirat.
9135 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9136 using scandirat.
9137 * dirent/scandir64.c: Adjust for scandir.c change.
9138 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9139 __scandirat64, and __scandir_cancel_handler.
9140 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9141 additional parameter and use openat instead of open (outside of ld.so).
9142 Add new __opendir as wrapper around __opendirat.
9143 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9144 here without requiring old scandirat implementation.
9145
9146 2011-08-08 Ulrich Drepper <drepper@gmail.com>
9147
9148 * dirent/scandir.c (cancel_handler): Renamed to
9149 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9150 defined. Adjust users.
9151 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9152 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9153
9154 2011-08-04 Ulrich Drepper <drepper@gmail.com>
9155
9156 * string/test-string.h (IMPL): Use __STRING to expand name and then
9157 stringify it.
9158
9159 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9160 of cleanups.
9161
9162 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9163
9164 * string/Makefile: Update.
9165 (strop-tests): Append strncat.
9166 * string/test-wcscmp.c: New file.
9167 New comprehensive test for wcscmp.
9168 * string/test-strcmp.c: Update.
9169 (WIDE): New define.
9170
9171 2011-07-22 Andreas Schwab <schwab@redhat.com>
9172
9173 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9174 line.
9175
9176 2011-07-26 Andreas Schwab <schwab@redhat.com>
9177
9178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9179 encoding to ACE if AI_IDN.
9180
9181 2011-08-01 Jakub Jelinek <jakub@redhat.com>
9182
9183 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9184 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9185
9186 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9187
9188 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9189 Fix overflow bug in strncat.
9190 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9191
9192 * string/test-strncat.c: Update.
9193 Add new tests for checking overflow bugs.
9194
9195 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9196
9197 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9198 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9199 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9200 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9201 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9202 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9203 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9204 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9205 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9206
9207 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9208 (USE_AS_STRCAT): Define.
9209 Add strcat and strncat support.
9210 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9211
9212 2011-07-25 Andreas Schwab <schwab@redhat.com>
9213
9214 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9215 __n bigger than INT_MAX+1.
9216 (__strncmp_g): Likewise.
9217
9218 2011-07-23 Ulrich Drepper <drepper@gmail.com>
9219
9220 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9221 * libio/stido.h: Likewise.
9222
9223 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9224 (AF_NFC): Define.
9225 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9226 (AF_NFC): Define.
9227
9228 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9229 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9230 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9231 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9232 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9233
9234 [BZ #13021]
9235 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9236 installed.
9237
9238 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9239 typo.
9240 (_dl_x86_64_save_sse): Likewise.
9241
9242 2011-07-22 Ulrich Drepper <drepper@gmail.com>
9243
9244 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9245 OSXSAVE.
9246 (_dl_x86_64_save_sse): Likewise.
9247
9248 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9249
9250 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9251
9252 2011-07-21 Andreas Schwab <schwab@redhat.com>
9253
9254 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9255 change.
9256 (_dl_x86_64_save_sse): Use correct AVX check.
9257
9258 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9259
9260 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9261 bug in strncpy/strncat.
9262 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9263
9264 2011-07-21 Ulrich Drepper <drepper@gmail.com>
9265
9266 * string/tester.c (test_strcat): Add tests for different alignments
9267 of source and destination.
9268 (test_strncat): Likewise.
9269
9270 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9271
9272 [BZ #12852]
9273 * posix/glob.c (glob): Check passed in values before using them in
9274 expressions to avoid some overflows.
9275 (glob_in_dir): Likewise.
9276
9277 [BZ #13007]
9278 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9279 check for AVX enablement so that we don't crash with old kernels and
9280 new hardware.
9281 * elf/tst-audit4.c: Add same checks here.
9282 * elf/tst-audit6.c: Likewise.
9283
9284 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
9285
9286 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9287
9288 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9289
9290 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9291
9292 * po/cs.po: Update from translation team.
9293 * po/bg.po: Likewise.
9294
9295 2011-07-12 Marek Polacek <mpolacek@redhat.com>
9296
9297 * misc/sys/cdefs.h: Add support for const attribute.
9298 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9299 to gnu_dev_{major,minor,makedev} functions.
9300
9301 2011-07-20 Marek Polacek <mpolacek@redhat.com>
9302
9303 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9304
9305 2011-07-20 Andreas Schwab <schwab@redhat.com>
9306
9307 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9308 strlen results.
9309
9310 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9311
9312 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9313 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9314 register in order to avoid conflicts with the soft frame pointer
9315 being held in r11 when necessary.
9316 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9317 (INTERNAL_VSYSCALL_NCS): Likewise.
9318
9319 2011-07-14 Marek Polacek <mpolacek@redhat.com>
9320
9321 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9322 * elf/dl-fini.c (_dl_fini): Adjust caller.
9323 * elf/dl-close.c (_dl_close_worker): Likewise.
9324 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9325
9326 2011-07-15 Marek Polacek <mpolacek@redhat.com>
9327
9328 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9329 "aux_cache->nlibs < 0".
9330
9331 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9332 in the reload-count case.
9333
9334 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9335
9336 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9337 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9338 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9339 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9340 * sysdeps/x86_64/multiarch/strcat.S: New file.
9341 * sysdeps/x86_64/multiarch/strncat.S: New file.
9342 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9343 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9344 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9345 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9346 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9347 (USE_AS_STRCAT): Define.
9348 Add strcat and strncat support.
9349 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9350 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9351 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9352 * string/strncat.c: Update.
9353 (USE_AS_STRNCAT): Define.
9354 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9355 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9356 and i7.
9357 * sysdeps/x86_64/multiarch/init-arch.h
9358 (bit_Prefer_PMINUB_for_stringop): New.
9359 (index_Prefer_PMINUB_for_stringop): Likewise.
9360 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9361 bit_Prefer_PMINUB_for_stringop.
9362
9363 2011-07-19 Ulrich Drepper <drepper@gmail.com>
9364
9365 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9366 buffer64.
9367 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9368 of casting of buffer.
9369 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9370 buffer32 and buffer64.
9371 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9372 writes instead of casting of buffer.
9373 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9374 buffer32.
9375 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9376 casting of buffer.
9377
9378 2011-07-19 Andreas Schwab <schwab@redhat.com>
9379
9380 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9381
9382 2011-07-19 Ulrich Drepper <drepper@gmail.com>
9383
9384 * nscd/nscd.c (termination_handler): Don't do anything for a database
9385 if it has not yet been initialized.
9386
9387 2011-07-18 Ulrich Drepper <drepper@gmail.com>
9388
9389 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9390
9391 2011-07-15 Marek Polacek <mpolacek@redhat.com>
9392
9393 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9394
9395 2011-07-18 Ulrich Drepper <drepper@gmail.com>
9396
9397 * po/nl.po: Update from translation team.
9398 * po/sv.po: Likewise.
9399
9400 2011-07-16 Roland McGrath <roland@hack.frob.com>
9401
9402 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9403 now disallowed by GCC.
9404
9405 * configure.in (use-default-link): Default to yes if a test -shared
9406 link meets our qualifications.
9407 * configure: Regenerated.
9408
9409 * config.make.in (output-format): New variable.
9410 * configure.in: Check for ld --print-output-format support.
9411 * configure: Regenerated.
9412 * Makerules ($(common-objpfx)format.lds)
9413 [$(output-format) != unknown]: Just use $(output-format),
9414 instead of the linker-script munging.
9415
9416 2011-07-14 Roland McGrath <roland@hack.frob.com>
9417
9418 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9419 of $(common-objpfx)shlib.lds.
9420 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9421
9422 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9423 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9424
9425 * configure.in (-z relro check): Adjust test code to add a large
9426 writable data section after it.
9427 * configure: Regenerated.
9428
9429 2011-07-11 Roland McGrath <roland@hack.frob.com>
9430
9431 * configure.in (-z relro check): Fix test code to make the variable
9432 truly const.
9433 * configure: Regenerated.
9434
9435 2011-07-11 Ulrich Drepper <drepper@gmail.com>
9436
9437 * nscd/nscd.h (struct traced_file): Define.
9438 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9439 elements. Add traced_files.
9440 (inotify_fd): Declare.
9441 (register_traced_file): Declare.
9442 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9443 (inotify_fd): Export.
9444 (resolv_conf_descr): Remove.
9445 (nscd_init): Move inotify descriptor creation to main.
9446 Don't register files for notification here.
9447 (register_traced_file): New function.
9448 (invalidate_cache): Don't use reset_res to determine whether to call
9449 res_init, go through the list of registered files.
9450 (main_loop_poll): The inotify descriptors are now stored in the
9451 structures for the traced files.
9452 (main_loop_epoll): Likewise
9453 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9454 to __nss_disable_nscd.
9455 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9456 for a database anymore. Check the records for all the registered
9457 files instead.
9458 * nss/Makefile (libnss_files-routines): Add files-init.
9459 (libnss_db-routines): Add db-init.
9460 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9461 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9462 * nss/nss_db/db-init.c: New file.
9463 * nss/nss_files/files-init.c: New file.
9464 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9465 __nss_lookup_function.
9466 (__nss_lookup_function): Call nss_load_library.
9467 (nss_load_all_libraries): New function.
9468 (__nss_disable_nscd): Take parameter with callback function for files
9469 to register. Set is_nscd. Load all the DSOs for the NSS modules
9470 used for the cached services.
9471 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9472 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9473 options for features to all the files in nscd.
9474
9475 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9476
9477 2011-07-10 Roland McGrath <roland@hack.frob.com>
9478
9479 * csu/elf-init.c (__libc_csu_init): Comment typo.
9480
9481 2011-07-09 Ulrich Drepper <drepper@gmail.com>
9482
9483 * po/pl.po: Update from translation team.
9484 * po/ja.po: Likewise.
9485 * po/ru.po: Likewise.
9486 * po/ko.po: Likewise.
9487 * po/fr.po: Likewise.
9488
9489 2011-07-09 Roland McGrath <roland@hack.frob.com>
9490
9491 * configure.in (.ctors/.dtors header and trailer check):
9492 Use an empirical test on a built program.
9493 * configure: Regenerated.
9494
9495 * configure.in (-z relro check): Use an empirical test on a built DSO.
9496 Detect, but do not require, on ia64.
9497 * configure: Regenerated.
9498
9499 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9500 Update tests that use readelf to use $READELF instead.
9501 * configure: Regenerated.
9502
9503 2011-07-08 Ulrich Drepper <drepper@gmail.com>
9504
9505 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9506 if the result is not used.
9507
9508 2011-07-05 Andreas Jaeger <aj@suse.de>
9509
9510 [BZ#9696]
9511 * stdlib/tst-strtod.c: Add testcase.
9512
9513 2011-07-07 Ulrich Drepper <drepper@gmail.com>
9514
9515 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
9516 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
9517 The latter has a higher limit. Take additional parameter to pass to
9518 the new function.
9519 (__pathconf): Pass file to __statfs_link_max.
9520 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9521 __statfs_link_max.
9522 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9523 __statfs_link_max.
9524
9525 [BZ #12868]
9526 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9527 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9528 Handle Lustre.
9529 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9530 (__statfs_filesize_max): Likewise.
9531 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9532
9533 2011-07-05 Andreas Jaeger <aj@suse.de>
9534
9535 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9536
9537 2011-07-06 Marek Polacek <mpolacek@redhat.com>
9538
9539 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9540 `status' variable.
9541 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9542 Likewise.
9543
9544 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9545
9546 * Makefile (strop-tests): Add strncat.
9547 * string/test-strncat.c: New file.
9548
9549 2011-06-30 Marek Polacek <mpolacek@redhat.com>
9550
9551 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9552
9553 2011-06-21 Andreas Jaeger <aj@suse.de>
9554
9555 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9556 Copy rule from iconvdata/Makefile.
9557
9558 2011-07-06 Ulrich Drepper <drepper@gmail.com>
9559
9560 [BZ #12922]
9561 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9562 but no long options are defined, just return 'W'.
9563
9564 2011-06-22 Marek Polacek <mpolacek@redhat.com>
9565
9566 [BZ #9696]
9567 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9568
9569 2011-07-06 Ulrich Drepper <drepper@gmail.com>
9570
9571 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9572 netgroups to read.
9573 (innetgr): Likewise.
9574
9575 2011-07-05 Roland McGrath <roland@hack.frob.com>
9576
9577 * config.make.in (install_root): Default to $(DESTDIR).
9578
9579 2011-07-05 Ulrich Drepper <drepper@gmail.com>
9580
9581 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9582
9583 2011-07-02 Roland McGrath <roland@hack.frob.com>
9584
9585 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9586
9587 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9588 containing directory rather than embedding absolute directory names.
9589
9590 * scripts/check-local-headers.sh: Rewritten using awk.
9591 Match by word, not by line. Print error messages for matches.
9592 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9593
9594 * Makerules [shlib-lds-flags empty]:
9595 ($(common-objpfx)libc_pic.opts): New target.
9596 ($(common-objpfx)libc_pic.os.clean): New target.
9597 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9598
9599 * config.make.in (OBJCOPY): New variable.
9600 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9601 * configure: Regenerated.
9602
9603 * config.make.in (use-default-link): New variable.
9604 * configure.in (use_default_link): Grok --with-default-link to set it.
9605 * configure: Regenerated.
9606 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9607 (shlib-lds, shlib-lds-flags): Define to empty.
9608
9609 * Makerules (shlib-lds): New variable.
9610 (shlib-lds-flags): New variable.
9611 (build-shlib, build-moduile, build-module-asneeded): Use it.
9612 ($(common-objpfx)libc.so): Use $(shlib-lds).
9613 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9614 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9615
9616 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9617 DT_FLAGS/DT_FLAGS_1 with zero flags.
9618
9619 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9620 linker script munging.
9621
9622 2011-07-02 Ulrich Drepper <drepper@gmail.com>
9623
9624 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9625 as 128-bit value.
9626 * crypt/sha512.c (sha512_process_block): Perform total addition using
9627 128-bit if possible.
9628 (__sha512_finish_ctx): Likewise.
9629 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9630 as 64-bit value.
9631 * crypt/sha256.c (SWAP64): Define.
9632 (sha256_process_block): Perform total addition using 64-bit if
9633 possible.
9634 (__sha256_finish_ctx): Likewise.
9635
9636 2011-07-01 Ulrich Drepper <drepper@gmail.com>
9637
9638 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
9639 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9640 * nscd/hstcache.c (cache_addhst): Likewise.
9641 * nscd/grpcache.c (cache_addgr): Likewise.
9642 * nscd/aicache.c (addhstaiX): Likewise
9643 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9644
9645 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
9646
9647 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9648 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9649 * nscd/hstcache.c (cache_addhst): Likewise.
9650 * nscd/grpcache.c (cache_addgr): Likewise.
9651 * nscd/aicache.c (addhstaiX): Likewise
9652
9653 2011-07-01 Andreas Schwab <schwab@redhat.com>
9654
9655 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9656 domain only when needed.
9657
9658 2011-06-30 Andreas Schwab <schwab@redhat.com>
9659
9660 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9661 is always restored.
9662
9663 2011-06-29 Ulrich Drepper <drepper@gmail.com>
9664
9665 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9666 are re-adding the entry.
9667 * nscd/servicescache.c (cache_addserv): Likewise.
9668
9669 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
9670
9671 * sysdeps/generic/dl-irel.h: fix protection against multiple
9672 inclusions.
9673 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9674
9675 2011-06-28 Ulrich Drepper <drepper@gmail.com>
9676
9677 [BZ #12935]
9678 * malloc/memusage.sh: Fix quoting in message.
9679 * debug/xtrace.sh: Likewise.
9680
9681 * configure.in: Remove support for --experimental-malloc option, make
9682 it the default.
9683 * config.make.in: Likewise.
9684 * malloc/Makefile: Likewise.
9685
9686 2011-06-27 Andreas Schwab <schwab@redhat.com>
9687
9688 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9689 two-byte characters.
9690
9691 2011-06-27 Roland McGrath <roland@hack.frob.com>
9692
9693 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9694 AC_CACHE_CHECK invocation.
9695 * configure: Regenerated.
9696
9697 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9698
9699 2011-06-27 Ulrich Drepper <drepper@gmail.com>
9700
9701 [BZ #12350]
9702 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
9703 bit from old_res_options.
9704
9705 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9706
9707 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9708 value type for setfct.
9709
9710 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
9711
9712 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9713 __gettimeofday instead of gettimeofday.
9714
9715 2011-06-26 Ulrich Drepper <drepper@gmail.com>
9716
9717 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9718
9719 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
9720
9721 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9722
9723 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9724 info.
9725
9726 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9727
9728 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9729 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9730 strcpy-sse2-unaligned strncpy-sse2-unaligned
9731 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9732 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9733 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9734 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9735 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9736 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9737 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9738 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9739 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9740 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9741 (STRCPY): Support SSE2 and SSSE3 versions.
9742
9743 2011-06-24 Ulrich Drepper <drepper@gmail.com>
9744
9745 [BZ #12874]
9746 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9747 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9748 kernels which artificially limit size of requests.
9749
9750 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9751
9752 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9753 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9754 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9755 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9756 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9757 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9758 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9759 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9760 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9761 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9762 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9763 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9764 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9765 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9766 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9767 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9768 Enable unaligned load optimization for Intel Core i3, i5 and i7
9769 processors.
9770 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9771 Define.
9772 (index_Fast_Unaligned_Load): Define.
9773 (HAS_FAST_UNALIGNED_LOAD): Define.
9774
9775 2011-06-23 Marek Polacek <mpolacek@redhat.com>
9776
9777 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9778
9779 2011-06-22 Ulrich Drepper <drepper@gmail.com>
9780
9781 [BZ #12907]
9782 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9783 until it is clear that the information is realy needed.
9784 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9785
9786 2011-06-22 Andreas Schwab <schwab@redhat.com>
9787
9788 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9789
9790 2011-06-22 Ulrich Drepper <drepper@gmail.com>
9791
9792 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9793 /sys/devices/system/cpu/online if it is usable.
9794
9795 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9796 reading the information from the /proc filesystem to once a second.
9797
9798 2011-06-21 Andreas Jaeger <aj@suse.de>
9799
9800 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9801 NULL after inclusion of kernel headers.
9802
9803 2011-06-21 Ulrich Drepper <drepper@gmail.com>
9804
9805 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9806 calls to internal_setent.
9807
9808 [BZ #12885]
9809 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9810 addresses using gethostbyname4_r ignore IPv4 addresses.
9811
9812 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9813 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
9814
9815 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9816
9817 2011-06-20 David S. Miller <davem@davemloft.net>
9818
9819 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9820 inclusions.
9821 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9822
9823 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9824 (elf_irel): Use it.
9825 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9826 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9827 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9828 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9829 * sysdeps/x86_64/dl-irel.h: Likewise.
9830
9831 * elf/dl-runtime.c: Use elf_ifunc_invoke.
9832 * elf/dl-sym.c: Likewise.
9833
9834 2011-06-15 Ulrich Drepper <drepper@gmail.com>
9835
9836 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
9837 need to dereference resplen2.
9838
9839 2011-06-14 Andreas Schwab <schwab@redhat.com>
9840
9841 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9842
9843 2011-06-15 Ulrich Drepper <drepper@gmail.com>
9844
9845 * Makeconfig: Define vardbdir and inst_vardbdir.
9846 * nss/Makefile: Add rules to install db-Makefile.
9847
9848 * nss/nss_db/db-XXX.c: Cleanup.
9849
9850 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9851 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9852 GLIBC_PRIVATE.
9853 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9854 * nss/makedb.c: Implement -g option to specify that value strings
9855 are generated and should not be added to table iterated over for
9856 get*ent calls.
9857 * nss/nss_db/db-initgroups.c: New file.
9858
9859 * nss/getent.c: Add support for initgroups lookups through getgrouplist
9860 interface.
9861
9862 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9863 (internal_getgrouplist): Adjust to name change.
9864 Update use_initgroups_entry if this is not the first call.
9865 * nss/databases.def: Add initgroups entry.
9866
9867 * nss/makedb.c (compute_tables): Check result of multiple hash table
9868 sizes to minimize maximum chain length.
9869
9870 2011-06-14 Ulrich Drepper <drepper@gmail.com>
9871
9872 * Versions.def: Add entry for libnss_db.
9873 * shlib-versions: Likewise.
9874 * nss/Makefile: Add rules to build libnss_db.
9875 * nss/Versions: Add libnss_db information. Organize libnss_files
9876 entries better.
9877 * nss/db-Makefile: Add gshadow support. Change rules for the new
9878 makedb progra. Some minor improvements to generate smaller files.
9879 * nss/nss_db/nss_db.h: Move NSS database header data structures to
9880 here from...
9881 * nss/makedb.c: ...here.
9882 Improve database format to be smaller and require less memory at
9883 runtime.
9884 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
9885 db anymore.
9886 * nss/nss_db/db-netgrp.c: Likewise.
9887 * nss/nss_db/db-open.c: Likewise.
9888 * nss/nss_files/flies-XXX.x: Adjust comments.
9889 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9890 * nss/nss_files/files-grp.c: Likewise.
9891 * nss/nss_files/files-hosts.c: Likewise.
9892 * nss/nss_files/files-network.c: Likewise.
9893 * nss/nss_files/files-proto.c: Likewise.
9894 * nss/nss_files/files-pwd.c: Likewise.
9895 * nss/nss_files/files-rpc.c: Likewise.
9896 * nss/nss_files/files-service.c: Likewise.
9897 * nss/nss_files/files-sgrp.c: Likewise.
9898 * nss/nss_files/files-spwd.c: Likewise.
9899 * nss/nss_db/db-alias.c: Removed.
9900 * nss/nss_db/dummy-db.h: Removed.
9901
9902 2011-06-02 Ulrich Drepper <drepper@gmail.com>
9903
9904 * nss/makedb.c: Rewritten to not use database library.
9905 * nss/Makefile: Update to build new makedb program.
9906
9907 2011-06-14 Andreas Jaeger <aj@suse.de>
9908
9909 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9910 memset declaration.
9911
9912 2011-06-10 Andreas Schwab <schwab@redhat.com>
9913
9914 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9915 tmpbuf.
9916
9917 2011-06-10 Roland McGrath <roland@hack.frob.com>
9918
9919 * Makerules (shlib.lds): Fail if the linker script comes out empty.
9920 * elf/Makefile ($(objpfx)ld.so): Likewise.
9921
9922 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9923 Don't list ld.so twice in dependencies.
9924
9925 * posix/bug-regex31.c: Include <stdlib.h>.
9926
9927 * nscd/hstcache.c (cache_addhst): Remove unused variable.
9928
9929 * nis/nss_compat/compat-spwd.c
9930 (getspent_next_nss_netgr): Remove unused variable.
9931 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9932
9933 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9934 nonmembers" output to use the right array.
9935
9936 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9937
9938 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9939
9940 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9941 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9942 * catgets/gencat.c (read_input_file): Likewise.
9943 * locale/programs/locarchive.c (enlarge_archive): Likewise.
9944
9945 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9946 variable definition inside #if's controlling its use.
9947
9948 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9949
9950 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9951
9952 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9953
9954 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9955 unreachable code.
9956
9957 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9958
9959 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9960 * configure: Regenerated.
9961
9962 * Makerules: Revert last change.
9963 * elf/Makefile: Likewise.
9964
9965 2011-06-09 Roland McGrath <roland@hack.frob.com>
9966
9967 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9968 * elf/Makefile ($(objpfx)librtld.os): Likewise.
9969 (reloc-link): Likewise.
9970
9971 2011-06-09 Ulrich Drepper <drepper@gmail.com>
9972
9973 * elf/Makefile: Add rules to build pldd.
9974 * elf/pldd.c: New file.
9975 * elf/pldd-xx.c: New file.
9976
9977 2011-06-07 Ulrich Drepper <drepper@gmail.com>
9978
9979 * version.h: Update for 2.15 development version.
9980
9981 2011-06-07 David S. Miller <davem@davemloft.net>
9982
9983 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9984 ifuncs.
9985 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9986 elf_machine_lazy_rel): Likewise.
9987 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9988 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9989 elf_machine_lazy_rel): Likewise.
9990 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9991 dl_hwcap via passed in argument.
9992 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9993 Likewise.
9994
9995 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9996
9997 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
9998
9999 2011-06-06 Roland McGrath <roland@hack.frob.com>
10000
10001 [BZ #12849]
10002 * manual/fdl-1.1.texi: New file, verbatim from:
10003 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10004 * manual/lgpl-2.1.texi: New file, verbatim from:
10005 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10006 * manual/Makefile (licenses): New variable, list those new file names.
10007 (texis): Use it.
10008 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10009
10010 * manual/fdl.texi: File removed.
10011 * manual/lesser.texi: File removed.
10012 * manual/libc.texinfo (Copying, Documentation License):
10013 Use new @include file names, put @appendix directive before @include.
10014
10015 2011-06-04 Jakub Jelinek <jakub@redhat.com>
10016
10017 [BZ #12841]
10018 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10019 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10020 (mq_open): Add __NTH.
10021
10022 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10023
10024 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10025 Assume Intel Core i3/i5/i7 processor if AVX is available.
10026
10027 2011-05-31 Ulrich Drepper <drepper@gmail.com>
10028
10029 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10030 typo.
10031
10032 2011-05-31 Andreas Schwab <schwab@redhat.com>
10033
10034 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10035 memory. Use alloca_account. Fix memory leak when retrying.
10036
10037 2011-05-31 Ulrich Drepper <drepper@gmail.com>
10038
10039 * version.h (RELEASE): Bump for 2.14 release.
10040 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10041
10042 * config.make.in (RANLIB): Remove entry.
10043
10044 2011-05-30 Ulrich Drepper <drepper@gmail.com>
10045
10046 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10047 (libc.pot): Work around missing support for .ksh extension in xgettext.
10048
10049 [BZ #12684]
10050 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10051 if both request failed.
10052 (send_dg): In case of server errors clear resplen or *resplen2.
10053
10054 [BZ #12454]
10055 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10056 when there are multiple maps.
10057 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10058 (_dl_fini): Remove test here.
10059
10060 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10061
10062 2011-05-29 Ulrich Drepper <drepper@gmail.com>
10063
10064 [BZ #12350]
10065 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10066 bit from old_res_options.
10067 (gaih_inet): Likewise.
10068
10069 [BZ #11099]
10070 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
10071 as signed.
10072
10073 * resolv/res_init.c (res_setoptions): Make the code more compact.
10074
10075 [BZ #11558]
10076 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10077 set RES_USEVC.
10078
10079 [BZ #11634]
10080 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10081
10082 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10083
10084 [BZ #11781]
10085 * malloc/malloc.h: Declare malloc hook variables as volatile.
10086
10087 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10088 in last patch.
10089
10090 [BZ #11799]
10091 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
10092 raise in the comment.
10093 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10094 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10095 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
10096
10097 2011-05-28 Ulrich Drepper <drepper@gmail.com>
10098
10099 [BZ #12811]
10100 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10101 grow the buffers more if it already has to be sufficient.
10102 (build_wcs_upper_buffer): Likewise.
10103 * posix/regexec.c (check_matching): Likewise.
10104 (clean_state_log_if_needed): Likewise.
10105 (extend_buffers): Don't enlarge buffers beyond size of the input
10106 buffer.
10107 Patches mostly by Emil Wojak <emil@wojak.eu>.
10108 * posix/bug-regex32.c: New file.
10109 * posix/Makefile (tests): Add bug-regex32.
10110
10111 * locale/findlocale.c (_nl_find_locale): Return right away if
10112 _nl_explode_name failed.
10113 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10114
10115 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10116
10117 * debug/xtrace.sh: Unify messages.
10118 * malloc/memusage.sh: Likewise.
10119
10120 [BZ #12813]
10121 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10122 time symbol from vDSO. Substitute with vsyscall if not available.
10123 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10124 __vdso_time.
10125
10126 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10127 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10128 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10129 Add sendmmsg and internal_sendmmsg.
10130 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10131 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10132 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10133
10134 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10135 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10136 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10137
10138 2011-05-27 Ulrich Drepper <drepper@gmail.com>
10139
10140 [BZ #12813]
10141 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10142 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10143 available.
10144 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10145 __vdso_getcpu.
10146
10147 [BZ #12814]
10148 * iconvdata/Makefile (tests): Add bug-iconv9.
10149 * iconvdata/bug-iconv9.c: New file.
10150
10151 2011-05-27 Andreas Schwab <schwab@redhat.com>
10152
10153 [BZ #12814]
10154 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10155
10156 2011-05-25 Jakub Jelinek <jakub@redhat.com>
10157
10158 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10159 (struct user_regs_struct): Change intcs field back to cs.
10160
10161 2011-05-25 Ulrich Drepper <drepper@gmail.com>
10162
10163 * po/ja.po: Update from translation team.
10164
10165 2011-05-23 Ulrich Drepper <drepper@gmail.com>
10166
10167 [BZ #12795]
10168 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10169 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10170
10171 2011-05-20 Andreas Schwab <schwab@redhat.com>
10172
10173 * stdlib/longlong.h: Update from GCC.
10174
10175 2011-05-23 Andreas Schwab <schwab@redhat.com>
10176
10177 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10178 parameter name.
10179 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10180 Add parameter name.
10181 (__sysconf): Pass it down.
10182
10183 2011-05-22 Ulrich Drepper <drepper@gmail.com>
10184
10185 [BZ #12671]
10186 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10187 some situations.
10188 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10189 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10190 add in in __libc_use_alloca calls. Adjust callers.
10191 (glob): Use malloc in some situations.
10192
10193 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10194 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10195 pltexit.
10196
10197 2011-05-21 Ulrich Drepper <drepper@gmail.com>
10198
10199 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10200 and CLOCK_BOOTTIME_ALARM.
10201
10202 [BZ #12782]
10203 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10204 is returned.
10205
10206 * string/_strerror.c (__strerror_r): Print negative errors as signed
10207 numbers.
10208
10209 [BZ #12777]
10210 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10211 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10212 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10213
10214 * configure.in: Fix typo in redirection and correct removal of test
10215 files in two cases.
10216
10217 [BZ #12788]
10218 * locale/setlocale.c (new_composite_name): Fix test to check for
10219 identical name of all categories.
10220
10221 [BZ #12792]
10222 * libio/filedoalloc.c (local_isatty): New function.
10223 (_IO_file_doallocate): Use local_isatty.
10224 * stdio-common/perror.c (perror): In case a new stream is used
10225 forward the stream error.
10226 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10227 error flag.
10228
10229 2011-05-20 Ulrich Drepper <drepper@gmail.com>
10230
10231 [BZ #11869]
10232 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10233 alloca.
10234 * include/alloca.h (extend_alloca_account): Define.
10235
10236 [BZ #11857]
10237 * posix/regex.h: Fix comments with documentation of user-accessible
10238 fields after compilation and describe correct free'ing of pattern
10239 after re_compile_pattern.
10240 Patch by Reuben Thomas <rrt@sc3d.org>.
10241
10242 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10243
10244 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10245 and -mno-altivec to prevent the compiler from using Altivec and/or
10246 VSX instructions when the corresponding registers are not available.
10247
10248 2011-05-19 Andreas Schwab <schwab@redhat.com>
10249
10250 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10251
10252 2011-05-19 Ulrich Drepper <drepper@gmail.com>
10253
10254 * libio/freopen.c (freopen): Use __dup2, not dup2.
10255 * libio/freopen64.c (freopen64): Likewise.
10256
10257 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10258
10259 [BZ #12775]
10260 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10261 * math/Makefile (tests): Add test-powl.
10262 (CFLAGS-test-powl.c): Define.
10263 * math/test-powl.c: New file.
10264
10265 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10266
10267 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10268
10269 2011-05-17 Ulrich Drepper <drepper@gmail.com>
10270
10271 [BZ #11837]
10272 * iconvdata/gb18030.c: Update to GB18020-2005.
10273
10274 2011-05-16 Ulrich Drepper <drepper@gmail.com>
10275
10276 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10277 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10278 Patch by Aharon Robbins <arnold@skeeve.com>.
10279
10280 [BZ #11892]
10281 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10282 on the stack.
10283
10284 [BZ #11895]
10285 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10286 through underflows.
10287
10288 [BZ #12766]
10289 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10290 point to strings before performing equality test for error_one_per_line
10291 mode.
10292
10293 [BZ #11697]
10294 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10295
10296 [BZ #11820]
10297 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10298 (struct user_fpregs_struct): Avoid __uint*_t types.
10299
10300 [BZ #6420]
10301 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10302 symbol info. Use it instead of calling _dl_addr locally.
10303 (lock_and_info): New function.
10304 (tr_freehook): Call lock_and_info and pass symbol info as additional
10305 parameter to tr_where.
10306 (tr_mallochook): Likewise.
10307 (tr_reallochook): Likewise.
10308 (tr_memalignhook): Likewise.
10309
10310 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10311 used and couldn't be at all thread-safe.
10312
10313 2011-05-15 Ulrich Drepper <drepper@gmail.com>
10314
10315 * libio/freopen.c (freopen): Don't close old file descriptor
10316 before the new one is opened. Instead dup the new file descriptor
10317 to the old one after the new stream is created.
10318 * libio/freopen64.c (freopen64): Likewise.
10319 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10320 * libio/fileops.c (_IO_new_file_close_it): Handle new
10321 _IO_FLAGS2_NOCLOSE flag.
10322 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10323 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10324 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10325 _IO_FLAGS2_NOCLOSE flag.
10326 * include/unistd.h: Add hidden_proto for dup3.
10327 Define __have_dup3.
10328 * io/dup3.c: Define hidden symbol.
10329 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10330
10331 [BZ #7101]
10332 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10333 when an incomplete long option is used.
10334 * posix/tst-getopt_long1.c: New file.
10335 * posix/Makefile (tests): Add tst-getopt_long1.
10336
10337 [BZ #10138]
10338 * scripts/config.guess: Update from autoconf-2.68.
10339 * scripts/config.sub: Likewise.
10340
10341 [BZ #10157]
10342 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10343 tests into ...
10344 (has_cpuclock): ...this. New function.
10345 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10346 macro here based on has_cpuclock code.
10347
10348 [BZ #10149]
10349 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10350 First byte (not low byte) is now always NUL.
10351 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10352
10353 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10354 Use non-cancelable interfaces.
10355
10356 [BZ #9809]
10357 * locale/iso-639.def: Add entry for Sorani.
10358
10359 [BZ #11901]
10360 * include/stdlib.h: Move include protection to the right place.
10361 Define abort_msg_s. Declare __abort_msg with it.
10362 * stdlib/abort.c (__abort_msg): Adjust type.
10363 * assert/assert.c (__assert_fail_base): New function. Majority
10364 of code from __assert_fail. Allocate memory for __abort_msg with
10365 mmap.
10366 (__assert_fail): Now call __assert_fail_base.
10367 * assert/assert-perr.c: Remove bulk of implementation. Use
10368 __assert_fail_base.
10369 * include/assert.hL Declare __assert_fail_base.
10370 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10371 mmap.
10372 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10373
10374 2011-05-14 Ulrich Drepper <drepper@gmail.com>
10375
10376 [BZ #11952]
10377 [BZ #12453]
10378 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10379 until all modules are registered in the DTV.
10380 * elf/Makefile: Add rules to build and run tst-tls19.
10381 * elf/tst-tls19.c: New file.
10382 * elf/tst-tls19mod1.c: New file.
10383 * elf/tst-tls19mod2.c: New file.
10384 * elf/tst-tls19mod3.c: New file.
10385 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10386
10387 [BZ #12083]
10388 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10389 correctly.
10390
10391 [BZ #12601]
10392 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10393 two-byte sequence errors.
10394 * iconvdata/Makefile (tests): Add bug-iconv8.
10395 * iconvdata/bug-iconv8.c: New file.
10396
10397 [BZ #12626]
10398 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10399 buf2 definition.
10400
10401 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10402
10403 [BZ #12432]
10404 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10405 (dummy_getcfa): New function.
10406 (init): Get _Unwind_GetCFA address, use dummy if not found.
10407 (backtrace_helper): In recursion check, also check whether CFA changes.
10408 (__backtrace): Completely initialize arg.
10409
10410 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
10411 storing incomplete byte sequence in state object. Avoid testing for
10412 guaranteed too small input if we know there is enough data available.
10413
10414 2011-05-11 Andreas Schwab <schwab@redhat.com>
10415
10416 * Makeconfig (+link-pie): Indent.
10417 * Rules (binaries-pie): Define if $(have-fpie) and
10418 $(build-shared).
10419 (binaries-shared): Also filter out $(binaries-pie).
10420 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10421 * nscd/Makefile (others-pie): Add nscd.
10422 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10423 ($(objpfx)nscd): Remove command override.
10424 * login/Makefile (others-pie): Add pt_chown.
10425 ($(objpfx)pt_chown): Remove command override.
10426 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10427 remove command overrides.
10428
10429 2011-05-13 Ulrich Drepper <drepper@gmail.com>
10430
10431 * libio/tst_putwc.c: Fix error messages.
10432
10433 [BZ #12724]
10434 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10435 currently writing and seek to current position when not.
10436 * libio/Makefile (tests): Add bug-fclose1.
10437 * libio/bug-fclose1.c: New file.
10438
10439 2011-05-12 Ulrich Drepper <drepper@gmail.com>
10440
10441 [BZ #12511]
10442 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10443 don't set DF_1_NODELETE here.
10444 (do_lookup_x): When entering new entry test for copy relocation
10445 and if necessary set DF_1_NODELETE flag.
10446 * elf/tst-unique4.cc: New file.
10447 * elf/tst-unique4.h: New file.
10448 * elf/tst-unique4lib.cc: New file.
10449 * elf/Makefile: Add rules to build and run tst-unique4.
10450 Patch by Piotr Bury <pbury@goahead.com>.
10451
10452 2011-05-11 Ulrich Drepper <drepper@gmail.com>
10453
10454 [BZ #12052]
10455 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10456
10457 [BZ #12625]
10458 * misc/mntent_r.c (addmntent): Flush the stream after the output
10459
10460 [BZ #12393]
10461 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10462 (is_trusted_path_normalize): Skip initial colon. Append slash
10463 to empty buffer. Duplicate is_trusted_path code but allow
10464 constructed patch to be prefix.
10465 (is_dst): Allow $ORIGIN followed by /.
10466 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10467 Correct testing of result of is_trusted_path_normalize
10468 (decompose_rpath): Fix warning.
10469
10470 2011-05-10 Ulrich Drepper <drepper@gmail.com>
10471
10472 [BZ #11257]
10473 * grp/initgroups.c (internal_getgrouplist): When we found the service
10474 list through the initgroups entry in nsswitch.conf do not always
10475 continue on a successful lookup. Don't always use the
10476 __nss_group_database value if it is set.
10477 * nss/nsswitch.conf (initgroups): Change action for successful db
10478 lookup to continue for compatibility.
10479
10480 2011-05-09 Ulrich Drepper <drepper@gmail.com>
10481
10482 [BZ #11532]
10483 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10484 and CP774 modules.
10485 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10486 and CP774 modules.
10487 * iconvdata/tst-tables.sh: Likewise.
10488 * iconvdata/cp770.c: New file.
10489 * iconvdata/cp771.c: New file.
10490 * iconvdata/cp772.c: New file.
10491 * iconvdata/cp773.c: New file.
10492 * iconvdata/cp774.c: New file.
10493 * iconvdata/testdata/CP770: New file.
10494 * iconvdata/testdata/CP770..UTF8: New file.
10495 * iconvdata/testdata/CP771: New file.
10496 * iconvdata/testdata/CP771..UTF8: New file.
10497 * iconvdata/testdata/CP772: New file.
10498 * iconvdata/testdata/CP772..UTF8: New file.
10499 * iconvdata/testdata/CP773: New file.
10500 * iconvdata/testdata/CP773..UTF8: New file.
10501 * iconvdata/testdata/CP774: New file.
10502 * iconvdata/testdata/CP774..UTF8: New file.
10503
10504 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10505 END CHARMAP line.
10506 * iconvdata/gen-8bit-gap.sh: Likewise.
10507 * iconvdata/gen-8bit.sh: Likewise.
10508
10509 * locale/iso-639.def: Add ary entry.
10510
10511 [BZ #11258]
10512 * locale/C-translit.h.in: Add U20A1 transliteration.
10513
10514 [BZ #12178]
10515 * locale/iso-639.def: Add wae entry.
10516 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10517
10518 [BZ #12545]
10519 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10520 for n.
10521
10522 [BZ #12711]
10523 * locale/C-translit.h.in: Add entry for U20B9.
10524 Patch by pravin.d.s@gmail.com.
10525
10526 2011-05-08 Ulrich Drepper <drepper@gmail.com>
10527
10528 [BZ #12713]
10529 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10530 ENAMETOOLONG use generic getcwd.
10531 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10532 in rtld. Use *stat64.
10533 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
10534 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
10535 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
10536 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10537 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10538 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10539 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10540 __fstatat64 macros.
10541 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10542 * dirent/rewinddir.c: Add libc_hidden_def.
10543 * sysdeps/mach/hurd/rewinddir.c: Likewise.
10544 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
10545
10546 * include/dirent.h (__alloc_dir): Add flags parameter.
10547 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10548 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10549 __alloc_dir.
10550 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10551 from fdopendir if O_CLOEXEC is already set.
10552
10553 2011-03-15 Alan Modra <amodra@gmail.com>
10554
10555 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10556 l_tls_firstbyte_offset non-zero. Save padding offset in
10557 l_tls_firstbyte_offset for later use.
10558 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10559 freeing static tls block.
10560
10561 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10562
10563 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10564 where #ifdef was intended. The intent is to prevent ARG_MAX from
10565 being defined by the kernel headers.
10566
10567 2011-05-07 Ulrich Drepper <drepper@gmail.com>
10568
10569 [BZ #12734]
10570 * resolv/resolv.h: Define RES_NOTLDQUERY.
10571 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10572 no-tld-query and set RES_NOTLDQUERY.
10573 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10574 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10575 modern BIND to search name as TLD unless forbidden.
10576
10577 2011-05-07 Petr Baudis <pasky@suse.cz>
10578 Ulrich Drepper <drepper@gmail.com>
10579
10580 [BZ #12393]
10581 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10582 (is_trusted_path): ...to here.
10583 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
10584 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
10585 using is_trusted_path_normalize() in setuid scripts.
10586
10587 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10588
10589 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10590 __BEGIN/__END_DECLS.
10591
10592 2011-05-06 Ulrich Drepper <drepper@gmail.com>
10593
10594 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10595 NSS_STATUS_NOTFOUND if no record was found.
10596
10597 2011-05-05 Andreas Schwab <schwab@redhat.com>
10598
10599 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10600 (headers-not-in-tirpc): Remove rpc/netdb.h
10601 * resolv/netdb.h: Revert last change.
10602
10603 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10604
10605 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10606 circular dependency between libgcc.a and libc.a.
10607
10608 2011-05-05 Andreas Schwab <schwab@redhat.com>
10609
10610 * resolv/netdb.h: Don't include <rpc/netdb.h>.
10611 * nis/Makefile: Don't install rpcsvc/*.
10612 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10613 instead of <rpc/types.h>.
10614 (MAXHOSTNAMELEN): Define.
10615
10616 2011-05-03 Andreas Schwab <schwab@redhat.com>
10617
10618 * elf/ldconfig.c (add_dir): Don't crash on empty path.
10619
10620 2011-04-28 Maciej Babinski <mbabinski@google.com>
10621
10622 [BZ #12714]
10623 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10624 gethostbyname4_r when IPv6 results are possible.
10625
10626 2011-05-02 Ulrich Drepper <drepper@gmail.com>
10627
10628 [BZ #12723]
10629 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10630 _PC_PIPE_BUF handling.
10631
10632 2011-04-30 Bruno Haible <bruno@clisp.org>
10633
10634 [BZ #12717]
10635 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10636 * resolv/netdb.h (getnameinfo): Change type of flags parameter
10637 to 'int'.
10638 * inet/getnameinfo.c (getnameinfo): Likewise.
10639
10640 2011-04-29 Ulrich Drepper <drepper@gmail.com>
10641
10642 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10643 to groups setting in database lookup.
10644 * nss/nsswitch.conf: Add initgroups entry.
10645
10646 2011-04-22 Ulrich Drepper <drepper@gmail.com>
10647
10648 [BZ #12685]
10649 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10650 mode string.
10651 Patch by Eric Blake <eblake@redhat.com>.
10652
10653 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
10654
10655 * sunrpc/Makefile (need-export-routines): Add svc_run.
10656 (routines): Remove svc_run.
10657 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10658 * sunrpc/clnt_perr.c (clnt_perrno): Export.
10659 * sunrpc/svc_run.c (svc_run): Likewise.
10660 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10661
10662 2011-04-21 Ulrich Drepper <drepper@gmail.com>
10663
10664 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10665 problem in reallocation in last patch.
10666
10667 2011-04-20 Ulrich Drepper <drepper@gmail.com>
10668
10669 * sunrpc/Makefile: Move inclusion of Rules.
10670
10671 2011-04-19 Ulrich Drepper <drepper@gmail.com>
10672
10673 * nss/nss_files/files-initgroups.c: New file.
10674 * nss/Makefile (libnss_files-routines): Add files-initgroups.
10675 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10676 _nss_files_initgroups_dyn.
10677
10678 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
10679
10680 * elf/elf.h (R_ARM_IRELATIVE): Define.
10681
10682 2011-04-19 Ulrich Drepper <drepper@gmail.com>
10683
10684 * po/ru.po: Update from translation team.
10685
10686 2011-04-17 Ulrich Drepper <drepper@gmail.com>
10687
10688 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10689 dependencies.
10690
10691 2011-02-06 Mike Frysinger <vapier@gentoo.org>
10692
10693 [BZ #12653]
10694 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10695 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10696 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10697 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10698 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10699
10700 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
10701
10702 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10703 differing bytes.
10704 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10705 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10706 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10707
10708 2011-04-17 Ulrich Drepper <drepper@gmail.com>
10709
10710 [BZ #12420]
10711 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10712 storing it.
10713 * stdlib/bug-getcontext.c: New file.
10714 * stdlib/Makefile: Add rules to build and run bug-getcontext.
10715
10716 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10717
10718 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10719 instructions into .machine "z9-109".
10720 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10721 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10722
10723 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10724
10725 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10726 between environment variables and auxiliary vector.
10727
10728 2011-04-16 Ulrich Drepper <drepper@gmail.com>
10729
10730 * Makefile: Add rules to build linkobj/libc.so.
10731 * include/libc-symbols.h: Define libc_hidden_nolink.
10732 * include/rpc/auth.h: Mark functions which are to be hidden.
10733 * include/rpc/auth_des.h: Likewise.
10734 * include/rpc/auth_unix.h: Likewise.
10735 * include/rpc/clnt.h: Likewise.
10736 * include/rpc/des_crypt.h: Likewise.
10737 * include/rpc/key_prot.h: Likewise.
10738 * include/rpc/pmap_clnt.h: Likewise.
10739 * include/rpc/pmap_prot.h: Likewise.
10740 * include/rpc/pmap_rmt.h: Likewise.
10741 * include/rpc/rpc_msg.h: Likewise.
10742 * include/rpc/svc.h: Likewise.
10743 * include/rpc/svc_auth.h: Likewise.
10744 * include/rpc/xdr.h: Likewise.
10745 * nis/Makefile: Link all DSOs against linkobj/libc.so.
10746 * nss/Makefile: Likewise.
10747 * sunrpc/Makefile: Don't install headers. Build library with normal
10748 entry points. Don't build rpcinfo. Link RPC tests appropriately.
10749 * sunrpc/auth_des.c: Hide exported symbols by default, export some
10750 for the compat linking library. Remove use of INTDEF/INTUSE.
10751 * sunrpc/auth_none.c: Likewise.
10752 * sunrpc/auth_unix.c: Likewise.
10753 * sunrpc/authdes_prot.c: Likewise.
10754 * sunrpc/authuxprot.c: Likewise.
10755 * sunrpc/clnt_gen.c: Likewise.
10756 * sunrpc/clnt_perr.c: Likewise.
10757 * sunrpc/clnt_raw.c: Likewise.
10758 * sunrpc/clnt_simp.c: Likewise.
10759 * sunrpc/clnt_tcp.c: Likewise.
10760 * sunrpc/clnt_udp.c: Likewise.
10761 * sunrpc/clnt_unix.c: Likewise.
10762 * sunrpc/des_crypt.c: Likewise.
10763 * sunrpc/des_soft.c: Likewise.
10764 * sunrpc/get_myaddr.c: Likewise.
10765 * sunrpc/key_call.c: Likewise.
10766 * sunrpc/key_prot.c: Likewise.
10767 * sunrpc/netname.c: Likewise.
10768 * sunrpc/pm_getmaps.c: Likewise.
10769 * sunrpc/pm_getport.c: Likewise.
10770 * sunrpc/pmap_clnt.c: Likewise.
10771 * sunrpc/pmap_prot.c: Likewise.
10772 * sunrpc/pmap_prot2.c: Likewise.
10773 * sunrpc/pmap_rmt.c: Likewise.
10774 * sunrpc/publickey.c: Likewise.
10775 * sunrpc/rpc_cmsg.c: Likewise.
10776 * sunrpc/rpc_common.c: Likewise.
10777 * sunrpc/rpc_dtable.c: Likewise.
10778 * sunrpc/rpc_prot.c: Likewise.
10779 * sunrpc/rpc_thread.c: Likewise.
10780 * sunrpc/rtime.c: Likewise.
10781 * sunrpc/svc.c: Likewise.
10782 * sunrpc/svc_auth.c: Likewise.
10783 * sunrpc/svc_authux.c: Likewise.
10784 * sunrpc/svc_raw.c: Likewise.
10785 * sunrpc/svc_run.c: Likewise.
10786 * sunrpc/svc_simple.c: Likewise.
10787 * sunrpc/svc_tcp.c: Likewise.
10788 * sunrpc/svc_udp.c: Likewise.
10789 * sunrpc/svc_unix.c: Likewise.
10790 * sunrpc/svcauth_des.c: Likewise.
10791 * sunrpc/xcrypt.c: Likewise.
10792 * sunrpc/xdr.c: Likewise.
10793 * sunrpc/xdr_array.c: Likewise.
10794 * sunrpc/xdr_float.c: Likewise.
10795 * sunrpc/xdr_intXX_t.c: Likewise.
10796 * sunrpc/xdr_mem.c: Likewise.
10797 * sunrpc/xdr_rec.c: Likewise.
10798 * sunrpc/xdr_ref.c: Likewise.
10799 * sunrpc/xdr_sizeof.c: Likewise.
10800 * sunrpc/xdr_stdio.c: Likewise.
10801
10802 2011-04-10 Ulrich Drepper <drepper@gmail.com>
10803
10804 [BZ #12650]
10805 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10806 * sysdeps/ia64/dl-tls.h: Likewise.
10807 * sysdeps/powerpc/dl-tls.h: Likewise.
10808 * sysdeps/s390/dl-tls.h: Likewise.
10809 * sysdeps/sh/dl-tls.h: Likewise.
10810 * sysdeps/sparc/dl-tls.h: Likewise.
10811 * sysdeps/x86_64/dl-tls.h: Likewise.
10812 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10813
10814 2011-03-14 Andreas Schwab <schwab@redhat.com>
10815
10816 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10817 rpath element also skip the following colon.
10818 (expand_dynamic_string_token): Add is_path parameter and pass
10819 down to DL_DST_REQUIRED and _dl_dst_substitute.
10820 (decompose_rpath): Call expand_dynamic_string_token with
10821 non-zero is_path. Ignore empty rpaths.
10822 (_dl_map_object_from_fd): Call expand_dynamic_string_token
10823 with zero is_path.
10824
10825 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
10826
10827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10828 Make cancelable.
10829
10830 2011-04-09 Ulrich Drepper <drepper@gmail.com>
10831
10832 [BZ #12655]
10833 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10834 Patch by Filipe David Manana <fdmanana@apache.org>.
10835
10836 2011-04-07 Andreas Schwab <schwab@redhat.com>
10837
10838 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10839 Maintain aligned stack.
10840 (CHECK_RSP): Remove unused macro.
10841
10842 2011-04-03 Ulrich Drepper <drepper@gmail.com>
10843
10844 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10845 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10846
10847 2011-04-02 Ulrich Drepper <drepper@gmail.com>
10848
10849 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10850
10851 * include/features.h: Mention __USE_XOPEN2K8 in comment.
10852
10853 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
10854
10855 [BZ #12518]
10856 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10857 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10858 * sysdeps/x86_64/memmove.c: New file.
10859 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10860 (memcpy): Renamed to ...
10861 (__new_memcpy): This.
10862 (memcpy): Provide GLIBC_2_14 memcpy.
10863 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10864 (memcpy): Provide GLIBC_2_2_5 memcpy.
10865
10866 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10867
10868 [BZ #12631]
10869 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10870
10871 2011-03-30 Andreas Schwab <schwab@redhat.com>
10872
10873 * misc/syncfs.c: New file.
10874 * misc/Makefile (routines): Add syncfs.
10875 * posix/unistd.h: Declare syncfs.
10876 * sysdeps/unix/syscalls.list: Add syncfs.
10877
10878 2011-04-01 Andreas Schwab <schwab@redhat.com>
10879
10880 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10881 open_by_handle_at.
10882 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10883 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10884 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10885 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10886 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10887 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10888 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10889
10890 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10891
10892 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10893 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10894 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10895 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10896 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10897 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10898 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10899
10900 * io/Makefile: Compile fallocate.c, fallocate64.c, and
10901 sync_file_range.c with -fexceptions.
10902 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10903 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10904 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10905 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10906 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10907 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10908 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
10909 sync_file_range as cancellation point
10910 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
10911 now a wrapper around __call_sync_file_range with cancellation handling.
10912 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10913 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
10914 function name to __call_sync_file_range.
10915 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10916 Add call_sync_file_range.
10917
10918 2011-04-01 Andreas Schwab <schwab@redhat.com>
10919
10920 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10921 bits/timex.h.
10922
10923 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10924
10925 * iconv/iconv.h: Fix typo in comment.
10926 * io/fcntl.h: Likewise.
10927 * libio/stdio.h: Likewise.
10928 * posix/spawn.h: Likewise.
10929 * posix/unistd.h: Likewise.
10930 * stdlib/stdlib.h: Likewise.
10931 * time/time.h: Likewise.
10932 * wcsmbs/wchar.h: Likewise.
10933
10934 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10935 open_by_handle): Add.
10936 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10937 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
10938 Augment a few comments.
10939 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10940 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10941 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10942 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10943 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10944 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10945 open_by_handle.
10946
10947 * io/fcntl.h (AT_EMPTY_PATH): Define.
10948
10949 2011-03-30 Ulrich Drepper <drepper@gmail.com>
10950
10951 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10952 * sysdeps/unix/sysv/linux/bits/time.h: New file.
10953 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10954 to...
10955 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
10956 * Versions.def: Add GLIBC_2.14.
10957 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10958 Export.
10959
10960 2011-03-22 Ulrich Drepper <drepper@gmail.com>
10961
10962 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10963 round counter.
10964 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10965
10966 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
10967
10968 [BZ #12597]
10969 * string/test-strncmp.c (do_page_test): New function.
10970 (check2): Likewise.
10971 (test_main): Call check2.
10972 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10973
10974 2011-03-20 Ulrich Drepper <drepper@gmail.com>
10975
10976 [BZ #12587]
10977 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10978 Handle cache information in CPU leaf 4.
10979 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10980
10981 2011-03-18 Ulrich Drepper <drepper@gmail.com>
10982
10983 [BZ #12583]
10984 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10985 character representation.
10986 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10987
10988 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
10989
10990 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10991 END(__isnan) to END(__isnanf) to match function entry point/label
10992 EALIGN(__isnanf,...).
10993
10994 2011-03-10 Jakub Jelinek <jakub@redhat.com>
10995
10996 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10997
10998 2011-03-10 Ulrich Drepper <drepper@gmail.com>
10999
11000 [BZ #12510]
11001 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11002 copy from the symbol referenced in the relocation to initialize the
11003 used variable.
11004 Patch by Piotr Bury <pbury@goahead.com>.
11005 * elf/Makefile: Add rules to build and tst-unique3.
11006 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11007 * elf/tst-unique3.cc: New file.
11008 * elf/tst-unique3.h: New file.
11009 * elf/tst-unique3lib.cc: New file.
11010 * elf/tst-unique3lib2.cc: New file.
11011
11012 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11013
11014 2011-03-10 Mike Frysinger <vapier@gentoo.org>
11015
11016 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11017 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11018 to _start.
11019
11020 2011-03-06 Ulrich Drepper <drepper@gmail.com>
11021
11022 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11023 to-be-loaded object along a path to loader is ld.so.
11024
11025 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11026 Ulrich Drepper <drepper@gmail.com>
11027
11028 * sysdeps/x86_64/memset.S: After aligning destination, code
11029 branches to different locations depending on the value of
11030 misalignment, when multiarch is enabled. Fix this.
11031
11032 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11033
11034 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11035 Set _x86_64_preferred_memory_instruction for AMD processsors.
11036 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11037 Set bit_Prefer_SSE_for_memop for AMD processors.
11038
11039 2011-03-04 Ulrich Drepper <drepper@gmail.com>
11040
11041 * libio/fmemopen.c (fmemopen): Optimize a bit.
11042
11043 2011-03-03 Andreas Schwab <schwab@redhat.com>
11044
11045 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11046
11047 2011-03-03 Roland McGrath <roland@redhat.com>
11048
11049 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11050
11051 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11052
11053 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
11054 __bzero_ultra1 instead of __memset_ultra1.
11055
11056 2011-02-23 Andreas Schwab <schwab@redhat.com>
11057 Ulrich Drepper <drepper@gmail.com>
11058
11059 [BZ #12509]
11060 * include/link.h (struct link_map): Add l_orig_initfini.
11061 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11062 returning unsuccessfully.
11063 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11064 close of a file loaded at startup, restore the original l_initfini
11065 list.
11066 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11067 list, store the pointer.
11068 * elf/Makefile ($(objpfx)noload-mem): New rule.
11069 (noload-ENV): Define.
11070 (tests): Add $(objpfx)noload-mem.
11071 * elf/noload.c: Include <memcheck.h>.
11072 (main): Call mtrace. Close all opened handles.
11073
11074 2011-02-17 Andreas Schwab <schwab@redhat.com>
11075
11076 [BZ #12454]
11077 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11078 dependencies are missing.
11079
11080 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11081
11082 Fix __if_freereq crash: Unlike the generic version which uses free,
11083 Hurd needs munmap.
11084 * sysdeps/mach/hurd/ifreq.h: New file.
11085
11086 2011-01-27 Petr Baudis <pasky@suse.cz>
11087 Ulrich Drepper <drepper@gmail.com>
11088
11089 [BZ 12445]#
11090 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11091 to extend_alloca().
11092 * stdio-common/bug23.c: New file.
11093 * stdio-common/Makefile (tests): Add bug23.
11094
11095 2010-09-28 Andreas Schwab <schwab@redhat.com>
11096 Ulrich Drepper <drepper@gmail.com>
11097
11098 [BZ #12489]
11099 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11100 before performing relro protection. At old place add assertion
11101 to make sure nothing changed.
11102
11103 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11104 Glauber de Oliveira Costa <glommer@gmail.com>
11105
11106 * elf/elf.h: Add new ARM TLS relocs.
11107
11108 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11109
11110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11111 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11112 cast from r3.
11113 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11114 'tests' variable.
11115 * sysdeps/wordsize-64/tst-writev.c: New file.
11116
11117 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11118
11119 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11120 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11121 insns in _dl_start to prevent a TOC reference before relocs are
11122 resolved.
11123
11124 2011-02-15 Ulrich Drepper <drepper@gmail.com>
11125
11126 [BZ #12469]
11127 * Makeconfig: Remove RANLIB definition.
11128 * Makerules: Don't use RANLIB.
11129 * aclocal.m4: Remove ranlib test.
11130 * configure.in: No need to check for ranlib.
11131 * elf/rtld-Rules: Don't use RANLIB.
11132
11133 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11134
11135 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11136 protection macro.
11137 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11138 inclusion protection macro.
11139
11140 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11141 SIGRTMIN and SIGRTMAX and print information in that case only when
11142 SIGRTMIN is defined.
11143
11144 2011-02-11 Jakub Jelinek <jakub@redhat.com>
11145
11146 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11147 arginfo fn returning -1.
11148
11149 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11150 and thousands string is zero terminated.
11151
11152 2011-02-03 Andreas Schwab <schwab@redhat.com>
11153
11154 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11155 sysdeps/unix/sysv/linux/bits/socket.h.
11156
11157 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11158
11159 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11160 (__CPU_COUNT): Remove old macros.
11161 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11162 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11163 (__CPU_ALLOC, __CPU_FREE): Add macros.
11164 (__sched_cpualloc, __sched_cpufree): Add declarations.
11165
11166 2011-02-05 Ulrich Drepper <drepper@gmail.com>
11167
11168 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11169 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11170 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11171 (readdhstai): Return value of addhstaiX call.
11172 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11173 (addgrbyX): Return value returned by cache_addgr.
11174 (readdgrbyname): Return value returned by addgrbyX.
11175 (readdgrbygid): Likewise.
11176 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11177 (addpwbyX): Return value returned by cache_addpw.
11178 (readdpwbyname): Return value returned by addhstbyX.
11179 (readdpwbyuid): Likewise.
11180 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11181 (addservbyX): Return value returned by cache_addserv.
11182 (readdservbyname): Return value returned by addservbyX:
11183 (readdservbyport): Likewise.
11184 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11185 (addhstbyX): Return value returned by cache_addhst.
11186 (readdhstbyname): Return value returned by addhstbyX.
11187 (readdhstbyaddr): Likewise.
11188 (readdhstbynamev6): Likewise.
11189 (readdhstbyaddrv6): Likewise.
11190 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11191 (readdinitgroups): Return value returned by addinitgroupsX.
11192 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11193 (prune_cache): Keep track of timeout value of re-added entries.
11194 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11195 * nscd/nscd.h: Adjust prototypes of readd* functions.
11196
11197 2011-02-04 Roland McGrath <roland@redhat.com>
11198
11199 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11200 (nis_stats): Likewise.
11201 * nis/nis_modify.c (nis_modify): Likewise.
11202 * nis/nis_remove.c (nis_remove): Likewise.
11203 * nis/nis_add.c (nis_add): Likewise.
11204
11205 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11206
11207 * posix/fnmatch_loop.c: Add some consts.
11208
11209 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11210
11211 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11212
11213 [BZ #12460]
11214 * config.make.in (config-cflags-novzeroupper): Define.
11215 * configure.in: Substitute libc_cv_cc_novzeroupper.
11216 * elf/Makefile (AVX-CFLAGS): Define.
11217 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11218 (CFLAGS-tst-auditmod4a.c): Likewise.
11219 (CFLAGS-tst-auditmod4b.c): Likewise.
11220 (CFLAGS-tst-auditmod6b.c): Likewise.
11221 (CFLAGS-tst-auditmod6c.c): Likewise.
11222 (CFLAGS-tst-auditmod7b.c): Likewise.
11223 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11224
11225 2011-02-02 Ulrich Drepper <drepper@gmail.com>
11226
11227 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11228 function to the callback.
11229 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11230
11231 2011-02-02 Andreas Schwab <schwab@redhat.com>
11232
11233 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11234 of errno.
11235
11236 2011-01-19 Ulrich Drepper <drepper@gmail.com>
11237
11238 [BZ #11724]
11239 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11240 of constructors.
11241 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11242 of destructors.
11243 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11244
11245 [BZ #11724]
11246 * elf/Makefile: Add rules to build and run new test.
11247 * elf/tst-initorder.c: New file.
11248 * elf/tst-initorder.exp: New file.
11249 * elf/tst-initordera1.c: New file.
11250 * elf/tst-initordera2.c: New file.
11251 * elf/tst-initordera3.c: New file.
11252 * elf/tst-initordera4.c: New file.
11253 * elf/tst-initorderb1.c: New file.
11254 * elf/tst-initorderb2.c: New file.
11255 * elf/tst-order-a1.c: New file.
11256 * elf/tst-order-a2.c: New file.
11257 * elf/tst-order-a3.c: New file.
11258 * elf/tst-order-a4.c: New file.
11259 * elf/tst-order-b1.c: New file.
11260 * elf/tst-order-b2.c: New file.
11261 * elf/tst-order-main.c: New file.
11262 New test case by George Gensure <werkt0@gmail.com>.
11263
11264 2010-10-01 Andreas Schwab <schwab@redhat.com>
11265
11266 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11267 decoding ACE if AI_CANONIDN.
11268
11269 2011-01-18 Ulrich Drepper <drepper@gmail.com>
11270
11271 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11272
11273 2011-01-17 Ulrich Drepper <drepper@gmail.com>
11274
11275 * version.h (RELEASE): Bump for 2.13 release.
11276 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11277
11278 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11279
11280 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11281 MADV_NOHUGEPAGE.
11282 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11283 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11284 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11285 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11286 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11287 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11288
11289 * posix/getconf.c: Update copyright year.
11290 * catgets/gencat.c: Likewise.
11291 * csu/version.c: Likewise.
11292 * debug/catchsegv.sh: Likewise.
11293 * debug/xtrace.sh: Likewise.
11294 * elf/ldconfig.c: Likewise.
11295 * elf/ldd.bash.in: Likewise.
11296 * elf/sprof.c (print_version): Likewise.
11297 * iconv/iconv_prog.c: Likewise.
11298 * iconv/iconvconfig.c: Likewise.
11299 * locale/programs/locale.c: Likewise.
11300 * locale/programs/localedef.c: Likewise.
11301 * malloc/memusage.sh: Likewise.
11302 * malloc/mtrace.pl: Likewise.
11303 * nscd/nscd.c (print_version): Likewise.
11304 * nss/getent.c: Likewise.
11305
11306 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11307 PF_CAIF, and PF_ALG.
11308 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11309
11310 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11311
11312 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11313 (modules-names): Use them.
11314 (ifunc-test-modules, ifunc-pie-tests): Define.
11315 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11316 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11317 (test-extras): Likewise.
11318 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11319 $(compile-command.c).
11320 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11321 (all-built-dso): Define.
11322 (check-textrel.out, check-execstack.out): Depend on it.
11323
11324 * configure.in: Don't override --enable-multi-arch.
11325
11326 2011-01-15 Ulrich Drepper <drepper@gmail.com>
11327
11328 [BZ #6812]
11329 * nscd/hstcache.c (tryagain): Define.
11330 (cache_addhst): Return tryagain not notfound for temporary errors.
11331 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11332 failed.
11333
11334 2011-01-14 Ulrich Drepper <drepper@gmail.com>
11335
11336 [BZ #10563]
11337 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11338 to make the syscall.
11339 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11340
11341 [BZ #12378]
11342 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11343 and fall back to matching as normal character if the string ends before
11344 the matching ']' is found. This is what POSIX requires.
11345 * posix/testfnm.c: Adjust test result.
11346 * posix/globtest.sh: Adjust test result. Add new test.
11347 * posix/tst-fnmatch.input: Likewise.
11348 * posix/tst-fnmatch2.c: Add new test.
11349
11350 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11351
11352 * elf/Makefile (check-execstack): Revert last change. Depend on
11353 check-execstack.h.
11354 (check-execstack.h): New target.
11355 (generated): Add check-execstack.h.
11356 * elf/check-execstack.c: Include "check-execstack.h".
11357 (main): Revert last change.
11358 (handle_file): Return zero if GNU_STACK is absent and
11359 DEFAULT_STACK_PERMS doesn't include PF_X.
11360
11361 2011-01-13 Ulrich Drepper <drepper@gmail.com>
11362
11363 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11364 in child fails because the descriptor is already closed.
11365 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11366 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11367 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11368
11369 [BZ #12397]
11370 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11371 syscall.
11372
11373 [BZ #10484]
11374 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11375 temporary buffer used to handle multi lookups locally.
11376 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
11377
11378 2011-01-12 Ulrich Drepper <drepper@gmail.com>
11379
11380 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11381 loader is ld.so.
11382
11383 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11384
11385 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11386 alignment for SSE2.
11387
11388 2011-01-12 Ulrich Drepper <drepper@gmail.com>
11389
11390 [BZ #12394]
11391 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11392 characters. When rounding increased number of integer digits recompute
11393 number of groups.
11394 * stdio-common/tst-grouping.c: New file.
11395 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11396
11397 2011-01-09 Ulrich Drepper <drepper@gmail.com>
11398
11399 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11400 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11401
11402 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11403 void.
11404 * bits/select.h: Likewise.
11405
11406 2011-01-08 Ulrich Drepper <drepper@gmail.com>
11407
11408 * po/ja.po: Update from translation team.
11409
11410 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
11411
11412 [BZ #11155]
11413 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11414 implementation just like for lxstat, fxstatat, et al.
11415
11416 2010-12-27 Jim Meyering <meyering@redhat.com>
11417
11418 [BZ #12348]
11419 * posix/regexec.c (build_trtable): Return failure indication upon
11420 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11421
11422 2010-12-25 Ulrich Drepper <drepper@gmail.com>
11423
11424 [BZ #12201]
11425 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11426 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11427 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11428 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11429
11430 [BZ #12207]
11431 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11432
11433 [BZ #12204]
11434 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11435 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11436
11437 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11438
11439 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11440 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11441 script has SORT_BY_INIT_PRIORITY.
11442 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11443 NO_CTORS_DTORS_SECTIONS is defined.
11444 * elf/soinit.c: Likewise.
11445 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11446 NO_CTORS_DTORS_SECTIONS is defined.
11447 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11448 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11449 * sysdeps/sh/init-first.c: Likewise.
11450 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11451
11452 2010-12-24 Ulrich Drepper <drepper@gmail.com>
11453
11454 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11455 always use the slow path.
11456
11457 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11458
11459 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11460 similar rule which adds the sysdep directories to the header search in
11461 order to pick up the correct platform stackinfo.h.
11462 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11463 perform test if it is, otherwise return successfully without testing.
11464 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11465 DEFAULT_STACK_PERMS define in stackinfo.h.
11466 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11467 defined in stackinfo.h.
11468 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11469 DEFAULT_STACK_PERMS defined in stackinfo.h.
11470 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11471 * sysdeps/ia64/stackinfo.h: Likewise.
11472 * sysdeps/s390/stackinfo.h: Likewise.
11473 * sysdeps/sh/stackinfo.h: Likewise.
11474 * sysdeps/sparc/stackinfo.h: Likewise.
11475 * sysdeps/x86_64/stackinfo.h: Likewise.
11476 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11477 PF_X for powerpc64. Retain PF_X for powerpc32.
11478
11479 2010-12-19 Ulrich Drepper <drepper@gmail.com>
11480
11481 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11482 accurately.
11483 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11484 GETDENTS_64BIT_ALIGNED.
11485
11486 2010-12-14 Ulrich Drepper <dreper@gmail.com>
11487
11488 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
11489
11490 2010-12-10 Andreas Schwab <schwab@redhat.com>
11491
11492 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11493 _GNU_SOURCE.
11494
11495 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11496 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11497 Remove __restrict.
11498 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11499 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11500
11501 2010-12-09 Ulrich Drepper <drepper@gmail.com>
11502
11503 [BZ #11655]
11504 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11505 are initialized.
11506
11507 2010-12-09 Jakub Jelinek <jakub@redhat.com>
11508
11509 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11510
11511 2010-12-03 Ulrich Drepper <drepper@gmail.com>
11512
11513 * po/it.po: Update from translation team.
11514
11515 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11516
11517 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11518 unused codes.
11519
11520 2010-11-30 Ulrich Drepper <drepper@gmail.com>
11521
11522 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11523
11524 2010-11-24 Andreas Schwab <schwab@redhat.com>
11525
11526 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11527 specially.
11528 (gaih_getanswer_slice): Likewise.
11529
11530 2010-10-20 Jakub Jelinek <jakub@redhat.com>
11531
11532 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11533
11534 2010-05-31 Petr Baudis <pasky@suse.cz>
11535
11536 [BZ #11149]
11537 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11538 silently even in the chroot mode.
11539
11540 2010-11-22 Ulrich Drepper <drepper@gmail.com>
11541
11542 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11543 last patch a bit. Pretty printing
11544
11545 2010-05-31 Petr Baudis <pasky@suse.cz>
11546
11547 [BZ #10085]
11548 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11549 initialization of skip_initgroups_dyn.
11550
11551 2010-11-19 Ulrich Drepper <drepper@gmail.com>
11552
11553 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11554 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11555
11556 2010-11-16 Ulrich Drepper <drepper@gmail.com>
11557
11558 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11559
11560 2010-11-11 Andreas Schwab <schwab@redhat.com>
11561
11562 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11563 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11564 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11565 ($(objpfx)tst-fnmatch-mem): New rule.
11566 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11567 * posix/tst-fnmatch.c (main): Call mtrace.
11568
11569 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11570
11571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11572 Support Intel processor model 6 and model 0x2c.
11573
11574 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
11575
11576 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11577 signed comparison.
11578
11579 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11580
11581 [BZ #12205]
11582 * string/test-strncasecmp.c (check_result): New function.
11583 (do_one_test): Use it.
11584 (check1): New function.
11585 (test_main): Use it.
11586 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11587 Support strcasecmp and strncasecmp.
11588
11589 2010-11-08 Ulrich Drepper <drepper@gmail.com>
11590
11591 [BZ #12194]
11592 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11593 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11594
11595 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11596
11597 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11598 IFUNC support.
11599 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11600 memset-x86-64.
11601 * sysdeps/x86_64/multiarch/bzero.S: New file.
11602 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11603 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11604 * sysdeps/x86_64/multiarch/memset.S: New file.
11605 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11607 Set bit_Prefer_SSE_for_memop for Intel processors.
11608 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11609 Define.
11610 (index_Prefer_SSE_for_memop): Define.
11611 (HAS_PREFER_SSE_FOR_MEMOP): Define.
11612
11613 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
11614
11615 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11616 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11617
11618 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
11619
11620 [BZ #12191]
11621 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11622 (__x86_64_raw_data_cache_size_half): Likewise.
11623 (__x86_64_raw_shared_cache_size): Likewise.
11624 (__x86_64_raw_shared_cache_size_half): Likewise.
11625
11626 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11627 (__x86_64_raw_data_cache_size_half): Likewise.
11628 (__x86_64_raw_shared_cache_size): Likewise.
11629 (__x86_64_raw_shared_cache_size_half): Likewise.
11630 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11631 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11632 and __x86_64_raw_shared_cache_size_half. Round
11633 __x86_64_data_cache_size_half, __x86_64_data_cache_size
11634 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11635 to multiple of 256 bytes.
11636
11637 2010-11-03 Ulrich Drepper <drepper@gmail.com>
11638
11639 [BZ #12167]
11640 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11641 of inacessible symlinks. Verify result of symlink before returning it.
11642 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11643 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11644
11645 2010-10-28 Erich Ritz <erichritz@gmail.com>
11646
11647 * math/math.h (isinf): Fix typo in comment.
11648
11649 2010-11-01 Ulrich Drepper <drepper@gmail.com>
11650
11651 * po/da.po: Update from translation team.
11652
11653 2010-10-26 Ulrich Drepper <drepper@gmail.com>
11654
11655 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11656 is added to the list.
11657
11658 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11659 Ulrich Drepper <drepper@gmail.com>
11660
11661 * elf/dl-object.c (_dl_new_object): Don't append the new object to
11662 the global list here. Move code to...
11663 (_dl_add_to_namespace_list): ...here. New function.
11664 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11665 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11666 * elf/dl-load.c (lose): Don't remove the element from the list.
11667 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11668 (_dl_map_object): Likewise.
11669
11670 2010-10-25 Ulrich Drepper <drepper@gmail.com>
11671
11672 [BZ #12159]
11673 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11674 into all bytes of SSE register.
11675 Patch by Richard Li <richardpku@gmail.com>.
11676
11677 2010-10-24 Ulrich Drepper <drepper@gmail.com>
11678
11679 [BZ #12140]
11680 * malloc/malloc.c (_int_free): Fill correct number of bytes when
11681 perturbing.
11682
11683 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
11684
11685 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11686 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11687 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11688 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11690 submachine.
11691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11692
11693 2010-10-22 Andreas Schwab <schwab@redhat.com>
11694
11695 * include/dlfcn.h (__RTLD_SECURE): Define.
11696 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
11697 mode & __RTLD_SECURE instead.
11698 (open_path): Rename preloaded parameter to secure.
11699 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11700 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11701 * elf/dl-deps.c (openaux): Likewise.
11702 * elf/rtld.c (struct map_args): Remove is_preloaded.
11703 (map_doit): Don't use it.
11704 (dl_main): Likewise.
11705 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11706 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11707
11708 2010-09-09 Andreas Schwab <schwab@redhat.com>
11709
11710 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11711 (sysd-rules-targets): Remove duplicates.
11712 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11713 rtld-%.$o dependency.
11714
11715 2010-10-18 Andreas Schwab <schwab@redhat.com>
11716
11717 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11718 _dl_map_object do it.
11719
11720 2010-10-19 Ulrich Drepper <drepper@gmail.com>
11721
11722 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11723 fast fma builtins, define the macros in the C99 standard.
11724 (FP_FAST_FMAF): Likewise.
11725 (FP_FAST_FMAL): Likewise.
11726 * sysdeps/x86_64/bits/mathdef.h: Likewise.
11727
11728 * bits/mathdef.h: Update copyright year.
11729 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11730
11731 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
11732
11733 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11734 builtins, define the macros in the C99 standard.
11735 (FP_FAST_FMAF): Likewise.
11736 (FP_FAST_FMAL): Likewise.
11737 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11738 multiply/add.
11739 (FP_FAST_FMAF): Likewise.
11740
11741 2010-10-15 Jakub Jelinek <jakub@redhat.com>
11742
11743 [BZ #3268]
11744 * math/libm-test.inc (fma_test): Some new testcases.
11745 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11746 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11747 y and infinite z. Do multiplication by C already in long double.
11748 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11749 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11750 y and infinite z. Do bitwise or of inexact bit into u.d.
11751 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11752 * sysdeps/i386/fpu/s_fmaf.S: Removed.
11753 * sysdeps/i386/fpu/s_fma.S: Removed.
11754 * sysdeps/i386/fpu/s_fmal.S: Removed.
11755
11756 2010-10-16 Jakub Jelinek <jakub@redhat.com>
11757
11758 [BZ #3268]
11759 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11760 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11761 computation is not scheduled after fetestexcept. Fix value
11762 of minimum denormal long double.
11763
11764 2010-10-14 Jakub Jelinek <jakub@redhat.com>
11765
11766 [BZ #3268]
11767 * math/libm-test.inc (fma_test): Add some more tests.
11768 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11769 correctly.
11770
11771 2010-10-15 Andreas Schwab <schwab@redhat.com>
11772
11773 * scripts/data/localplt-s390-linux-gnu.data: New file.
11774 * scripts/data/localplt-s390x-linux-gnu.data: New file.
11775
11776 2010-10-13 Jakub Jelinek <jakub@redhat.com>
11777
11778 [BZ #3268]
11779 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11780 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11781 instead of dbl-64.
11782 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11783 inlines.
11784 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11785 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11786 if one of x and y is very large and the other is subnormal.
11787 * sysdeps/s390/fpu/s_fmaf.c: New file.
11788 * sysdeps/s390/fpu/s_fma.c: New file.
11789 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11790 * sysdeps/powerpc/fpu/s_fma.S: New file.
11791 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11792 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11793 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11794
11795 2010-10-12 Jakub Jelinek <jakub@redhat.com>
11796
11797 [BZ #3268]
11798 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11799 fma tests.
11800 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11801 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11802 * sysdeps/i386/i686/multiarch/s_fma.c: Include
11803 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11804 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11805 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11806 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11807
11808 2010-10-12 Ulrich Drepper <drepper@redhat.com>
11809
11810 [BZ #12078]
11811 * posix/regcomp.c (parse_branch): One more memory leak plugged.
11812 * posix/bug-regex31.input: Add test case.
11813
11814 2010-10-11 Ulrich Drepper <drepper@gmail.com>
11815
11816 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11817 * posix/bug-regex31.input: New file.
11818
11819 [BZ #12078]
11820 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11821 (parse_sub_exp): Fix last change, use postorder.
11822
11823 * posix/bug-regex31.c: New file.
11824 * posix/Makefile: Add rules to build and run bug-regex31.
11825
11826 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11827
11828 [BZ #12078]
11829 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11830
11831 [BZ #12108]
11832 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11833 to have entries in sys_siglist.
11834
11835 [BZ #12093]
11836 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11837 be NULL.
11838
11839 2010-10-07 Jakub Jelinek <jakub@redhat.com>
11840
11841 [BZ #3268]
11842 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11843 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11844 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11845 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11846 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11847 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11848 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11849 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11850 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11851 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11852 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11853 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11854 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11855 * math/ftestexcept.c (fetestexcept): Likewise.
11856 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11857 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11858 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11859 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11860 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11861 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11862 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11863
11864 2010-10-11 Ulrich Drepper <drepper@gmail.com>
11865
11866 [BZ #12107]
11867 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11868 newline.
11869
11870 2010-10-06 Ulrich Drepper <drepper@gmail.com>
11871
11872 * string/bug-strstr1.c: New file.
11873 * string/Makefile: Add rules to build and run bug-strstr1.
11874
11875 2010-10-05 Eric Blake <eblake@redhat.com>
11876
11877 [BZ #12092]
11878 * string/str-two-way.h (two_way_long_needle): Always clear memory
11879 when skipping input due to the shift table.
11880
11881 2010-10-03 Ulrich Drepper <drepper@gmail.com>
11882
11883 [BZ #12005]
11884 * malloc/mcheck.c: Handle large requests.
11885
11886 [BZ #12077]
11887 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11888 for strncmp and strncasecmp.
11889 * string/stratcliff.c: Add tests for strcmp and strncmp.
11890 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11891
11892 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11893
11894 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11895 __set_fpscr.
11896
11897 2010-09-30 Andreas Jaeger <aj@suse.de>
11898
11899 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11900 (CGROUP_SUPER_MAGIC): Define.
11901 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11902 Handle btrfs and cgroup file systems.
11903 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11904 Likewise.
11905
11906 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
11907
11908 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11909 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11910
11911 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11912
11913 [BZ #12067]
11914 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11915 trying to locate the ELF header.
11916
11917 2010-09-27 Andreas Schwab <schwab@redhat.com>
11918
11919 [BZ #11611]
11920 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11921 Mask out sign-bit copies when constructing f_fsid.
11922
11923 2010-09-24 Petr Baudis <pasky@suse.cz>
11924
11925 * debug/stack_chk_fail_local.c: Add missing licence exception.
11926 * debug/warning-nop.c: Likewise.
11927
11928 2010-09-15 Joseph Myers <joseph@codesourcery.com>
11929
11930 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11931 implementing getdents64 using getdents syscall, set d_type if
11932 __ASSUME_GETDENTS32_D_TYPE.
11933
11934 2010-09-16 Andreas Schwab <schwab@redhat.com>
11935
11936 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11937 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11938
11939 2010-09-21 Ulrich Drepper <drepper@redhat.com>
11940
11941 [BZ #12037]
11942 * posix/unistd.h: Undo change of feature selection for ftruncate from
11943 2010-01-11.
11944
11945 2010-09-20 Ulrich Drepper <drepper@redhat.com>
11946
11947 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
11948 detection.
11949
11950 2010-09-20 Andreas Schwab <schwab@redhat.com>
11951
11952 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11953 fanotify_mark.
11954 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11955
11956 2010-09-14 Andreas Schwab <schwab@redhat.com>
11957
11958 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11959 variables after CHECK_SP call.
11960 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11961
11962 2010-09-13 Andreas Schwab <schwab@redhat.com>
11963 Ulrich Drepper <drepper@redhat.com>
11964
11965 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11966 re-relocationg ld.so.
11967 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11968 _dl_init_paths call.
11969 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
11970 here anymore.
11971
11972 2010-09-14 Ulrich Drepper <drepper@redhat.com>
11973
11974 * resolv/res_init.c (__res_vinit): Count the default server we added.
11975
11976 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
11977 Ulrich Drepper <drepper@redhat.com>
11978
11979 [BZ #11968]
11980 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11981 (____longjmp_chk): Use %ebx for saving value across system call.
11982 Add unwind info.
11983
11984 2010-09-06 Andreas Schwab <schwab@redhat.com>
11985
11986 * manual/Makefile: Don't mix pattern rules with normal rules.
11987
11988 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
11989
11990 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11991 operation.
11992 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11993 * libio/iofopncook.c (_IO_cookie_init): Likewise.
11994 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11995 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11996 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11997 Likewise.
11998
11999 2010-09-04 Ulrich Drepper <drepper@redhat.com>
12000
12001 [BZ #11979]
12002 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12003 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12004
12005 2010-09-02 Ulrich Drepper <drepper@redhat.com>
12006
12007 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12008 * sysdeps/x86_64/addmul_1.S: Likewise.
12009 * sysdeps/x86_64/lshift.S: Likewise.
12010 * sysdeps/x86_64/mul_1.S: Likewise.
12011 * sysdeps/x86_64/rshift.S: Likewise.
12012 * sysdeps/x86_64/sub_n.S: Likewise.
12013 * sysdeps/x86_64/submul_1.S: Likewise.
12014
12015 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12016
12017 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12018 Define __sched_param instead of SCHED_* and sched_param when
12019 <bits/sched.h> is included with __need_schedparam defined.
12020 * bits/sched.h [__need_schedparam]
12021 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
12022 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12023 (__defined_schedparam): Define to 1.
12024 (__sched_param): New structure, identical to sched_param.
12025 (__need_schedparam): Undefine.
12026
12027 2010-08-31 Mike Frysinger <vapier@gentoo.org>
12028
12029 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12030 (epoll_create1): Declare.
12031
12032 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12033
12034 2010-08-31 Andreas Schwab <schwab@redhat.com>
12035
12036 [BZ #7066]
12037 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12038 shifting retval into place.
12039
12040 2010-09-01 Ulrich Drepper <drepper@redhat.com>
12041
12042 * nis/rpcsvc/nis.h: Update copyright notice.
12043 * nis/rpcsvc/nis.x: Likewise.
12044 * nis/rpcsvc/nis_callback.h: Likewise.
12045 * nis/rpcsvc/nis_callback.x: Likewise.
12046 * nis/rpcsvc/nis_object.x: Likewise.
12047 * nis/rpcsvc/nis_tags.h: Likewise.
12048 * nis/rpcsvc/yp.h: Likewise.
12049 * nis/rpcsvc/yp.x: Likewise.
12050 * nis/rpcsvc/ypupd.h: Likewise.
12051 * nis/yp_xdr.c: Likewise.
12052 * nis/ypupdate_xdr.c: Likewise.
12053
12054 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12055 mainly the body of pmap_getport. Add parameters to specify timeouts.
12056 (pmap_getport): Use __libc_rpc_getport.
12057 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12058 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12059 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12060
12061 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12062
12063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12064 fanotify_mark.
12065
12066 2010-08-27 Roland McGrath <roland@redhat.com>
12067
12068 * sysdeps/i386/i686/multiarch/Makefile
12069 (CFLAGS-varshift.c): New variable.
12070
12071 2010-08-27 Ulrich Drepper <drepper@redhat.com>
12072
12073 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12074 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12075
12076 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12077
12078 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12079
12080 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12081
12082 * sysdeps/x86_64/strlen.S: Unroll the loop.
12083 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12084 strlen-sse2 strlen-sse2-bsf.
12085 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12086 __strlen_no_bsf if bit_Slow_BSF is set.
12087 (__strlen_sse42): Removed.
12088 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12089 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12090
12091 2010-08-25 Roland McGrath <roland@redhat.com>
12092
12093 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12094 * sysdeps/x86_64/multiarch/varshift.c: New file.
12095 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12096 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12097 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12098 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12099
12100 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12101
12102 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12103 strlen-sse2 strlen-sse2-bsf.
12104 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12105 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12106 (__strlen_sse2): Removed.
12107 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12108 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12109 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12110 bit_Slow_BSF for Atom.
12111 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12112 (index_Slow_BSF): Define.
12113 (HAS_SLOW_BSF): Define.
12114
12115 2010-08-25 Ulrich Drepper <drepper@redhat.com>
12116
12117 [BZ #10851]
12118 * resolv/res_init.c (__res_vinit): When no server address at all
12119 is given default to loopback.
12120
12121 2010-08-24 Roland McGrath <roland@redhat.com>
12122
12123 * configure.in: Remove config-name.h generation.
12124 * configure: Regenerated.
12125 * config-name.in: File removed.
12126 * scripts/config-uname.sh: New file.
12127 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12128 ($(objdir)config-name.h): New target.
12129
12130 * sunrpc/rpc_parse.h: Avoid nested comment.
12131
12132 2010-08-24 Richard Henderson <rth@redhat.com>
12133 Ulrich Drepper <drepper@redhat.com>
12134 H.J. Lu <hongjiu.lu@intel.com>
12135
12136 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12138 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12139 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12140 _mm_alignr_epi8 with _mm_loadu_si128.
12141 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12142 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12143 (__m128i_shift_right): Removed.
12144 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12145 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12146 * sysdeps/x86_64/multiarch/varshift.h: New file.
12147 * sysdeps/x86_64/multiarch/varshift.S: New file.
12148
12149 2010-08-21 Mike Frysinger <vapier@gentoo.org>
12150
12151 * configure.in: Move assembler checks to before sysdep dir checking.
12152
12153 2010-08-20 Petr Baudis <pasky@suse.cz>
12154
12155 * LICENSES: Sync the sunrpc license.
12156
12157 2010-08-19 Ulrich Drepper <drepper@redhat.com>
12158
12159 * sunrpc/auth_des.c: Update copyright notice once again.
12160 * sunrpc/auth_none.c: Likewise.
12161 * sunrpc/auth_unix.c: Likewise.
12162 * sunrpc/authdes_prot.c: Likewise.
12163 * sunrpc/authuxprot.c: Likewise.
12164 * sunrpc/bindrsvprt.c: Likewise.
12165 * sunrpc/clnt_gen.c: Likewise.
12166 * sunrpc/clnt_perr.c: Likewise.
12167 * sunrpc/clnt_raw.c: Likewise.
12168 * sunrpc/clnt_simp.c: Likewise.
12169 * sunrpc/clnt_tcp.c: Likewise.
12170 * sunrpc/clnt_udp.c: Likewise.
12171 * sunrpc/clnt_unix.c: Likewise.
12172 * sunrpc/des_crypt.c: Likewise.
12173 * sunrpc/des_soft.c: Likewise.
12174 * sunrpc/get_myaddr.c: Likewise.
12175 * sunrpc/getrpcport.c: Likewise.
12176 * sunrpc/key_call.c: Likewise.
12177 * sunrpc/key_prot.c: Likewise.
12178 * sunrpc/openchild.c: Likewise.
12179 * sunrpc/pm_getmaps.c: Likewise.
12180 * sunrpc/pm_getport.c: Likewise.
12181 * sunrpc/pmap_clnt.c: Likewise.
12182 * sunrpc/pmap_prot.c: Likewise.
12183 * sunrpc/pmap_prot2.c: Likewise.
12184 * sunrpc/pmap_rmt.c: Likewise.
12185 * sunrpc/rpc/auth.h: Likewise.
12186 * sunrpc/rpc/auth_unix.h: Likewise.
12187 * sunrpc/rpc/clnt.h: Likewise.
12188 * sunrpc/rpc/des_crypt.h: Likewise.
12189 * sunrpc/rpc/key_prot.h: Likewise.
12190 * sunrpc/rpc/netdb.h: Likewise.
12191 * sunrpc/rpc/pmap_clnt.h: Likewise.
12192 * sunrpc/rpc/pmap_prot.h: Likewise.
12193 * sunrpc/rpc/pmap_rmt.h: Likewise.
12194 * sunrpc/rpc/rpc.h: Likewise.
12195 * sunrpc/rpc/rpc_des.h: Likewise.
12196 * sunrpc/rpc/rpc_msg.h: Likewise.
12197 * sunrpc/rpc/svc.h: Likewise.
12198 * sunrpc/rpc/svc_auth.h: Likewise.
12199 * sunrpc/rpc/types.h: Likewise.
12200 * sunrpc/rpc/xdr.h: Likewise.
12201 * sunrpc/rpc_clntout.c: Likewise.
12202 * sunrpc/rpc_cmsg.c: Likewise.
12203 * sunrpc/rpc_common.c: Likewise.
12204 * sunrpc/rpc_cout.c: Likewise.
12205 * sunrpc/rpc_dtable.c: Likewise.
12206 * sunrpc/rpc_hout.c: Likewise.
12207 * sunrpc/rpc_main.c: Likewise.
12208 * sunrpc/rpc_parse.c: Likewise.
12209 * sunrpc/rpc_parse.h: Likewise.
12210 * sunrpc/rpc_prot.c: Likewise.
12211 * sunrpc/rpc_sample.c: Likewise.
12212 * sunrpc/rpc_scan.c: Likewise.
12213 * sunrpc/rpc_scan.h: Likewise.
12214 * sunrpc/rpc_svcout.c: Likewise.
12215 * sunrpc/rpc_tblout.c: Likewise.
12216 * sunrpc/rpc_util.c: Likewise.
12217 * sunrpc/rpc_util.h: Likewise.
12218 * sunrpc/rpcinfo.c: Likewise.
12219 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12220 * sunrpc/rpcsvc/key_prot.x: Likewise.
12221 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12222 * sunrpc/rpcsvc/mount.x: Likewise.
12223 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12224 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12225 * sunrpc/rpcsvc/rex.x: Likewise.
12226 * sunrpc/rpcsvc/rstat.x: Likewise.
12227 * sunrpc/rpcsvc/rusers.x: Likewise.
12228 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12229 * sunrpc/rpcsvc/spray.x: Likewise.
12230 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12231 * sunrpc/rtime.c: Likewise.
12232 * sunrpc/svc.c: Likewise.
12233 * sunrpc/svc_auth.c: Likewise.
12234 * sunrpc/svc_authux.c: Likewise.
12235 * sunrpc/svc_raw.c: Likewise.
12236 * sunrpc/svc_run.c: Likewise.
12237 * sunrpc/svc_simple.c: Likewise.
12238 * sunrpc/svc_tcp.c: Likewise.
12239 * sunrpc/svc_udp.c: Likewise.
12240 * sunrpc/svc_unix.c: Likewise.
12241 * sunrpc/svcauth_des.c: Likewise.
12242 * sunrpc/xcrypt.c: Likewise.
12243 * sunrpc/xdr.c: Likewise.
12244 * sunrpc/xdr_array.c: Likewise.
12245 * sunrpc/xdr_float.c: Likewise.
12246 * sunrpc/xdr_mem.c: Likewise.
12247 * sunrpc/xdr_rec.c: Likewise.
12248 * sunrpc/xdr_ref.c: Likewise.
12249 * sunrpc/xdr_sizeof.c: Likewise.
12250 * sunrpc/xdr_stdio.c: Likewise.
12251
12252 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12253 handling.
12254
12255 2010-08-19 Andreas Schwab <schwab@redhat.com>
12256
12257 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12258
12259 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
12260
12261 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12262 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12263 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12264 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12265 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12266 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12267 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12268 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12269 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12270 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12271 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12272 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12273 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12274 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12275
12276 2010-07-26 Anton Blanchard <anton@samba.org>
12277
12278 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12279 * malloc/arena.c (heap_trim): Likewise.
12280
12281 2010-08-16 Ulrich Drepper <drepper@redhat.com>
12282
12283 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12284 here. Not...
12285 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12286 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12287
12288 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12289
12290 * sysdeps/i386/elf/Makefile: New file.
12291
12292 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12293
12294 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12295 from fanotify_init.
12296 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12297 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12298
12299 2010-08-15 Ulrich Drepper <drepper@redhat.com>
12300
12301 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12302 of strncasecmp_l.
12303 * sysdeps/multiarch/strcmp.S: Likewise.
12304
12305 2010-08-14 Ulrich Drepper <drepper@redhat.com>
12306
12307 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12308 strncase_l-nonascii.
12309 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12310 Add strncase_l-ssse3.
12311 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12312 * sysdeps/x86_64/strcmp.S: Likewise.
12313 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12314 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12315 * sysdeps/x86_64/strncase.S: New file.
12316 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12317 * sysdeps/x86_64/strncase_l.S: New file.
12318 * string/Makefile (strop-tests): Add strncasecmp.
12319 * string/test-strncasecmp.c: New file.
12320
12321 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12322 warning.
12323
12324 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12325 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12326
12327 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12328
12329 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12330
12331 2010-08-12 Ulrich Drepper <drepper@redhat.com>
12332
12333 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12334 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12335 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12336
12337 2010-05-01 Alan Modra <amodra@gmail.com>
12338
12339 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12340 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12341 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12342 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12343 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12344 tidying. Don't tail-call __sigjmp_save for static lib.
12345 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12346 save location.
12347 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12348 (CALL_MCOUNT): Add eh info, and nop after bl.
12349 (TAIL_CALL_SYSCALL_ERROR): New macro.
12350 (PSEUDO_RET): Use it.
12351 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12352 Correct save location of integer regs and cr.
12353 (_dl_profile_resolve): Correct cr save location. Delete nops
12354 after bl when SHARED. Reduce cfi size a little by better
12355 placement of cfi directives.
12356 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12357 make a stack frame. Instead use parm save area as a temp.
12358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12359 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12361 Don't make a stack frame for parent, use parm save area.
12362 Increase child stack frame to 112 bytes. Don't save unused reg,
12363 and adjust reg usage. Set up cfi on error recovery and
12364 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12366 (__makecontext): Add dummy nop after jump to exit.
12367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12368 Use correct parm save area and cr save, reduce stack frame.
12369 Correct cfi for possible PSEUDO_RET frame setup.
12370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12371 Branch to local label emitted by PSEUDO_RET rather than
12372 __syscall_error.
12373
12374 2010-08-12 Andreas Schwab <schwab@redhat.com>
12375
12376 [BZ #11904]
12377 * locale/programs/locale.c (print_assignment): New function.
12378 (show_locale_vars): Use it.
12379
12380 2010-08-11 Ulrich Drepper <drepper@redhat.com>
12381
12382 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12383 field.
12384 (struct statfs64): Likewise.
12385 (_STATFS_F_FLAGS): Define.
12386 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12387 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12388 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12389 (ST_VALID): Define locally.
12390 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12391 __statvfs_getflags, use the provided value.
12392 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12393 __ASSUME_STATFS_F_FLAGS.
12394
12395 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12396
12397 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12398 Add sys/fanotify.h.
12399 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12400 fanotify_mask for GLIBC_2.13.
12401 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12402 fanotify_init and fanotify_mark.
12403 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12404 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12405
12406 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12407 Add prlimit.
12408 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12409 prlimit64 for GLIBC_2.13.
12410 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12411 prlimit64.
12412 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12413 syscall.
12414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12415 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12416 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12417 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12418 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12419 add prlimit alias.
12420 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12421
12422 [BZ #11903]
12423 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12424 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12425
12426 * nss/Makefile: Add rules to build and run tst-nss-test1.
12427 * shlib-versions: Add entry for libnss_test1.
12428 * nss/nss_test1.c: New file.
12429 * nss/tst-nss-test1.c: New file.
12430
12431 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12432 (__nss_configure_lookup): Set appropriate entry in
12433 __nss_configure_lookup to true.
12434 * nss/nsswitch.h: Define enum with indeces of databases in
12435 databases and __nss_database_custom arrays. Declare
12436 __nss_database_custom.
12437 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12438 to avoid using nscd when custom rules are installed.
12439 * nss/getXXbyYY_r.c: Likewise.
12440 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12441
12442 * nss/nss_files/files-parse.c: Whitespace fixes.
12443
12444 2010-08-09 Ulrich Drepper <drepper@redhat.com>
12445
12446 [BZ #11883]
12447 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12448 * posix/fnmatch_loop.c: Likewise.
12449
12450 2010-07-17 Andi Kleen <ak@linux.intel.com>
12451
12452 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12453 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12454 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12455 * Versions.def [GLIBC_2.13]: Add.
12456
12457 2010-08-06 Ulrich Drepper <drepper@redhat.com>
12458
12459 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12460 Also fail if tpwd after pwuid call is NULL.
12461
12462 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12463
12464 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12465 when converting to ms.
12466
12467 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12468
12469 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12470 EOPNOTSUPP errors with ENOTTY.
12471 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12472 EOPNOTSUPP errors with ENOTTY.
12473
12474 2010-07-31 Ulrich Drepper <drepper@redhat.com>
12475
12476 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12477 Add strcasecmp_l-ssse3.
12478 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12479 strcasecmp.
12480 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12481 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12482 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12483
12484 2010-07-30 Ulrich Drepper <drepper@redhat.com>
12485
12486 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12487
12488 * string/Makefile (strop-tests): Add strcasecmp.
12489 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12490 strcasecmp_l-nonascii.
12491 (gen-as-const-headers): Add locale-defines.sym.
12492 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12493 * sysdeps/x86_64/strcasecmp.S: New file.
12494 * sysdeps/x86_64/strcasecmp_l.S: New file.
12495 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12496 * sysdeps/x86_64/locale-defines.sym: New file.
12497 * string/test-strcasecmp.c: New file.
12498
12499 * string/test-strcasestr.c: Test both ends of the range of characters.
12500 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12501
12502 2010-07-29 Roland McGrath <roland@redhat.com>
12503
12504 [BZ #11856]
12505 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12506
12507 2010-07-27 Ulrich Drepper <drepper@redhat.com>
12508
12509 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12510 for ld.so.
12511
12512 2010-07-27 Andreas Schwab <schwab@redhat.com>
12513
12514 * manual/memory.texi (Malloc Tunable Parameters): Document
12515 M_PERTURB.
12516
12517 2010-07-26 Roland McGrath <roland@redhat.com>
12518
12519 [BZ #11840]
12520 * configure.in (-fgnu89-inline check): Set and substitute
12521 gnu89_inline, not libc_cv_gnu89_inline.
12522 * configure: Regenerated.
12523 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12524
12525 2010-07-26 Ulrich Drepper <drepper@redhat.com>
12526
12527 * string/test-strnlen.c: New file.
12528 * string/Makefile (strop-tests): Add strnlen.
12529 * string/tester.c (test_strnlen): Add a few more test cases.
12530 * string/tst-strlen.c: Better error reporting.
12531
12532 * sysdeps/x86_64/strnlen.S: New file.
12533
12534 2010-07-24 Ulrich Drepper <drepper@redhat.com>
12535
12536 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12537 lower-latency instructions.
12538
12539 2010-07-23 Ulrich Drepper <drepper@redhat.com>
12540
12541 * string/test-strcasestr.c: New file.
12542 * string/test-strstr.c: New file.
12543 * string/Makefile (strop-tests): Add strstr and strcasestr.
12544 * string/str-two-way.h: Don't undefine MAX.
12545 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12546
12547 2010-07-21 Andreas Schwab <schwab@redhat.com>
12548
12549 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12550 strcasestr-nonascii.
12551 (CFLAGS-strcasestr-nonascii.c): Define.
12552 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12553 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12554 Remove unused attribute.
12555
12556 2010-07-20 Roland McGrath <roland@redhat.com>
12557
12558 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12559 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12560 ld.so.cache was broken. With it, there is no way to disable dsocaps
12561 like LD_HWCAP_MASK can disable hwcaps.
12562
12563 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12564
12565 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12566
12567 2010-07-16 Ulrich Drepper <drepper@redhat.com>
12568
12569 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12570 call in strcasestr.
12571 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12572 __strcasestr_sse42_nonascii.
12573 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12574 strcasestr-nonascii.c.
12575 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12576
12577 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
12578
12579 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12580 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12581 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12582 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12583
12584 2010-07-09 Ulrich Drepper <drepper@redhat.com>
12585
12586 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12587 fcntl.
12588
12589 2010-07-06 Andreas Schwab <schwab@redhat.com>
12590
12591 [BZ #11577]
12592 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12593 dl_signal_cerror.
12594
12595 2010-07-06 Ulrich Drepper <drepper@redhat.com>
12596
12597 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12598 _PC_PIPE_BUF using F_GETPIPE_SZ.
12599
12600 2010-07-05 Roland McGrath <roland@redhat.com>
12601
12602 * manual/arith.texi (Rounding Functions): Fix rint description
12603 implicit in round description.
12604
12605 2010-07-02 Ulrich Drepper <drepper@redhat.com>
12606
12607 * elf/Makefile: Fix linking for a few tests to make recent linker
12608 happy.
12609
12610 2010-06-30 Andreas Schwab <schwab@redhat.com>
12611
12612 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12613 $(common-objpfx)libc_nonshared.a.
12614
12615 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
12616
12617 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12618 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12619 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12620 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12621 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12622 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12623 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12624 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12639 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12640 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12641 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12642 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12643 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12644 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12645 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12646 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12647 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12648 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12649 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12650 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12665
12666 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
12667
12668 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12669 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
12670 * string/memmove.c (memmove): Renamed to ...
12671 (MEMMOVE): ...this. Default to memmove.
12672 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12673 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12674 (END_CHK): Define.
12675 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12676 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12677 mempcpy-ssse3-back memmove-ssse3-back.
12678 * sysdeps/x86_64/multiarch/bcopy.S: New file .
12679 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12680 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12681 * sysdeps/x86_64/multiarch/memcpy.S: New file.
12682 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12683 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12684 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12685 * sysdeps/x86_64/multiarch/memmove.c: New file.
12686 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12687 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12688 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12689 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12690 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12691 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12692 Define.
12693 (index_Fast_Copy_Backward): Define.
12694 (HAS_ARCH_FEATURE): Define.
12695 (HAS_FAST_REP_STRING): Define.
12696 (HAS_FAST_COPY_BACKWARD): Define.
12697
12698 2010-06-21 Andreas Schwab <schwab@redhat.com>
12699
12700 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12701 Restore proper fallback handling.
12702
12703 2010-06-19 Ulrich Drepper <drepper@redhat.com>
12704
12705 [BZ #11701]
12706 * posix/group_member.c (__group_member): Correct checking loop.
12707
12708 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12709 OOM in getpwuid_r correctly. Return error number when the caller
12710 should return, otherwise -1.
12711 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12712 call returning > 0 value.
12713 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12714
12715 2010-06-07 Andreas Schwab <schwab@redhat.com>
12716
12717 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12718 libc_nonshared.a from targets in modules-names.
12719
12720 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
12721
12722 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12723 requires it.
12724
12725 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
12726
12727 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12728 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12729 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12730 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12731
12732 2010-06-02 Andreas Schwab <schwab@redhat.com>
12733
12734 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12735
12736 2010-06-14 Ulrich Drepper <drepper@redhat.com>
12737
12738 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12739 and F_GETPIPE_SZ.
12740 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12741 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12742 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12743 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12744 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12745 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12746
12747 2010-06-14 Roland McGrath <roland@redhat.com>
12748
12749 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12750
12751 2010-06-07 Jakub Jelinek <jakub@redhat.com>
12752
12753 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12754 __REDIRECT followed by __THROW.
12755 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12756 * posix/getopt.h (getopt): Likewise.
12757
12758 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12759
12760 * hurd/lookup-at.c (__file_name_lookup_at): Accept
12761 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
12762 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12763 in AT_FLAGS.
12764 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12765 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12766
12767 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
12768
12769 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12770
12771 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
12772
12773 [BZ #11640]
12774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12775 Properly check family and model.
12776
12777 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
12778
12779 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12780
12781 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
12782
12783 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12784
12785 2010-05-21 Ulrich Drepper <drepper@redhat.com>
12786
12787 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12788 symbol reference.
12789
12790 2010-05-19 Andreas Schwab <schwab@redhat.com>
12791
12792 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12793 symbol reference.
12794
12795 2010-05-21 Andreas Schwab <schwab@redhat.com>
12796
12797 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12798 and internal_recvmmsg.
12799 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12800 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12801 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12802 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12803
12804 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12805 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12806 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12807
12808 2010-05-20 Andreas Schwab <schwab@redhat.com>
12809
12810 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12811
12812 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
12813
12814 POWER7 optimizations.
12815 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12816 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12817
12818 2010-05-19 Ulrich Drepper <drepper@redhat.com>
12819
12820 * version.h: Update for 2.13 development version.
12821
12822 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
12823
12824 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12825 exceptions. Return 0.
12826
12827 2010-05-07 Roland McGrath <roland@redhat.com>
12828
12829 * elf/ldconfig.c (main): Add a const.
12830
12831 2010-05-06 Ulrich Drepper <drepper@redhat.com>
12832
12833 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12834 (args_options): Add no-idn option.
12835 (ahosts_keys_int): Add idn_flags to ai_flags.
12836 (parse_option): Handle 'i' option to clear idn_flags.
12837
12838 * malloc/malloc.c (_int_free): Possible race in the most recently
12839 added check. Only act on the data if no current modification
12840 happened.
12841
12842 See ChangeLog.17 for earlier changes.